AI Slop Code RIsk Monitor

ArcReel/ArcReel

AI Agent 驱动的开源可自部署视频工作台:将小说与剧本转为角色、场景、道具资产、分镜、视频和剪映草稿,支持跨镜头一致性、多供应商与费用追踪 | Self-hosted AI video workspace for stories, storyboards and short-form video production

23.1 Elevated pattern signal View on GitHub

Maintenance and Governance Review

This report summarizes scanner evidence for ArcReel/ArcReel, a Python project with 5,431 GitHub stars. SynthScan examined 719,754 lines of code across 3227 source files, recording 14942 pattern matches distributed across 21 syntactic categories. The legacy adjusted pattern signal is 23.1 (Elevated 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.

23.1
Adjusted Signal
23.1
Raw Pattern Score
100%
Time Factor
2026-10-10
Last Push
5.4K
Stars
Python
Language
719.8K
Lines of Code
3.2K
Files
14.9K
Pattern Hits
2026-10-12
Scan Date
0.02
HC Hit Rate

Risk Review · v3

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

Cognitive Ownership Risk 56.5/100 · HIGH

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

Hallucinated Dependency & Supply Chain Risk 10.2/100 · LOW

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

Agent Over-Engineering Ratio 64.0/100 · HIGH

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

PR Review Velocity Impact 68.5/100 · HIGH

Which changes need focused human review? 14942 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

This chart tracks the legacy adjusted pattern score across scan runs. Changes can reflect source changes, scan coverage, or detector/scoring versions; they do not measure AI adoption or prove that a team refactored code. Compare runs only when their scoring versions are compatible. The dashed line tracks the raw pattern-hit count.

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 22HIGH 54MEDIUM 613LOW 14253

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 14942 distinct pattern matches across 21 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.

Hyper-Verbose Identifiers11821 hits · 11566 pts
SeverityFileLineSnippetContext
LOWfrontend/e2e/regions/onboarding.spec.ts49async function expectPopoverBesideAnchor(page: Page) {CODE
LOWfrontend/src/api.ts297function normalizeDiagnosticsBucket(value: unknown): { code: string; message: string; location?: string }[] {CODE
LOWfrontend/src/api.ts316function normalizeImportFailureDiagnostics(value: unknown): ImportFailureDiagnostics {CODE
LOWfrontend/src/api.ts325function normalizeExportDiagnostics(value: unknown): ExportDiagnostics {CODE
LOWfrontend/src/test/factories.ts136export function makeReferenceUnitCapability(CODE
LOWfrontend/src/stores/app-store.ts41function readPersistedAssistantPanelWidth(): number {CODE
LOWfrontend/src/stores/app-store.ts54function readPersistedAssistantPanelOpen(): boolean | null {CODE
LOWfrontend/src/stores/app-store.ts64function persistAssistantPanelOpen(open: boolean): void {CODE
LOWfrontend/src/stores/app-store.ts157function buildWorkspaceNotification(CODE
LOWfrontend/src/stores/tasks-store.ts192function pruneSupersededOptimistic(tasks: TaskItem[], marks: ReadonlySet<string>): Set<string> {CODE
LOWfrontend/src/stores/tasks-store.ts500export function selectLatestTaskByResource(CODE
LOWfrontend/src/stores/tasks-store.ts596export function selectHasActiveTaskForScriptFile(CODE
LOWfrontend/src/stores/tasks-store.ts648export function useHasActiveTaskForScriptFile(CODE
LOWfrontend/src/utils/anthropic-url.ts16export function normalizeAnthropicBaseUrl(raw: string): string {CODE
LOWfrontend/src/utils/anthropic-url.ts34export function hasUnsupportedUrlComponents(raw: string): boolean {CODE
LOWfrontend/src/utils/provider-models.ts228export function lookupEndpointConstraints(CODE
LOWfrontend/src/utils/entry-projection.ts567export function collectCommittedMessageIds(entries: TimelineEntry[]): Set<string> {CODE
LOWfrontend/src/utils/project-changes.ts168export function formatGroupedNotificationText(CODE
LOWfrontend/src/utils/project-changes.ts187export function formatGroupedDeferredText(CODE
LOWfrontend/src/components/ui/questionnaire.tsx142function QuestionnaireChoiceDescription({CODE
LOWfrontend/src/components/ui/chart.tsx353function getPayloadConfigFromPayload(CODE
LOW…c/components/layout/ScriptGenerationNoticeListener.tsx8export function ScriptGenerationNoticeListener() {CODE
LOWfrontend/src/components/layout/workspace-layout.ts60export function sidebarAutoCollapseReason(location: string, compact: boolean): "compact" | "episodes" | null {CODE
LOWfrontend/src/components/usage/usage-test-utils.tsx7export function renderUsageRecordsSection(search = "section=usage") {CODE
LOWfrontend/src/components/shared/LayeredModelFields.tsx59export function useGenerationTypeBucketLabels(): Record<GenerationTypeBucket, { label: string; caption?: string }> {CODE
LOW…d/src/components/shared/EpisodeTargetDurationField.tsx20export function isValidEpisodeTargetDuration(value: number | null): boolean {CODE
LOW…d/src/components/shared/EpisodeTargetDurationField.tsx34export function EpisodeTargetDurationField({ value, onChange }: EpisodeTargetDurationFieldProps) {CODE
LOW…d/src/components/shared/VideoModelUnresolvedNotice.tsx11export function VideoModelUnresolvedNotice({ projectName }: { projectName: string }) {CODE
LOW…src/components/shared/ScriptOverwriteConfirmDialog.tsx35export function ScriptOverwriteConfirmDialog({CODE
LOW…/src/components/canvas/episodes/episodes-view-model.ts100export function isReservedEpisodeFileName(filename: string): boolean {CODE
LOW…tend/src/components/canvas/shared/text-task-failure.ts22export function latestEpisodeTextTaskFailure(CODE
LOW…nd/src/components/canvas/shared/PlanDurationSelect.tsx16export function durationIncompatibleLabel(CODE
LOW…c/components/canvas/shared/prompt-authoring-handoff.ts13export function promptAuthoringHandoffText(t: TFunction, handoff: PromptAuthoringHandoff): string {CODE
LOW…mponents/canvas/lorebook/useStaleRegenerateConfirm.tsx38export function useStaleRegenerateConfirm({CODE
LOW…mponents/canvas/lorebook/CharacterDerivativesField.tsx36export function CharacterDerivativesField({CODE
LOW…onents/canvas/lorebook/useCharacterDerivativeSheets.ts13export function useCharacterDerivativeSheets(CODE
LOW…/src/components/canvas/timeline/VersionTimeMachine.tsx53function getImagePreviewHeightClass(CODE
LOW…src/components/canvas/timeline/TimelineCanvas.test.tsx257 function renderWithAllWriteHandlers() {CODE
LOW…s/canvas/reference/ReferenceScriptPlanPreviewPanel.tsx427export function ReferenceScriptPlanPreviewPanel({CODE
LOW…ts/canvas/reference/ReferenceDurationConfirmDialog.tsx65export function ReferenceDurationConfirmDialog({ open, items, onConfirm, onCancel }: Props) {CODE
LOW…nts/canvas/reference/ReferenceBatchAdmissionDialog.tsx51export function ReferenceBatchAdmissionDialog({ admission, onConfirm, onClose }: Props) {CODE
LOW…ponents/canvas/reference/PromptAuthoringDraftPanel.tsx31function narrowPromptAuthoringDraft(content: Record<string, unknown> | null): PromptAuthoringDraft | null {CODE
LOW…ponents/canvas/reference/PromptAuthoringDraftPanel.tsx80export function PromptAuthoringDraftPanel({ projectName, episode, view, onSettled }: PromptAuthoringDraftPanelProps) {CODE
LOW…ntend/src/components/pages/CreateProjectModal.test.tsx82function stubModelVideoCapabilities() {CODE
LOW…/pages/settings/endpoints/endpoint-form-primitives.tsx34export function VariableInsertionProvider({ children }: { children: React.ReactNode }) {CODE
LOW…ages/settings/endpoints/ComfyuiEndpointTestSection.tsx92export function ComfyuiEndpointTestSection({ definition, providers, blocked }: ComfyuiEndpointTestSectionProps) {CODE
LOWfrontend/src/hooks/useTaskFailureNotifications.ts24export function useTaskFailureNotifications(projectName?: string | null): void {CODE
LOWfrontend/src/hooks/useScriptGenerationNotice.ts29export function useScriptGenerationNotice(): void {CODE
LOWfrontend/src/hooks/useScriptReviewDraft.ts24function isScriptPlanConfirmedError(err: unknown): boolean {CODE
LOWfrontend/src/hooks/useAssistantSession.ts910function getPendingQuestionFromEvent(payload: Record<string, unknown>): PendingQuestion | null {CODE
LOWfrontend/src/hooks/useScrollTarget.ts24function scrollIntoViewUntilSettled(el: HTMLElement): () => void {CODE
LOWfrontend/src/hooks/useAssetSheetBatchNotifications.ts22export function useAssetSheetBatchNotifications(projectName?: string | null): void {CODE
LOWfrontend/src/actions/generation.ts216export async function enqueueCharacterDerivative(CODE
LOWfrontend/src/actions/generation.ts231export async function enqueueCharacterVoiceSample(CODE
LOWfrontend/src/actions/generation.ts345export async function enqueueReferenceVideoUnit(CODE
LOWfrontend/src/actions/generation.ts367export async function enqueueReferenceVideoBatch(CODE
LOWfrontend/src/actions/generation.ts447export function promptAuthoringResourceId(episode: number): string {CODE
LOWfrontend/src/actions/generation.ts564export async function enqueueEpisodeReplanContinue(projectName: string, candidateId: string): Promise<EnqueueResult> {CODE
LOWfrontend/src/api/errors.ts235export function isReferenceProjectionAdmission(value: unknown): value is ReferenceProjectionAdmission {CODE
LOW…bsite/src/theme/ThemeProvider/TitleFormatter/index.tsx10export default function ThemeProviderTitleFormatter({ children }: Props): ReactNode {CODE
11761 more matches not shown…
Decorative Section Separators589 hits · 2190 pts
SeverityFileLineSnippetContext
MEDIUM…tend/src/components/shared/ModelConfigSection.test.tsx892 // ── 联动约束:分辨率 / 参考图路径收窄可选时长 ──────────────────COMMENT
MEDIUMtests/conftest.py306# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py308# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py526# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py528# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py546# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py548# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py740# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py742# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py757# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py759# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py774# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/conftest.py776# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_public_contract.py12# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/test_public_contract.py14# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py39# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py41# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py82# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py84# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py106# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/test_public_contract.py108# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py117# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py119# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py200# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py202# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py241# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_market_entries_api.py243# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_router.py111# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_router.py113# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_system_config_router.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_system_config_router.py27# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_system_config_router.py298# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_system_config_router.py300# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py104# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py106# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py277# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py279# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py412# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_custom_endpoints_api.py414# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_custom_endpoints_api.py25# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_custom_endpoints_api.py27# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_agent_config_router.py82# ── Task 10: /agent/credentials CRUD ─────────────────────────────COMMENT
MEDIUMtests/unit/server/routers/test_agent_config_router.py52# ── Task 9: GET /agent/preset-providers ───────────────────────────COMMENT
MEDIUMtests/unit/server/routers/test_agent_config_router.py366# ── Task 11: POST /agent/credentials/{id}/activate ────────────────COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py28# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py30# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py49# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py51# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py322# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py324# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py545# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py547# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py713# ---------------------------------------------------------------------------COMMENT
MEDIUMtests/unit/server/routers/test_providers_api.py715# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py56# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py58# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py274# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py276# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py382# ---------------------------------------------------------------------------COMMENT
MEDIUM⚡tests/unit/server/routers/test_system_config_options.py384# ---------------------------------------------------------------------------COMMENT
529 more matches not shown…
Unused Imports1275 hits · 1171 pts
SeverityFileLineSnippetContext
LOW…kills/adapt-custom-endpoint/scripts/custom_endpoint.py4CODE
LOWtests/conftest.py20CODE
LOWtests/legacy_project_shapes.py8CODE
LOWtests/http_capture.py8CODE
LOWtests/factories.py3CODE
LOWtests/fakes.py7CODE
LOWtests/mutmut_plugin.py18CODE
LOWtests/speech_contract_cases.py3CODE
LOWtests/unit/test_frontend_mcp_tool_i18n.py11CODE
LOWtests/unit/test_instruction_terminology.py9CODE
LOWtests/unit/test_edit_video_review_contract.py7CODE
LOWtests/unit/test_frontend_task_type_i18n.py28CODE
LOWtests/unit/test_frontend_skill_i18n.py14CODE
LOWtests/unit/server/test_request_logging_middleware.py3CODE
LOWtests/unit/server/test_frontend_mount.py3CODE
LOWtests/unit/server/test_tool_runtime.py1CODE
LOWtests/unit/server/test_auth_kill_switch.py3CODE
LOW…ts/unit/server/test_session_store_startup_migration.py3CODE
LOWtests/unit/server/test_draft_repair.py3CODE
LOWtests/unit/server/test_cors_config.py3CODE
LOWtests/unit/server/test_startup_assertions.py3CODE
LOWtests/unit/server/routers/test_comfyui_inference_api.py7CODE
LOW…nit/server/routers/test_discover_anthropic_fallback.py3CODE
LOWtests/unit/server/routers/test_market_entries_api.py3CODE
LOWtests/unit/server/routers/test_system_config_router.py8CODE
LOWtests/unit/server/routers/test_custom_endpoints_api.py6CODE
LOWtests/unit/server/routers/test_script_review_errors.py3CODE
LOWtests/unit/server/routers/test_agent_config_router.py3CODE
LOWtests/unit/server/routers/test_providers_api.py8CODE
LOWtests/unit/server/routers/test_openai_connection.py7CODE
LOWtests/unit/server/routers/test_system_config_options.py8CODE
LOWtests/unit/server/routers/test_endpoint_tests_api.py6CODE
LOWtests/unit/server/routers/test_custom_providers_api.py7CODE
LOW…s/unit/server/routers/test_custom_providers_comfyui.py7CODE
LOWtests/unit/server/routers/test_file_responses.py3CODE
LOWtests/unit/server/routers/test_system_logs_router.py3CODE
LOWtests/unit/server/routers/test_market_sources_api.py3CODE
LOWtests/unit/server/routers/test_system_version_api.py1CODE
LOWtests/unit/server/media_tools/test_context.py3CODE
LOW…t/server/agent_runtime/test_session_manager_sandbox.py7CODE
LOW…/unit/server/agent_runtime/test_sdk_0_1_76_features.py8CODE
LOWtests/unit/server/agent_runtime/test_session_actor.py7CODE
LOW…/agent_runtime/test_session_manager_store_injection.py3CODE
LOW…/unit/server/agent_runtime/test_agent_startup_error.py14CODE
LOW…ts/unit/server/agent_runtime/test_options_assembler.py8CODE
LOWtests/unit/server/agent_runtime/test_event_log.py3CODE
LOW…r/agent_runtime/test_session_manager_sdk_session_id.py3CODE
LOWtests/unit/server/agent_runtime/test_sdk_frames.py8CODE
LOWtests/unit/server/agent_runtime/test_keyed_locks.py3CODE
LOW…/agent_runtime/test_session_manager_init_session_id.py3CODE
LOWtests/unit/server/agent_runtime/test_entry_pipeline.py3CODE
LOWtests/unit/server/agent_runtime/test_entry_stream.py3CODE
LOW…/unit/server/agent_runtime/test_agent_access_policy.py6CODE
LOW…unit/server/services/tasks/test_reference_video_e2e.py13CODE
LOW…ver/services/tasks/test_reference_video_e2e_backend.py7CODE
LOW…ts/unit/server/services/tasks/test_execute_tts_task.py5CODE
LOW…erver/services/tasks/test_execute_voice_sample_task.py4CODE
LOW…erver/services/tasks/test_generation_tasks_dispatch.py1CODE
LOW…sts/unit/server/services/tasks/test_resume_executor.py10CODE
LOW…r/services/admission/test_storyboard_item_screening.py3CODE
1215 more matches not shown…
Modern Structural Boilerplate412 hits · 413 pts
SeverityFileLineSnippetContext
LOWtests/legacy_project_shapes.py1254__all__ = [CODE
LOW⚡tests/unit/server/routers/test_system_config_router.py68 async def _set_setting(key: str, value: str) -> None:CODE
LOW⚡tests/unit/server/routers/test_system_config_router.py78 async def _set_video_poll_timeout_seconds(value: int) -> None:CODE
LOW…sts/unit/server/services/tasks/test_resume_executor.py43 def update_scene_asset(self, **kwargs: Any) -> None:CODE
LOW⚡…nit/server/services/project/test_narration_settings.py13async def _set_globals(db_factory, **settings: str) -> None:CODE
LOWtests/unit/lib/project/test_asset_rename.py345 def _set_paths(project: dict) -> None:CODE
LOWtests/unit/lib/project/test_asset_rename.py446 def _set_paths(project: dict) -> None:CODE
LOWtests/unit/lib/project/test_asset_rename.py474 def _set_paths(project: dict) -> None:CODE
LOW…gration/server/routers/test_validators_video_bucket.py17async def _set_default_video_backend(factory: async_sessionmaker[AsyncSession], value: str) -> None:CODE
LOW…gration/server/routers/test_reference_videos_router.py825def _set_project_narration(tmp_path: Path, **fields: object) -> None:CODE
LOW…ration/server/routers/test_market_installations_api.py346async def _set_index_entry(session_factory: async_sessionmaker[AsyncSession], source_id: int, **fields: object) -> None:CODE
LOW⚡…egration/server/services/project/test_script_review.py217def _set_episode_target_duration(pm: ProjectManager, seconds: int) -> None:CODE
LOW…egration/server/services/project/test_script_review.py134 def _set_mode(p: dict) -> None:CODE
LOW…ration/lib/script/test_script_generator_incremental.py569 def _set_entry(project_dir: Path, variant: _Variant, entry_id: str, **fields: Any) -> None:CODE
LOW⚡…ect/project_migrations/test_project_migration_v7_v8.py940 def _update_project() -> None:CODE
LOW…t/project_migrations/test_project_migration_v13_v14.py192def _set_style_description(project_dir: Path, description: str) -> None:CODE
LOWserver/auth.py33logger = logging.getLogger(__name__)CODE
LOWserver/auth.py330def _set_api_key_cache(key_hash: str, payload: dict | None, expires_at_ts: float | None = None) -> None:CODE
LOWserver/draft_workflow.py82logger = logging.getLogger(__name__)CODE
LOWserver/draft_repair.py44logger = logging.getLogger(__name__)CODE
LOWserver/remote_mcp.py156__all__ = [CODE
LOWserver/tool_runtime.py3777__all__ = [CODE
LOWserver/cors_config.py24__all__ = ["WILDCARD", "resolve_cors_policy"]CODE
LOWserver/text_generation.py120logger = logging.getLogger(__name__)CODE
LOWserver/app.py299logger = logging.getLogger(__name__)CODE
LOWserver/i18n.py21logger = logging.getLogger(__name__)CODE
LOWserver/error_handlers.py30logger = logging.getLogger(__name__)CODE
LOWserver/routers/auth.py22logger = logging.getLogger(__name__)CODE
LOWserver/routers/presentations.py100__all__ = ["get_presentation_bundle_service", "get_presentation_read_model", "router"]CODE
LOWserver/routers/_source_file_changes.py67__all__ = ["ensure_no_displaced_tasks", "source_file_change_http_error", "source_file_change_payload"]CODE
LOWserver/routers/project_events.py17logger = logging.getLogger(__name__)CODE
LOWserver/routers/files.py20logger = logging.getLogger(__name__)CODE
LOWserver/routers/script_review.py23logger = logging.getLogger(__name__)CODE
LOWserver/routers/episodes_view.py60logger = logging.getLogger(__name__)CODE
LOWserver/routers/_episode_source_errors.py33__all__ = ["episode_source_http_error"]CODE
LOWserver/routers/episode_management.py26logger = logging.getLogger(__name__)CODE
LOWserver/routers/generate.py58logger = logging.getLogger(__name__)CODE
LOWserver/routers/market.py58logger = logging.getLogger(__name__)CODE
LOWserver/routers/reference_videos.py85logger = logging.getLogger(__name__)CODE
LOWserver/routers/assistant.py9logger = logging.getLogger(__name__)CODE
LOWserver/routers/agent_config.py28logger = logging.getLogger(__name__)CODE
LOWserver/routers/cost_estimation.py20logger = logging.getLogger(__name__)CODE
LOWserver/routers/end_frames.py36logger = logging.getLogger(__name__)CODE
LOW⚡server/routers/providers.py51logger = logging.getLogger(__name__)CODE
LOWserver/routers/_asset_derivatives.py45logger = logging.getLogger(__name__)CODE
LOWserver/routers/custom_endpoints.py52logger = logging.getLogger(__name__)CODE
LOWserver/routers/endpoint_tests.py74logger = logging.getLogger(__name__)CODE
LOWserver/routers/_asset_derivative_status.py25logger = logging.getLogger(__name__)CODE
LOWserver/routers/assets.py51logger = logging.getLogger(__name__)CODE
LOWserver/routers/system_config.py51logger = logging.getLogger(__name__)CODE
LOWserver/routers/storyboard_batches.py168__all__ = ["router"]CODE
LOWserver/routers/_batch_admission.py15logger = logging.getLogger(__name__)CODE
LOWserver/routers/_batch_admission.py58__all__ = ["enqueue_failure_payload", "localized_admission_payload"]CODE
LOWserver/routers/_script_edits.py102__all__ = [CODE
LOWserver/routers/_asset_router_factory.py56logger = logging.getLogger(__name__)CODE
LOWserver/routers/versions.py15logger = logging.getLogger(__name__)CODE
LOWserver/routers/_source_uploads.py60__all__ = ["extract_uploaded_source_text", "source_loader_http_error"]CODE
LOWserver/routers/episode_drafts.py33logger = logging.getLogger(__name__)CODE
LOWserver/routers/projects.py33logger = logging.getLogger(__name__)CODE
LOWserver/routers/shot_uploads.py44logger = logging.getLogger(__name__)CODE
352 more matches not shown…
Excessive Try-Catch Wrapping361 hits · 347 pts
SeverityFileLineSnippetContext
LOW…sts/unit/lib/generation/test_media_generator_resume.py140 except Exception:CODE
LOWtests/unit/lib/generation/test_tts_skeleton.py168 except Exception as exc:CODE
LOWtests/integration/server/derivative_sheet_support.py142 except Exception as exc:CODE
MEDIUM…s/integration/server/routers/test_end_frames_router.py390def _target() -> None:CODE
LOW…s/integration/server/routers/test_end_frames_router.py393 except Exception as exc: # 主线程复述,不能只打印到 stderrCODE
LOWtests/integration/server/media_tools/test_grid.py42 except Exception as exc:CODE
LOWtests/integration/server/media_tools/test_grid.py53 except Exception as exc:CODE
LOW…tion/server/services/tasks/test_formal_image_commit.py226 except Exception as exc:CODE
LOW…tion/server/services/tasks/test_formal_image_commit.py235 except Exception as exc:CODE
LOW…on/lib/project/test_project_manager_concurrent_save.py260 except Exception as e:CODE
LOW…on/lib/project/test_project_manager_concurrent_save.py267 except Exception as e:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py589def _activate() -> None:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py600def _write() -> None:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py649def _write() -> None:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py660def _compete() -> None:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py708def _activate() -> None:CODE
MEDIUM…ect/project_migrations/test_project_migration_v7_v8.py1034def _save() -> None:CODE
LOW⚡…ect/project_migrations/test_project_migration_v7_v8.py948 except Exception as exc: # pragma: no cover - asserted belowCODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py597 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py604 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py657 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py664 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py713 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py726 except Exception as exc:CODE
LOW…ect/project_migrations/test_project_migration_v7_v8.py1037 except Exception as exc: # pragma: no cover - asserted belowCODE
LOW…egration/lib/generation/test_media_generator_module.py134 except Exception as exc:CODE
LOWserver/auth.py404 except Exception:CODE
MEDIUMserver/auth.py400def _touch():CODE
LOWserver/draft_workflow.py1267 except Exception as exc:CODE
LOWserver/draft_workflow.py1420 except Exception as exc:CODE
LOWserver/draft_repair.py203 except Exception as exc:CODE
LOWserver/tool_runtime.py433 except Exception as exc:CODE
LOWserver/tool_runtime.py452 except Exception as exc:CODE
LOWserver/tool_runtime.py674 except Exception as exc:CODE
LOWserver/tool_runtime.py939 except Exception as exc:CODE
LOWserver/tool_runtime.py981 except Exception as exc:CODE
LOWserver/tool_runtime.py1269 except Exception as exc:CODE
LOWserver/tool_runtime.py1293 except Exception as exc:CODE
LOWserver/tool_runtime.py1334 except Exception as exc:CODE
LOWserver/tool_runtime.py1354 except Exception as exc:CODE
LOWserver/tool_runtime.py1373 except Exception as exc:CODE
LOWserver/tool_runtime.py1412 except Exception as exc:CODE
LOWserver/tool_runtime.py1429 except Exception as exc:CODE
LOWserver/tool_runtime.py1444 except Exception as exc:CODE
LOWserver/tool_runtime.py1468 except Exception as exc:CODE
LOWserver/tool_runtime.py1562 except Exception as exc:CODE
LOWserver/tool_runtime.py1735 except Exception as exc:CODE
LOWserver/tool_runtime.py1785 except Exception:CODE
LOWserver/tool_runtime.py1796 except Exception as exc:CODE
LOWserver/tool_runtime.py2023 except Exception as exc:CODE
LOWserver/tool_runtime.py2097 except Exception as exc:CODE
LOWserver/tool_runtime.py2117 except Exception as exc:CODE
LOWserver/tool_runtime.py2159 except Exception as exc:CODE
LOWserver/tool_runtime.py2349 except Exception as exc:CODE
LOWserver/tool_runtime.py2827 except Exception as exc:CODE
LOWserver/tool_runtime.py3111 except Exception as exc:CODE
LOWserver/tool_runtime.py3275 except Exception as exc:CODE
LOWserver/tool_runtime.py3537 except Exception as exc:CODE
LOWserver/tool_runtime.py3559 except Exception as exc:CODE
LOWserver/tool_runtime.py3644 except Exception as exc:CODE
301 more matches not shown…
Hallucination Indicators22 hits · 230 pts
SeverityFileLineSnippetContext
CRITICAL⚡tests/unit/lib/backends/image_backends/test_gemini.py137 backend_aistudio._client.aio.models.generate_content.assert_awaited_once()CODE
CRITICAL⚡tests/unit/lib/backends/text_backends/test_ark.py228 backend_with_structured._test_client.chat.completions.create.assert_called_once_with(CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py108 backend._test_client.chat.completions.create.assert_called_once_with(CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py385 backend_with_structured._test_client.chat.completions.create.assert_called_once()CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py387 backend_with_structured._openai_client.chat.completions.create.assert_called_once()CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py430 backend._test_client.chat.completions.create.assert_called_once()CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py554 backend._openai_client.chat.completions.create.assert_not_called()CODE
CRITICALtests/unit/lib/backends/text_backends/test_ark.py634 backend._test_client.chat.completions.create.assert_called_once()CODE
CRITICAL…b/backends/video_backends/test_video_backend_gemini.py190 gemini_backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICAL…b/backends/video_backends/test_video_backend_gemini.py240 gemini_backend._client.aio.operations.get.assert_awaited_once_with(pending_op)CODE
CRITICAL…b/backends/video_backends/test_video_backend_gemini.py339 gemini_backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICAL…b/backends/video_backends/test_video_backend_gemini.py378 gemini_backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICAL…b/backends/video_backends/test_video_backend_gemini.py682 gemini_backend._client.aio.operations.get.assert_awaited_once_with(rebuilt_op)CODE
CRITICAL…/lib/backends/video_backends/test_video_backend_ark.py269 ark_backend._client.content_generation.tasks.create.assert_not_called()CODE
CRITICAL…/lib/backends/video_backends/test_video_backend_ark.py285 ark_backend._client.content_generation.tasks.create.assert_not_called()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py105 backend._client.aio.models.generate_videos.assert_not_awaited()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py126 backend._client.aio.models.generate_videos.assert_not_awaited()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py145 backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py174 backend._client.aio.models.generate_videos.assert_not_awaited()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py219 backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICAL…ackends/video_backends/test_gemini_video_resolution.py236 backend._client.aio.models.generate_videos.assert_awaited_once()CODE
CRITICALlib/backends/audio_backends/openai.py139 async with self._client.audio.speech.with_streaming_response.create(**kwargs) as response:CODE
Deep Nesting252 hits · 220 pts
SeverityFileLineSnippetContext
LOW…kills/adapt-custom-endpoint/scripts/custom_endpoint.py205CODE
LOWtests/legacy_project_shapes.py1177CODE
LOWtests/unit/lib/artifacts/test_version_manager.py587CODE
LOWtests/unit/lib/script/grid/test_grid_manager.py308CODE
LOWtests/integration/server/agent_tool_support.py293CODE
LOW…/integration/server/routers/projects_router_support.py306CODE
LOW…on/server/agent_runtime/test_event_log_session_flow.py1688CODE
LOW…erver/services/project/test_project_archive_service.py1627CODE
LOWtests/integration/lib/config/test_config_resolver.py1040CODE
LOWtests/integration/lib/config/test_config_resolver.py1441CODE
LOW…tion/lib/agent/agent_session_store/test_prefix_fork.py155CODE
LOW…on/lib/project/test_project_manager_concurrent_save.py105CODE
LOW…gration/lib/generation/test_task_failure_capability.py127CODE
LOW…gration/lib/generation/test_task_failure_capability.py311CODE
LOW…ib/generation/test_generation_worker_capacity_table.py39CODE
LOW…tech-doc-style-chinese/scripts/unwrap_md_paragraphs.py296CODE
LOW…tech-doc-style-chinese/scripts/unwrap_md_paragraphs.py555CODE
LOW…tech-doc-style-chinese/scripts/unwrap_md_paragraphs.py618CODE
LOW…ills/tech-doc-style-chinese/scripts/lint_copy_rules.py38CODE
LOW…ills/tech-doc-style-chinese/scripts/lint_copy_rules.py224CODE
LOW…ills/tech-doc-style-chinese/scripts/lint_copy_rules.py438CODE
LOWserver/auth.py225CODE
LOWserver/tool_runtime.py1160CODE
LOWserver/tool_runtime.py1856CODE
LOWserver/tool_runtime.py3182CODE
LOWserver/tool_runtime.py3464CODE
LOWserver/routers/files.py385CODE
LOWserver/routers/files.py866CODE
LOWserver/routers/files.py1035CODE
LOWserver/routers/files.py482CODE
LOWserver/routers/files.py870CODE
LOWserver/routers/system.py25CODE
LOWserver/routers/episodes_view.py226CODE
LOWserver/routers/reference_videos.py709CODE
LOWserver/routers/providers.py539CODE
LOWserver/routers/assets.py325CODE
LOWserver/routers/assets.py553CODE
LOWserver/routers/assets.py722CODE
LOWserver/routers/_batch_admission.py18CODE
LOWserver/routers/_asset_router_factory.py180CODE
LOWserver/routers/_asset_router_factory.py202CODE
LOWserver/routers/_asset_router_factory.py273CODE
LOWserver/routers/versions.py172CODE
LOWserver/routers/projects.py399CODE
LOWserver/routers/projects.py543CODE
LOWserver/routers/projects.py882CODE
LOWserver/routers/projects.py991CODE
LOWserver/routers/projects.py1761CODE
LOWserver/routers/projects.py1870CODE
LOWserver/routers/projects.py546CODE
LOWserver/routers/projects.py995CODE
LOWserver/routers/projects.py998CODE
LOWserver/routers/shot_uploads.py50CODE
LOWserver/routers/episode_planning.py235CODE
LOWserver/routers/custom_providers.py539CODE
LOWserver/routers/custom_providers.py1141CODE
LOWserver/media_tools/image_edits.py214CODE
LOWserver/media_tools/video_review.py139CODE
LOWserver/media_tools/videos.py759CODE
LOWserver/agent_runtime/session_actor.py159CODE
192 more matches not shown…
Empty Error Handlers29 hits · 145 pts
SeverityFileLineSnippetContext
HIGH…s/integration/server/agent_toolset/test_draft_tools.py897except BrokenPipeError:CODE
HIGH…on/lib/project/test_project_manager_concurrent_save.py435except KeyError:CODE
HIGHserver/tool_runtime.py423except ProjectMigrationError:CODE
HIGHserver/tool_runtime.py3162except TaskNotCancellableError:CODE
HIGHserver/app.py357except Exception:CODE
HIGHserver/routers/system_config.py241except Exception:CODE
HIGHserver/routers/custom_providers.py554except Exception:CODE
HIGHserver/services/project/end_frame.py176except _RollbackDone:CODE
HIGHserver/services/system/diagnostics.py31except PackageNotFoundError:CODE
HIGHserver/services/currency/video_artifact_currency.py316except KeyError:CODE
HIGHlib/artifacts/artifact_planner.py711except (TypeError, ValueError):CODE
HIGHlib/artifacts/artifact_planner.py1437except (TypeError, ValueError):CODE
HIGHlib/artifacts/artifact_manifest.py1222except ArtifactManifestError:CODE
HIGHlib/artifacts/artifact_manifest.py1293except FileNotFoundError:CODE
HIGHlib/artifacts/artifact_manifest.py1328except FileNotFoundError:CODE
HIGHlib/infra/env_init.py44except ImportError:CODE
HIGHlib/infra/env_init.py42except OSError:CODE
HIGHlib/infra/logging_utils.py209except Exception:CODE
HIGHlib/infra/logging_utils.py215except Exception:CODE
HIGHlib/backends/openai_shared.py47except ImportError:CODE
HIGHlib/backends/grok_shared.py27except ImportError:CODE
HIGHlib/backends/grok_shared.py39except ImportError:CODE
HIGHlib/script/reference_video/execution_checkpoint.py395except BaseException:CODE
HIGHlib/script/source_loader/txt.py32except UnicodeDecodeError:CODE
HIGHlib/script/source_loader/txt.py41except (UnicodeDecodeError, LookupError):CODE
HIGHlib/script/source_loader/pdf.py40except Exception:CODE
HIGHlib/script/source_loader/migration.py47except UnicodeDecodeError:CODE
HIGHlib/project/project_manager.py799except ScriptEditError:CODE
HIGHlib/generation/media_generator.py136except (ValueError, TypeError):CODE
Cross-Language Confusion18 hits · 118 pts
SeverityFileLineSnippetContext
HIGH…t/server/agent_runtime/test_session_manager_sandbox.py256 "python .claude/skills/x/scripts/run.py && python -c \"open('project.json','w')\"",CODE
HIGHtests/unit/server/agent_runtime/test_turn_schema.py143 """SDK may send {type: text, text: null} — must not TypeError on join."""STRING
HIGHtests/unit/lib/artifacts/test_artifact_provenance.py28 == ('{"inputs":{"a":[1,true,null],"z":"雪"},"kind":"structured-content-test","kind_version":2}').encode()CODE
HIGH⚡…it/lib/project/test_project_manager_save_validation.py238 '{"episode": 1, "title": "x", "content_mode": "narration", "segments": null, 'CODE
HIGH⚡…it/lib/project/test_project_manager_save_validation.py250 '"generation_mode": "reference_video", "video_units": null, 'CODE
HIGH…ver/services/admission/test_cost_estimation_service.py1105 """单集脏脚本(segments=null)不应让整个项目费用估算 5xx;脏集降级为 0 segmentsSTRING
HIGH⚡server/tool_runtime.py3359 value = _coerce_numeric_string(value, int, f"{key} 必须是正整数或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3361 raise ValueError(f"{key} 必须是正整数或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3368 f"{MAX_EPISODE_TARGET_DURATION} 秒的整数或 null,收到 {value!r}"CODE
HIGH⚡server/tool_runtime.py3377 raise ValueError(f"source_language 必须是 {list(_SOURCE_LANGUAGE_VALUES)} 之一或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3381 raise ValueError(f"brief 必须是字符串或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3386 f"character_voice_binding 必须是 {sorted(VALID_CHARACTER_VOICE_BINDINGS)} 之一或 null,收到 {value!r}"CODE
HIGH⚡server/tool_runtime.py3391 raise ValueError(f"narration_voice 必须是非空字符串或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3397 value = _coerce_numeric_string(value, float, f"narration_speed 必须是正的有限数值或 null,收到 {value!r}")CODE
HIGH⚡server/tool_runtime.py3404 raise ValueError(f"narration_speed 必须是正的有限数值或 null,收到 {value!r}")CODE
HIGHserver/services/admission/cost_estimation.py709 # Project-level actual costs (characters/scenes/props/products 资产图—— segment_id is null)COMMENT
HIGHlib/artifacts/artifact_provenance.py139 raise ValueError(f"source_language must be a non-empty string or null, got {source_language!r}")CODE
HIGHlib/generation/generation_queue_client.py343 # ``or ""`` 而非默认参数:``{"action": null}`` 时 get 返回 None,COMMENT
Over-Commented Block72 hits · 70 pts
SeverityFileLineSnippetContext
LOWalembic.ini1# A generic, single database configuration.COMMENT
LOWalembic.ini21prepend_sys_path = .COMMENT
LOWalembic.ini41# versions/ directoryCOMMENT
LOWalembic.ini61# 1. Parsing of the version_locations option falls back to using the legacyCOMMENT
LOWpyproject.toml121COMMENT
LOWfrontend/eslint.config.js301 // 本项目严于 recommended:exhaustive-deps / incompatible-library 一律视为 errorCOMMENT
LOWfrontend/src/stores/cost-store.ts101 _abortController?.abort();COMMENT
LOWfrontend/src/stores/capabilities-store.ts1import { create } from "zustand";COMMENT
LOWfrontend/src/stores/tasks-store.ts101 queued: 0, running: 0, succeeded: 0, failed: 0, cancelled: 0, total: 0,COMMENT
LOWfrontend/src/stores/tasks-store.ts381// 派生 selector —— 任务队列两条不变量的单一真相源COMMENT
LOWfrontend/src/stores/projects-store.ts121 let curResolvers = resolvers;COMMENT
LOWfrontend/src/stores/projects-store.ts141 // 意图就是目标)。反过来,排队者若是持切走前旧项目名的调用方(写操作完成后的COMMENT
LOWfrontend/src/stores/projects-store.ts241 getAssetFingerprint: (path) => get().assetFingerprints[path] ?? null,COMMENT
LOWfrontend/src/components/copilot/chat/MessageFlow.tsx21COMMENT
LOW…d/src/components/copilot/chat/ContentBlockRenderer.tsx21// text -> TextBlock (markdown)COMMENT
LOWfrontend/src/components/copilot/chat/utils.ts1import type { ImagePayload, SessionStatus, Turn } from "@/types";COMMENT
LOWfrontend/src/hooks/useProjectEventsSSE.ts221 }COMMENT
LOWfrontend/src/hooks/useModelCapabilities.ts1import { useEffect, useRef, useState } from "react";COMMENT
LOWfrontend/src/onboarding/OnboardingTour.tsx81 !requiredQuery ||COMMENT
LOWtests/unit/lib/script/test_script_editor.py141 script = patch_field(_reference(), "E1U2", "note", "备注")COMMENT
LOWtests/unit/lib/billing/pricing/test_tts_pricing.py81# 自定义供应商 audio 计费(按用户填写的每万字符单价)覆盖在 tests/test_custom_cost.py,COMMENT
LOW…s/skills/diagnosing-bugs/scripts/hitl-loop.template.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/afk-team-workflow/scripts/ledger.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/afk-team-workflow/scripts/ledger.sh21# retrospective | closedCOMMENT
LOW.agents/skills/afk-team-workflow/scripts/ledger.sh41# the batch scope (--scope-spec / --scope-issues, enforced below) so recovery canCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/round.sh1#!/usr/bin/env bashCOMMENT
LOW…lls/pr-ai-review-loop/scripts/test_walkthrough_head.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh21# rebuilt by re-running poll.sh. query.sh is its only intended reader.COMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh41# "pr_created_at": "<ISO8601>", # PR createdAt — distinct from last_push_atCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh61# "is_paused": <bool>, # CR paused for this PRCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh81# "reviews": [{id, submittedAt, state, reviewed_commit, reviewed_current_head,COMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh101# "checks_failing": [{name, conclusion}], # check runs on current HEAD with a failing-ish conclusion —COMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh121# review's commit (null = no evidence either way, timestamp rule alone). CR rewrites itsCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh141# is empty aside from the "## Code Review" heading (any case). Gemini-only; an unmatchedCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh161# PITFALLSCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh181# Leading whitespace is [ \t] only, NOT \s: \s matches \n, which would also register aCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/poll.sh201# means "surface this content", not "reviewed the current HEAD" — head-freshness staysCOMMENT
LOW…/skills/pr-ai-review-loop/scripts/test_quota_alerts.sh1#!/usr/bin/env bashCOMMENT
LOW…s/skills/pr-ai-review-loop/scripts/classify_commits.sh1#!/usr/bin/env bashCOMMENT
LOW…s/skills/pr-ai-review-loop/scripts/classify_commits.sh21# "message_head": "<first line of commit message>",COMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/query.sh1#!/usr/bin/env bashCOMMENT
LOW.agents/skills/pr-ai-review-loop/scripts/wait.sh1#!/usr/bin/env bashCOMMENT
LOW…s/skills/pr-ai-review-loop/scripts/test_pass_marker.sh1#!/usr/bin/env bashCOMMENT
LOWserver/routers/providers.py81# Pydantic 模型COMMENT
LOWserver/routers/custom_providers.py61# 写入路径上的 endpoint 字段统一走运行时校验,键集合自动跟随 ENDPOINT_REGISTRY;COMMENT
LOWserver/routers/custom_providers.py321 family: strCOMMENT
LOWserver/agent_runtime/service.py361 elif await self._new_session_matches_project(mapped_session_id, project_name):COMMENT
LOWserver/agent_runtime/session_manager.py581 self.sessions: dict[str, ManagedSession] = {}COMMENT
LOWserver/agent_runtime/agent_access_policy.py81 # 加载),也是「仓库内参考资料放行」的围栏基准。COMMENT
LOWserver/agent_runtime/agent_access_policy.py101 # python skills 入口前缀。约定形态 ``python .claude/skills/<skill>/scripts/COMMENT
LOWserver/services/admission/cost_estimation.py321COMMENT
LOW.github/workflows/market-publish-index.yml1# 市场源索引发布(可复用工作流)。COMMENT
LOW.github/workflows/market-validate.yml1# 市场源校验(可复用工作流)。COMMENT
LOWlib/infra/path_safety.py61 """COMMENT
LOWlib/config/registry.py41 media_type: strCOMMENT
LOWlib/config/registry.py81 models: dict[str, ModelInfo] = field(default_factory=dict)COMMENT
LOWlib/backends/backend_assembly/specs.py261# 文本 backend 注册在独立的 lib.backends.text_backends.registry(非 media registry),构造形态与媒体有别:COMMENT
LOWlib/backends/backend_assembly/specs.py381 registry_backend=_TEXT_OPENAI_COMPAT_REGISTRY_BACKEND,COMMENT
LOWlib/backends/video_backends/kling.py221 model=model or DEFAULT_MODEL,COMMENT
12 more matches not shown…
Fake / Example Data27 hits · 31 pts
SeverityFileLineSnippetContext
LOWfrontend/src/types/grid.ts17 frame_type: "first" | "transition" | "placeholder";CODE
LOW⚡…tend/src/components/shared/ModelConfigSection.test.tsx1426 expect(picker).toHaveAttribute("placeholder", "workflow 原生(480p)");CODE
LOW⚡…tend/src/components/shared/ModelConfigSection.test.tsx1436 expect(picker).toHaveAttribute("placeholder", "尺寸由 workflow 决定");CODE
LOW⚡…tend/src/components/shared/ModelConfigSection.test.tsx1444 expect(picker).toHaveAttribute("placeholder", "workflow 原生(720p)");CODE
LOW…d/src/components/canvas/episodes/EpisodesView.test.tsx308 expect(within(dialog).getByLabelText("标题")).toHaveAttribute("placeholder", "第 2 集");CODE
LOW…rc/components/canvas/episode-page/EpisodeHead.test.tsx67 expect(screen.getByRole("textbox", { name: "编辑分集标题" })).toHaveAttribute("placeholder", "第 2 集");CODE
LOW…src/components/canvas/timeline/EndFramePicker.test.tsx53 frame_type: "placeholder",CODE
LOW…nts/pages/settings/CustomProviderForm.comfyui.test.tsx411 expect(durations).toHaveAttribute("placeholder", "此 workflow 时长固定");CODE
LOW…nts/pages/settings/CustomProviderForm.comfyui.test.tsx437 expect(durations).toHaveAttribute("placeholder", "此 workflow 未提供帧率,时长固定");CODE
LOW…nts/pages/settings/CustomProviderForm.comfyui.test.tsx464 expect(durations).toHaveAttribute("placeholder", "此 workflow 换算不出整秒时长");CODE
LOW…nts/pages/settings/CustomProviderForm.comfyui.test.tsx494 expect(picker).toHaveAttribute("placeholder", "workflow 原生(480p)");CODE
LOW…nts/pages/settings/CustomProviderForm.comfyui.test.tsx511 expect(picker).toHaveAttribute("placeholder", "尺寸由 workflow 决定");CODE
LOW⚡…nts/pages/settings/CustomProviderForm.comfyui.test.tsx526 expect(picker).toHaveAttribute("placeholder", "workflow 原生(720p)");CODE
LOW⚡…nts/pages/settings/CustomProviderForm.comfyui.test.tsx531 expect(screen.getByLabelText("视频并发")).toHaveAttribute("placeholder", "默认");CODE
LOW⚡…nts/pages/settings/CustomProviderForm.comfyui.test.tsx535 expect(screen.getByLabelText("视频并发")).toHaveAttribute("placeholder", "默认 1");CODE
LOWtests/unit/lib/backends/image_backends/test_gemini.py48 api_key="fake-key",CODE
LOW⚡tests/unit/lib/backends/image_backends/test_gemini.py101 backend_type="aistudio", api_key="fake-key", rate_limiter=fake_rate_limiter, image_model=modelCODE
LOWtests/unit/lib/script/grid/test_grid_layout.py248 assert [c.frame_type for c in chain[5:]] == ["placeholder"] * 4CODE
LOW⚡server/routers/providers.py67 "base_url": {"label": "Base URL", "type": "url", "placeholder": "Default"},CODE
LOW⚡server/routers/providers.py68 "wan3_base_url": {"label": "Wan 3.0 Base URL", "type": "url", "placeholder": "Default"},CODE
LOWserver/routers/providers.py341 if "placeholder" in meta:CODE
LOWserver/routers/providers.py342 field["placeholder"] = meta["placeholder"]CODE
LOWserver/services/grid/grid_split.py171 if frame.frame_type == "placeholder":CODE
LOWscripts/probe_smoke.py63 api_key="sk-ant-fake-key-for-smoke-test-not-real",CODE
LOWlib/script/grid/models.py38 frame_type: Literal["first", "transition", "placeholder"]CODE
LOWlib/script/grid/models.py72 - Remaining cells: frame_type="placeholder"STRING
LOWlib/script/grid/models.py109 frame_type="placeholder",CODE
Structural Annotation Overuse14 hits · 26 pts
SeverityFileLineSnippetContext
LOW…_profile/.claude/agents/split-reference-video-units.md60### Step 0: 查视频模型能力与用户偏好COMMENT
LOW…untime_profile/.claude/agents/create-episode-script.md27### Step 1: 确认前置条件COMMENT
LOW…untime_profile/.claude/agents/create-episode-script.md40### Step 2: 调用工具生成 JSON 剧本COMMENT
LOW…untime_profile/.claude/agents/create-episode-script.md52### Step 3: 验证生成结果COMMENT
LOW…untime_profile/.claude/agents/create-episode-script.md62### Step 4: 返回摘要COMMENT
LOW⚡agent_runtime_profile/.claude/agents/generate-assets.md20### Step 1: 读取项目状态COMMENT
LOW⚡agent_runtime_profile/.claude/agents/generate-assets.md26### Step 2: 执行任务命令COMMENT
LOW⚡agent_runtime_profile/.claude/agents/generate-assets.md34### Step 3: 验证结果COMMENT
LOW⚡agent_runtime_profile/.claude/agents/generate-assets.md38### Step 4: 返回结构化状态COMMENT
LOW…ime_profile/.claude/agents/split-narration-segments.md49### Step 0: 查视频模型能力与用户偏好COMMENT
LOW…ntime_profile/.claude/agents/normalize-drama-script.md51### Step 0: 查视频模型能力与用户偏好COMMENT
LOW⚡lib/db/repositories/task_repo.py1040 # Step 1: collect task_ids to requeueCOMMENT
LOW⚡lib/db/repositories/task_repo.py1048 # Step 2: batch UPDATE — single round-trip for all tasksCOMMENT
LOWlib/db/repositories/task_repo.py1063 # Step 3: reload updated tasks in one SELECT INCOMMENT
Self-Referential Comments7 hits · 22 pts
SeverityFileLineSnippetContext
MEDIUM…nit/server/routers/test_discover_anthropic_fallback.py53 # Create an active credential firstCOMMENT
MEDIUM…ts/unit/server/agent_runtime/test_assistant_service.py109 # Create an in-memory async store and seed dataCOMMENT
MEDIUM…ts/unit/server/agent_runtime/test_assistant_service.py695 # Create a fallback skill for metadata parsing testCOMMENT
MEDIUM…/server/agent_runtime/test_assistant_service_skills.py22 # Create a dev-only skill in .claude/skills/ (should NOT appear)COMMENT
MEDIUMtests/unit/lib/artifacts/test_grid_executor.py241 # Create a fake 400x400 grid image (2x2, each cell 200x200)COMMENT
MEDIUM⚡tests/unit/lib/backends/image_backends/test_gemini.py149 # Create a small test imageCOMMENT
MEDIUMscripts/migrate_sqlite_to_orm.py33# Create a minimal lib package stub so sub-imports resolve correctlyCOMMENT
Modern AI Meta-Vocabulary7 hits · 21 pts
SeverityFileLineSnippetContext
MEDIUMwebsite/docs/dev/architecture.md110### 5.1 编排 Skill {#orchestration-skills}COMMENT
MEDIUM…saurus-plugin-content-docs/current/dev/architecture.md108### 5.1 Orchestration Skill {#orchestration-skills}COMMENT
MEDIUM…s/skills/pr-ai-review-loop/scripts/classify_commits.sh2# classify_commits.sh — emit metadata for each PR commit so the orchestrating agent can judge "nit-only vs feature".COMMENT
MEDIUM…s/skills/pr-ai-review-loop/scripts/classify_commits.sh36# Output is raw metadata (file count, line stats, message text); the orchestrating agent makes the final call —COMMENT
MEDIUMserver/auth.py468# Type aliases for FastAPI dependency injectionCOMMENT
MEDIUMlib/script/script_models.py24# Structured Outputs 下不太会产出额外字段,产出即 hallucination,拒比静默丢更安全。COMMENT
MEDIUMlib/script/script_models.py468 # 与「未知字段(typo / hallucination)一律拒」并存——前者是已知 deprecated,COMMENT
AI Structural Patterns24 hits · 21 pts
SeverityFileLineSnippetContext
LOWtests/fakes.py615CODE
LOWtests/unit/lib/billing/test_usage_summary.py28CODE
LOW…/integration/server/routers/projects_router_support.py163CODE
LOW…ntegration/server/routers/test_usage_router_summary.py21CODE
LOW…er/services/tasks/test_execute_reference_video_task.py42CODE
LOW…tion/server/services/tasks/generation_tasks_support.py35CODE
LOWserver/routers/usage.py121CODE
LOWlib/backends/image_backends/kling.py69CODE
LOWlib/script/script_generator.py410CODE
LOWlib/script/draft_violation.py44CODE
LOWlib/project/project_manager.py2411CODE
LOWlib/prompts/prompt_builders_script.py288CODE
LOWlib/prompts/prompt_builders_reference.py34CODE
LOWlib/db/repositories/usage_repo.py167CODE
LOWlib/db/repositories/task_repo.py194CODE
LOWlib/billing/ledger.py146CODE
LOWlib/billing/ledger.py260CODE
LOWlib/generation/generation_queue.py386CODE
LOWlib/generation/media_generator.py219CODE
LOWlib/generation/media_generator.py786CODE
LOWlib/generation/media_generator.py1077CODE
LOWlib/generation/generation_queue_client.py139CODE
LOWlib/generation/generation_queue_client.py194CODE
LOWlib/generation/generation_queue_client.py446CODE
Cross-File Repetition3 hits · 15 pts
SeverityFileLineSnippetContext
HIGH…ect/project_migrations/test_project_migration_v2_v3.py0历史 project.json 可能存字符串版本号,守卫做 int 归一化而非抛 typeerror。STRING
HIGH…ect/project_migrations/test_project_migration_v3_v4.py0历史 project.json 可能存字符串版本号,守卫做 int 归一化而非抛 typeerror。STRING
HIGH…ect/project_migrations/test_project_migration_v4_v5.py0历史 project.json 可能存字符串版本号,守卫做 int 归一化而非抛 typeerror。STRING
Synthetic Comment Markers2 hits · 10 pts
SeverityFileLineSnippetContext
HIGH…saurus-plugin-content-docs/current/dev/contributing.md84The only published location for user documentation is [docs.arc-reel.com](https://docs.arc-reel.com/en/); source files lCODE
HIGH.agents/skills/triage/SKILL.md16> *This was generated by AI during triage.*CODE
Docstring Block Structure2 hits · 10 pts
SeverityFileLineSnippetContext
HIGHlib/script/source_loader/loader.py100规范化上传文件为 UTF-8 .txt,并在转换非字节等价时备份原始内容。 Args: src: 临时文件路径(上传层已落盘)。 dst_dir: 目标项目的 source/STRING
HIGHlib/project/project_manager.py1259 从剧本文件同步集数信息到 project.json Agent 写入剧本后必须调用此方法以确保 WebUI 能正确显示剧集列表。 Args: project_naSTRING
Verbosity Indicators3 hits · 6 pts
SeverityFileLineSnippetContext
LOW⚡lib/db/repositories/task_repo.py1040 # Step 1: collect task_ids to requeueCOMMENT
LOW⚡lib/db/repositories/task_repo.py1048 # Step 2: batch UPDATE — single round-trip for all tasksCOMMENT
LOWlib/db/repositories/task_repo.py1063 # Step 3: reload updated tasks in one SELECT INCOMMENT
Redundant / Tautological Comments1 hit · 2 pts
SeverityFileLineSnippetContext
LOWtests/unit/server/agent_runtime/test_session_manager.py847 # Write file without extension (e.g. Makefile) — allowed (not in code blacklist)COMMENT
Example Usage Blocks1 hit · 2 pts
SeverityFileLineSnippetContext
LOW…s/skills/diagnosing-bugs/scripts/hitl-loop.template.sh6# Usage:COMMENT