I wrote a similar program using Ruby metaprogrammming, but instead if a function is called that doesn't exist (say in tests) it has the LLM fix it dynamically

Don't leave us hanging!

Haha I will dig it up sometime, but it was a little prototype!