Public scan — anyone with this URL can view this analysis. Sign up to track your own repos privately, run scheduled re-scans, and get AI fix prompts via your dashboard.

Scan timing: clone 1.64s · analysis 13.01s · 7.1 MB · GitHub API rate-limit (preflight)

openai/openai-python

https://github.com/openai/openai-python · scanned 2026-05-24 01:20 UTC (3 weeks, 1 day ago) · 10 languages

940 raw signals (180 security + 760 graph) 66th percentile · Python · large (100-500K LoC) System graph score 86 (lower by 8)

UNIFIED Repobility · multi-layer engine · AI coders

Complete repo analysis

Last scanned 3 weeks, 1 day ago · v5 · 189 actionable findings from 2 signal sources. 143 repeated signals grouped for readability. Security checks, system graph analysis, and verified AI-agent feedback are merged into one review queue.

JSON
Score breakdown â 2026-05-18-v5
Component Sub-score Weight Contribution
structure_score 85.0 0.15 12.75
security_score 98.7 0.25 24.68
testing_score 62.0 0.20 12.40
documentation_score 95.0 0.15 14.25
practices_score 68.0 0.15 10.20
code_quality 39.0 0.10 3.90
Overall 1.00 78.2
Severity distribution — click a segment to filter
Active filters: severity: low × excluding tests × Reset all
Scan summary Quality grade B+ (78/100). Dimensions: security 99, maintainability 85. 180 findings (3 security). 175,616 lines analyzed.

Showing 132 of 189 actionable findings. 332 raw detector signals were grouped into reader-sized issues. Click TP / FP to vote on a finding's accuracy — votes adjust the confidence weighting and improve detection across the platform.

low Security checks cicd CI/CD security conf 0.35 ✓ Repobility 2 occurrences Workflow references repository secrets in a pull_request workflow
Fork pull_request runs do not receive normal repository secrets on GitHub Actions. Review this as a reliability/intent signal, not as direct fork-secret exfiltration. Raise severity only for pull_request_target or another trusted-context path that runs untrusted PR code with secrets.
lines 119, 123
.github/workflows/ci.yml:119, 123 (2 hits)
CI/CD securityworkflow secretsGitHub Actions
low Security checks quality Error handling conf 0.55 ✓ Repobility 16 occurrences Broad exception handler needs review
This handler catches Exception/BaseException. It is actionable when it swallows errors without logging, re-raising, or returning a structured error. Handlers that intentionally convert exceptions into typed error results should not be treated as high risk.
8 files, 16 locations
src/openai/_base_client.py:424, 2103, 2168, 2175, 2182 (5 hits)
src/openai/_models.py:651, 696, 702 (3 hits)
src/openai/resources/realtime/realtime.py:419, 897 (2 hits)
src/openai/resources/responses/responses.py:3831, 4286 (2 hits)
examples/image_stream.py:52
scripts/utils/ruffen-docs.py:42
src/openai/_utils/_proxy.py:51
src/openai/_utils/_utils.py:410
Error handlingquality
low Security checks quality Quality conf 0.64 Duplicate top-level symbol appears in a patch-style file
A generated replacement file defining the same public function or class name as another module can mean the new logic is not actually wired into the running code.
src/openai/types/beta/realtime/transcription_session_update.py:1
low Security checks quality Quality conf 0.60 30 occurrences Duplicated implementation block across source files
Duplicate implementation blocks are maintenance debt. Keep them visible, but they are not a high-severity defect unless the duplicated logic is security-sensitive or drifting.
12 files, 21 locations
src/openai/resources/admin/organization/projects/users/users.py:3, 28, 170, 171 (4 hits)
src/openai/resources/admin/organization/projects/__init__.py:1, 8, 49 (3 hits)
src/openai/lib/streaming/responses/_responses.py:52, 53 (2 hits)
src/openai/resources/admin/organization/projects/projects.py:39, 40 (2 hits)
src/openai/resources/admin/organization/projects/service_accounts.py:165, 166 (2 hits)
src/openai/resources/admin/organization/projects/users/roles.py:17, 61 (2 hits)
src/openai/_exceptions.py:11
src/openai/_response.py:8
duplicationquality
low System graph hardware Coverage conf 1.00 Containers defined but no K8s/orchestration manifest found
Repo has Dockerfiles/compose but no Kubernetes/Nomad manifests. If the target deployment is K8s, the manifests may live in a separate ops repo.
Deployment
low System graph hardware Supply chain conf 1.00 Docker base image is tag-pinned but not digest-pinned: mcr.microsoft.com/vscode/devcontainers/python:0-${VARIANT}
Container tags can be retagged upstream. Pin production base images to a reviewed digest (`image@sha256:...`) when reproducibility and supply-chain integrity matter.
.devcontainer/Dockerfile:2 containersPinned dependencies
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/azure.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/demo.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: examples/module_client.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/_constants.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/_version.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/audio_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/audio_response_format.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_response_format_option.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_response_format_option_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_tool.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_tool_choice_option.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_tool_choice_option_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/assistant_tool_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/threads/message_content.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/threads/message_content_delta.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/threads/message_content_part_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/beta/threads/run_status.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/chat_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/embedding_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/file_chunking_strategy.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/file_chunking_strategy_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/file_content.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/file_purpose.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/image_edit_stream_event.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/image_gen_stream_event.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/image_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/moderation_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/moderation_multi_modal_input_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/computer_action_list.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_format_text_config.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_format_text_config_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_function_call_output_item.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_function_call_output_item_list.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_function_call_output_item_list_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_function_call_output_item_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_includable.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_input.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_input_content.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_input_content_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_input_message_content_list.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_input_message_content_list_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_status.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/response_stream_event.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/responses_server_event.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/responses/tool_choice_options.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/video_model.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/video_model_param.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/video_seconds.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/types/video_size.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph software Dead code candidate conf 1.00 File has no detected symbols: src/openai/version.py
Source file with no class/function declarations — possible config, dead code, or scratch file.
low System graph quality Tests conf 1.00 Low test-to-source ratio
145 tests / 1282 src (ratio 0.11).
low System graph quality Integrity conf 1.00 14 occurrences Near-duplicate function bodies in 2 places
Functions with the same first-5-line body hash: examples/realtime/push_to_talk_app.py:render, examples/realtime/push_to_talk_app.py:render This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or document why they're separate.
14 occurrences
repo-level (14 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 3 places
Functions with the same first-5-line body hash: src/openai/_legacy_response.py:request_id, src/openai/_response.py:request_id, src/openai/_response.py:request_id This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-hygiene). Consolidate or docume…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 2 occurrences Near-duplicate function bodies in 4 places
Functions with the same first-5-line body hash: src/openai/_legacy_response.py:to_raw_response_wrapper, src/openai/_legacy_response.py:async_to_raw_response_wrapper, src/openai/_response.py:to_raw_response_wrapper, src/openai/_response.py:async_to_raw_response_wrapper This is *the* AI-coder failur…
2 occurrences
repo-level (2 hits)
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 6 places
Functions with the same first-5-line body hash: src/openai/_streaming.py:close, src/openai/_streaming.py:close, src/openai/lib/streaming/responses/_responses.py:close, src/openai/lib/streaming/responses/_responses.py:close This is *the* AI-coder failure mode (4× more duplication in vibe-coded repo…
duplicatesduplication
low System graph quality Integrity conf 1.00 Near-duplicate function bodies in 9 places
Functions with the same first-5-line body hash: src/openai/_legacy_response.py:parse, src/openai/_legacy_response.py:parse, src/openai/_legacy_response.py:parse, src/openai/_response.py:parse This is *the* AI-coder failure mode (4× more duplication in vibe-coded repos — see https://jw.hn/ai-code-h…
duplicatesduplication
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/openai/_base_client.py:65
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in src/openai/lib/azure.py:14
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `model_copy` in tests/lib/chat/test_completions_streaming.py:22
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/_compat.py:82
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/_models.py:120
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/beta/assistants.py:1025
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/beta/threads/messages.py:639
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/beta/threads/runs/runs.py:874
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/beta/threads/runs/steps.py:360
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/beta/threads/threads.py:795
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/files.py:763
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in src/openai/resources/fine_tuning/checkpoints/permissions.py:552
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/audio/test_speech.py:16
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/test_assistants.py:18
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/test_realtime.py:9
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/test_threads.py:18
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/threads/runs/test_steps.py:15
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/threads/test_messages.py:18
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/beta/threads/test_runs.py:17
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/containers/files/test_content.py:16
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/fine_tuning/checkpoints/test_permissions.py:20
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/realtime/test_calls.py:16
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/skills/test_content.py:16
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/skills/versions/test_content.py:16
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/test_files.py:18
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/api_resources/test_videos.py:24
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/lib/test_assistants.py:14
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `reportDeprecated` in tests/test_utils/test_json.py:96
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_copy` in tests/test_client.py:147
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_pydantic_v1` in noxfile.py:5
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph quality Integrity conf 1.00 Old/deprecated-named symbol `test_verify_signature_timestamp_too_old` in tests/api_resources/test_webhooks.py:108
Names with suffixes like `_old`, `_v1`, `_deprecated` usually indicate replaced-but-not-removed code (typical AI-coder leftover). Confirm and delete, or rename if it's the active version.
old markerDead code
low System graph software Dead code conf 1.00 Possibly dead Python function: async_to_custom_raw_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_response.py:813
low System graph software Dead code conf 1.00 Possibly dead Python function: audio_to_pcm16_base64
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/realtime/audio_util.py:24
low System graph software Dead code conf 1.00 Possibly dead Python function: callback
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/realtime/audio_util.py:47
low System graph software Dead code conf 1.00 Possibly dead Python function: create_and_run_poll
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/beta/threads/threads.py:1651
low System graph software Dead code conf 1.00 Possibly dead Python function: decorator
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4495
low System graph software Dead code conf 1.00 Possibly dead Python function: dispatch_events
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4381
low System graph software Dead code conf 1.00 Possibly dead Python function: field_is_required
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_compat.py:87
low System graph software Dead code conf 1.00 Possibly dead Python function: has_handlers
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_event_handler.py:66
low System graph software Dead code conf 1.00 Possibly dead Python function: model_parse
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_compat.py:169
low System graph software Dead code conf 1.00 Possibly dead Python function: off
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4482
low System graph software Dead code conf 1.00 Possibly dead Python function: on
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4464
low System graph software Dead code conf 1.00 Possibly dead Python function: once
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4487
low System graph software Dead code conf 1.00 Possibly dead Python function: parser
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/embeddings.py:238
low System graph software Dead code conf 1.00 Possibly dead Python function: parser
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:2941
low System graph software Dead code conf 1.00 Possibly dead Python function: put
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_base_client.py:1964
low System graph software Dead code conf 1.00 Possibly dead Python function: send_audio_worker_sounddevice
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/realtime/audio_util.py:95
low System graph software Dead code conf 1.00 Possibly dead Python function: send_raw
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/responses/responses.py:4228
low System graph software Dead code conf 1.00 Possibly dead Python function: set_pydantic_config
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_models.py:846
low System graph software Dead code conf 1.00 Possibly dead Python function: terminate
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
examples/realtime/audio_util.py:91
low System graph software Dead code conf 1.00 Possibly dead Python function: to_custom_raw_response_wrapper
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_response.py:790
low System graph software Dead code conf 1.00 Possibly dead Python function: upload_and_poll
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/vector_stores/file_batches.py:756
low System graph software Dead code conf 1.00 Possibly dead Python function: wait_for_processing
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/resources/files.py:720
low System graph software Dead code conf 1.00 Possibly dead Python function: write_to_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_legacy_response.py:429
low System graph software Dead code conf 1.00 Possibly dead Python function: write_to_file
No callers detected by AST scan in this repo. Could be exported for external callers or a framework handler.
src/openai/_response.py:526
low System graph quality Integrity conf 1.00 Stub function `_custom_auth` (body is just `pass`/`return`) — src/openai/_base_client.py:450
Likely an AI scaffold that was never filled in. Remove or implement.
Empty handlerDead code
low System graph quality Complexity conf 1.00 Very large file: src/openai/_base_client.py (2214 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/_client.py (1721 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/admin/organization/usage.py (2108 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/audio/transcriptions.py (1020 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/beta/assistants.py (1142 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/beta/threads/runs/runs.py (3197 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/beta/threads/threads.py (2001 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/chat/completions/completions.py (3237 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/completions.py (1194 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/images.py (2095 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/realtime/realtime.py (1675 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/responses/responses.py (4738 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: src/openai/resources/videos.py (1352 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
low System graph quality Complexity conf 1.00 Very large file: tests/test_client.py (2951 lines)
Files with >800 lines often hide complexity hotspots and discourage tests.
For AI agents: Voting guide (TP/FP) MCP manifest Stdio wrapper SARIF Integrate Findings queue Vote TP/FP on findings to calibrate the engine.
For AI agents + API integrations
Email me when this repo regresses
Free. We re-scan periodically; new criticals → your inbox. No signup required for the scan itself.
API access

This page is publicly accessible at: https://repobility.com/scan/b4bd9d3a-a4bb-4865-8249-595ff2477b57/

To check status programmatically (no auth required):

curl -s https://repobility.com/api/v1/public/scan/b4bd9d3a-a4bb-4865-8249-595ff2477b57/

Important — please don't re-submit the same URL repeatedly. The submission endpoint is idempotent: re-submitting the same git URL returns this same scan_token, not a new one. To re-scan this repo, sign up free and use the dashboard.