MCPcopy Create free account

hub / github.com/coleam00/dark-factory-experiment / types & classes

Types & classes150 in github.com/coleam00/dark-factory-experiment

↓ 18 callersClass_FakeDeltaChunk
app/backend/tests/test_stream_chat_max_tokens.py:31
↓ 11 callersClassIngestRequest
app/backend/routes/ingest.py:35
↓ 11 callersClass_FakeDeltaChunk
Mimics a single chunk in OpenRouter's streaming response.
app/backend/tests/test_sse_status_events.py:23
↓ 9 callersClass_FakeStream
app/backend/tests/test_stream_chat_max_tokens.py:43
↓ 8 callersClassMockTranscriptChunk
Mimics the TranscriptChunk segment returned by the Supadata SDK.
app/backend/tests/test_services_supadata.py:19
↓ 6 callersClass_FakeDeltaChunk
Mimics a single chunk in OpenRouter's streaming response.
app/backend/tests/test_sse_heartbeat.py:22
↓ 6 callersClass_Spy
Captures calls to the patched async function.
app/backend/tests/test_retriever_member_filter.py:23
↓ 4 callersClassMockTranscriptResultString
Mock result where content is a plain string.
app/backend/tests/test_services_supadata.py:29
↓ 4 callersClass_FakeStream
Async iterator over pre-scripted chunks.
app/backend/tests/test_sse_status_events.py:53
↓ 4 callersClass_FakeToolCallDelta
app/backend/tests/test_stream_chat_max_tokens.py:97
↓ 4 callersClass_FakeToolCallDelta
A tool_call fragment as OpenRouter streams it.
app/backend/tests/test_sse_status_events.py:37
↓ 3 callersClassMockTranscriptResultList
Mock result where content is a list of TranscriptChunk segments.
app/backend/tests/test_services_supadata.py:36
↓ 3 callersClassTokenError
Raised when a token is missing, malformed, expired, or signed with a bad secret.
app/backend/auth/tokens.py:20
↓ 3 callersClass_FakeConn
Minimal connection mock that returns empty results.
app/backend/tests/test_repository_acquire_pattern.py:36
↓ 2 callersClassAdminVideo
app/backend/routes/admin.py:62
↓ 2 callersClassAdminVideosResponse
app/backend/routes/admin.py:73
↓ 2 callersClassCitationMarkerStripper
Stream-safe stripper for ``[c:<chunk_id>]`` markers. Markers can straddle SSE token boundaries, so we hold back any tail that could plausibly
app/backend/rag/citations.py:38
↓ 2 callersClassIngestFromUrlResponse
app/backend/routes/ingest.py:91
↓ 2 callersClassIngestResponse
app/backend/routes/ingest.py:81
↓ 2 callersClassMockChannelVideosResult
Plain sync object returned by client.youtube.channel.videos().
app/backend/tests/test_channel_sync.py:74
↓ 2 callersClassMockChannelVideosResult
app/backend/tests/test_chunk_timestamps.py:239
↓ 2 callersClassSignupRateLimited
Raised by `check` when the caller should be rejected with 429.
app/backend/signup_rate_limit.py:47
↓ 2 callersClass_FakeAcquire
Dual-purpose awaitable + async context manager.
app/backend/tests/test_sources_event.py:244
↓ 2 callersClass_FakeConn
Minimal connection mock for repository tests.
app/backend/tests/test_repository_channel_sync.py:14
↓ 2 callersClass_FakeConn
No-op connection for tests that go through the signup route. The real route opens `pool.acquire() → conn.transaction()` and passes the connec
app/backend/tests/conftest.py:85
↓ 2 callersClass_FakeStream
Async iterator over pre-scripted chunks with optional delays between emits. Delays exercise the real-world timing where tool_call args stream
app/backend/tests/test_sse_heartbeat.py:52
↓ 2 callersClass_FakeToolCallDelta
A tool_call fragment as OpenRouter streams it.
app/backend/tests/test_sse_heartbeat.py:36
↓ 1 callersClassAddVideoResponse
app/backend/routes/admin.py:50
↓ 1 callersClassChannelVideos
app/backend/services/supadata.py:45
↓ 1 callersClassMeResponse
/me payload — user identity plus the current rate-limit counter. The counter is included on /me so the frontend can render the daily quota wi
app/backend/routes/auth.py:49
↓ 1 callersClassMessageCreate
app/backend/routes/messages.py:45
↓ 1 callersClassMockTranscriptResult
Plain sync object returned by client.transcript(). The `text` parameter feeds `.content` (matching the real SDK's field name) — the name is a
app/backend/tests/test_channel_sync.py:83
↓ 1 callersClassMockTranscriptResultNone
Mock result where content is None (no transcript available).
app/backend/tests/test_services_supadata.py:43
↓ 1 callersClassNoTranscriptResult
Plain sync object returned when no transcript is available.
app/backend/tests/test_channel_sync.py:111
↓ 1 callersClassParsedYouTubeUrl
Result of parse_youtube_url().
app/backend/ingest/youtube_url.py:14
↓ 1 callersClassRateLimitExceeded
Raised by `check_and_record` when the user is over the cap.
app/backend/rate_limit.py:45
↓ 1 callersClassRateLimitStatus
Snapshot of a user's rate-limit state — for the /me counter.
app/backend/rate_limit.py:37
↓ 1 callersClassResyncResponse
app/backend/routes/admin.py:56
↓ 1 callersClassSyncResponse
app/backend/routes/channels.py:39
↓ 1 callersClassSyncRun
app/backend/routes/channels.py:47
↓ 1 callersClassSyncRunsResponse
app/backend/routes/channels.py:57
↓ 1 callersClassUserResponse
app/backend/routes/auth.py:44
↓ 1 callersClassVideoIngestError
Raised when video ingest input is invalid (e.g., bad URL).
app/backend/services/video_ingest.py:30
↓ 1 callersClass_FakeAcquire
Dual-purpose awaitable + async context manager — matches asyncpg.pool.PoolAcquireContext.
app/backend/tests/conftest.py:116
↓ 1 callersClass_FakeNeighbors
Callable with settable side_effect for expansion tests.
app/backend/tests/conftest.py:182
↓ 1 callersClass_FakePool
app/backend/tests/conftest.py:132
↓ 1 callersClass_SyncAcquire
A synchronous acquire context manager (not awaitable).
app/backend/tests/test_repository_channel_sync.py:33
↓ 1 callersClass_SyncAcquireNotAwaitable
A PoolAcquireContext mock that explicitly CANNOT be awaited. This mimics the real asyncpg.pool.PoolAcquireContext behavior: - It has __aenter
app/backend/tests/test_repository_acquire_pattern.py:19
Class
app/frontend/src/lib/authApi.ts:39
Class
app/frontend/src/lib/api.ts:13
Class
app/frontend/src/lib/api.ts:100
Class
app/frontend/src/__tests__/Login-Signup-branding.test.tsx:29
InterfaceAddVideoModalProps
app/frontend/src/components/AddVideoModal.tsx:3
ClassAddVideoRequest
app/backend/routes/admin.py:46
InterfaceAddVideoResponse
app/frontend/src/lib/api.ts:200
InterfaceAdminVideo
app/frontend/src/lib/api.ts:192
InterfaceAdminVideosResponse
app/frontend/src/lib/api.ts:196
ClassApiError
app/frontend/src/lib/api.ts:100
InterfaceAppLayoutProps
app/frontend/src/App.tsx:35
ClassAuthError
app/frontend/src/lib/authApi.ts:39
ClassAuthError
app/frontend/src/__tests__/Login-Signup-branding.test.tsx:29
InterfaceAuthMeResponse
app/frontend/src/lib/authApi.ts:26
InterfaceAuthUser
app/frontend/src/lib/authApi.ts:11
InterfaceChatAreaProps
app/frontend/src/components/ChatArea.tsx:278
InterfaceChatInputHandle
app/frontend/src/components/ChatInput.tsx:3
InterfaceChatInputProps
app/frontend/src/components/ChatInput.tsx:9
InterfaceCitation
app/frontend/src/lib/api.ts:46
InterfaceCitationModalProps
app/frontend/src/components/CitationModal.tsx:4
InterfaceCodeBlockProps
app/frontend/src/components/MarkdownRenderer.tsx:38
InterfaceConfirmDialogProps
app/frontend/src/components/Sidebar.tsx:282
InterfaceConvItemProps
app/frontend/src/components/Sidebar.tsx:62
InterfaceConvLocationState
app/frontend/src/components/ChatArea.tsx:288
InterfaceConversation
app/frontend/src/lib/api.ts:38
ClassConversationCreate
app/backend/routes/conversations.py:20
ClassConversationRename
app/backend/routes/conversations.py:24
InterfaceConversationWithMessages
app/frontend/src/lib/api.ts:91
InterfaceDailyQuotaCounterProps
app/frontend/src/components/Sidebar.tsx:362
InterfaceEmptyStateProps
app/frontend/src/components/ChatArea.tsx:59
ClassIngestFromUrlRequest
app/backend/routes/ingest.py:87
InterfaceIngestVideoBody
app/frontend/src/lib/api.ts:164
InterfaceIngestVideoResponse
app/frontend/src/lib/api.ts:171
InterfaceInlineErrorProps
app/frontend/src/components/ChatArea.tsx:215
InterfaceLocationStateWithFrom
app/frontend/src/pages/Login.tsx:6
ClassLoginRequest
app/backend/routes/auth.py:39
InterfaceMarkdownRendererProps
app/frontend/src/components/MarkdownRenderer.tsx:85
InterfaceMessage
app/frontend/src/lib/api.ts:81
InterfaceMessageProps
app/frontend/src/components/Message.tsx:7
ClassMockTranscriptChunk
Mimics a TranscriptChunk segment returned by the Supadata SDK.
app/backend/tests/test_channel_sync.py:94
ClassMockTranscriptResultList
Plain sync object whose .content is a list of TranscriptChunk segments.
app/backend/tests/test_channel_sync.py:104
ClassRateLimitError
app/frontend/src/lib/api.ts:13
InterfaceRequireAuthProps
app/frontend/src/App.tsx:13
InterfaceSidebarProps
app/frontend/src/components/Sidebar.tsx:405
ClassSignupRequest
app/backend/routes/auth.py:34
InterfaceStreamResult
app/frontend/src/hooks/useStreamingResponse.ts:4
InterfaceStreamingStatus
app/frontend/src/hooks/useStreamingResponse.ts:9
InterfaceSyncChannelResponse
app/frontend/src/lib/api.ts:206
ClassTestBackendSseChunkHandling
The route wrapper in `routes/messages.py` stores every yielded chunk in `full_response` for refusal detection and SSE replay. Verify that `_ex
app/backend/tests/test_sse_heartbeat.py:238
ClassTestBaseline
app/backend/tests/eval/test_eval_retrieval.py:174
ClassTestCapReachedNoStatusEvents
Verify that status events are NOT emitted when the per-turn cap is already reached.
app/backend/tests/test_sse_status_events.py:309
ClassTestChunkExpansionIntegration
Integration tests for chunk expansion in the SSE streaming path. Verifies the SSE output contains citation content when chunks are returned b
app/backend/tests/test_sources_event.py:1041
next →1–100 of 150, ranked by callers