Spaces:
Sleeping
Sleeping
Commit History
-
Feat: Better structured inference.py
ARYANPATEL-BIT03e27fd
-
fix: force unbuffered stdout so validator can parse [START]/[STEP]/[END] markers
- Set PYTHONUNBUFFERED=1 in Dockerfile ENV and at script startup - Add sys.stdout.reconfigure(write_through=True) for belt-and-suspenders - Move wait_for_env() after LLM client setup to minimize delay before structured output - Reduce boot retries from 5x3s to 3x2s to avoid timeout before output48e698c -
fix: make inference.py robust against unhandled exceptions - Replace sys.exit(1) with graceful returns and error messages - Use .get() with defaults for all dict access in build_user_prompt - Add top-level try/except to catch ALL exceptions incl SystemExit - Add import guards for third-party packages (openai, requests) - Sanitize NaN/Inf values before json.dumps - Add env health check before starting tasks - Wrap every risky operation in try/except
9425538 -
Fix mandatory inference logging format
a97b13a -
did something
26cb823
-
feat: v2.0 — 4D resources, spot eviction, cascading failures, procedural generation, dashboard
- Expanded instance catalog to 11 types (+ compute/memory/storage-opt, spot) - Added disk IOPS and network bandwidth as resource dimensions - Added spot instance eviction at steps 3/7/12 (deterministic) - Added cascading failures via workload dependency graph - Added seed-based traffic spikes for demand fluctuation - Added procedural task generation (task_id='random' + seed) - Added session management (concurrent agents supported) - Added live HTML dashboard at /dashboard - Updated reward formula weights to 0.40/0.35/0.25 (heavier penalty) - Increased destructive termination penalty to 0.50 - Made easy task require reasoning (2 workloads instead of 1) - Set hard task budget to .20 (achievable) - Uncapped utilization display, added is_overloaded flag - Added structured error prefixes ([OK], [ERROR:*], [WARN:*]) - Added TypedDict for TaskConfig and InstanceSpec - Added test_env.py with 77 passing unit tests - Cleaned requirements.txt to project-only deps - Deleted orphaned models.py and …8d36472 -
did some changes in inference.py
4237508 -
created all the required files for the hackathon
ARYANPATEL-BITd34c342