Private
Public Access
test(audit): Phase 10 fixtures - synthetic src/ + 6 audit_inputs JSONs
synthetic_src/: - type_aliases.py (3 TypeAliases: Metadata, FileItems, History) - ai_client.py (producer + consumer of Metadata + History) - aggregate.py (producer + consumer of FileItems) - gui_2.py (hot-path consumer of FileItems) - cleanup.py (cold-path consumer of Metadata) - overrides.toml (frequency override for cleanup.do_nothing) audit_inputs/ (6 JSON files): - audit_weak_types.json (4 findings in Metadata + FileItems functions) - audit_exception_handling.json (2 BOUNDARY_SDK findings) - audit_optional_in_3_files.json (0 findings) - audit_no_models_config_io.json (0 findings) - audit_main_thread_imports.json (0 findings) - type_registry.json (3 aggregates' field sets)
This commit is contained in:
+9
@@ -0,0 +1,9 @@
|
||||
"""Synthetic cleanup module for the v2 audit integration tests."""
|
||||
from __future__ import annotations
|
||||
from typing import Any
|
||||
|
||||
Metadata = dict[str, Any]
|
||||
|
||||
def do_nothing(metadata: Metadata) -> None:
|
||||
role = metadata["role"]
|
||||
_ = role
|
||||
Reference in New Issue
Block a user