kludge

/kluːdʒ/

(electronics engineering) An improvised device, typically crudely constructed to test the validity of a principle before doing a finished design.

Any construction or practice, typically crude yet effective, designed to solve a problem temporarily or expediently.

An amalgamated mass of unrelated parts.

A badly written or makeshift piece of software; a hack.