No, it was correctly mapped by someone who had actually read the wiki:

"Roads are not to be mapped as dual carriageways if the two directions are only separated
* by paint. This includes single or multiple painted centre lines[1], hatched areas, channelized turn lanes, two-way turn lanes,
* by flush medians,
* or by any other means that is not a physical barrier to vehicles."

https://wiki.openstreetmap.org/wiki/Dual_carriageway

You didn't even tag the pretend separate carriageways as oneway=yes

Please stop tagging for the renderer, you're breaking things which you have not taken the trouble to understand.

https://wiki.openstreetmap.org/wiki/Tagging_for_the_renderer