Fakultas Ilmu Komputer UI

Commit 530c624d authored by Jonathan Christopher Jakub's avatar Jonathan Christopher Jakub
Browse files

[REFACTOR] Tidy up utility functions

parent c3445c57
......@@ -28,7 +28,6 @@ def generate_initial_group_counts():
district_groups = {
district: generate_initial_counts() for district in DISTRICTS
}
return [age_groups, sex_groups, district_groups]
......@@ -37,8 +36,7 @@ def map_outcome_value(outcome):
return UNDERTERMINED
if outcome:
return POSITIVE
else:
return NEGATIVE
return NEGATIVE
def map_sex_value(sex):
......
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment