CoolFace
Apppublic

Chirag2412/vibe-coding-env

sourceHugging Facemitupdated 5mo agoView on Hugging Face
0likes
App README

vibe-coding-env

A universal vibe coding training environment for OpenEnv. An AI agent writes web app code in any framework (HTML/JS, FastAPI, Express.js), sees it running in a real headless browser, and gets scored on whether it works.

Scoring

  • Functional (70%) — Playwright browser flows
  • Code Quality (20%) — ruff, AST analysis, security checks
  • Visual (10%) — DOM heuristics

Tasks

  • task1todo_html — Todo list in plain HTML/JS (Easy)
  • task2auth_fastapi — Auth system in FastAPI/Python (Medium)
  • task3notes_express — Notes app in Express.js/Node.js (Hard)

Quick Start

\\\`bash export APIBASEURL="https://router.huggingface.co/v1" export MODELNAME="Qwen/Qwen2.5-72B-Instruct" export HFTOKEN="yourtoken" export ENVURL="https://chirag2412-vibe-coding-env.hf.space"

python inference.py --all \\\`