modify tolerance policy

This commit is contained in:
KOKO\Mimi
2026-08-18 02:29:26 +09:00
parent 123a1b6ccc
commit 624ea4872c
36 changed files with 1909 additions and 672 deletions
+16 -4
View File
@@ -20,6 +20,8 @@ struct CanonicalComparisonRow {
std::size_t frame_index;
std::string instance_name;
std::int64_t source_node_label;
std::int64_t source_element_label;
int endpoint_index;
ComparisonQuantity quantity;
std::string component;
double value;
@@ -33,18 +35,28 @@ struct RowDecision {
CanonicalComparisonRow reference;
double absolute_error;
double tolerance;
double reference_scale;
double near_zero_band;
double relative_error;
bool relative_error_applicable;
std::string tolerance_branch;
bool passed;
};
struct ComponentMetrics {
ComparisonQuantity quantity;
std::string component;
std::string family_identity;
std::vector<std::string> components;
double reference_scale;
double near_zero_band;
std::size_t near_zero_count;
double maximum_absolute_error;
double maximum_normalized_error;
double rms_error;
double norm_error;
double relative_rms;
std::size_t worst_row;
bool rms_passed;
bool passed;
std::string diagnostic_code;
std::size_t row_count{};
};
struct PhysicsEvidence {