Commit ·
affd8d5
1
Parent(s): 2d9d7f4
Fix Dockerfile and graders.py: Remove he_demo namespace references
Browse files- Dockerfile +1 -1
- graders.py +1 -1
Dockerfile
CHANGED
|
@@ -79,4 +79,4 @@ HEALTHCHECK --interval=30s --timeout=3s --start-period=5s --retries=3 \
|
|
| 79 |
|
| 80 |
# Run the FastAPI server
|
| 81 |
# The module path is constructed to work with the /app/env structure
|
| 82 |
-
CMD ["sh", "-c", "cd /app/env && uvicorn
|
|
|
|
| 79 |
|
| 80 |
# Run the FastAPI server
|
| 81 |
# The module path is constructed to work with the /app/env structure
|
| 82 |
+
CMD ["sh", "-c", "cd /app/env && uvicorn server.app:app --host 0.0.0.0 --port 8000"]
|
graders.py
CHANGED
|
@@ -11,7 +11,7 @@ Each grader function evaluates agent performance on a specific task,
|
|
| 11 |
returning a score from 0.0 (worst) to 1.0 (best).
|
| 12 |
"""
|
| 13 |
|
| 14 |
-
from
|
| 15 |
|
| 16 |
|
| 17 |
def grade_basic_ram_reduction(observation: EnergyOptimizationObservation) -> float:
|
|
|
|
| 11 |
returning a score from 0.0 (worst) to 1.0 (best).
|
| 12 |
"""
|
| 13 |
|
| 14 |
+
from models import EnergyOptimizationObservation
|
| 15 |
|
| 16 |
|
| 17 |
def grade_basic_ram_reduction(observation: EnergyOptimizationObservation) -> float:
|