chore: update service hours comparisons

This commit is contained in:
alphafetus committed 2026-02-10 08:18:31 -05:00
1 parent 494f93084f
commit 4f61222f2d
1 file changed
+12 -21
+12 -21
View File
@@ -283,13 +283,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
let service_hours_20 = ComparisonData::new( let service_hours_20 = ComparisonData::new(
"service_hours_20", "service_hours_20",
"community_involvement", "service_hours",
ComparisonType::MapList(MapListComparison::FlattenToNumberList( ComparisonType::Number(
"service_hours".to_string(), NumberComparison::GreaterThanOrEqual
Box::new(NumberListComparison::Sum(Box::new( ),
NumberComparison::GreaterThanOrEqual,
))),
)),
ValueType::Number(Some(20.to_string())), ValueType::Number(Some(20.to_string())),
"Community Service", "Community Service",
"20+ service hours", "20+ service hours",
@@ -297,13 +294,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
let service_hours_25 = ComparisonData::new( let service_hours_25 = ComparisonData::new(
"service_hours_25", "service_hours_25",
"community_involvement", "service_hours",
ComparisonType::MapList(MapListComparison::FlattenToNumberList( ComparisonType::Number(
"service_hours".to_string(), NumberComparison::GreaterThanOrEqual
Box::new(NumberListComparison::Sum(Box::new( ),
NumberComparison::GreaterThanOrEqual,
))),
)),
ValueType::Number(Some(25.to_string())), ValueType::Number(Some(25.to_string())),
"Community Service", "Community Service",
"25+ service hours", "25+ service hours",
@@ -311,13 +305,10 @@ fn make_comp_list() -> Vec<ComparisonData> {
let service_hours_30 = ComparisonData::new( let service_hours_30 = ComparisonData::new(
"service_hours_30", "service_hours_30",
"community_involvement", "service_hours",
ComparisonType::MapList(MapListComparison::FlattenToNumberList( ComparisonType::Number(
"service_hours".to_string(), NumberComparison::GreaterThanOrEqual
Box::new(NumberListComparison::Sum(Box::new( ),
NumberComparison::GreaterThanOrEqual,
))),
)),
ValueType::Number(Some(30.to_string())), ValueType::Number(Some(30.to_string())),
"Community Service", "Community Service",
"30+ service hours", "30+ service hours",