mlbench123 commited on
Commit
d2c0d9f
Β·
verified Β·
1 Parent(s): 16de878

Update app.py

Browse files
Files changed (1) hide show
  1. app.py +13 -13
app.py CHANGED
@@ -423,19 +423,19 @@ class SemanticFormulaAnalyzer:
423
  defaults_applied = sum(1 for k in extracted_data.keys() if k in self.defaults)
424
 
425
  summary = f"""
426
- ## πŸ“Š Analysis Summary
427
-
428
- **Total Formulas Loaded:** {len(self.formulas)}
429
- **βœ… Computable Formulas:** {len(computable_formulas)} ({len(computable_formulas) / len(self.formulas) * 100:.1f}%)
430
- **❌ Non-Computable Formulas:** {len(non_computable_formulas)} ({len(non_computable_formulas) / len(self.formulas) * 100:.1f}%)
431
- **πŸ“„ Files Processed:** {len(file_paths)}
432
- **πŸ”’ Data Points Extracted:** {len(extracted_data)}
433
- **🎯 Defaults Applied:** {defaults_applied}
434
- **πŸ”„ Computation Iterations:** {iteration + 1}
435
-
436
- ### πŸ“ˆ Progress by Iteration
437
- """
438
-
439
  for iter_num in sorted(by_iteration.keys()):
440
  summary += f"- Iteration {iter_num}: {len(by_iteration[iter_num])} formulas computed\n"
441
 
 
423
  defaults_applied = sum(1 for k in extracted_data.keys() if k in self.defaults)
424
 
425
  summary = f"""
426
+ ## πŸ“Š Analysis Summary
427
+
428
+ **Total Formulas Loaded:** {len(self.formulas)} \n
429
+ **βœ… Computable Formulas:** {len(computable_formulas)} ({len(computable_formulas) / len(self.formulas) * 100:.1f}%)\n
430
+ **❌ Non-Computable Formulas:** {len(non_computable_formulas)} ({len(non_computable_formulas) / len(self.formulas) * 100:.1f}%)\n
431
+ **πŸ“„ Files Processed:** {len(file_paths)}\n
432
+ **πŸ”’ Data Points Extracted:** {len(extracted_data)}\n
433
+ **🎯 Defaults Applied:** {defaults_applied}\n
434
+ **πŸ”„ Computation Iterations:** {iteration + 1}\n
435
+
436
+ ### πŸ“ˆ Progress by Iteration
437
+ """
438
+
439
  for iter_num in sorted(by_iteration.keys()):
440
  summary += f"- Iteration {iter_num}: {len(by_iteration[iter_num])} formulas computed\n"
441