rebuild it
1KF-FE engine overhaul parts are available brand new.
yard engines have highly doubtful life. Nobody know the actual history & origin of it. Since Feb 2020 there has been zero landing of scrap cargo from anywhere.
every engine at scrapyard is there for a reason. Those are either from a write-off vehicle or have completed the working life been replaced somewhere else in the world.
with engine rebuild you have advantage, there will be no endorsement to registration book. You can maintain the engine once again for next 200,000 kms. Changing of engine oil every 5000+ kms using 5W-30 engine oil of your own choice.

call up Jameel Autos 0300 923 2821 they can help for compression test.