mirror of
https://github.com/norandom/OpenUltraSAST.git
synced 2026-12-04 02:38:18 +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:
@@ -435,8 +435,14 @@ def corrected_census(
|
||||
)
|
||||
ordinary_rows = tuple(EcosystemOrdinaryCensusV3(eco, ordinary[eco]) for eco in sorted(ordinary))
|
||||
draft = PopulationCensusV3(
|
||||
request.population_digest, scope_rows, ordinary_rows, request.input_count, False,
|
||||
_ZERO, request.census_review, _ZERO,
|
||||
request.population_digest,
|
||||
scope_rows,
|
||||
ordinary_rows,
|
||||
request.input_count,
|
||||
False,
|
||||
_ZERO,
|
||||
request.census_review,
|
||||
_ZERO,
|
||||
)
|
||||
if request.census_review.subject_digest != derive_evaluation_census_payload_digest(draft):
|
||||
raise refused(AdmissionAdapterReason.CENSUS_MISMATCH)
|
||||
|
||||
Reference in New Issue
Block a user