Well it sort of did with the 1977 encounter tables.
Indeed. Head for a A Starport and you have a 14% chance of encountering a Pirate, and that having a 40+% chance of being a Merc Cruiser. All told, jumping into an A Starport world, you have an almost 6% chance of meeting a Pirate Cruiser, which pretty much means you're humped.
Hopefully all they want is the cargo.
You didn’t get to those high pop A starport full cargo hold/ high passage profit centers without being able to handle the higher risk of pirates. It was a major part of the free trader upgrade path to get the weapons and top end computer/programs installed to ruin Mr Pirate’s day.
Because the fundamental point is, to quote Joshua "A strange game. The only winning move is not to play.".
A Free Trader, IF they are hit, has a 30% chance of mission kill. Jump, PPlant, M-Drive, Fuel, "Critical". M-Drive is iffy, can still jump with a dead M-Drive, the rest prevent jump, which I consider a mission kill.
That said, when on the run, were it my trader, I'd mount 6 sand casters, push the pedal to the metal, and pump sand each turn. That's 18 turns of sand, typically more than enough to get to 100D and jump. Upgrade to a Model 3 gives you the ability to run Maneuver/Evade 6, Jump and Navigation all at the same time. With the sand, that's -8 on the DMs. Not much is getting through that. Load ME6 and Launch, jet to the jump point, don't accelerate on the last turn (to preserve the sand), Swap out Launch for Jump and Navigate, and "Push the button, Max". And you're out of harms way. Need a Model 3 for that. A Model 2 lets you Auto/Evade, Jump, and Navigate. That's a -5 DM with sand. With a Model 1, you have to risk jump with just a -3 DM since you can just Jump and Navigate -- that will be Teeth Gritting time.
So, with a moderate investment, you may well be able to make yourself pretty much invulnerable.
But, again, if you can afford 18MCr for a new computer, what the heck are you doing jetting around the cosmos!? Go to the beach, son!