FairCode: Evaluating Social Bias of LLMs in Code Generation
Paper Link: https://arxiv.org/abs/2501.05396
The files code_job.py
, code_edu.py
, and code_med.py
are for function implementation, while code_test.py is used for test case generation.
The files get_info_code.py
and get_info_testcase.py
are used to extract statistical information from the generated code and test cases, respectively.