zorodaa100800/Scalar-Open-Env-ticket-routing
1
Ticket Routing OpenEnv
This project provides a small support-ticket classification environment for OpenEnv / Scalar validation.
What it does
app.pyexposes a FastAPI service for the environment.server/app.pyprovides the packaged server and CLI entrypoint.env/environment.pycontains the ticket environment logic.interference.pyruns a simple inference loop against the environment.openenv.yamldescribes the environment for the validator.
Environment Behavior
The environment is one-step and returns a ticket with a label:
billingtechgeneral
Use reset() to start a new ticket, step() to submit a category, and state() to inspect the current ticket.
Local Setup
python -m venv .venv
source .venv/bin/activate
pip install -r requirements.txtRun the API
uvicorn server.app:app --host 0.0.0.0 --port 7860Run the CLI
python app.py serve
python app.py reset --task easy
python app.py step billingRun the inference script
python interference.pyValidation
openenv validate .Space Notes
The Docker Space listens on port 7860 and uses Dockerfile for startup.
