AI Slop Code RIsk Monitor

openai/openai-go

The official Go library for the OpenAI API

12.8 Moderate pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for openai/openai-go, a Go project with 3,490 GitHub stars. SynthScan examined 185,246 lines of code across 579 source files, recording 1167 pattern matches distributed across 11 syntactic categories. The legacy adjusted pattern signal is 12.8 (Moderate pattern signal); it is not an authorship estimate.

Use the findings to ask whether maintainers can explain intent, verify dependencies, simplify unnecessary scaffolding, and focus review effort. Risk Payload v1 adds ownership, supply-chain, over-engineering, and review-effort vectors when available. These are prompts for human verification, not probabilities, security findings, or measured maintenance costs.

12.8
Adjusted Signal
12.8
Raw Pattern Score
100%
Time Factor
2026-10-11
Last Push
3.5K
Stars
Go
Language
185.2K
Lines of Code
579
Files
1.2K
Pattern Hits
2026-10-12
Scan Date
0.27
HC Hit Rate

Risk Review · v3

Use each vector to guide manual verification of the underlying findings.

Cognitive Ownership Risk 20.5/100 · LOW

Can maintainers explain intent, assumptions, and trade-offs? 991 finding(s).

Hallucinated Dependency & Supply Chain Risk 33.6/100 · MEDIUM

Are imports declared and package/API names verified? 176 finding(s).

Agent Over-Engineering Ratio 1.8/100 · LOW

Are wrappers, guards, and repeated structures necessary? 58 finding(s).

PR Review Velocity Impact 49.8/100 · MEDIUM

Which changes need focused human review? 1167 finding(s).

What These Metrics Mean

Adjusted Signal
Legacy pattern score normalized per 1,000 scanned lines and multiplied by the repository-level time factor. It is not an estimate of AI authorship.
Raw Pattern Score
Sum of severity- and context-weighted pattern findings before applying the time factor.
Time Factor
A coarse multiplier based on repository last-push metadata. It does not identify when individual code was written.
Pattern Hits
Count of configured pattern findings. Review each location and surrounding code before acting.
HC Hit Rate
High- and critical-severity findings per scanned file. Severity is a configured detector weight, not proof of a vulnerability or authorship.
Lines / Files
Scan coverage denominators used by the legacy normalized score.

Pattern-Signal History

Run additional scans to build a history of the legacy pattern signal. Score changes are not a measure of AI adoption or code quality.

No multi-scan history yet — run the scanner again to build trend data.

Severity Breakdown

Groups findings by configured severity weight. Severity is not a confidence estimate, security rating, or proof that a package is missing. Verify imports against the project's manifests and inspect each finding in its local design context.

CRITICAL 148HIGH 11MEDIUM 1LOW 1007

Directory Score Breakdown

This horizontal bar chart shows where configured pattern scores accumulate across directories. Treat the bars as locations to inspect, not as evidence of authorship or code quality. Use the file-level findings to decide whether a directory needs a focused ownership, dependency, complexity, or review check.

Pattern Findings

The scanner identified 1167 distinct pattern matches across 11 syntactic categories. Each entry below represents a discrete location in the source code where the engine recorded a detector match to inspect in context. Expand any category row to inspect the individual file paths, line numbers, code snippets, and the lexical context (CODE, COMMENT, or STRING) in which each match was detected.

Reading the findings table: The Severity column indicates the configured finding weight (CRITICAL / HIGH / MEDIUM / LOW). The Context column identifies whether the match occurred inside executable code, an inline comment, or a string literal — legacy comment-context matches receive a ×1.5 score weight. The ⚡ bolt icon marks clustered matches: three or more patterns within a 10-line window, each receiving an additional ×1.5 density multiplier under the legacy scoring model.

Hallucination Indicators148 hits · 1485 pts
SeverityFileLineSnippetContext
CRITICALadminorganizationprojectspendlimit_test.go30 _, err := client.Admin.Organization.Projects.SpendLimit.Get(context.TODO(), "proj_123")CODE
CRITICALadminorganizationprojectspendlimit_test.go54 _, err := client.Admin.Organization.Projects.SpendLimit.Update(CODE
CRITICALadminorganizationprojectspendlimit_test.go86 _, err := client.Admin.Organization.Projects.SpendLimit.Delete(context.TODO(), "proj_123")CODE
CRITICALbetaagentsessionturnitem_test.go30 _, err := client.Beta.Agents.Sessions.Turns.Items.List(CODE
CRITICALadminorganizationgrouprole_test.go30 _, err := client.Admin.Organization.Groups.Roles.New(CODE
CRITICALadminorganizationgrouprole_test.go60 _, err := client.Admin.Organization.Groups.Roles.Get(CODE
CRITICALadminorganizationgrouprole_test.go88 _, err := client.Admin.Organization.Groups.Roles.List(CODE
CRITICALadminorganizationgrouprole_test.go120 _, err := client.Admin.Organization.Groups.Roles.Delete(CODE
CRITICALadminorganizationgroupuser_test.go30 _, err := client.Admin.Organization.Groups.Users.New(CODE
CRITICALadminorganizationgroupuser_test.go60 _, err := client.Admin.Organization.Groups.Users.Get(CODE
CRITICALadminorganizationgroupuser_test.go88 _, err := client.Admin.Organization.Groups.Users.List(CODE
CRITICALadminorganizationgroupuser_test.go120 _, err := client.Admin.Organization.Groups.Users.Delete(CODE
CRITICALbetathreadrunstep_test.go30 _, err := client.Beta.Threads.Runs.Steps.Get(CODE
CRITICALbetathreadrunstep_test.go62 _, err := client.Beta.Threads.Runs.Steps.List(CODE
CRITICALadminorganizationprojectserviceaccount_test.go30 _, err := client.Admin.Organization.Projects.ServiceAccounts.New(CODE
CRITICALadminorganizationprojectserviceaccount_test.go62 _, err := client.Admin.Organization.Projects.ServiceAccounts.Get(CODE
CRITICALadminorganizationprojectserviceaccount_test.go90 _, err := client.Admin.Organization.Projects.ServiceAccounts.Update(CODE
CRITICALadminorganizationprojectserviceaccount_test.go122 _, err := client.Admin.Organization.Projects.ServiceAccounts.List(CODE
CRITICALadminorganizationprojectserviceaccount_test.go153 _, err := client.Admin.Organization.Projects.ServiceAccounts.Delete(CODE
CRITICALbetaagentsessiontrace_test.go30 _, err := client.Beta.Agents.Sessions.Traces.List(CODE
CRITICALagents_helpers_example_test.go48 items := client.Beta.Agents.Sessions.Items.ListAutoPaging(context.Background(), "session_id", openai.BetaAgentSessionItCODE
CRITICALadminorganizationprojecthostedtoolpermission_test.go30 _, err := client.Admin.Organization.Projects.HostedToolPermissions.Get(context.TODO(), "project_id")CODE
CRITICALadminorganizationprojecthostedtoolpermission_test.go54 _, err := client.Admin.Organization.Projects.HostedToolPermissions.Update(CODE
CRITICAL⚡beta_agents_files_test.go100 if _, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{destination: sourceCODE
CRITICAL⚡beta_agents_files_test.go108 if _, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), files); err == nil {CODE
CRITICAL⚡beta_agents_files_test.go114 if _, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/x": symCODE
CRITICAL⚡beta_agents_files_test.go118 if _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), filepath.Dir(source), "/worksCODE
CRITICAL⚡beta_agents_files_test.go121 if _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), "", "/workspace", []string{"*CODE
CRITICAL⚡beta_agents_files_test.go312 prepared, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), files)CODE
CRITICAL⚡beta_agents_files_test.go322 prepared, err = client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), directory, "/workspace", [CODE
CRITICAL⚡beta_agents_files_test.go331 prepared, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/a":CODE
CRITICAL⚡beta_agents_files_test.go399 if _, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/input.txCODE
CRITICAL⚡beta_agents_files_test.go402 if _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), selected, "/workspace/data", CODE
CRITICAL⚡beta_agents_files_test.go405 if _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), alias, "/workspace/data", []sCODE
CRITICAL⚡beta_agents_files_test.go408 if _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), alias+string(filepath.SeparatCODE
CRITICAL⚡beta_agents_files_test.go577 _, err := client.Beta.Agents.Environments.Files.Prepare(ctx, map[string]string{"/workspace/input": missing})CODE
CRITICAL⚡beta_agents_files_test.go581 _, err = client.Beta.Agents.Environments.Files.PrepareDirectory(ctx, missing, "/workspace", []string{"*"})CODE
CRITICAL⚡beta_agents_files_test.go585 _, err = client.Beta.Agents.Environments.Files.Upload(ctx, "env", missing, "/workspace/input")CODE
CRITICALbeta_agents_files_test.go76 prepared, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/inpuCODE
CRITICALbeta_agents_files_test.go84 staged, err := client.Beta.Agents.Environments.Files.Upload(context.Background(), "env", source, "/workspace/input.txt"CODE
CRITICALbeta_agents_files_test.go147 _, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), directory, "/workspace/data",CODE
CRITICALbeta_agents_files_test.go172 prepared, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), files)CODE
CRITICALbeta_agents_files_test.go180 if _, err := keyed.Beta.Agents.Environments.Files.Prepare(context.Background(), files, opts...); err == nil {CODE
CRITICALbeta_agents_files_test.go204 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), directory, "/workspace/daCODE
CRITICALbeta_agents_files_test.go242 artifacts := client.Beta.Agents.Sessions.Artifacts.ForResult(result)CODE
CRITICALbeta_agents_files_test.go266 _, err := client.Beta.Agents.Sessions.Artifacts.ForResult(&openai.BetaAgentTurnResult{Turn: openai.Turn{ID: "root", SCODE
CRITICALbeta_agents_files_test.go350 _, err := client.Beta.Agents.Environments.Files.Upload(context.Background(), "env", betaLocalFile(t, "input", "source")CODE
CRITICALbeta_agents_files_test.go370 prepared, err := client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/a": CODE
CRITICALbeta_agents_files_test.go444 artifact, err := client.Beta.Agents.Sessions.Artifacts.ForResult(&openai.BetaAgentTurnResult{Turn: openai.Turn{ID: "rooCODE
CRITICALbeta_agents_files_test.go474 _, err := client.Beta.Agents.Environments.Files.Upload(context.Background(), "env", betaLocalFile(t, "input", "sourceCODE
CRITICALbeta_agents_files_test.go501 _, err = client.Beta.Agents.Environments.Files.Upload(context.Background(), "env", source, "/workspace/a")CODE
CRITICALbeta_agents_files_test.go503 _, err = client.Beta.Agents.Environments.Files.Prepare(context.Background(), map[string]string{"/workspace/a": sourcCODE
CRITICALbeta_agents_files_test.go533 prepared, err := client.Beta.Agents.Environments.Files.Prepare(ctx, map[string]string{"/workspace/a": first, "/workspacCODE
CRITICALbeta_agents_files_test.go566 _, err := client.Beta.Agents.Sessions.Artifacts.ForResult(&openai.BetaAgentTurnResult{Turn: openai.Turn{ID: "root", SesCODE
CRITICALbeta_agents_files_test.go619 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), root, "/workspace", []stCODE
CRITICALbeta_agents_files_test.go626 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), root, "/workspace", []stCODE
CRITICALbeta_agents_files_test.go655 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), root, "/workspace", []stCODE
CRITICALbeta_agents_files_test.go664 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), root, "/workspace", []strCODE
CRITICALbeta_agents_files_test.go677 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), filepath.Dir(source), "/CODE
CRITICALbeta_agents_files_test.go707 prepared, err := client.Beta.Agents.Environments.Files.PrepareDirectory(context.Background(), test.directory, "/worksCODE
88 more matches not shown…
Over-Commented Block916 hits · 713 pts
SeverityFileLineSnippetContext
LOWfinetuningjob.go21 "github.com/openai/openai-go/v3/shared/constant"COMMENT
LOWfinetuningjob.go181 FineTunedModel string `json:"fine_tuned_model" api:"required"`COMMENT
LOWfinetuningjob.go201 // `validating_files`, `queued`, `running`, `succeeded`, `failed`, or `cancelled`.COMMENT
LOWfinetuningjob.go521const (COMMENT
LOWfinetuningjob.go581 return apijson.UnmarshalRoot(data, r)COMMENT
LOWfinetuningjob.go601 // [preference](https://developers.openai.com/api/docs/guides/direct-preference-optimization)COMMENT
LOWfinetuningjob.go621 // periodically during fine-tuning. These metrics can be viewed in the fine-tuningCOMMENT
LOWfinetuningjob.go761 return param.MarshalObject(r, (*shadow)(&r))COMMENT
LOWembedding.go141 // ID of the model to use. You can use theCOMMENT
LOWbetaagent.go141 Metadata map[string]string `json:"metadata" api:"required"`COMMENT
LOWbetaagent.go461type AgentCreateSubagentCallItem struct {COMMENT
LOWbetaagent.go661COMMENT
LOWbetaagent.go741COMMENT
LOWbetaagent.go861COMMENT
LOWbetaagent.go1021// AgentOutputItemUnionOutput provides convenient access to the sub-properties ofCOMMENT
LOWbetaagent.go1441 // The object type. Always `agent.session`.COMMENT
LOWbetaagent.go1481}COMMENT
LOWbetaagent.go1521COMMENT
LOWbetaagent.go1641}COMMENT
LOWbetaagent.go2361COMMENT
LOWbetaagent.go2381// [AgentSessionSubagentActiveEvent], [AgentSessionSubagentClosedEvent],COMMENT
LOWbetaagent.go2401 // "agent.output.command_execution_output.delta", "agent.session.created",COMMENT
LOWbetaagent.go2521// case openai.AgentSessionTurnCreatedEvent:COMMENT
LOWbetaagent.go2881 raw stringCOMMENT
LOWbetaagent.go2921// AgentSessionEventUnionItemError is an implicit subunion ofCOMMENT
LOWbetaagent.go2941COMMENT
LOWbetaagent.go3021 } `json:"-"`COMMENT
LOWbetaagent.go3521// [AgentMcpCallItem], [AgentSessionItemComputerUseCall],COMMENT
LOWbetaagent.go3641func (AgentSendSubagentInputCallItem) implAgentSessionItemUnion() {}COMMENT
LOWbetaagent.go3801COMMENT
LOWbetaagent.go5261COMMENT
LOWbetaagent.go5381 AllowedTools []string `json:"allowed_tools" api:"required"`COMMENT
LOWbetaagent.go5801 // `false`.COMMENT
LOWbetaagent.go5981}COMMENT
LOWbetaagent.go6101// An environment hosted by OpenAI.COMMENT
LOWbetaagent.go6421//COMMENT
LOWbetaagent.go6441 CapabilityDirectories []string `json:"capability_directories,omitzero"`COMMENT
LOWbetaagent.go7361// McpTransportUnion contains all possible properties and values fromCOMMENT
LOWbetaagent.go7621COMMENT
LOWbetaagent.go8341COMMENT
LOWbetaagent.go8381 "connection_origin", "service", "environment",COMMENT
LOWbetaagent.go8861 Name string `json:"name" api:"required"`COMMENT
LOWbetaagent.go9221// anyWebSearchAction is implemented by each variant of [WebSearchActionUnion] toCOMMENT
LOWbetaagent.go9421 Instructions param.Opt[string] `json:"instructions,omitzero"`COMMENT
LOWcompletion.go201COMMENT
LOWcompletion.go261func (r CompletionUsagePromptTokensDetails) RawJSON() string { return r.JSON.raw }COMMENT
LOWcompletion.go281 // the highest log probability per token). Results cannot be streamed.COMMENT
LOWcompletion.go301 // the sampled token, so there may be up to `logprobs+1` elements in the response.COMMENT
LOWcompletion.go321 // talk about new topics.COMMENT
LOWcompletion.go341 Temperature param.Opt[float64] `json:"temperature,omitzero"`COMMENT
LOWupload.go41}COMMENT
LOWupload.go81 }COMMENT
LOWupload.go121 CreatedAt int64 `json:"created_at" api:"required" format:"unixtime"`COMMENT
LOWadminorganizationexternalstorage.go201// values from [AwsExternalStorageProvider], [AzureExternalStorageProvider],COMMENT
LOWadminorganizationexternalstorage.go261// [ExternalStorageConfigurationProviderUnion] to add type safety for the returnCOMMENT
LOWbetaagentvaultcredential.go601 // The destinations where the proxy can substitute this secret. The environmentCOMMENT
LOWbetaagentvaultcredential.go1421COMMENT
LOWbetathreadrunstep.go21 "github.com/openai/openai-go/v3/shared/constant"COMMENT
LOWbetathreadrunstep.go421COMMENT
LOWbetathreadrunstep.go761 AssistantID string `json:"assistant_id" api:"required"`COMMENT
856 more matches not shown…
Hyper-Verbose Identifiers57 hits · 66 pts
SeverityFileLineSnippetContext
LOWscripts/castiron/test_custom_code_github.py60 def test_trusted_report_recomputes_pr_output_in_a_bare_repository(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py163 def test_fork_association_fallback_paginates_candidates(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py181 def test_trusted_report_rejects_invalid_or_stale_association_before_fetch(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py246 def test_queue_membership_uses_synthetic_commit_not_original_pr_ancestry(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py317 def test_merge_queue_rule_is_required_before_passing(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py324 def test_wrong_or_superseded_source_runs_fail_before_fetching(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py338 def test_reuses_only_matching_main_job_report(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py364 def test_queue_cannot_reuse_pr_measurement(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py370 def test_evaluation_error_emits_failure_outputs_and_diagnostic_summary(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py425 def test_queue_context_refuses_stale_checkout_before_fetching(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py432 def test_github_uses_fresh_bare_data_repo_and_checks_current_head(self) -> None:CODE
LOWscripts/castiron/test_custom_code_github.py458 def test_stale_pull_and_wrong_target_fail_before_objects_created(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py19 def test_git_preserves_authentication_without_inherited_repository_routing(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py48 def test_rust_and_python_hashes_match(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py72 def test_reporting_script_can_be_a_mixed_file(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py82 def test_hash_vector_and_exclusions(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py126 def test_report_ignores_handwritten_files_and_shows_custom_patch(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py144 def test_bad_hash_and_lost_checkpoint_fail(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py156 def test_stats_symlink_is_rejected(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py165 def test_public_snapshot_rejects_private_governance_and_unpublished_paths(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py196 def test_zero_new_files_summary_reports_existing_changes(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py211 def test_new_mixed_file_headline_includes_changed_generated_baselines(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py229 def test_removals_include_changed_baselines_but_not_handwritten_only_files(self) -> None:CODE
LOWscripts/castiron/test_custom_code_report.py256 def test_public_snapshot_has_no_private_history_and_reports_without_private_remote(CODE
LOW⚡scripts/castiron/test_custom_code_budget.py32 def test_additions_and_deletions_do_not_cancel(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py38 def test_below_equal_and_above_limit(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py48 def test_whole_generated_file_deletion_is_counted(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py54 def test_restoring_generated_content_removes_customization(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py62 def test_handwritten_only_files_keep_existing_report_scope(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py66 def test_increase_is_isolated_but_does_not_apply_to_itself(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py73 def test_entire_pr_must_be_budget_only_not_just_latest_commit(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py83 def test_new_base_budget_is_used_for_stale_pr_branch(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py95 def test_decrease_must_fit_current_usage(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py104 def test_missing_base_policy_fails_closed(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_budget.py111 def test_policy_deletion_rename_symlink_and_mode_change_fail(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py128 def test_invalid_policy_values_fail(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py149 def test_bad_snapshot_and_binary_change_fail_budget(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py163 def test_budget_uses_existing_reporter_with_strict_verification(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py172 def test_queue_isolates_prs_but_uses_main_budget_for_combined_tree(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py187 def test_queue_without_verified_members_fails(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py192 def test_cli_executes_trusted_reporter_not_inspected_repo(self) -> None:CODE
LOWscripts/castiron/test_custom_code_budget.py217 def test_summary_has_counts_revisions_and_no_longer_generated(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py44 def test_trusted_failure_publisher_updates_one_current_comment(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py88 def test_workflow_reports_all_branches_without_write_credentials(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py126 def test_comment_only_rerun_links_to_the_compute_artifact_attempt(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py195 def test_comment_updates_existing_bot_comment_and_skips_stale(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py238 def test_comment_rejects_older_runs_attempts_and_wrong_pr(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py358 def test_statuses_attach_to_candidate_not_main(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py367 def test_fork_statuses_with_no_commit_association(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py387 def test_stale_pr_head_is_not_published(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py390 def test_pr_snapshot_survives_main_advancing(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py396 def test_queue_still_rejects_main_advancing(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py401 def test_missing_evaluation_publishes_actionable_failures(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py410 def test_superseded_or_wrong_source_run_cannot_publish(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py420 def test_independent_check_failures_are_preserved(self) -> None:CODE
LOW⚡scripts/castiron/test_custom_code_publication.py424 def test_older_evaluation_cannot_overwrite_newer_failure(self) -> None:CODE
LOWscripts/castiron/test_custom_code_publication.py436 def test_publication_guard_allows_current_retry_and_ignores_unrelated_statuses(self) -> None:CODE
Synthetic Comment Markers8 hits · 60 pts
SeverityFileLineSnippetContext
HIGHfinetuningjob.go541 // through directly to WandB. Some default tags are generated by OpenAI:COMMENT
HIGHfinetuningjob.go784 // through directly to WandB. Some default tags are generated by OpenAI:COMMENT
HIGHcontentprovenancecheck.go45// uploaded file. The content could still have been generated by OpenAI if theCOMMENT
HIGHcontentprovenancecheck.go48// signals were available. Content could also still be AI-generated by anotherCOMMENT
HIGHcontentprovenancecheck.go174 // file. The content could still have been generated by OpenAI if the metadata wasCOMMENT
HIGHcontentprovenancecheck.go177 // available. Content could also still be AI-generated by another company's model,COMMENT
HIGHcontentprovenancecheck.go215 // could still have been generated by OpenAI if the metadata was stripped or hasCOMMENT
HIGHcontentprovenancecheck.go218 // Content could also still be AI-generated by another company's model, which theCOMMENT
Fake / Example Data18 hits · 18 pts
SeverityFileLineSnippetContext
LOWdata_residency_contract_test.go45 return []option.RequestOption{option.WithAPIKey("dummy-key"), option.WithHTTPClient(recorder), option.WithMaxRetries(0)CODE
LOWretry_delay_test.go119 option.WithAPIKey("fake-key"),CODE
LOWretry_delay_test.go176 option.WithAPIKey("fake-key"),CODE
LOWmultipart_scalar_test.go82 option.WithBaseURL("https://sdk.test/"), option.WithAPIKey("fake-key"),CODE
LOWazure/data_residency_integration_test.go43 return []option.RequestOption{option.WithAPIKey("dummy-key"), option.WithHTTPClient(recorder), option.WithMaxRetries(0)CODE
LOWazure/provider_headers_test.go19 t.Setenv("OPENAI_CUSTOM_HEADERS", "X-Api-Key: fake-secret\nCookie: fake-cookie\nX-Amz-Security-Token: fake-token\nX-CusCODE
LOWazure/provider_headers_test.go84 } else if received.Get("Authorization") != "Bearer fake_token" || received.Get("Api-Key") != "" {CODE
LOWazure/provider_headers_test.go117 if received.Get("X-Azure-Gateway") != "fake-gateway-key" || received.Get("Authorization") != "Bearer fake_token" || recCODE
LOWazure/azure_test.go399 headerValue: "Bearer fake_token",CODE
LOWazure/azure_test.go512 headerValue: "Bearer fake_token",CODE
LOWazure/azure_test.go991 headerValue: "Bearer fake_token",CODE
LOWazure/azure_test.go1088 headerValue: "Bearer fake_token",CODE
LOWazure/authentication_test.go189 wantAuthorization: "Bearer fake_token",CODE
LOWazure/authentication_test.go274 wantAuthorization: "Bearer fake_token",CODE
LOWazure/authentication_test.go521 wantAuthorization: "Bearer fake_token",CODE
LOWinternal/requestconfig/websocket_test.go42 if r.Header.Get("Authorization") != "Bearer fake-key" || r.Header.Get("OpenAI-Organization") != "org-test" || r.HeaderCODE
LOWinternal/requestconfig/websocket_test.go64 connection, err := dialPrepared(t, option.WithBaseURL(server.URL+"/custom/v1?base=yes"), option.WithAPIKey("fake-key"),CODE
LOWinternal/requestconfig/websocket_test.go95 _, err := dialPrepared(t, option.WithBaseURL(server.URL), option.WithAPIKey("fake-key"))CODE
Cross-Language Confusion3 hits · 10 pts
SeverityFileLineSnippetContext
HIGHscripts/castiron/custom_code_report.py6Hash v1: SHA256(domain || u64(entry count) || entries), where each entry isSTRING
HIGHscripts/castiron/custom_code_report.py7u64(path length) || path bytes || six ASCII Git mode bytes || u64(blob length)STRING
HIGHscripts/castiron/test_custom_code_budget.py138 '{"schema_version":1,"max_custom_patch_lines":null}',CODE
Unused Imports7 hits · 7 pts
SeverityFileLineSnippetContext
LOWscripts/castiron/custom_code_budget.py9CODE
LOWscripts/castiron/test_custom_code_github.py4CODE
LOWscripts/castiron/test_custom_code_report.py2CODE
LOWscripts/castiron/custom_code_report.py12CODE
LOWscripts/castiron/custom_code_test_support.py4CODE
LOWscripts/castiron/test_custom_code_budget.py3CODE
LOWscripts/castiron/test_custom_code_publication.py4CODE
Deep Nesting7 hits · 6 pts
SeverityFileLineSnippetContext
LOWscripts/castiron/test_custom_code_github.py60CODE
LOWscripts/castiron/test_custom_code_github.py181CODE
LOWscripts/castiron/test_custom_code_github.py338CODE
LOWscripts/castiron/custom_code_report.py598CODE
LOWscripts/castiron/custom_code_report.py950CODE
LOWscripts/castiron/test_custom_code_budget.py111CODE
LOWscripts/castiron/test_custom_code_publication.py44CODE
Modern AI Meta-Vocabulary1 hit · 3 pts
SeverityFileLineSnippetContext
MEDIUM…ills/openai-go-pr-review/references/learned-gotchas.md33## Shared scaffolding can be generated without looking generatedCOMMENT
Slop Phrases1 hit · 1 pts
SeverityFileLineSnippetContext
LOWstreamaccumulator_test.go26Santorini is a gem in the Aegean Sea, known for its stunning sunsets, white-washed buildings, and crystal-clear waters. CODE
AI Structural Patterns1 hit · 1 pts
SeverityFileLineSnippetContext
LOWscripts/castiron/test_custom_code_publication.py313CODE