Closed mbesh closed 3 years ago
I'll check it out upcoming week
Removed random, added unit test
Apologies didn't realize I broke the existing African+SA players. Fixed and ran tests:
$ python3 -m unittest test_mapper
........................
----------------------------------------------------------------------
Ran 24 tests in 83.581s
OK
generate_mapping
to mapplayer[3] == "10"
and ethnicity "South American" to "Asian" only 1% of the timegenerate_mapping
to mapplayer[3] == "7"
and ethnicity "SAMed" to "SAMed" as these players are light-skinnedIn game screenshots showing before and after:
Argentinian before:
Argentinian after:
Brazilian before:
Brazilian after: