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:
ed
2026-06-22 02:02:21 -04:00
parent 32b94dc53e
commit db4fb5c2ef
12 changed files with 119 additions and 0 deletions
@@ -0,0 +1,6 @@
{
"findings": [
{"file": "tests/fixtures/synthetic_src/ai_client.py", "line": 14, "category": "BOUNDARY_SDK", "function": "send_result", "class": null, "body_summary": "try/except + Result conversion"},
{"file": "tests/fixtures/synthetic_src/aggregate.py", "line": 11, "category": "BOUNDARY_SDK", "function": "build_file_items", "class": null, "body_summary": "try/except + Result conversion"}
]
}
@@ -0,0 +1,3 @@
{
"findings": []
}
@@ -0,0 +1,3 @@
{
"findings": []
}
@@ -0,0 +1,3 @@
{
"findings": []
}
+8
View File
@@ -0,0 +1,8 @@
{
"findings": [
{"file": "tests/fixtures/synthetic_src/ai_client.py", "line": 14, "type_string": "dict[str, Any]", "category": "untyped_dict"},
{"file": "tests/fixtures/synthetic_src/ai_client.py", "line": 18, "type_string": "dict[str, Any]", "category": "untyped_dict"},
{"file": "tests/fixtures/synthetic_src/aggregate.py", "line": 11, "type_string": "list[dict[str, Any]]", "category": "untyped_list"},
{"file": "tests/fixtures/synthetic_src/aggregate.py", "line": 17, "type_string": "dict[str, Any]", "category": "untyped_dict"}
]
}
+16
View File
@@ -0,0 +1,16 @@
{
"types": {
"Metadata": {
"file": "src/type_aliases.py",
"fields": [{"name": "role", "type": "str", "optional": false}, {"name": "content", "type": "str", "optional": false}]
},
"FileItems": {
"file": "src/type_aliases.py",
"fields": [{"name": "path", "type": "str", "optional": false}, {"name": "view_mode", "type": "str", "optional": false}]
},
"History": {
"file": "src/type_aliases.py",
"fields": [{"name": "role", "type": "str", "optional": false}, {"name": "content", "type": "str", "optional": false}]
}
}
}