Spaces:
Sleeping
Sleeping
Commit History
-
Fix inference.py to always output valid scores for HF validation
d1d43df -
Use gpt-4o for vision support
b395a8b -
fix(inference): align [STEP] scores with openenv.yaml task graders
- Use tasks.*.grader grade() for stdout (same functions as manifest); LLM schema matches CodeReviewAction - Defer API key check to run_inference(); safe to import module without env - json_object retry without response_format for picky gateways - Sanity-check root grader.py returns float in (0,1); keep grader import for rubric tooling Made-with: Cursor273e960 -
fix(inference): accept OPENAI_API_KEY when HF_TOKEN unset (HF Spaces)
Made-with: Cursora44cabe -
fix(hackathon): root inference + normalized grader + OpenAI-only agent
- grader.py: map integer rubric scores to (0,1) exclusive via config-derived bounds - inference.py: OpenAI client (HF_TOKEN, API_BASE_URL, MODEL_NAME); grader.grade(); 5 tasks; [START]/[STEP] task_id score/[END] only on stdout - agent.py: remove Anthropic; use openai.OpenAI with HF_TOKEN or OPENAI_API_KEY - main.py: enable LLM when HF_TOKEN or OPENAI_API_KEY is set Made-with: Cursor8e2e914 -
fix(validation): match inference [STEP] rewards to openenv.yaml graders
- Remove score_action linear remap; call the same grade() as each task manifest - Extend openenv.yaml with spec_version, app, port, type, runtime for HF/OpenEnv CLI Made-with: Cursoree58e44 -
fix(openenv): align env step rewards with YAML task graders
- Add tasks/scoring.finalize_task_reward for strict (0,1) scores and non-finite guards - Route CodeBugEnvironment.step through the same grade() functions as openenv.yaml - Accept **kwargs on task graders for validator compatibility; make extra1/extra2 proper packages - Harden inference.py score_action for non-finite intermediate rewards Made-with: Cursor854a163 -
fix: resolve Phase 2 validation failures (tasks with graders and score range)
eb32c3c
-
Fix score_action to return values strictly between 0 and 1 (exclusive)
06bcb61
-
fix: fully compliant inference.py per hackathon pre-submission checklist
e5443c9 -
feat: complete pivot to strictly compliant OpenEnv hackathon submission
5235bfa