How do people use --debug-generate-data in practice?

Hi all -

If you use this flag for stanc3 as part of your workflow, I’d love to hear more about how you use it and what things about it are useful. There are some questions about how this should extend to new language features (complex numbers and multiple transforms) and understanding how people use this (or really, if people use this) would be super helpful to me.


I’m using it in aria to (after a stanc3-based syntax check) automatically do a quick run at compile so that, if no runtime errors crop up, a second more performant exe with STAN_NO_RANGE_CHECKS=true can then be compiled.