customer-support-env / inference.py

Commit History

inference file change
23cd9a7

mathi3046 commited on

fix: move type ignore to the correct position for OpenAI call and suppress requests stub warning
c446324

mathi3046 commited on

fix: resolve IDE warnings and add safety checks for requests library
9b0fc9d

mathi3046 commited on

fix: enforce strict scoring normalization in inference.py
68223ad

mathi3046 commited on

fix: enforce strict (0,1) on ALL score fields including penalties
1a071c6

mathi3046 commited on

last 0 and 1 error update
6c591d0

mathi3046 commited on

fix: add pyright extraPaths to resolve IDE import warnings for models, grader, tasks, server.environment
3932d4b

mathi3046 commited on

Harden score outputs to strict open interval
4191feb

mathi3046 commited on

fix: clamp all task scores to strict (0,1) range - never 0.0 or 1.0 - grader.py: add _clamp() helper, apply to all sub-scores and total - models.py: update Pydantic fields to gt/lt strict bounds - inference.py: clamp avg_reward and final_score Fixes Phase 2 'task scores out of range' validation error
11e6068

mathi3046 commited on

fix: clamp task scores strictly between 0 and 1 to pass Phase 2 validation
1a235af

mathi3046 commited on

fix: align port to 7860 for HF Spaces and harden inference.py error handling
40b0e9f

mathi3046 commited on

Fix inference script validation crashes
0d5ce63

mathi3046 commited on

final all correct checklist update
9b26357

mathi3046 commited on

pre submission checklist
bfda67d

mathi3046 commited on

project upload
81aa69d

mathi3046 commited on