How accurate is using the MIGRATE feature in the GUI?

I have dozens of automations, scripts, etc that are in static files and thus unable to be edited in the GUI. How well does the MIGRATE function work at converting the object into the automation.yaml, script.yaml, etc?