Spaces:
Runtime error
Runtime error
Download medium_secret.json from Zaidoppa/RepoReviewer: direct link, hf CLI and curl.
- Browser
- Download file 712 Bytes
-
https://huggingface.co/spaces/Zaidoppa/RepoReviewer/resolve/main/medium_secret.json
- Command line
-
hf download hf://spaces/Zaidoppa/RepoReviewer/medium_secret.json
-
curl -L -o medium_secret.json https://huggingface.co/spaces/Zaidoppa/RepoReviewer/resolve/main/medium_secret.json
712 Bytes
| { | |
| "pr": { | |
| "title": "Update database connection", | |
| "author": "dev_mid", | |
| "description": "Added production database credentials to the config file.", | |
| "files_changed": ["config/settings.py"] | |
| }, | |
| "rules": [ | |
| "1. All Python functions must use snake_case.", | |
| "2. NO HARDCODED SECRETS ALLOWED.", | |
| "3. All tests must pass." | |
| ], | |
| "file_system": { | |
| "config/settings.py": "import os\n\nDB_HOST = 'prod-db.internal'\nDB_PASS = 'super_secret_p@ssw0rd_123'\nDEBUG = False\n" | |
| }, | |
| "ci_checks": { | |
| "linter": "No style errors found.", | |
| "tests": "12/12 tests passed." | |
| }, | |
| "target_solution": { | |
| "action_type": "reject_pr", | |
| "required_keyword": "secret" | |
| } | |
| } |