CoolFace
Apppublic

Mona-2013/openenv-hackathon

sourceHugging Faceupdated 6mo agoView on Hugging Face
0likes
App README

OpenEnv Hackathon Project

πŸ“Œ Overview

This repository contains a real‑world OpenEnv environment with three tasks of increasing difficulty. The environment is containerized with Docker and deployable on Hugging Face Spaces. It follows the OpenEnv specification strictly and passes validation.

🎯 Motivation

The goal is to simulate tasks that humans perform in everyday workflows (email triage, data cleaning, code review) and evaluate LLM agents on structured, reproducible benchmarks.


🧩 Action & Observation Spaces

  • β€”Observation Space: Each task provides structured input (text, dataset rows, or code snippets) via Pydantic models.
  • β€”Action Space: Agents respond with deterministic actions (labels, transformations, or review decisions).
  • β€”Reward Function: Incremental rewards are given for progress toward the objective; penalties apply for invalid or destructive actions.

πŸ“ Tasks

1. Email Triage (Easy)

  • β€”Observation: Raw email text.
  • β€”Action: Classify as spam, important, or other.
  • β€”Reward: +1.0 for correct classification, 0.0 otherwise.

2. Data Cleaning (Medium)

  • β€”Observation: Dataset row with inconsistent formatting.
  • β€”Action: Normalize values, remove duplicates, or clean text.
  • β€”Reward: Incremental reward for each correctly cleaned field.

3. Code Review (Hard)

  • β€”Observation: Code snippet with potential issues.
  • β€”Action: Approve, reject, or comment with feedback.
  • β€”Reward: +1.0 for correct review decision, partial reward for useful comments.

πŸ“Š Baseline Results

TaskAvg RewardSuccess Rate
Email Triage0.6570%
Data Cleaning0.5055%
Code Review0.4045%

Baseline scores are reproducible using the provided inference.py.


βš™οΈ Setup & Usage

Local Run

bash
# Build Docker image
docker build -t openenv .

# Run container
docker run openenv