Spaces:
Sleeping
Sleeping
Update backend/main.py
Browse files- backend/main.py +5 -6
backend/main.py
CHANGED
|
@@ -74,6 +74,7 @@ IMPORTANT RULES:
|
|
| 74 |
- For CRISPR screens, always look for: MOI, library coverage, selection agent/duration, readout method, analysis software
|
| 75 |
- For protein expression, always look for: induction conditions (IPTG concentration, OD600, temperature), purification steps, elution conditions"""
|
| 76 |
|
|
|
|
| 77 |
COMPARISON_SYSTEM = """You are a senior peer reviewer specializing in bioengineering reproducibility.
|
| 78 |
Your job is to identify ALL methodological contradictions between protocols — including subtle ones most researchers miss.
|
| 79 |
|
|
@@ -101,12 +102,10 @@ Return ONLY valid JSON (no markdown, no extra text):
|
|
| 101 |
"summary": {"total_contradictions": 0, "high": 0, "medium": 0, "low": 0}
|
| 102 |
}
|
| 103 |
|
| 104 |
-
SEVERITY
|
| 105 |
-
-
|
| 106 |
-
|
| 107 |
-
|
| 108 |
-
- "Not specified vs HEK293T" for cell line subtype = HIGH, because a researcher defaulting to HEK293 instead of HEK293T will see 3-10x lower viral titer.
|
| 109 |
-
- Never rate Ampicillin vs mammalian selection agents as a contradiction — these operate in different biological contexts (bacterial vs mammalian). Flag this instead as a protocol scope difference.
|
| 110 |
|
| 111 |
CRITICAL CHECKS — always look for these specific contradictions:
|
| 112 |
1. HEK293 vs HEK293T (SV40 T antigen affects transfection efficiency and episomal replication)
|
|
|
|
| 74 |
- For CRISPR screens, always look for: MOI, library coverage, selection agent/duration, readout method, analysis software
|
| 75 |
- For protein expression, always look for: induction conditions (IPTG concentration, OD600, temperature), purification steps, elution conditions"""
|
| 76 |
|
| 77 |
+
|
| 78 |
COMPARISON_SYSTEM = """You are a senior peer reviewer specializing in bioengineering reproducibility.
|
| 79 |
Your job is to identify ALL methodological contradictions between protocols — including subtle ones most researchers miss.
|
| 80 |
|
|
|
|
| 102 |
"summary": {"total_contradictions": 0, "high": 0, "medium": 0, "low": 0}
|
| 103 |
}
|
| 104 |
|
| 105 |
+
SEVERITY RULES:
|
| 106 |
+
- HIGH: affects primary experimental outcome (e.g. MOI determines single vs multiple sgRNA integration; HEK293 vs HEK293T affects viral titer 3-10x; selection duration creates fitness bias)
|
| 107 |
+
- MEDIUM: affects data quality or efficiency (e.g. library coverage affects statistical power; packaging ratios affect titer)
|
| 108 |
+
- LOW: minor procedural difference unlikely to change conclusions
|
|
|
|
|
|
|
| 109 |
|
| 110 |
CRITICAL CHECKS — always look for these specific contradictions:
|
| 111 |
1. HEK293 vs HEK293T (SV40 T antigen affects transfection efficiency and episomal replication)
|