Skip to content
Snippets Groups Projects
Commit facc9d2f authored by benzinab's avatar benzinab
Browse files

small classification fix

parent 9b2de212
No related branches found
No related tags found
No related merge requests found
...@@ -21,7 +21,7 @@ classifications = { ...@@ -21,7 +21,7 @@ classifications = {
"A+": (1001, 1030), "A+": (1001, 1030),
"A": (1000, 1000), "A": (1000, 1000),
"A-": (960, 999), "A-": (960, 999),
"B": (959, 850), "B": (850, 959),
"C": (600, 849), "C": (600, 849),
"D": (0, 599), "D": (0, 599),
} }
...@@ -60,4 +60,4 @@ citizens = generate_synthetic_data(10) ...@@ -60,4 +60,4 @@ citizens = generate_synthetic_data(10)
# Print the list of citizens with their updated credit scores, applied actions, and classifications # Print the list of citizens with their updated credit scores, applied actions, and classifications
for citizen in citizens: for citizen in citizens:
print(citizen["credit_score"], citizen["applied_actions"], citizen["classification"]) print("SCORE: ", citizen["credit_score"], "| CLASS: ", citizen["classification"], "| ACTIONS: ", citizen["applied_actions"])
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment