code-review-env / inference.py

Commit History

  1. feat: convert to MCP tool-calling pattern matching reference repos⁠

    ragavrida +1: Claude Opus 4.6 (1M context)
    b2b578f
  2. feat: major upgrade — multi-step MDP, AST injection, 5-signal reward⁠

    ragavrida +1: Claude Opus 4.6 (1M context)
    74c9d03

  1. fix: send reward=None on reset, clamp all scores to strict (0,1)⁠

    011679d
  2. fix: use only platform-injected API_BASE_URL and API_KEY for LiteLLM proxy⁠

    320d51b

  1. fix: use API_BASE_URL and API_KEY directly for LiteLLM proxy

    06850bc
  2. fix: prioritize HF_TOKEN over API_KEY for LiteLLM proxy compliance⁠

    ab386d3
  3. fix: clamp all task scores to strict (0,1) range — never exactly 0.0 or 1.0⁠

    226ad10
  4. fix: prioritize API_KEY over HF_TOKEN for LiteLLM proxy compliance⁠

    d9eba60
  5. fix: pass task param to env.reset(), improve medium/hard prompts⁠

    4a85884
  6. fix: guarantee [START]/[END] stdout output even on env connection failure

    39c53e9
  7. fix: add pyrightconfig, update pyproject packages, polish inference & models

    caf52d5

  1. Fix: use LOCAL_IMAGE_NAME (matches submission form)

    d83dda3
  2. Match official sample inference.py: update API_BASE_URL default to HF router

    db5bc32
  3. Fix critical crash bug + audit fixes⁠

    1a6681a
  4. CRITICAL: Redirect [DEBUG]/[SUMMARY] to stderr⁠

    cac4246
  5. Fix env var format to match submission checklist exactly

    8fbd8fe
  6. Fix inference.py log format to match official spec⁠

    aa30973
  7. CodeReviewEnv v1.0 — OpenEnv-compliant submission⁠

    dbf5e96