This has a lot to do with how you structure your codebase; if you have repeatable patterns that make conventions obvious, it will follow them for the most part.
When it drops in something hacky, I use that to verify the functionality is correct and then prompt a refactor to make it follow better conventions.
When it drops in something hacky, I use that to verify the functionality is correct and then prompt a refactor to make it follow better conventions.