Skip to content

Commit 1fe006a

Browse files
sbooeshaghiclaude
andcommitted
Update comparison table column names from llm to openeval
- Changed llm_result_id to openeval_result_id - Changed llm_status to openeval_status - Changed notes to comparison - Changed n_llm to n_openeval - Changed llm_reasoning to openeval_reasoning - Added fallback support for old field names for backward compatibility 🤖 Generated with [Claude Code](https://claude.com/claude-code) Co-Authored-By: Claude <[email protected]>
1 parent 8a40bea commit 1fe006a

File tree

1 file changed

+9
-9
lines changed

1 file changed

+9
-9
lines changed

app/ingest_manuscripts.py

Lines changed: 9 additions & 9 deletions
Original file line numberDiff line numberDiff line change
@@ -275,24 +275,24 @@ def ingest_manuscript(self, conn: sqlite3.Connection, article_id: str, version:
275275
comp_id = f"{manuscript_id}-comparison-{i}"
276276
cursor.execute("""
277277
INSERT OR REPLACE INTO comparison (
278-
id, llm_result_id, peer_result_id,
279-
llm_status, peer_status, agreement_status, notes,
280-
n_llm, n_peer, n_itx,
281-
llm_reasoning, peer_reasoning, prompt_id
278+
id, openeval_result_id, peer_result_id,
279+
openeval_status, peer_status, agreement_status, comparison,
280+
n_openeval, n_peer, n_itx,
281+
openeval_reasoning, peer_reasoning, prompt_id
282282
)
283283
VALUES (?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?, ?)
284284
""", (
285285
comp_id,
286-
comp_data.get('llm_result_id'),
286+
comp_data.get('openeval_result_id') or comp_data.get('llm_result_id'),
287287
comp_data.get('peer_result_id'),
288-
comp_data.get('llm_status'),
288+
comp_data.get('openeval_status') or comp_data.get('llm_status'),
289289
comp_data.get('peer_status'),
290290
comp_data.get('agreement_status', ''),
291-
comp_data.get('notes'),
292-
comp_data.get('n_llm'),
291+
comp_data.get('comparison') or comp_data.get('notes'),
292+
comp_data.get('n_openeval') or comp_data.get('n_llm'),
293293
comp_data.get('n_peer'),
294294
comp_data.get('n_itx'),
295-
comp_data.get('llm_reasoning'),
295+
comp_data.get('openeval_reasoning') or comp_data.get('llm_reasoning'),
296296
comp_data.get('peer_reasoning'),
297297
compare_prompt_id
298298
))

0 commit comments

Comments
 (0)