CoolFace
Apppublic

jaydeepshah2025/data-quality-env

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
36 commits on main
80309e26mo ago

Fix 3 issues from organizer feedback: add score= to END, use API_KEY env var, remove API_BASE_URL default

jaydeepshah2025
cdf2b1a6mo ago

Fix: clamp cumulative score too - sum of step rewards was hitting exactly 1.0

jaydeepshah2025
e9e54f66mo ago

Ensure step reward is strictly (0,1): min 0.01, max 0.99 - never 0.0 or 1.0

jaydeepshah2025
5ef05946mo ago

Revert to standard OpenEnv reward format (raw values, null on reset) matching reference projects

jaydeepshah2025
72620236mo ago

Rewrite inference to support LOCAL_IMAGE_NAME (Docker) + fallback to HF Space URL

jaydeepshah2025
acbc0376mo ago

Add debug prints for ENV_URL and MODEL_NAME

jaydeepshah2025
c081ee76mo ago

Fix: default ENV_URL to live HF Space instead of localhost - validator has no local server

jaydeepshah2025
300e13d6mo ago

Add Dockerfile to server/ (OpenEnv standard), make PORT configurable via env var

jaydeepshah2025
0c6de146mo ago

Fix: return per-step reward (not cumulative) in reward field - prevents sum(rewards) > 1

jaydeepshah2025
c15a91a6mo ago

Prevent cumulative score overflow (cap at 0.95) + remove negative rewards

jaydeepshah2025
d1563416mo ago

Return cumulative score as reward field (not step reward) - ensures validator always sees clamped value

jaydeepshah2025
758a58e6mo ago

Fix environment: MIN_SCORE=0.02, MAX_SCORE=0.98, init total_reward=0.02, round to 2dp

jaydeepshah2025
2b02bcb6mo ago

Switch to key=value log format, remove score from END, remove json.dumps from logs

jaydeepshah2025
1d2e4f46mo ago

Final fix: normalize sum(rewards) to max 0.90, safe_reward (0.02-0.98), prevent all edge cases

jaydeepshah2025
36116916mo ago

Revert to JSON log format, _clamp every numeric value in all log lines

jaydeepshah2025
131155e6mo ago

Rewrite inference.py: fix log format to key=value (was JSON), clamp all rewards

jaydeepshah2025
10966b86mo ago

Use environment cumulative_score as task score instead of sum(rewards)

jaydeepshah2025
82578d56mo ago

Use 1 worker to fix session routing - multi-worker breaks HTTP session state

jaydeepshah2025
d1947756mo ago

Nuclear fix: clamp ALL scores/rewards everywhere with _clamp() helper

jaydeepshah2025
009286f6mo ago

Move score clamping OUTSIDE try block - fixes score=0.0 on any error

jaydeepshah2025
0f6c2776mo ago

Clamp every step reward to (0.001, 0.99) and cumulative to (0.001, 0.99) - fix negative rewards from false positives

jaydeepshah2025
2187abf6mo ago

Add base reward (0.001) to every step, scale by 0.95 - ensures all rewards in (0,1)

jaydeepshah2025
5f49d0f6mo ago

Scale rewards to 0.98x + base 0.005 so sum is always in (0, 1)

jaydeepshah2025
7915d3c6mo ago

Fix: return step_reward (not cumulative) in reward field, clamp total internally

jaydeepshah2025
41772a86mo ago

Clamp all environment scores to (0.01, 0.99) - validator requires open interval

jaydeepshah2025
5f77d5d6mo ago

Use AWS ECR public mirror to bypass Docker Hub registry failures

jaydeepshah2025
81784f36mo ago

Try python:3.11-slim-bookworm for Docker Hub registry compatibility

jaydeepshah2025
4ef0d8e6mo ago

Switch to python:3.12-slim to workaround Docker Hub registry errors

jaydeepshah2025
b4e8ac86mo ago

Clamp task scores to (0, 1) open interval per validator requirement

jaydeepshah2025
44507726mo ago

Pin Python image to 3.11.12-slim to fix Docker registry manifest error

jaydeepshah2025
a06ea316mo ago

Fix openenv validate: add uv.lock, server entry point, openenv-core dep

jaydeepshah2025
c1017ce6mo ago

Add 'What Makes This Different' section to README

jaydeepshah2025
710603c6mo ago

Remove default for HF_TOKEN in inference.py

jaydeepshah2025
25f872b6mo ago

Enhance README with stronger positioning and client examples

jaydeepshah2025
932378e6mo ago

Restructure to standard OpenEnv layout

jaydeepshah2025
11fde196mo ago

Initial commit: DataQual OpenEnv environment

jaydeepshah2025