Spaces:
Running
Running
log deterministic findings
Browse files
nodes/correctness_reviewer.py
CHANGED
|
@@ -146,6 +146,8 @@ def correctness_reviewer_node(state: OpenCodeReviewState) -> dict:
|
|
| 146 |
if raw_line.startswith("+") and not raw_line.startswith("+++"):
|
| 147 |
current_line += 1
|
| 148 |
|
|
|
|
|
|
|
| 149 |
# --- Build the LLM (Gemini primary → Groq fallback) -----------------------
|
| 150 |
try:
|
| 151 |
llm = create_llm(endpoint=state.endpoint or None)
|
|
|
|
| 146 |
if raw_line.startswith("+") and not raw_line.startswith("+++"):
|
| 147 |
current_line += 1
|
| 148 |
|
| 149 |
+
logger.info("Deterministic correctness checks found %d issue(s)", len(static_findings))
|
| 150 |
+
|
| 151 |
# --- Build the LLM (Gemini primary → Groq fallback) -----------------------
|
| 152 |
try:
|
| 153 |
llm = create_llm(endpoint=state.endpoint or None)
|