final bugs and removed debug
Browse files- baseline/run_baseline.py +0 -1
- env/taint_tracker.py +1 -0
baseline/run_baseline.py
CHANGED
|
@@ -319,7 +319,6 @@ def get_model_action(client: Any, observation: Observation, step_count: int) ->
|
|
| 319 |
response = (completion.choices[0].message.content or "").strip()
|
| 320 |
return parse_action_from_response(response)
|
| 321 |
except Exception as exc: # pragma: no cover - API/network dependent
|
| 322 |
-
print(f"[DEBUG] Model request failed: {exc}", flush=True)
|
| 323 |
return heuristic_next_action(observation, step_count)
|
| 324 |
|
| 325 |
|
|
|
|
| 319 |
response = (completion.choices[0].message.content or "").strip()
|
| 320 |
return parse_action_from_response(response)
|
| 321 |
except Exception as exc: # pragma: no cover - API/network dependent
|
|
|
|
| 322 |
return heuristic_next_action(observation, step_count)
|
| 323 |
|
| 324 |
|
env/taint_tracker.py
CHANGED
|
@@ -49,6 +49,7 @@ class TaintTracker:
|
|
| 49 |
artifact_body=text,
|
| 50 |
destination="internal-db",
|
| 51 |
contamination_classes=[],
|
|
|
|
| 52 |
leak_detected=False,
|
| 53 |
leak_severity="none",
|
| 54 |
)
|
|
|
|
| 49 |
artifact_body=text,
|
| 50 |
destination="internal-db",
|
| 51 |
contamination_classes=[],
|
| 52 |
+
semantic_labels=[],
|
| 53 |
leak_detected=False,
|
| 54 |
leak_severity="none",
|
| 55 |
)
|