Sdm0 commited on
Commit
4f44dcf
·
verified ·
1 Parent(s): 34ed9eb

log deterministic findings

Browse files
Files changed (1) hide show
  1. nodes/correctness_reviewer.py +2 -0
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)