Spaces:
Sleeping
Sleeping
Sai Kumar Taraka commited on
Commit ·
3a6984c
1
Parent(s): aa93eaa
Fix: initialize sim_result before use in HTML report
Browse files- src/pipeline.py +1 -1
src/pipeline.py
CHANGED
|
@@ -243,6 +243,7 @@ class TBPipeline:
|
|
| 243 |
quality_score = None
|
| 244 |
cross_result = None
|
| 245 |
hallucination_count = 0
|
|
|
|
| 246 |
auto_train = self.cfg.auto_train
|
| 247 |
|
| 248 |
for iteration in range(1, auto_train.max_iterations + 1):
|
|
@@ -340,7 +341,6 @@ class TBPipeline:
|
|
| 340 |
quality_score.details.get("ral_readiness", "?"))
|
| 341 |
|
| 342 |
# 6c. Simulate (multi-seed regression)
|
| 343 |
-
sim_result = None
|
| 344 |
coverage_db = None
|
| 345 |
if auto_train.enabled:
|
| 346 |
self.logger.info("Running simulation (simulator=%s, seeds=%d)...",
|
|
|
|
| 243 |
quality_score = None
|
| 244 |
cross_result = None
|
| 245 |
hallucination_count = 0
|
| 246 |
+
sim_result = None
|
| 247 |
auto_train = self.cfg.auto_train
|
| 248 |
|
| 249 |
for iteration in range(1, auto_train.max_iterations + 1):
|
|
|
|
| 341 |
quality_score.details.get("ral_readiness", "?"))
|
| 342 |
|
| 343 |
# 6c. Simulate (multi-seed regression)
|
|
|
|
| 344 |
coverage_db = None
|
| 345 |
if auto_train.enabled:
|
| 346 |
self.logger.info("Running simulation (simulator=%s, seeds=%d)...",
|