Accept only with reservation and record the defects.
If you can see defects or outstanding remaining work at handover, you should record them in the handover protocol and declare the acceptance only with reservation. That preserves your rights to repair and avoids an acceptance without reservation being held against you. Demand the repair while setting a deadline.
Have a precise handover protocol drawn up describing all defects found. That is an important piece of evidence later.