Skip to content
Open
Show file tree
Hide file tree
Changes from all commits
Commits
File filter

Filter by extension

Filter by extension

Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
Original file line number Diff line number Diff line change
Expand Up @@ -5,104 +5,208 @@
"main_place_name": "<None>",
"entities_detected": [],
"entities_resolved": "",
"query_with_places_removed": "compare obesity vs poverty",
"query_with_places_removed": "obesity ; poverty",
"sv_matching": {
"CosineScore": [
0.87784,
0.79677,
0.7625,
0.74995,
0.7484,
0.74429,
0.73575,
0.73503,
0.73104,
0.72896,
0.72663,
0.72643,
0.72643,
0.72539,
0.72301,
0.71395,
0.7127,
0.70949,
0.70856,
0.70856,
0.70788,
0.70777,
0.70454,
0.70243,
0.70045,
0.6995,
0.69567,
0.69479,
0.69132
0.84678,
0.83166,
0.82015,
0.81771,
0.77847,
0.76071,
0.74124,
0.73913,
0.73573,
0.7296,
0.7276,
0.72465,
0.72137,
0.7211,
0.72056,
0.71573,
0.71341,
0.70757,
0.70647,
0.69829,
0.69751,
0.68963,
0.68835,
0.68561,
0.68539,
0.68381,
0.68194,
0.67841,
0.67841
],
"MultiSV": {
"Candidates": [
{
"AggCosineScore": 0.9234,
"AggCosineScore": 1.0,
"DelimBased": true,
"Parts": [
{
"CosineScore": [
0.84678,
0.83166,
0.82016,
0.81771
0.82015,
0.81771,
0.77847,
0.76071,
0.74124,
0.73913,
0.73573,
0.7296,
0.7276,
0.72465,
0.72137,
0.7211,
0.72056,
0.71573,
0.71341,
0.70757,
0.70647,
0.69829,
0.69751,
0.68963,
0.68835,
0.68561,
0.68539,
0.68381,
0.68194,
0.67841,
0.67841
],
"QueryPart": "obesity",
"SV": [
"Percent_Person_Obesity",
"WHO/NCD_BMI_30A",
"dc/4lvmzr1h1ylk1",
"dc/x13tvt8jsgrm4"
"dc/x13tvt8jsgrm4",
"dc/topic/Health",
"dc/topic/HealthBehavior",
"dc/topic/Diabetes",
"dc/topic/HealthConditions",
"dc/topic/PhysicalActivity",
"WHO/NUTOVERWEIGHTPREV",
"Count_Person_Upto4Years_Overweight_AsFractionOf_Count_Person_Upto4Years",
"dc/topic/WHONonCommunicableDiseases",
"dc/topic/PopulationNormalWeight",
"dc/topic/Malnutrition",
"Count_Person_Upto4Years_Female_Overweight_AsFractionOf_Count_Person_Upto4Years_Female",
"dc/topic/PreventativeHealthAndBehavior",
"Count_Person_Upto4Years_Male_Overweight_AsFractionOf_Count_Person_Upto4Years_Male",
"dc/topic/WHOHealthBehavior",
"dc/topic/HeartDisease",
"WHO/NCD_BMI_18A",
"Mean_PrePregnancyBMI_BirthEvent_LiveBirth",
"dc/topic/Cancer",
"Count_Death_EndocrineNutritionalMetabolicDiseases",
"dc/topic/PreventativeHealth",
"dc/topic/WHOChildrenNonCommunicableDiseases",
"dc/topic/BloodPressure",
"dc/topic/GlobalHealth",
"dc/topic/sdg_2.1.1",
"sdg/SN_ITK_DEFC"
]
},
{
"CosineScore": [
1.0
1.0,
0.86216,
0.85642,
0.83125,
0.8307,
0.82072,
0.82015,
0.8138,
0.78763,
0.78663,
0.78089,
0.78073,
0.7778,
0.77712,
0.77321,
0.764,
0.76296,
0.76176,
0.76087,
0.75936,
0.75801,
0.75702,
0.75319,
0.75313,
0.74926,
0.74763,
0.74718,
0.74694
],
"QueryPart": "poverty",
"SV": [
"dc/topic/Poverty"
"dc/topic/Poverty",
"dc/topic/PovertyByRace",
"dc/topic/SDG_1",
"dc/topic/PovertyByGender",
"dc/topic/sdg_1.2",
"dc/topic/sdg_1.2.2",
"dc/topic/PovertyByResidency",
"dc/topic/PovertyByLanguageSpokenAtHome",
"Count_Household_FamilyHousehold_BelowPovertyLevelInThePast12Months",
"dc/topic/sdg_1",
"sdg/SI_POV_DAY1",
"Count_Person_BelowPovertyLevelInThePast12Months",
"Count_Household_MarriedCoupleFamilyHousehold_BelowPovertyLevelInThePast12Months",
"Count_Person_AbovePovertyLevelInThePast12Months",
"Count_Household_HouseholderAge65OrMoreYears_FamilyHousehold_BelowPovertyLevelInThePast12Months",
"Count_Person_Rural_BelowPovertyLevelInThePast12Months",
"Count_Person_Male_AbovePovertyLevelInThePast12Months",
"dc/topic/sdg_1.1.1",
"sdg/SI_POV_EMP1.AGE--Y_GE15",
"Count_Person_BelowPovertyLevelInThePast12Months_TwoOrMoreRaces",
"Count_Person_BelowPovertyLevelInThePast12Months_AsFractionOf_Count_Person",
"Count_Household_FamilyHousehold_With0Worker_BelowPovertyLevelInThePast12Months",
"Count_Person_Urban_BelowPovertyLevelInThePast12Months",
"dc/topic/sdg_1.2.1",
"Count_Household_FamilyHousehold_With2Worker_BelowPovertyLevelInThePast12Months",
"Count_Person_Male_BelowPovertyLevelInThePast12Months",
"Count_Household_FamilyHousehold_With3OrMoreWorker_BelowPovertyLevelInThePast12Months",
"dc/topic/Malnutrition"
]
}
]
}
]
},
"Query": "compare obesity vs poverty",
"Query": "compare obesity vs. poverty",
"SV": [
"dc/topic/Poverty",
"dc/topic/PovertyByRace",
"dc/topic/SDG_1",
"Percent_Person_Obesity",
"dc/topic/sdg_1.2",
"dc/topic/PovertyByGender",
"dc/topic/PovertyByLanguageSpokenAtHome",
"dc/topic/sdg_1.2.2",
"Count_Household_HouseholderAge65OrMoreYears_FamilyHousehold_BelowPovertyLevelInThePast12Months",
"WHO/NCD_BMI_30A",
"dc/4lvmzr1h1ylk1",
"dc/x13tvt8jsgrm4",
"dc/topic/Health",
"dc/topic/HealthBehavior",
"dc/topic/Diabetes",
"dc/topic/HealthConditions",
"dc/topic/PhysicalActivity",
"WHO/NUTOVERWEIGHTPREV",
"Count_Person_Upto4Years_Overweight_AsFractionOf_Count_Person_Upto4Years",
"dc/topic/WHONonCommunicableDiseases",
"dc/topic/PopulationNormalWeight",
"dc/topic/Malnutrition",
"Count_Person_Upto4Years_Female_Overweight_AsFractionOf_Count_Person_Upto4Years_Female",
"dc/topic/PreventativeHealthAndBehavior",
"Count_Person_Upto4Years_Male_Overweight_AsFractionOf_Count_Person_Upto4Years_Male",
"dc/topic/WHOHealthBehavior",
"dc/topic/HeartDisease",
"WHO/NCD_BMI_18A",
"Mean_PrePregnancyBMI_BirthEvent_LiveBirth",
"dc/topic/Cancer",
"Count_Death_EndocrineNutritionalMetabolicDiseases",
"dc/topic/PreventativeHealth",
"dc/topic/WHOChildrenNonCommunicableDiseases",
"dc/topic/BloodPressure",
"dc/topic/GlobalHealth",
"dc/topic/sdg_2.1.1",
"sdg/SN_ITK_DEFC",
"Count_Household_WithFoodStampsInThePast12Months_BelowPovertyLevelInThePast12Months",
"dc/topic/PovertyByResidency",
"dc/topic/sdg_1",
"Count_Household_FamilyHousehold_BelowPovertyLevelInThePast12Months",
"dc/x13tvt8jsgrm4",
"dc/topic/FoodInsecurity",
"dc/topic/sdg_2.1.2",
"Count_Household_WithoutFoodStampsInThePast12Months_AbovePovertyLevelInThePast12Months",
"dc/4lvmzr1h1ylk1",
"Count_Household_MarriedCoupleFamilyHousehold_BelowPovertyLevelInThePast12Months",
"Count_Household_WithFoodStampsInThePast12Months_AbovePovertyLevelInThePast12Months",
"dc/topic/HealthEquity",
"dc/topic/sdg_1.2.1",
"Count_Person_BelowPovertyLevelInThePast12Months_TwoOrMoreRaces",
"Count_Person_Male_AbovePovertyLevelInThePast12Months_TwoOrMoreRaces",
"sdg/SI_POV_DAY1"
"sdg/SN_ITK_DEFC"
]
},
"props_matching": {
Expand All @@ -111,19 +215,22 @@
},
"query_detection_debug_logs": {
"dc_recognize_places": {},
"llm_response": {
"COMPARE": "COMPARE_METRICS",
"METRICS": [
"obesity",
"poverty"
]
},
"main_place_inferred": null,
"original_query": "compare obesity vs poverty",
"place_dcid_inference": "Place DCID Inference did not trigger (no place strings found).",
"place_resolution": "Place resolution did not trigger (no place dcids found).",
"places_found_str": [],
"query_transformations": {
"place_detection_input": "compare obesity vs poverty",
"place_detection_with_places_removed": "compare obesity vs poverty",
"sv_detection_query_index_types": [
"base_uae_mem"
],
"sv_detection_query_input": "compare obesity vs poverty",
"sv_detection_query_stop_words_removal": "obesity poverty"
""
]
Comment on lines 231 to +233
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

high

The sv_detection_query_index_types is set to [""]. Using an empty string as an index type is ambiguous and potentially an error. It's unclear how the backend handles an empty index name. This could lead to using an incorrect or default index, or even cause a failure in the search query. Please ensure that a valid and explicit index name is used.

}
}
}
Loading
Loading