From 6e7a75ff8294a3837c95e87f700524a11aecd8ac Mon Sep 17 00:00:00 2001 From: datacommons-robot-author Date: Thu, 25 Dec 2025 19:19:18 +0000 Subject: [PATCH] feat: Update goldens from Cloud Build workflow (build 623bbbef-7019-4232-a14a-8f455bfbcd1f) --- .../compareobesityvs.poverty/debug_info.json | 243 +++++++++++++----- .../debug_info.json | 218 +--------------- 2 files changed, 185 insertions(+), 276 deletions(-) diff --git a/server/integration_tests/test_data/detection_api_multivar/compareobesityvs.poverty/debug_info.json b/server/integration_tests/test_data/detection_api_multivar/compareobesityvs.poverty/debug_info.json index 155f652808..b418628836 100644 --- a/server/integration_tests/test_data/detection_api_multivar/compareobesityvs.poverty/debug_info.json +++ b/server/integration_tests/test_data/detection_api_multivar/compareobesityvs.poverty/debug_info.json @@ -5,104 +5,208 @@ "main_place_name": "", "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": { @@ -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" + "" + ] } } } \ No newline at end of file diff --git a/server/integration_tests/test_data/detection_api_multivar/numberofpoorhispanicwomenwithphd/debug_info.json b/server/integration_tests/test_data/detection_api_multivar/numberofpoorhispanicwomenwithphd/debug_info.json index 6f98771cd3..4bef6703c7 100644 --- a/server/integration_tests/test_data/detection_api_multivar/numberofpoorhispanicwomenwithphd/debug_info.json +++ b/server/integration_tests/test_data/detection_api_multivar/numberofpoorhispanicwomenwithphd/debug_info.json @@ -5,209 +5,12 @@ "main_place_name": "", "entities_detected": [], "entities_resolved": "", - "query_with_places_removed": "number of poor hispanic women with phd", + "query_with_places_removed": "", "sv_matching": { - "CosineScore": [ - 0.79858, - 0.78833, - 0.77635, - 0.77406, - 0.74103, - 0.73347, - 0.72283, - 0.72257, - 0.69955, - 0.6995, - 0.69762, - 0.69743, - 0.696, - 0.69534, - 0.69452, - 0.69396, - 0.69354, - 0.69084, - 0.6907, - 0.68967, - 0.68895, - 0.68862, - 0.68633, - 0.68592, - 0.68275, - 0.68221, - 0.68156, - 0.67987, - 0.67686, - 0.67631, - 0.67515, - 0.6745, - 0.67257, - 0.6718, - 0.66917, - 0.669, - 0.66822, - 0.66781, - 0.66507, - 0.66487 - ], - "MultiSV": { - "Candidates": [ - { - "AggCosineScore": 0.8315, - "DelimBased": false, - "Parts": [ - { - "CosineScore": [ - 0.83118, - 0.831, - 0.82552, - 0.81955, - 0.81456, - 0.80907, - 0.80864, - 0.80744, - 0.8003, - 0.79858, - 0.78782 - ], - "QueryPart": "number of poor hispanic", - "SV": [ - "Count_Person_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_HispanicOrLatino", - "Count_Person_Female_AbovePovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_AbovePovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Household_WithoutFoodStampsInThePast12Months_HispanicOrLatino", - "Count_Person_Male_AbovePovertyLevelInThePast12Months_BlackOrAfricanAmericanAlone", - "Count_Person_Male_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_Female_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_NoHealthInsurance_HispanicOrLatino", - "Count_Person_WithDisability_HispanicOrLatino", - "Count_Person_15OrMoreYears_Separated_HispanicOrLatino" - ] - }, - { - "CosineScore": [ - 0.83183, - 0.80299 - ], - "QueryPart": "women phd", - "SV": [ - "Count_Person_25OrMoreYears_EducationalAttainmentDoctorateDegree_Female", - "Count_Person_25OrMoreYears_Female_DoctorateDegree_AsFractionOf_Count_Person_25OrMoreYears_Female" - ] - } - ] - }, - { - "AggCosineScore": 0.8259, - "DelimBased": false, - "Parts": [ - { - "CosineScore": [ - 0.83667, - 0.79727 - ], - "QueryPart": "number of poor", - "SV": [ - "dc/topic/Poverty", - "Count_Person_Rural_BelowPovertyLevelInThePast12Months" - ] - }, - { - "CosineScore": [ - 0.81515, - 0.7886, - 0.77756, - 0.77521 - ], - "QueryPart": "hispanic women phd", - "SV": [ - "dc/06f0jf8xvzw4f", - "Count_Person_Female_HispanicOrLatino", - "dc/3w039ndqy7qv1", - "dc/topic/HispanicOrLatinoFemalePopulationByAge" - ] - } - ] - }, - { - "AggCosineScore": 0.8071, - "DelimBased": false, - "Parts": [ - { - "CosineScore": [ - 0.84959, - 0.8335 - ], - "QueryPart": "number of poor hispanic women", - "SV": [ - "Count_Person_Female_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_Female_HispanicOrLatino" - ] - }, - { - "CosineScore": [ - 0.7647, - 0.74767, - 0.73771, - 0.73628, - 0.73059 - ], - "QueryPart": "phd", - "SV": [ - "Count_Person_EducationalAttainmentDoctorateDegree", - "Count_Person_25OrMoreYears_EducationalAttainmentDoctorateDegree_Female", - "Count_Person_25OrMoreYears_DoctorateDegree_AsFractionOf_Count_Person_25OrMoreYears", - "Count_Person_25OrMoreYears_EducationalAttainmentDoctorateDegree_Male", - "Count_Person_25OrMoreYears_Female_DoctorateDegree_AsFractionOf_Count_Person_25OrMoreYears_Female" - ] - } - ] - } - ] - }, + "CosineScore": [], + "MultiSV": {}, "Query": "number of poor hispanic women with phd", - "SV": [ - "dc/06f0jf8xvzw4f", - "Count_Person_Female_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_Female_HispanicOrLatino", - "dc/3w039ndqy7qv1", - "dc/topic/HispanicOrLatinoFemalePopulationByAge", - "dc/9cqv67nn7pn1b", - "Median_Age_Person_Female_HispanicOrLatino", - "Count_Person_25OrMoreYears_EducationalAttainmentDoctorateDegree_Female", - "Count_Person_Female_AbovePovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_15OrMoreYears_Widowed_HispanicOrLatino", - "Count_Person_15OrMoreYears_Divorced_HispanicOrLatino", - "Count_Household_HouseholderRaceHispanicOrLatino_SingleMotherFamilyHousehold", - "Count_Person_Female_NotHispanicOrLatino", - "Count_Student_HispanicOrLatino", - "Count_Person_25OrMoreYears_Female_DoctorateDegree_AsFractionOf_Count_Person_25OrMoreYears_Female", - "dc/0jtctjm33mgh1", - "Count_Person_WithDisability_HispanicOrLatino", - "Count_Person_15OrMoreYears_MarriedAndNotSeparated_HispanicOrLatino", - "Count_Person_HispanicOrLatino_ResidesInCollegeOrUniversityStudentHousing", - "Count_Household_WithoutFoodStampsInThePast12Months_HispanicOrLatino", - "Count_Person_HispanicOrLatino", - "Count_Person_AbovePovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_Female_BelowPovertyLevelInThePast12Months_TwoOrMoreRaces", - "Count_Person_Male_AbovePovertyLevelInThePast12Months_BlackOrAfricanAmericanAlone", - "Count_Person_15OrMoreYears_NeverMarried_HispanicOrLatino", - "Count_Person_Male_BelowPovertyLevelInThePast12Months_HispanicOrLatino", - "Count_Person_Female_BelowPovertyLevelInThePast12Months", - "dc/topic/PovertyByGender", - "Count_Person_Female_AbovePovertyLevelInThePast12Months_TwoOrMoreRaces", - "Count_Person_HispanicOrLatino_ResidesInNursingFacilities", - "Count_Person_NoHealthInsurance_HispanicOrLatino", - "dc/5hc4etrfyj9qg", - "Count_Person_Male_HispanicOrLatino", - "Count_Person_Female_BelowPovertyLevelInThePast12Months_WhiteAlone", - "dc/hyfn2tlyz48lb", - "Count_Person_25OrMoreYears_EducationalAttainmentSomeCollegeLessThan1Year_Female", - "Count_Person_25OrMoreYears_EducationalAttainmentBachelorsDegreeOrHigher_Female", - "Count_Person_Female_AbovePovertyLevelInThePast12Months_WhiteAlone", - "dc/epw58ne8mytn5" - ] + "SV": [] }, "props_matching": { "CosineScore": [], @@ -215,20 +18,19 @@ }, "query_detection_debug_logs": { "dc_recognize_places": {}, - "llm_response": { - "METRICS": [ - "number of poor hispanic women with phd" - ] - }, "main_place_inferred": null, "original_query": "number of poor hispanic women with phd", "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": "number of poor hispanic women with phd", + "place_detection_with_places_removed": "number of poor hispanic women with phd", "sv_detection_query_index_types": [ - "" - ] + "base_uae_mem" + ], + "sv_detection_query_input": "number of poor hispanic women with phd", + "sv_detection_query_stop_words_removal": "number of poor hispanic women phd" } } } \ No newline at end of file