krishuggingface's picture
Upload folder using huggingface_hub
d03f57f verified
name: PII-Scrub-Assistant-v1
version: "1.0.0"
description: >
Meta OpenEnv environment for PII redaction from customer emails.
Agents replace Names, Emails, Phone Numbers with [REDACTED]
while preserving Order/System IDs.
protocol: openenv-2026-sync
action_format: wrapped
port: 7860
sync_metadata:
requires_player_id: true
requires_session_id: true
api:
reset: POST /reset
step: POST /step
state: GET /state
tasks:
- id: task_1
difficulty: easy
description: Redact a single phone number from a one-sentence string.
grader: "Score 1.0 if phone removed + [REDACTED] present. 0.0 otherwise."
- id: task_2
difficulty: medium
description: Redact Name + Email from a multi-sentence paragraph.
grader: "1.0 if both absent. 0.5 per type. -0.05 per over-redaction."
- id: task_3
difficulty: hard
description: Redact PII but preserve Order/System IDs.
grader: "1.0 if PII gone AND IDs kept. -0.2 if IDs redacted."
reward:
per_pii_type_redacted: +0.5
over_redaction_penalty: -0.2
order_id_penalty: -0.3
structural_damage_penalty: -1.0