Update server/app.py
Browse files- server/app.py +9 -2
server/app.py
CHANGED
|
@@ -27,8 +27,15 @@ def health():
|
|
| 27 |
def metadata():
|
| 28 |
print("[METADATA] Requested")
|
| 29 |
return {
|
| 30 |
-
"name": "Code Review
|
| 31 |
-
"description":
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
|
| 32 |
}
|
| 33 |
|
| 34 |
@app.get("/schema")
|
|
|
|
| 27 |
def metadata():
|
| 28 |
print("[METADATA] Requested")
|
| 29 |
return {
|
| 30 |
+
"name": "Code Review Professional Workflow",
|
| 31 |
+
"description": (
|
| 32 |
+
"Multi‑turn code review environment for professional‑level bug fixing. "
|
| 33 |
+
"The agent must inspect, test, lint, query documentation, and negotiate with "
|
| 34 |
+
"a simulated (persona‑driven) author to get a fix accepted. "
|
| 35 |
+
"Includes 25 bugs across 5 difficulty levels, AST‑based injection, "
|
| 36 |
+
"a reward‑shaping system, and curriculum learning. "
|
| 37 |
+
"Designed for RL training (PPO, DPO, or any policy‑gradient method)."
|
| 38 |
+
)
|
| 39 |
}
|
| 40 |
|
| 41 |
@app.get("/schema")
|