Ok Ellie, well don't pannick yet.
I wouldn't expect a sudden perfect running car if it has compression issues, so that's hopefully a good sign.
The coolant sensor is pretty easy to change FWIW. But...
I think it might be worth an hours labour at an Impreza specialist though.