XP Penalty For Leaving In The Beginning of Games?

Do we actually get penalized for leaving right at the beginning of games?
What If I get a 2cp map? I just can’t stand that game mode. What if I have 4+ dps (which is actually probably 90% of my games but anyways let not talk about that)

A friend of mine says she got penalized for that. And if so that’s really stupid.
So we are leaving because of the problems of the game itself and we still get penalized for trying to find a game that we will actually enjoy. Or not hate i guess…

Apparently, the XP-penalty system works as the following:

We’ve seen similar questions about how the leaver penalty currently works in Quick Play (both here and on social media), so here’s a bit more information:

If you leave too many games and your “games played” vs “games completed” percentage falls below our required threshold, you will receive a warning message (this percentage is calculated based on your 20 most recent games).

If you continue to leave games after receiving a warning (which will display in the lower left-hand corner of your screen), you will incur a 75% EXP penalty on all future games.

The penalty isn’t time-based, but instead will be removed once you complete enough games to raise your “games played” vs “games completed” percentage above our required threshold (again, this percentage is calculated based on your 20 most recent games).

If you disconnect or are removed due to inactivity from a game, it will count the same as if you leave the game intentionally.

If you leave a game before the “Assemble Your Team” phase is over (i.e. before you enter your starting spawn rooms):
It won’t count as a game played
You will not be considered a “leaver” in this scenario

If you leave a game after the match ends (i.e. after you see the VICTORY/DEFEAT screen):
It will count as a game played—and if your team won, it will count as a win
You will not be considered a “leaver” in this scenario

If you leave a game after the “Assemble Your Team” phase is over, but before the match ends:
It will count as a game played
You will be considered a “leaver” in this scenario

Hopefully that helps! If you see the game behaving in a way that’s different from what’s listed above, be sure to let us know by posting in the Bug Report forum.

Source: https://us.battle.net/forums/en/overwatch/topic/20745234477#post-6

TLDL; As long you leave before the match starts (the spawn doors open), you won’t risk an XP-penalty.

In the end just remember that although you might not like certain modes or certain maps, a number of other players do hence why they are playing the game at the same time as you. So if anyone was to leave, it leaves a team down a player until a replacement can be found, and yes it’s not comp but some people still enjoy having a full team with a chance of winning.