ClickUp Interview Question

How do you decide when a feature is 'good enough' to ship versus when it needs more refactoring?