prakharg24 commited on
Commit
41097c4
Β·
verified Β·
1 Parent(s): 2fd4b4b

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +12 -9
app.py CHANGED
@@ -158,25 +158,28 @@ if "overfit" in owner_active_list:
158
  if "overfitdist" in owner_active_list:
159
  owner_cost = "🟑 Medium"
160
 
161
- reliability = "πŸ”΄ Low"
162
  if "auditone" in auditor_active_list and len(owner_active_list)==0:
163
- reliability = "🟑 Medium"
164
  if "auditmany" in auditor_active_list and len(owner_active_list)==0:
165
- reliability = "🟒 High"
166
  if "auditmany" in auditor_active_list and "overfit" in owner_active_list:
167
- reliability = "🟑 Medium"
168
  if "private" in auditor_active_list and "overfitdist" not in owner_active_list:
169
- reliability = "🟑 Medium"
170
  if "private" in auditor_active_list and "auditmany" in auditor_active_list and "overfitdist" not in owner_active_list:
171
- reliability = "🟒 High"
172
  if "private" in auditor_active_list and "auditmany" in auditor_active_list and "overfitdist" in owner_active_list:
173
- reliability = "🟑 Medium"
174
  if "internals" in auditor_active_list:
175
- reliability = "🟒 High"
176
 
177
  openness = "None"
178
  if "internals" in auditor_active_list:
179
- openness = "🟒 High (Model Weight Sharing)"
 
 
 
180
 
181
  # --------------------------------------------------
182
  # Dashboard
 
158
  if "overfitdist" in owner_active_list:
159
  owner_cost = "🟑 Medium"
160
 
161
+ reliability = "❌ Low"
162
  if "auditone" in auditor_active_list and len(owner_active_list)==0:
163
+ reliability = "⚠️ Medium"
164
  if "auditmany" in auditor_active_list and len(owner_active_list)==0:
165
+ reliability = "βœ… High"
166
  if "auditmany" in auditor_active_list and "overfit" in owner_active_list:
167
+ reliability = "⚠️ Medium"
168
  if "private" in auditor_active_list and "overfitdist" not in owner_active_list:
169
+ reliability = "⚠️ Medium"
170
  if "private" in auditor_active_list and "auditmany" in auditor_active_list and "overfitdist" not in owner_active_list:
171
+ reliability = "βœ… High"
172
  if "private" in auditor_active_list and "auditmany" in auditor_active_list and "overfitdist" in owner_active_list:
173
+ reliability = "⚠️ Medium"
174
  if "internals" in auditor_active_list:
175
+ reliability = "βœ… High"
176
 
177
  openness = "None"
178
  if "internals" in auditor_active_list:
179
+ openness = "πŸ” High (Model Weight Sharing)"
180
+
181
+ if len(auditor_active_list)==0 and len(owner_active_list)==0:
182
+ auditor_cost, owner_cost, reliability, openness = "N/A", "N/A", "N/A", "N/A"
183
 
184
  # --------------------------------------------------
185
  # Dashboard