avanigupta Claude Opus 4.6 (1M context) commited on
Commit
51adf89
·
1 Parent(s): d7c51ad

add root endpoint for browser/judge friendliness

Browse files

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>

Files changed (1) hide show
  1. dataqa_env/server/app.py +11 -0
dataqa_env/server/app.py CHANGED
@@ -19,6 +19,17 @@ app = create_app(
19
  )
20
 
21
 
 
 
 
 
 
 
 
 
 
 
 
22
  def main():
23
  import uvicorn
24
  uvicorn.run(app, host="0.0.0.0", port=7860)
 
19
  )
20
 
21
 
22
+ @app.get("/")
23
+ def root():
24
+ """Root endpoint — environment info."""
25
+ return {
26
+ "name": "DataQA Environment",
27
+ "description": "Two-phase data quality assurance environment: identify issues + propose fixes",
28
+ "tasks": ["easy", "medium", "hard"],
29
+ "endpoints": ["/health", "/reset", "/step", "/state"],
30
+ }
31
+
32
+
33
  def main():
34
  import uvicorn
35
  uvicorn.run(app, host="0.0.0.0", port=7860)