Compare commits

...

2 commits

Author SHA1 Message Date
Pagwin
b8b21bad6b
minor fixes to actually do something with agent availability 2026-06-10 12:44:59 -04:00
Pagwin
70c65fa178
docker compose 2026-06-10 12:44:37 -04:00
4 changed files with 7 additions and 5 deletions

View file

@ -4,10 +4,11 @@ services:
web:
build: .
ports:
- "5000:5000"
- "5555:5000"
environment:
- FLASK_ENV=development
- FLASK_DEBUG=1
volumes:
- .:/app
command: uv run python web_solve.py
restart: unless-stopped

View file

@ -130,10 +130,10 @@ AGENT_AVAILABILITY = {
"baron": [],
"prodigy": [],
"provisioner": [],
"metallurgist": [2, 3, 4, 5],
"builder": [2, 3, 4],
"metallurgist": [],
"builder": [],
"courier": [],
"planner": [1, 2, 3, 4, 5],
"planner": [],
"fence": [],
"foreman": [],
"industrialist": [],

View file

@ -193,7 +193,6 @@
}
.output-section {
display: none;
margin-top: 30px;
padding: 20px;
background: #f5f5f5;

View file

@ -109,6 +109,8 @@ def solve_handler():
else:
agent_availability[agent_name] = []
solve.AGENT_AVAILABILITY = agent_availability
# Parse time limit
time_limit = float(data.get("time_limit", 60.0))