|
Download tasks/codeql_python_benchmark51_v2/pyvul-3062589ff0b3b95c2ed7/pre_context.md from Benchanything/checkerbench: direct link, hf CLI and curl.
- Browser
- Download file 655 Bytes
-
https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_python_benchmark51_v2/pyvul-3062589ff0b3b95c2ed7/pre_context.md
- Command line
-
hf download hf://datasets/Benchanything/checkerbench/tasks/codeql_python_benchmark51_v2/pyvul-3062589ff0b3b95c2ed7/pre_context.md
-
curl -L -o pre_context.md https://huggingface.co/datasets/Benchanything/checkerbench/resolve/main/tasks/codeql_python_benchmark51_v2/pyvul-3062589ff0b3b95c2ed7/pre_context.md
655 Bytes
Patch-overlapping Python context before the fix
src/fides/api/service/privacy_request/request_runner_service.py — function:generate_id_verification_code (lines 626-630)
def generate_id_verification_code() -> str:
"""
Generate one-time identity verification code
"""
return str(random.choice(range(100000, 999999)))
src/fides/api/service/privacy_request/request_runner_service.py — module:<module>@1 (lines 1-1)
import random
src/fides/api/service/privacy_request/request_runner_service.py — module:<module>@2 (lines 2-2)
from datetime import datetime, timedelta