Sushruth21 commited on
Commit
2f299ed
·
unverified ·
2 Parent(s): dcd61d3e17cdab

Merge branch 'main' into temp-clean

Browse files
Files changed (3) hide show
  1. Dockerfile +1 -1
  2. graders.py +1 -1
  3. pyproject.toml +0 -6
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 he_demo.server.app:app --host 0.0.0.0 --port 8000"]
 
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 he_demo.models import EnergyOptimizationObservation
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:
pyproject.toml CHANGED
@@ -34,13 +34,7 @@ dev = [
34
  "pytest-cov>=4.0.0",
35
  ]
36
 
37
- [project.scripts]
38
- # Server entry point - enables running via: uv run --project . server
39
- # or: python -m he_demo.server.app
40
- server = "he_demo.server.app:main"
41
-
42
  [tool.setuptools]
43
  include-package-data = true
44
- package-dir = {"he_demo" = "."}
45
  py-modules = ["models", "client", "task_graders", "task_registry", "grader_manifest"]
46
  packages = ["server"]
 
34
  "pytest-cov>=4.0.0",
35
  ]
36
 
 
 
 
 
 
37
  [tool.setuptools]
38
  include-package-data = true
 
39
  py-modules = ["models", "client", "task_graders", "task_registry", "grader_manifest"]
40
  packages = ["server"]