TLDR Web Dev · MISCELLANEOUS

IN THE LAND OF LLMS, CAN WE DO BETTER MOCK DATA GENERATION?

neurelo.substack.com16 min read

Summary from the TLDR Web Dev newsletter

Using LLMs to generate mock data has proven to be much harder than expected. A team explored using LLMs to generate Rust code for dynamic INSERT queries for their database platform, but found the generated code bad. Eventually, the team developed a hybrid approach, using LLMs to predict faker (Python package) methods for data generation while using topological sorting for accurate insertion order.