Endings are not solely dependent on faction rep. You'll want to maintain good relationships with key players in a particular ending.
Thanks for the response back but I'm still kinda confused cause I was pretty sure I had a good relation with Andrei, as in I agreed to spy for him when he asked, lied to Saorise and went to visit him at the graveyard when I could so idk what else I need to do if it's not rep related? Played it again to focus on Gol related people but still got shot at the ending. It's not really clear if you have good relations outside of the rep bar.