import { useState, useRef, useCallback } from "react"; const API_BASE = ""; const SEV_COLOR = { high: "#ff4d6d", medium: "#ff9f1c", low: "#2ec4b6" }; const SEV_BG = { high: "#fff0f3", medium: "#fff8ee", low: "#f0fafa" }; function Badge({ sev }) { const col = SEV_COLOR[sev] || "#888"; return ( {sev} ); } function StatCard({ value, label, color, bg }) { return (
Upload 2 or more research papers and detect methodological contradictions across experimental protocols — reagents, temperatures, cell lines, antibodies, timing and more. ContraGenAI · Powered by Groq + LLaMA 3.3 70B
No ranked issues found.
: ranked.map((item, i) => { const sev = item.severity || "low"; const col = SEV_COLOR[sev] || "#888"; const bg = SEV_BG[sev] || "#fafafa"; return (No contradictions found.
: (| {h} | ))}||||
|---|---|---|---|---|
| {c.parameter} | {c.category} | {c.values?.[`paper_${j}`] || "—"} | ))}{c.explanation} |
{optimal.rationale}