dtcxzyw commited on
Commit
cc27966
·
unverified ·
1 Parent(s): 57fa966
Files changed (1) hide show
  1. app.py +4 -4
app.py CHANGED
@@ -118,11 +118,11 @@ for bug_id in fixed_bug_ids:
118
  fixed_by_comp[comp] = fixed_by_comp.get(comp, 0) + 1
119
  fixed_by_comp_df = pd.DataFrame(
120
  {
121
- "Component": [comp for comp in fixed_by_comp.keys()],
122
- "Total": [comp_bug_count[comp] for comp in fixed_by_comp.keys()],
123
- "Repaired": list(fixed_by_comp.values()),
124
  "Repair Rate (%)": [
125
- round(fixed_by_comp[comp] / comp_bug_count[comp] * 100, 1) for comp in fixed_by_comp.keys()
126
  ],
127
  }
128
  )
 
118
  fixed_by_comp[comp] = fixed_by_comp.get(comp, 0) + 1
119
  fixed_by_comp_df = pd.DataFrame(
120
  {
121
+ "Component": list(comp_bug_count.keys()),
122
+ "Total": list(comp_bug_count.values()),
123
+ "Repaired": [fixed_by_comp.get(comp, 0) for comp in comp_bug_count.keys()],
124
  "Repair Rate (%)": [
125
+ round(fixed_by_comp.get(comp, 0) / comp_bug_count[comp] * 100, 1) for comp in comp_bug_count.keys()
126
  ],
127
  }
128
  )