Download data/evaluation.json from AriaAICompany/code-review-lab: direct link, hf CLI and curl.
- Browser
- Download file 8.01 kB
-
https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/evaluation.json
- Command line
-
hf download hf://datasets/AriaAICompany/code-review-lab/data/evaluation.json
-
curl -L -o evaluation.json https://huggingface.co/datasets/AriaAICompany/code-review-lab/resolve/main/data/evaluation.json
8.01 kB
| { | |
| "seed": 24, | |
| "n_scenarios": 10, | |
| "rows": [ | |
| { | |
| "scenario_id": "S01", | |
| "family": "sql-injection", | |
| "repository": "ledger-api", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 3 | |
| }, | |
| { | |
| "scenario_id": "S01", | |
| "family": "sql-injection", | |
| "repository": "ledger-api", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 3 | |
| }, | |
| { | |
| "scenario_id": "S02", | |
| "family": "command-injection", | |
| "repository": "filesvc", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S02", | |
| "family": "command-injection", | |
| "repository": "filesvc", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S03", | |
| "family": "path-traversal", | |
| "repository": "filesvc", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S03", | |
| "family": "path-traversal", | |
| "repository": "filesvc", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S04", | |
| "family": "insecure-deserialization", | |
| "repository": "ledger-api", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S04", | |
| "family": "insecure-deserialization", | |
| "repository": "ledger-api", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S05", | |
| "family": "ssrf", | |
| "repository": "fetch-proxy", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S05", | |
| "family": "ssrf", | |
| "repository": "fetch-proxy", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S06", | |
| "family": "xss-template", | |
| "repository": "fetch-proxy", | |
| "split": "development", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S06", | |
| "family": "xss-template", | |
| "repository": "fetch-proxy", | |
| "split": "development", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S07", | |
| "family": "sql-injection", | |
| "repository": "payments-api", | |
| "split": "test", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 1, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 3 | |
| }, | |
| { | |
| "scenario_id": "S07", | |
| "family": "sql-injection", | |
| "repository": "payments-api", | |
| "split": "test", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 1, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 3 | |
| }, | |
| { | |
| "scenario_id": "S08", | |
| "family": "weak-crypto", | |
| "repository": "notes-app", | |
| "split": "test", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 2, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 5 | |
| }, | |
| { | |
| "scenario_id": "S08", | |
| "family": "weak-crypto", | |
| "repository": "notes-app", | |
| "split": "test", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 2, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 5 | |
| }, | |
| { | |
| "scenario_id": "S09", | |
| "family": "sql-injection", | |
| "repository": "notes-app", | |
| "split": "test", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S09", | |
| "family": "sql-injection", | |
| "repository": "notes-app", | |
| "split": "test", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 2 | |
| }, | |
| { | |
| "scenario_id": "S10", | |
| "family": "weak-crypto", | |
| "repository": "payments-api", | |
| "split": "test", | |
| "method": "ast_rules", | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| }, | |
| { | |
| "scenario_id": "S10", | |
| "family": "weak-crypto", | |
| "repository": "payments-api", | |
| "split": "test", | |
| "method": "keyword_only", | |
| "precision": null, | |
| "recall": null, | |
| "locator_accuracy": null, | |
| "patch_syntax_rate": null, | |
| "baseline_extra": 0, | |
| "verdict": "needs_review", | |
| "n_changed_lines": 4 | |
| } | |
| ], | |
| "sample_kpis": { | |
| "n_files": 1, | |
| "n_related": 1, | |
| "n_changed_lines": 3, | |
| "n_findings_review": 1, | |
| "n_confirmed": 1, | |
| "n_insufficient": 0, | |
| "n_patches": 1, | |
| "n_patches_valid": 1, | |
| "n_unknown": 0, | |
| "coverage": 1.0, | |
| "precision": 1.0, | |
| "recall": 1.0, | |
| "locator_accuracy": 1.0, | |
| "patch_syntax_rate": 1.0, | |
| "baseline_extra": 0, | |
| "elapsed_ms": 14 | |
| } | |
| } |