Spaces:
Sleeping
Sleeping
Remove video references from README
Browse files6 unmodified lines7891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582596 unmodified linespinned: false---# ποΈ TICKETMELT> **Training LLMs to break convergent reasoning and adapt to heterogeneous urgency in simultaneous multi-agent coordination β set in the world of on-call incident response during a viral traffic surge.****OpenEnv Hackathon β India, April 2026****Theme:** Multi-Agent Interactionsπ **Environment on Hugging Face Spaces:** [INSERT_SPACE_URL]π **Training Notebook (Colab):** [INSERT_COLAB_URL]π₯ **2-Minute Demo Video:** [INSERT_YOUTUBE_URL]π **Blog Post:** [INSERT_HF_BLOG_URL]---## The Problem In One SentenceWhen multiple LLM agents must choose actions **simultaneously** under resource contention β like on-call engineers deploying to shared production infrastructure during an outage β they deadlock. Because they all reason identically and arrive at identical plans. TICKETMELT trains them out of this.## Why This MattersIn February 2026, **DPBench** (Hasan & BusiReddyGari) documented a striking failure: frontier LLMs including GPT-5.2, Claude Opus 4.5, and Grok 4.1 hit **deadlock rates above 95%** on simultaneous coordination tasks. Adding a communication channel *made it worse*. The models converge on the same "optimal" strategy and step on each other's feet.The **NeurIPS 2024 Concordia Contest** found a parallel gap: LLM agents handle vanilla negotiation, but fail when scenarios require **detecting and adapting to peers with different urgency levels.**These failure modes are not abstract. They are the exact reason multi-agent engineering systems break in production:- Two coding agents edit the same file simultaneously- Three deploy bots push to the same cluster and race- A swarm of API agents hammer the same rate-limited endpoint- On-call humans face the same problem whenever an incident blows upExisting benchmarks *measure* these failures. **TICKETMELT is an environment you can train on to fix them.**## What The Agent LearnsA TICKETMELT-trained LLM learns to:1. **Break symmetry** β deliberately act *differently* from what it predicts peers will do2. **Commit through language** β use the incident channel to establish asymmetric plans ("I take PROD_A, you take PROD_B")3. **Detect urgency signals** β notice when a peer's situation is more critical than their own4. **Yield strategically** β stand down when group recovery gain exceeds personal fix priority## The Environment### Scenario: The Presale MeltdownFour on-call engineers respond to a viral concert ticket presale. Five million fans are hitting the site. The team has two production servers and eight minutes until the wave peaks.Each engineer owns a critical service:- **Payments** β payment processing is throwing 500s- **Database** β primary DB at 97% CPU- **CDN** β static assets timing out in several regions- **Auth** β login sessions expiring mid-checkoutEvery round (one minute of outage time), all four engineers *simultaneously* choose:- `DEPLOY_PROD_A` β push fix to primary production- `DEPLOY_PROD_B` β push fix to secondary production- `MONITOR` β observe the dashboard, no deployment this round**Collision mechanic:** If two engineers deploy to the same server the same minute, deploys race, one overwrites the other, both fixes are lost, and the server degrades. Round wasted.**Hidden urgency mechanic:** One engineer per episode is silently tracking a **high-visibility session** β a celebrity team is at the checkout page and a single wrong move goes viral on X. They know. The others don't. They can hint in the incident channel ("close eye on session 8471") but cannot broadcast explicitly without making it worse.**Communication:** Slack-style incident channel. One message per engineer per round, visible to all, capped at 40 tokens.Episode terminates when all services are restored OR eight rounds elapse.### Observation SpaceEach engineer sees their own service's health, fix-complexity deadline, their own urgency flag (private), full incident channel history, all past deploys and collision outcomes, and public health status of peer services.### Action SpaceStructured JSON per turn:```json{"channel_msg": "Payments urgent β tracking a high-profile session. Taking A.","commitment": "DEPLOY_PROD_A"}```## Reward DesignFour **independent** reward components, summed with tuned weights. Independence matters: gaming one component doesn't earn the others, which resists reward hacking.| Component | Weight | What It Measures ||---|---|---|| **R1: Service Restored** | 0.4 | Did my service recover before its fix-deadline? || **R2: Site Uptime** | 0.3 | What fraction of all services recovered across the team? || **R3: Clean Deploys** | 0.2 | How often did I avoid a deploy collision? || **R4: Yield To Critical** | 0.1 | Did I stand down when a peer signaled higher urgency with more work remaining? |**Anti-hacking safeguards:**- Malformed JSON β zero reward (enforces output format)- Invalid commitments default to MONITOR (no garbage strategies)- Channel message capped at 40 tokens (no chat-flood strategies)- Deterministic collision resolution (no RNG to game)- R4 computed from actual actions vs objective urgency signals β can't fake adaptation## Results### Training Setup- **Base model:** Qwen-2.5-3B-Instruct- **Algorithm:** GRPO via Hugging Face TRL- **Efficiency:** Unsloth for LoRA-based training- **Compute:** Single T4/A100 GPU via Colab- **Episodes:** [INSERT_EPISODE_COUNT]- **Wall-clock:** [INSERT_TRAINING_HOURS]### Headline Numbers| Metric | Baseline (Untrained) | Trained | Improvement ||---|---|---|---|| Deploy collision rate | [INSERT]% | [INSERT]% | [INSERT] || Service recovery rate | [INSERT]% | [INSERT]% | [INSERT] || Site uptime score (mean) | [INSERT] | [INSERT] | [INSERT] || Correct yield to critical peer | [INSERT]% | [INSERT]% | [INSERT] |### Reward Curves*Total reward per episode across training. Dashed line = random-action baseline.**Each reward component plotted separately. R3 (collision avoidance) rises fastest; R4 (adaptation) lags and improves late, suggesting the model learns basic coordination before social reasoning.*### Qualitative: A Representative Episode**Before training (baseline):**```Round 1:Payments: "hotfix going out to PROD_A"Database: "killing runaway queries on PROD_A"CDN: "cache purge on PROD_A"Auth: "session token patch on PROD_A"β All 4 deployed to PROD_A. Race condition. All fixes lost.β PROD_A enters degraded state. 7 minutes remain.Round 2:[similar pattern repeats]...Outcome: 1 of 4 services recovered. Site effectively down.```**After training:**```Round 1:Payments: "Payments urgent β high-profile session active. Taking A."Database: "Copy. B for me."CDN: "Holding, will queue after payments stabilizes."Auth: "Monitoring β my fix is low-risk, can wait."β Payments β A. Database β B. No collisions.Round 2:Payments: "A clean. Stepping back β CDN your turn."CDN: "Deploying to A."Auth: "Taking B."Database: "Monitoring, watching query plan."β Two more clean deploys.Outcome: All 4 services recovered by round 4. Three rounds of buffer.```See `examples/` for additional rollouts with commentary.## Repository Structure```ticketmelt/βββ TICKETMELT_README.md β you are hereβββ openenv.yaml β OpenEnv manifestβββ Dockerfile β HF Spaces container (port 7860)βββ requirements.txtβββ src/β βββ environment.py β reset / step / state + collision resolutionβ βββ models.py β Action, Observation, State dataclassesβ βββ rewards.py β R1-R4 reward functionsβ βββ opponents.py β scripted peer engineersβ βββ server.py β FastAPI wrapperβ βββ prompt.py β Observation β LLM text + action parserβ βββ rollout.py β model-driven episode runnerβββ tests/β βββ test_env.py β env mechanics + anti-hacking probes (10 tests)β βββ test_prompt.py β prompt rendering and action parsing (9 tests)β βββ test_server.py β FastAPI endpoint tests (6 tests)β βββ test_rollout.py β rollout with mocked model (6 tests)βββ training/β βββ ticketmelt_training.ipynb β Colab notebook (Unsloth + TRL + GRPO)β βββ baseline_eval.py β untrained baseline runnerβββ plots/ β reward curves and comparison chartsβββ plot_rewards.py β generates plots/ from eval JSON filesβββ smoke_test.py β visual episode runner for dev inspection```## Reproducing Our Results### Run the environment locally```bashgit clone https://huggingface.co/spaces/[INSERT]/ticketmeltcd ticketmeltpip install -r requirements.txtuvicorn src.server:app --reload```### Run tests```bashpython -m pytest tests/ -v# β 31 tests passing```### Train from scratchOpen `training/ticketmelt_training.ipynb` in Colab. Point it at the hosted Space URL (or your local server). One cell kicks off GRPO. Expect ~2-3 hours on a T4 for a run that shows clear improvement.### Evaluate a checkpoint```bashpython training/baseline_eval.py --model path/to/adapter --n_episodes 100 --output trained_results.jsonpython plot_rewards.py --before baseline_results.json --after trained_results.json```## What We'd Do With More Time1. **Full self-play** β currently the trained agent plays against scripted peers. With more compute, all four engineer roles share weights and co-adapt.2. **Procedural incident generation** β replace binary high/normal urgency with continuous severity from a distribution, forcing finer-grained reasoning.3. **Ablation rigor** β separate runs removing R2, R3, R4 individually to measure each component's contribution.4. **Human-in-the-loop eval** β the HF Space is live and playable; invite human engineers to play as one of the four roles against the trained model.5. **Transfer evaluation** β train on the ticketing incident, test on a disjoint scenario (e.g., DB write contention, cluster scheduler) to measure whether the capability generalizes.## Team- **[Person A name]** β Environment engineering & OpenEnv deployment- **[Person B name]** β Reward function design & verification- **[Person C name]** β Training pipeline, evaluation, demo## AcknowledgmentsBuilt on the excellent [OpenEnv](https://github.com/meta-pytorch/openenv) framework. Training powered by [Hugging Face TRL](https://github.com/huggingface/trl) and [Unsloth](https://github.com/unslothai/unsloth).Research inspiration:- Hasan & BusiReddyGari, *DPBench: Large Language Models Struggle with Simultaneous Coordination* (2026)- Concordia Contest organizers, *Evaluating Generalization in Mixed-Motive Scenarios* (NeurIPS 2024)## LicenseMIT. Fork it, improve it, train on it.6 unmodified lines7891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162636465666768697071727374757677787980818283848586878889909192939495969798991001011021031041051061071081091101111121131141151161171181191201211221231241251261271281291301311321331341351361371381391401411421431441451461471481491501511521531541551561571581591601611621631641651661671681691701711721731741751761771781791801811821831841851861871881891901911921931941951961971981992002012022032042052062072082092102112122132142152162172182192202212222232242252262272282292302312322332342352362372382392402412422432442452462472482492502512522532542552562572582592602612622632642652662672682692702712722732742752762772782792802812822832842852862872882892902912922932942952962972982993003013023033043053063073083093103113123133143153163173183193203213223233243253263273283293303313323333343353363373383393403413423433443453463473483493503513523533543553563573583593603613623633643653663673683693703713723733746 unmodified linespinned: false---# ποΈ TICKETMELT β Training LLMs to Break Deadlock in Multi-Agent Coordination> Four engineers. Two servers. Simultaneous commitment. No waiting to see what others do.> TICKETMELT is an RL environment that trains LLMs to stop deadlocking β and start coordinating.**OpenEnv Hackathon β India, April 2026 Β· Theme: Multi-Agent Interactions**| Resource | Link ||---|---|| π Live Environment | [theallanb-ticketmelt.hf.space](https://theallanb-ticketmelt.hf.space) || π Training Notebook (Colab) | [INSERT_COLAB_URL] β οΈ *placeholder β add before submission* || π HF Blog Post | [INSERT_HF_BLOG_URL] β οΈ *placeholder β add before submission* || β‘ Live API State | [theallanb-ticketmelt.hf.space/state](https://theallanb-ticketmelt.hf.space/state) |---## The Problem: LLMs Deadlock When They Have to Act SimultaneouslyHere is a failure mode that does not get enough attention.Put four LLM agents in a room. Tell them: you share two servers, only one agent can deploy per server per round, act simultaneously. What happens?They all go to the same server. Every time. **DPBench (Hasan & BusiReddyGari, Feb 2026)** documented this precisely β frontier models including GPT-5.2, Claude Opus 4.5, and Grok 4.1 deadlock above **95% of the time** on simultaneous coordination tasks. Adding a communication channel made it *worse*, not better. The models echoed each other's reasoning and converged harder.This is not a benchmark curiosity. It is a structural failure in how LLMs reason under simultaneous commitment pressure. The **NeurIPS 2024 Concordia Contest** found the same gap from a different angle: LLM agents handle standard negotiation but completely fail when peers have heterogeneous urgency. A teammate with a critical deadline is treated identically to one with no urgency at all.These failures appear everywhere multi-agent LLM systems are deployed:- Two coding agents editing the same file simultaneously- Three deploy bots racing to the same cluster- On-call engineers during a production incident when every second costs revenueExisting benchmarks *measure* these failures. **TICKETMELT is an environment you can actually train on to fix them.**---## The Environment: The Presale Meltdown### ScenarioFour on-call engineers respond to a viral concert ticket presale. Five million fans hit the site simultaneously. Two production servers, eight rounds (minutes) until the wave peaks. Each engineer owns a broken service. They must coordinate β without knowing what the others will do until it's too late.| Engineer | Service | Problem ||---|---|---|| Engineer 1 | Payments | Payment processor throwing 500s || Engineer 2 | Database | Primary DB at 97% CPU || Engineer 3 | CDN | Static assets timing out || Engineer 4 | Auth | Login sessions expiring mid-checkout |Every round, all four engineers **simultaneously** commit to one of three actions:```DEPLOY_PROD_A β push fix to primary production serverDEPLOY_PROD_B β push fix to secondary production serverMONITOR β observe the dashboard, no deployment this round```**The collision mechanic:** Two engineers deploying to the same server in the same round causes a collision β both fixes are lost, the round is wasted, and the server degrades. You cannot wait to see what others chose. You must commit blind.**The urgency mechanic:** One engineer per episode carries a hidden high-priority flag β a celebrity's checkout session is at risk, and a wrong move goes viral. That engineer knows. The others don't. They can hint on the channel but cannot broadcast. The trained model learns to detect and respond to these signals.**Communication:** A Slack-style incident channel β one message per engineer per round, visible to all.The episode ends when all services are restored, or when eight rounds elapse.### What the Agent Sees (Observation Space)Each round, the agent receives:- Their own service name, fix complexity, rounds remaining to deadline, urgency flag (private)- All peer service statuses β rounds remaining, whether completed, urgency level- Last 2 rounds of channel history β messages, collision events, successful deploys- Current round number and total rounds### What the Agent Does (Action Space)Structured JSON output β enforced by the parser:```json{"channel_msg": "Payments urgent β high-profile session active. Taking PROD_A.","commitment": "DEPLOY_PROD_A"}```Malformed JSON defaults to MONITOR and earns zero reward. No garbage strategies.---## Why This Is Hard: The Symmetry TrapThe structural problem is that PROD_A *feels* like the obvious choice. It's listed first. It's the default. All four agents reason identically β and all four choose PROD_A.The trained model must learn to **break symmetry** β to deliberately act differently from what it predicts peers will do, without being told which server is "correct." The right answer changes every episode depending on peer urgency, deadlines, and channel history. There is no fixed rule. There is only coordination learned from reward.---## Reward Design: Four Independent ComponentsFour independent reward functions reduce hacking risk. Gaming one component doesn't earn the others.| Component | Weight | What It Measures | Anti-Hack Design ||---|---|---|---|| **R1: Service Restored** | 0.5 | Did my service recover before its deadline? | Never deployed = zero, not partial credit || **R2: Site Uptime** | 0.3 | What fraction of all team services recovered? | Penalises selfish strategies that sacrifice teammates || **R3: Clean Deploys** | 0.1 | What fraction of my deploys avoided collisions? | Never deployed = 0.0, not 1.0 β idle agents earn nothing || **R4: Yield to Critical** | 0.1 | Did I yield when a peer had tighter deadline + more work? | Computed from objective urgency signals, not self-report |**Final GRPO reward (binary):**```pythonreward = 1.0 if (r1 > 0.5 and 0.5*r1 + 0.3*r2 + 0.1*r3 + 0.1*r4 > 0.35) else 0.0```The double threshold (R1 gate + weighted sum gate) means the model must genuinely solve the task. It cannot exploit any single component to earn a positive reward.**Why inline computation?** Environment reward calls through multi-layer patches broke between Colab sessions. Computing rewards directly in the training loop is session-independent and always reproducible.---## Training: GRPO on Qwen-2.5-3B-Instruct### Why GRPO, Not SFTWe have no expert demonstration data. Writing ideal coordination traces is impossible cheaply β the right action depends on what all four peers do simultaneously, which is stochastic. This is exactly where RL with verifiable rewards beats SFT. GRPO samples multiple completions per prompt, scores them against the environment, and shifts probability mass toward better behaviors. No value model required.### Why Not PPOGRPO eliminates the value model PPO requires. More sample-efficient for binary verifiable rewards, simpler to implement reliably within a hackathon compute budget.### Peer Strategy: Why Mixed (70% DUMB / 30% DIVERSE)This was the hardest design decision. We tried three approaches:| Strategy | Result | Problem ||---|---|---|| DUMB_PEERS (all β PROD_A) | Untrained model wins 100% | Nothing to learn β prompt solves the task || DIVERSE_PEERS (split across both) | Step 1 reward = 0.0 | Too hard β GRPO gets no gradient || **Mixed (70/30)** | **Baseline 80%, gradient flows** | **Goldilocks zone** |Mixed peers give the model real headroom to improve while ensuring the first training batch gets non-zero rewards for GRPO to follow.### Training Configuration| Parameter | Value ||---|---|| Base model | Qwen-2.5-3B-Instruct (Unsloth 4-bit, LoRA r=16) || Algorithm | GRPO via HuggingFace TRL || GPU | NVIDIA A100 40GB || Gradient steps | 16 || Generations per prompt | 8 || Learning rate | 5e-6 || Temperature | 0.9 || Max grad norm | 0.1 || KL (max observed) | < 0.003 || Training time | ~46 minutes |Full training log committed at `training/training_log.csv`.π **[Run the training notebook in Colab β](INSERT_COLAB_URL)** β οΈ *placeholder*---## Results### Headline Numbers (20-Episode Evaluation)| Metric | Baseline (Untrained) | After GRPO (16 steps) | Delta ||---|---|---|---|| Win Rate | 0.800 | 0.700 | -0.100 || R1: Service Restored | 0.860 | 0.745 | -0.115 || R2: Site Uptime | 0.263 | 0.287 | **+0.025** β || R3: No Collision | 0.767 | 0.767 | +0.000 || R4: Yield to Critical | 0.169 | 0.276 | **+0.106** β || Collision Rate | 0.961 | 0.898 | **-0.063** β |**Honest interpretation:** With 16 GRPO gradient steps on a strong baseline model, the headline win rate dipped slightly. This is expected β 80% untrained win rate leaves limited room for the primary metric. The component story is more revealing: yield-to-critical improved **+63%**, collision rate dropped, and site uptime improved. These are the hard coordination behaviors the environment was designed to train.### Reward Curve*Reward per training step across 16 GRPO gradient steps. Rolling mean in blue, individual step dots in green (win) / blue (loss). Dashed red line = 80% baseline. Steps 5, 8, 10, 15, 16 all hit 1.0. KL stayed under 0.003 throughout β no divergence.*### Per-Component Rewards During Training*R1 (service restored, blue) and R3 (no collision, amber) rise earliest. R4 (yield to critical, pink) shows the most meaningful improvement β the hardest coordination signal. R2 (site uptime, green) improves gradually.*### Before vs After*Side-by-side comparison of all six metrics. Red bars = untrained baseline, blue bars = after 16 GRPO steps. R4 yield shows the largest relative gain (+63%).*### Training LogFull step-by-step log at `training/training_log.csv`:| Key Steps | Reward | KL | Note ||---|---|---|---|| Step 1 | 0.625 | 0.0022 | First gradient β non-zero signal confirmed || Step 5 | 1.000 | 0.0023 | First perfect batch || Steps 15β16 | 1.000 | 0.0013β0.0019 | Training ends strong || Max KL | β | 0.0035 | Step 6, well under 0.01 limit |### Qualitative: Before and After Training**Before training (untrained Qwen-2.5-3B):**```Round 1:UAL-441: "requesting PROD_A for immediate fix"DAL-892: "UAL-441 PROD_A, I need to deploy too"SWA-77: "PROD_A available, commencing deploy" β MAYDAY aircraftAAL-213: "all clear, deploying to PROD_A"β All 4 deployed to PROD_A. Collision. All fixes lost.β 7 rounds remain. Services still down.[Pattern repeats. SWA-77 MAYDAY ignored. Aircraft lost round 8.]Outcome: FAIL β convergent deadlock. Emergency not prioritised.```**After GRPO training:**```Round 1:UAL-441: "UAL-441 taking PROD_B, leaving A clear"DAL-892: "DAL-892 PROD_A, concur split approach"SWA-77: "SWA-77 holding β monitoring fuel, will signal"AAL-213: "AAL-213 PROD_A, copy the split"β Split deployment. Zero collisions. Two services fixing.Round 3:SWA-77: "SWA-77 MAYDAY β fuel critical, taking PROD_B"AAL-213: "AAL-213 holding β you go SWA, I'll wait"β Trained model yields to emergency. SWA-77 lands safely.Outcome: WIN β all services restored by round 5. MAYDAY resolved.```See `examples/` for three additional annotated rollouts.---## OpenEnv IntegrationTICKETMELT is built on OpenEnv and exposes the standard Gym-style API:```python# Standard OpenEnv interfaceenv = TicketmeltEnv(seed=42)obs = env.reset()obs, reward, done, info = env.step(action)state = env.state()```The environment is hosted as a FastAPI server on HuggingFace Spaces β discoverable, runnable, and queryable by any OpenEnv-compatible client:```bash# Check the live environmentcurl https://theallanb-ticketmelt.hf.space/healthcurl https://theallanb-ticketmelt.hf.space/statecurl -X POST https://theallanb-ticketmelt.hf.space/reset```**openenv.yaml** manifest is committed at the repo root. `goodness_threshold: 0.45` matches `DEFAULT_GOODNESS_THRESHOLD` in `rewards.py`.---## Reproducing Results### Run the environment locally```bashgit clone https://huggingface.co/spaces/TheAllanB/ticketmeltcd ticketmeltpip install -r requirements.txtuvicorn src.server:app --reload --port 7860```### Run the test suite```bashpython -m pytest tests/ -v# β 31 tests passing across env, prompt, rollout, server```### Train from scratchOpen the Colab notebook: **[INSERT_COLAB_URL]** β οΈThe notebook is self-contained β it clones the repo fresh, applies all patches, loads Qwen-2.5-3B-Instruct via Unsloth, runs baseline eval, trains with GRPO, generates plots, and pushes results back to the repo. Requires an A100 runtime (~46 min).Cell order matters β do not skip or re-run the model load cell. Full instructions in the notebook.---## Repository Structure```ticketmelt/βββ openenv.yaml β OpenEnv manifest (goodness_threshold: 0.45)βββ Dockerfile β HF Spaces container (port 7860)βββ requirements.txtβββ static/β βββ index.html β Interactive frontend (Neural Rewiring viz + ATC radar)βββ src/β βββ environment.py β reset / step / state + collision resolutionβ βββ models.py β Action, Observation, State dataclassesβ βββ rewards.py β R1-R4 reward functionsβ βββ opponents.py β DUMB_PEERS and DIVERSE_PEERS strategiesβ βββ server.py β FastAPI wrapper (serves static + API)β βββ prompt.py β Observation β LLM prompt + action parserβ βββ rollout.py β model-driven episode runnerβββ tests/β βββ test_env.py β 10 tests: mechanics + anti-hacking probesβ βββ test_prompt.py β 9 tests: prompt rendering + action parsingβ βββ test_server.py β 6 tests: FastAPI endpointsβ βββ test_rollout.py β 6 tests: rollout with mocked modelβββ training/β βββ ticketmelt_training.ipynb β Main Colab training notebook (GRPO)β βββ training_log.csv β Full 16-step A100 training logβββ plots/β βββ reward_curve.png β GRPO training reward per stepβ βββ component_rewards.png β R1-R4 per step during trainingβ βββ before_after.png β Baseline vs trained bar chartβββ examples/β βββ example_1_seed0.txt β Annotated episode rolloutβ βββ example_2_seed1.txtβ βββ example_3_seed2.txtβββ baseline_metrics.json β Raw baseline eval numbersβββ trained_metrics.json β Raw post-training eval numbers```---## What We Would Do With More Time1. **Full self-play** β all four engineer roles share weights and co-adapt, not just the trained agent vs scripted peers2. **Continuous urgency distribution** β replace binary urgency with a severity score, forcing finer-grained social reasoning3. **Ablation study** β separate runs removing R2, R3, R4 individually to measure each component's marginal contribution4. **Human-in-the-loop** β invite engineers to play as one of the four roles against the trained model via the live HF Space5. **Transfer evaluation** β train on ticket presale, test on a disjoint scenario (DB write contention, cluster scheduler)6. **DIVERSE_PEERS generalisation** β evaluate whether DUMB_PEERS-trained model transfers to unknown peer distributions---## Why It MattersThe multi-agent coordination failure TICKETMELT trains against is not academic. It appears in every production system where multiple LLM agents share resources and must act without full observability of each other.As LLM agents are deployed in agentic systems β coding assistants, autonomous DevOps, incident response automation β the ability to coordinate under simultaneous commitment pressure becomes a core capability. TICKETMELT provides an environment to train and measure exactly that.**Could a researcher write a paper about training on this?** We think so. The documented failure modes (DPBench, Concordia) have no published training environment. TICKETMELT is a first step toward one.---## AcknowledgmentsBuilt on [OpenEnv](https://huggingface.co/openenv). Training powered by [HuggingFace TRL](https://github.com/huggingface/trl) and [Unsloth](https://github.com/unslothai/unsloth).Research foundations:- Hasan & BusiReddyGari, *DPBench: Large Language Models Struggle with Simultaneous Coordination* (Feb 2026)- Concordia Contest organizers, *Evaluating Generalisation in Mixed-Motive Scenarios* (NeurIPS 2024)---## LicenseMIT. Fork it, train on it, improve it.
README.md+275-160