May refer to https://stackoverflow.com/questions/6343330/importing-a-long-list-of-constants-to-a-python-file
Extract numeric constants like RELAX_GENDERPREF_REQUIREMENT_PERCENTAGE, GENDER_SWAP_PREFERENCE_PERCENTAGE to a python file. Import from that file whenever the value is to be used.
Purpose: Firstly, this is cleaner on its own. Secondly, it's a stepping stone to reading constants from a config file (json/yaml)
May refer to https://stackoverflow.com/questions/6343330/importing-a-long-list-of-constants-to-a-python-file
Extract numeric constants like
RELAX_GENDERPREF_REQUIREMENT_PERCENTAGE,GENDER_SWAP_PREFERENCE_PERCENTAGEto a python file. Import from that file whenever the value is to be used.Purpose: Firstly, this is cleaner on its own. Secondly, it's a stepping stone to reading constants from a config file (json/yaml)