# Flex

- **Event:** [The Harness Engineering & Model Wrangling #SFTechWeek Hackathon](https://cerebralvalley.ai/e/mongodb-sftw-hackathon)
- **When:** Sun, Oct 11 at 9:00 AM – 10:00 PM (PDT)
- **Where:** San Francisco, CA
- **Team:** [Ricardo Reyes](https://cerebralvalley.ai/u/ricardoreyes)
- **GitHub:** https://github.com/ricardodreyes/flex-harness
- **Demo video:** https://youtube.com/shorts/oMNSXY8PE4k?feature=share
- **Gallery:** https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery
- **Page:** https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/48

I built Flex to repair an AI data center's training scheduler when operating conditions change. In the simulation, restart energy rose 30x and the frozen scheduler passed 10 of 12 validation cases. Claude proposed new rules, and a fixed evaluator accepted a repair that passed all 12. It also rejected a later proposal that made a job late.

On three separate test workloads using real California electricity prices, the frozen champion completed all 38 jobs on time and cut training electricity cost by 12.18%. Removing its simulated keep-warm rule reduced the saving to 4.28%. MongoDB Atlas stores the versions, evaluation evidence, and champion record. The jobs and restart behavior are simulated.

## More from The Harness Engineering & Model Wrangling #SFTechWeek Hackathon

- [doorman](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/45)
- [Notary](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/46)
- [NavEvolve](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/47)
- [Aneeq Ur Rehman](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/49)
- [Rada](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/50)
- [Morph](https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/51)

---

Markdown version of https://cerebralvalley.ai/e/mongodb-sftw-hackathon/hackathon/gallery/48. Site index for agents: https://cerebralvalley.ai/llms.txt · full text: https://cerebralvalley.ai/llms-full.txt
