Researchers tested scripts generated from 150 prompts written in the styles of construction safety managers, foremen and workers. They ran the scripts in an isolated sandbox and assessed their structure, error handling and construction-safety logic using an automated review process with human involvement.

About 85% of the scripts ran successfully, but execution did not reliably mean that the calculations were correct. Among scripts that ran, about 45% contained a hidden logic failure, and less formal prompts were more likely to lead the models to invent missing safety variables.