mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 10:48:19 +00:00
style(valid-detection-benchmark): apply ruff format to 15 benchmark modules
CI runs ruff format --check over the whole repository, and these modules under benchmarks/valid were the last unformatted files. Formatting only: the AST dump of every file is identical to the previous revision and the logical line count is unchanged (admission_execution.py and admission_projection.py stay at 400).
This commit is contained in:
@@ -35,9 +35,21 @@ from openultrasast.core.canonical import JsonValue, bytes_digest, canonical_byte
|
||||
|
||||
REFUSED_QUEUE_EXCLUSIONS_SCHEMA = "openultrasast.valid-detection-benchmark.refused-queue-exclusions.v1"
|
||||
_BATCH_KEYS = frozenset(
|
||||
{"schema_version", "ecosystem", "queue_digest", "census_digest", "ecosystem_policy_digest", "ground_truth_policy_digest",
|
||||
"record_outcomes", "pending_entries", "accepted_positives", "minimum_accepted_positives", "status",
|
||||
"insufficient_reason", "batch_digest"}
|
||||
{
|
||||
"schema_version",
|
||||
"ecosystem",
|
||||
"queue_digest",
|
||||
"census_digest",
|
||||
"ecosystem_policy_digest",
|
||||
"ground_truth_policy_digest",
|
||||
"record_outcomes",
|
||||
"pending_entries",
|
||||
"accepted_positives",
|
||||
"minimum_accepted_positives",
|
||||
"status",
|
||||
"insufficient_reason",
|
||||
"batch_digest",
|
||||
}
|
||||
)
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user