-
Notifications
You must be signed in to change notification settings - Fork 1
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
add per indicator thrsholding and new dump #1073
base: dev
Are you sure you want to change the base?
Conversation
@@ -69,7 +69,7 @@ def categorize_processing_level(level): | |||
# remove existing data | |||
EnvironmentalJusticeRow.objects.filter(destination_server=EnvironmentalJusticeRow.DestinationServerChoices.DEV).delete() | |||
|
|||
ej_dump = json.load(open("backups/ej_dump_20240815_112916.json")) | |||
ej_dump = json.load(open("backups/ej_dump_20241017_133151.json.json")) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
double extension?
thresholds = { | ||
"Not EJ": 0.80, | ||
"Climate Change": 0.95, | ||
"Disasters": 0.80, | ||
"Extreme Heat": 0.50, | ||
"Food Availability": 0.80, | ||
"Health & Air Quality": 0.90, | ||
"Human Dimensions": 0.80, | ||
"Urban Flooding": 0.50, | ||
"Water Availability": 0.80, | ||
} |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
move to config or somewhere more visible / elegant / configurable
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
minor comments. else lgtm
closes: https://github.com/NASA-IMPACT/llm-app-EJ-classifier/issues/58