Round the sum of percentages before validating to account for floating point errors (#1824)

* Round the sum of percentages before validating to account for floating point errors
---------

Co-authored-by: Kian Cossettini <Kian.Cossettini@amd.com>
Este commit está contenido en:
David Galiffi
2025-11-12 09:26:25 -05:00
cometido por GitHub
padre 90ac6675c2
commit f8694173f6
Se han modificado 2 ficheros con 2 adiciones y 2 borrados
@@ -50,7 +50,7 @@
"description": "Verify that percentages sum to 100.",
"error_message": "Percentages do not sum to 100.",
"expected_result": 100,
"query": "SELECT SUM(percentage) FROM top;"
"query": "SELECT ROUND(SUM(percentage), 1) FROM top;"
}
]
},