Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/coleam00/dark-factory-experiment
/ types & classes
Types & classes
150 in github.com/coleam00/dark-factory-experiment
⨍
Functions
964
◇
Types & classes
150
↳
Endpoints
31
↓ 18 callers
Class
_FakeDeltaChunk
app/backend/tests/test_stream_chat_max_tokens.py:31
↓ 11 callers
Class
IngestRequest
app/backend/routes/ingest.py:35
↓ 11 callers
Class
_FakeDeltaChunk
Mimics a single chunk in OpenRouter's streaming response.
app/backend/tests/test_sse_status_events.py:23
↓ 9 callers
Class
_FakeStream
app/backend/tests/test_stream_chat_max_tokens.py:43
↓ 8 callers
Class
MockTranscriptChunk
Mimics the TranscriptChunk segment returned by the Supadata SDK.
app/backend/tests/test_services_supadata.py:19
↓ 6 callers
Class
_FakeDeltaChunk
Mimics a single chunk in OpenRouter's streaming response.
app/backend/tests/test_sse_heartbeat.py:22
↓ 6 callers
Class
_Spy
Captures calls to the patched async function.
app/backend/tests/test_retriever_member_filter.py:23
↓ 4 callers
Class
MockTranscriptResultString
Mock result where content is a plain string.
app/backend/tests/test_services_supadata.py:29
↓ 4 callers
Class
_FakeStream
Async iterator over pre-scripted chunks.
app/backend/tests/test_sse_status_events.py:53
↓ 4 callers
Class
_FakeToolCallDelta
app/backend/tests/test_stream_chat_max_tokens.py:97
↓ 4 callers
Class
_FakeToolCallDelta
A tool_call fragment as OpenRouter streams it.
app/backend/tests/test_sse_status_events.py:37
↓ 3 callers
Class
MockTranscriptResultList
Mock result where content is a list of TranscriptChunk segments.
app/backend/tests/test_services_supadata.py:36
↓ 3 callers
Class
TokenError
Raised when a token is missing, malformed, expired, or signed with a bad secret.
app/backend/auth/tokens.py:20
↓ 3 callers
Class
_FakeConn
Minimal connection mock that returns empty results.
app/backend/tests/test_repository_acquire_pattern.py:36
↓ 2 callers
Class
AdminVideo
app/backend/routes/admin.py:62
↓ 2 callers
Class
AdminVideosResponse
app/backend/routes/admin.py:73
↓ 2 callers
Class
CitationMarkerStripper
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 callers
Class
IngestFromUrlResponse
app/backend/routes/ingest.py:91
↓ 2 callers
Class
IngestResponse
app/backend/routes/ingest.py:81
↓ 2 callers
Class
MockChannelVideosResult
Plain sync object returned by client.youtube.channel.videos().
app/backend/tests/test_channel_sync.py:74
↓ 2 callers
Class
MockChannelVideosResult
app/backend/tests/test_chunk_timestamps.py:239
↓ 2 callers
Class
SignupRateLimited
Raised by `check` when the caller should be rejected with 429.
app/backend/signup_rate_limit.py:47
↓ 2 callers
Class
_FakeAcquire
Dual-purpose awaitable + async context manager.
app/backend/tests/test_sources_event.py:244
↓ 2 callers
Class
_FakeConn
Minimal connection mock for repository tests.
app/backend/tests/test_repository_channel_sync.py:14
↓ 2 callers
Class
_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 callers
Class
_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 callers
Class
_FakeToolCallDelta
A tool_call fragment as OpenRouter streams it.
app/backend/tests/test_sse_heartbeat.py:36
↓ 1 callers
Class
AddVideoResponse
app/backend/routes/admin.py:50
↓ 1 callers
Class
ChannelVideos
app/backend/services/supadata.py:45
↓ 1 callers
Class
MeResponse
/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 callers
Class
MessageCreate
app/backend/routes/messages.py:45
↓ 1 callers
Class
MockTranscriptResult
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 callers
Class
MockTranscriptResultNone
Mock result where content is None (no transcript available).
app/backend/tests/test_services_supadata.py:43
↓ 1 callers
Class
NoTranscriptResult
Plain sync object returned when no transcript is available.
app/backend/tests/test_channel_sync.py:111
↓ 1 callers
Class
ParsedYouTubeUrl
Result of parse_youtube_url().
app/backend/ingest/youtube_url.py:14
↓ 1 callers
Class
RateLimitExceeded
Raised by `check_and_record` when the user is over the cap.
app/backend/rate_limit.py:45
↓ 1 callers
Class
RateLimitStatus
Snapshot of a user's rate-limit state — for the /me counter.
app/backend/rate_limit.py:37
↓ 1 callers
Class
ResyncResponse
app/backend/routes/admin.py:56
↓ 1 callers
Class
SyncResponse
app/backend/routes/channels.py:39
↓ 1 callers
Class
SyncRun
app/backend/routes/channels.py:47
↓ 1 callers
Class
SyncRunsResponse
app/backend/routes/channels.py:57
↓ 1 callers
Class
UserResponse
app/backend/routes/auth.py:44
↓ 1 callers
Class
VideoIngestError
Raised when video ingest input is invalid (e.g., bad URL).
app/backend/services/video_ingest.py:30
↓ 1 callers
Class
_FakeAcquire
Dual-purpose awaitable + async context manager — matches asyncpg.pool.PoolAcquireContext.
app/backend/tests/conftest.py:116
↓ 1 callers
Class
_FakeNeighbors
Callable with settable side_effect for expansion tests.
app/backend/tests/conftest.py:182
↓ 1 callers
Class
_FakePool
app/backend/tests/conftest.py:132
↓ 1 callers
Class
_SyncAcquire
A synchronous acquire context manager (not awaitable).
app/backend/tests/test_repository_channel_sync.py:33
↓ 1 callers
Class
_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
Interface
AddVideoModalProps
app/frontend/src/components/AddVideoModal.tsx:3
Class
AddVideoRequest
app/backend/routes/admin.py:46
Interface
AddVideoResponse
app/frontend/src/lib/api.ts:200
Interface
AdminVideo
app/frontend/src/lib/api.ts:192
Interface
AdminVideosResponse
app/frontend/src/lib/api.ts:196
Class
ApiError
app/frontend/src/lib/api.ts:100
Interface
AppLayoutProps
app/frontend/src/App.tsx:35
Class
AuthError
app/frontend/src/lib/authApi.ts:39
Class
AuthError
app/frontend/src/__tests__/Login-Signup-branding.test.tsx:29
Interface
AuthMeResponse
app/frontend/src/lib/authApi.ts:26
Interface
AuthUser
app/frontend/src/lib/authApi.ts:11
Interface
ChatAreaProps
app/frontend/src/components/ChatArea.tsx:278
Interface
ChatInputHandle
app/frontend/src/components/ChatInput.tsx:3
Interface
ChatInputProps
app/frontend/src/components/ChatInput.tsx:9
Interface
Citation
app/frontend/src/lib/api.ts:46
Interface
CitationModalProps
app/frontend/src/components/CitationModal.tsx:4
Interface
CodeBlockProps
app/frontend/src/components/MarkdownRenderer.tsx:38
Interface
ConfirmDialogProps
app/frontend/src/components/Sidebar.tsx:282
Interface
ConvItemProps
app/frontend/src/components/Sidebar.tsx:62
Interface
ConvLocationState
app/frontend/src/components/ChatArea.tsx:288
Interface
Conversation
app/frontend/src/lib/api.ts:38
Class
ConversationCreate
app/backend/routes/conversations.py:20
Class
ConversationRename
app/backend/routes/conversations.py:24
Interface
ConversationWithMessages
app/frontend/src/lib/api.ts:91
Interface
DailyQuotaCounterProps
app/frontend/src/components/Sidebar.tsx:362
Interface
EmptyStateProps
app/frontend/src/components/ChatArea.tsx:59
Class
IngestFromUrlRequest
app/backend/routes/ingest.py:87
Interface
IngestVideoBody
app/frontend/src/lib/api.ts:164
Interface
IngestVideoResponse
app/frontend/src/lib/api.ts:171
Interface
InlineErrorProps
app/frontend/src/components/ChatArea.tsx:215
Interface
LocationStateWithFrom
app/frontend/src/pages/Login.tsx:6
Class
LoginRequest
app/backend/routes/auth.py:39
Interface
MarkdownRendererProps
app/frontend/src/components/MarkdownRenderer.tsx:85
Interface
Message
app/frontend/src/lib/api.ts:81
Interface
MessageProps
app/frontend/src/components/Message.tsx:7
Class
MockTranscriptChunk
Mimics a TranscriptChunk segment returned by the Supadata SDK.
app/backend/tests/test_channel_sync.py:94
Class
MockTranscriptResultList
Plain sync object whose .content is a list of TranscriptChunk segments.
app/backend/tests/test_channel_sync.py:104
Class
RateLimitError
app/frontend/src/lib/api.ts:13
Interface
RequireAuthProps
app/frontend/src/App.tsx:13
Interface
SidebarProps
app/frontend/src/components/Sidebar.tsx:405
Class
SignupRequest
app/backend/routes/auth.py:34
Interface
StreamResult
app/frontend/src/hooks/useStreamingResponse.ts:4
Interface
StreamingStatus
app/frontend/src/hooks/useStreamingResponse.ts:9
Interface
SyncChannelResponse
app/frontend/src/lib/api.ts:206
Class
TestBackendSseChunkHandling
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
Class
TestBaseline
app/backend/tests/eval/test_eval_retrieval.py:174
Class
TestCapReachedNoStatusEvents
Verify that status events are NOT emitted when the per-turn cap is already reached.
app/backend/tests/test_sse_status_events.py:309
Class
TestChunkExpansionIntegration
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