DeepSeek-Coder/Evaluation/LeetCode/human_eval
2025-01-29 12:10:28 +00:00
..
__init__.py add leetcode evaluation 2024-01-26 14:08:03 +08:00
data.py add leetcode evaluation 2024-01-26 14:08:03 +08:00
evaluation.py add leetcode evaluation 2024-01-26 14:08:03 +08:00
execution.py 🔒 [Security Fix] Replace exec() with subprocess.run() to prevent arbitrary code execution- Replaced unsafe calls in evaluation scripts to enhance security.- Updated files: - (Line 64) - (Line 64) - (Line 64) - (Line 37)- Implemented for controlled execution.- Added exception handling to catch potential execution errors.- This update mitigates the risk of arbitrary code execution and enhances system security. Recommended: Test all affected evaluation modules to ensure functionality remains intact. 2025-01-29 12:10:28 +00:00