Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/KMnO4-zx/paper-insight
/ functions
Functions
1,173 in github.com/KMnO4-zx/paper-insight
⨍
Functions
1,173
◇
Types & classes
139
↳
Endpoints
58
↓ 261 callers
Function
cn
(...inputs: ClassValue[])
frontend-react/src/lib/utils.ts:4
↓ 136 callers
Method
execute
(self, query, params=None)
tests/test_arxiv.py:49
↓ 81 callers
Method
cursor
(self)
tests/test_arxiv.py:83
↓ 76 callers
Function
_get_connection
()
backend/database.py:128
↓ 74 callers
Function
_run_with_retry
( operation: Callable[[], T], context: str, retries: int = 3, delay: float = 1.0, )
backend/database.py:101
↓ 58 callers
Method
fetchone
(self)
tests/test_arxiv.py:52
↓ 52 callers
Function
navigate
(to: string, options?: { replace?: boolean })
frontend-react/src/lib/router.ts:21
↓ 39 callers
Method
commit
(self)
tests/test_admin_background_tasks.py:39
↓ 28 callers
Function
apiFetch
(input: RequestInfo | URL, init: RequestInit = {})
frontend-react/src/lib/api.ts:116
↓ 28 callers
Method
fetchall
(self)
tests/test_arxiv.py:55
↓ 20 callers
Function
formatTokenCount
(value: number | null | undefined)
frontend-react/src/pages/admin-page.tsx:123
↓ 18 callers
Function
buildQueryString
(params: URLSearchParams)
frontend-react/src/lib/router.ts:96
↓ 18 callers
Function
metadataNumber
(task: AdminBackgroundTask | null | undefined, key: string)
frontend-react/src/pages/admin-page.tsx:175
↓ 14 callers
Function
_as_nonnegative_int
(value: object)
backend/database.py:76
↓ 14 callers
Function
normalize_paper_pdf_url
(paper_id: str, pdf_url: str | None)
backend/utils.py:65
↓ 11 callers
Function
get_frontend_index
()
backend/app.py:2274
↓ 11 callers
Function
metadataString
(task: AdminBackgroundTask | null | undefined, key: string)
frontend-react/src/pages/admin-page.tsx:180
↓ 11 callers
Method
raise_for_status
(self)
tests/test_paper_content_cache.py:142
↓ 11 callers
Function
useAuth
()
frontend-react/src/lib/auth.ts:16
↓ 10 callers
Method
executemany
(self, query, params=None)
tests/test_admin_background_tasks.py:25
↓ 10 callers
Function
getConferenceSlugFromVenue
(venue?: string | null)
frontend-react/src/lib/constants.ts:60
↓ 10 callers
Function
metadataByName
(paper: Paper, name: string)
frontend-react/src/hooks/use-zotero-paper-metadata.test.ts:7
↓ 9 callers
Function
_as_int
(value: object, default: int)
backend/config.py:127
↓ 9 callers
Function
_as_str
(value: object, default: str)
backend/config.py:136
↓ 9 callers
Function
_normalize_user_row
(row: dict | None)
backend/database.py:34
↓ 9 callers
Function
_record_llm_usage
( usage: Any, *, provider_id: str | None, provider_key: str | None, provider_name: str | N
backend/llm.py:176
↓ 9 callers
Function
_response_model
(response: Any, default_model: str)
backend/llm.py:142
↓ 9 callers
Function
_response_usage
(response: Any)
backend/llm.py:134
↓ 9 callers
Function
addEntry
(name: string, content: string | null)
frontend-react/src/hooks/use-zotero-paper-metadata.ts:100
↓ 9 callers
Method
clear
(self)
backend/chat.py:39
↓ 9 callers
Function
get_current_user_optional
(request: Request)
backend/app.py:965
↓ 9 callers
Function
normalize_arxiv_id
(raw_value: str)
backend/arxiv.py:64
↓ 9 callers
Function
normalize_llm_markdown
(content: str | None, analysis_mode: bool = False)
backend/markdown_utils.py:120
↓ 9 callers
Function
redirect_to_auth_error
(error_code: str)
backend/app.py:1053
↓ 8 callers
Function
_pop_usage_context
(params: dict, default_request_type: str)
backend/llm.py:150
↓ 8 callers
Function
applyCodeFilter
(params: URLSearchParams, codeFilter: PaperCodeFilter)
frontend-react/src/lib/router.ts:78
↓ 8 callers
Function
applyReadFilter
(params: URLSearchParams, readFilter: PaperReadFilter)
frontend-react/src/lib/router.ts:65
↓ 8 callers
Function
useAppLocation
()
frontend-react/src/lib/router.ts:30
↓ 7 callers
Function
_clean_text
(value: str | None)
scripts/build_chi_2026_jsonl.py:126
↓ 7 callers
Function
_entry_text
(entry: ET.Element, tag: str)
backend/arxiv.py:109
↓ 7 callers
Function
_load_keywords_for_papers
(papers: list[dict])
backend/database.py:2705
↓ 7 callers
Function
_read_counts_payload
(total: object, read_total: object)
backend/database.py:2725
↓ 7 callers
Method
create
(self, **kwargs)
tests/test_llm_management.py:21
↓ 7 callers
Method
is_configured
(self)
backend/llm.py:261
↓ 7 callers
Function
iter_llm_stream_chunks
(chunk)
backend/llm.py:232
↓ 7 callers
Function
updatePaperMark
( paperId: string, mark: Partial<PaperMark>, )
frontend-react/src/lib/api.ts:312
↓ 6 callers
Function
_value
(value: Any)
backend/analysis_context.py:40
↓ 6 callers
Function
buildConferenceKeywordSearchPath
(venue: string | null | undefined, keyword: string)
frontend-react/src/lib/constants.ts:80
↓ 6 callers
Function
buildPaperKeywordSearchPath
(venue: string | null | undefined, keyword: string)
frontend-react/src/lib/constants.ts:98
↓ 6 callers
Function
normalizeMetadataText
(value: string | null | undefined)
frontend-react/src/hooks/use-zotero-paper-metadata.ts:17
↓ 6 callers
Function
paperApiPath
(paperId: string, suffix = '')
frontend-react/src/lib/api.ts:43
↓ 6 callers
Function
retry_on_error
Simple retry wrapper for async functions
backend/llm.py:245
↓ 5 callers
Function
_as_bool
(value: object, default: bool)
backend/config.py:119
↓ 5 callers
Method
_client_for_config
(self, config: dict)
backend/llm.py:397
↓ 5 callers
Function
_collapse_text
(value: str | None)
backend/arxiv.py:44
↓ 5 callers
Function
_first_int
(data: dict, *paths: tuple[str, ...])
backend/llm.py:60
↓ 5 callers
Function
_paper_code_filter_clause
(code_filter: str = "all", paper_alias: str = "p")
backend/database.py:2735
↓ 5 callers
Method
_require_config
(self)
backend/llm.py:407
↓ 5 callers
Function
formatTime
(value?: string | null)
frontend-react/src/pages/profile-page.tsx:63
↓ 5 callers
Function
getPaperDailyDate
(paper: Paper)
frontend-react/src/pages/hf-daily-page.tsx:32
↓ 5 callers
Function
get_llm_provider
(provider_id: str, include_models: bool = True)
backend/database.py:1572
↓ 5 callers
Function
get_openreview_pdf_url
(paper_id: str)
backend/utils.py:61
↓ 5 callers
Function
get_user_by_id
(user_id: str)
backend/database.py:1102
↓ 5 callers
Function
normalizeMarkdownContent
( content: string, options: MarkdownNormalizationOptions = {}, )
frontend-react/src/lib/content.ts:319
↓ 5 callers
Function
normalize_doi
(value: str | None)
scripts/build_chi_2026_jsonl.py:49
↓ 5 callers
Function
parsePage
(value: string | null)
frontend-react/src/lib/router.ts:87
↓ 5 callers
Function
public_llm_provider
(provider: dict)
backend/app.py:880
↓ 5 callers
Method
run
主循环:每小时检查一次
backend/background_tasks.py:192
↓ 4 callers
Function
_arxiv_meta_from_row
(row: dict | None)
backend/database.py:161
↓ 4 callers
Function
_clean_text
(value: str | None)
scripts/build_cvpr_2026_jsonl.py:313
↓ 4 callers
Function
_create_streaming_completion
(client: AsyncOpenAI, params: dict)
backend/llm.py:165
↓ 4 callers
Function
_first_meta
(parser: CvfDetailParser, name: str)
scripts/build_cvpr_2026_jsonl.py:283
↓ 4 callers
Function
_normalize_llm_provider_row
(row: dict | None)
backend/database.py:59
↓ 4 callers
Function
_openreview_error_status
(error: OpenReviewError)
backend/app.py:1689
↓ 4 callers
Method
_parameters
(self, config: dict, overrides: dict)
backend/llm.py:417
↓ 4 callers
Function
_section_text
(parser: CvfDetailParser, key: str)
scripts/build_cvpr_2026_jsonl.py:295
↓ 4 callers
Function
apiRequest
(input: RequestInfo | URL, init: RequestInit = {})
frontend-react/src/lib/api.ts:104
↓ 4 callers
Function
assert_chat_owner
(session_id: str, user_id: str)
backend/app.py:1062
↓ 4 callers
Function
buildSearchRequestParams
( page: number, query: string, filters: SearchFilters, readFilter: PaperReadFilter = 'all', codeFilt
frontend-react/src/lib/api.ts:61
↓ 4 callers
Function
build_analysis_prompt
(paper_info: dict[str, Any], paper_content: str | None, content_error: str | None = None)
backend/analysis_context.py:6
↓ 4 callers
Method
chat
(self, messages: list, **kwargs)
backend/llm.py:326
↓ 4 callers
Function
dispatchZoteroItemUpdated
()
frontend-react/src/hooks/use-zotero-paper-metadata.ts:125
↓ 4 callers
Function
extractArxivId
(rawValue: string)
frontend-react/src/lib/arxiv.ts:24
↓ 4 callers
Function
hash_password
(password: str)
backend/auth.py:15
↓ 4 callers
Function
hash_session_token
(token: str)
backend/auth.py:37
↓ 4 callers
Function
install_fake_connection
(monkeypatch, cursor)
tests/test_admin_users.py:62
↓ 4 callers
Function
parseCodeFilter
(value: string | null)
frontend-react/src/lib/router.ts:74
↓ 4 callers
Function
parseFilters
(params: URLSearchParams)
frontend-react/src/lib/router.ts:46
↓ 4 callers
Function
parseReadFilter
(value: string | null)
frontend-react/src/lib/router.ts:61
↓ 4 callers
Function
require_user_for_read_filter
(read_status: str, user: dict | None)
backend/app.py:820
↓ 4 callers
Function
save_chat_message
(session_id: str, role: str, content: str)
backend/database.py:2612
↓ 4 callers
Function
selectAdminTaskIndex
(nextIndex: number)
frontend-react/src/pages/admin-page.tsx:727
↓ 4 callers
Function
task_runtime_status
(task: asyncio.Task | None, enabled: bool = True)
backend/app.py:229
↓ 4 callers
Function
truncate_content_for_llm
(text: str, max_tokens: int = LLM_CONTENT_TOKEN_LIMIT)
backend/utils.py:215
↓ 4 callers
Method
update_code_availability
(self, paper_info: dict, llm_response: str | None)
backend/background_tasks.py:135
↓ 4 callers
Function
useCarousel
()
frontend-react/src/components/ui/carousel.tsx:33
↓ 4 callers
Function
useFormField
()
frontend-react/src/components/ui/form.tsx:45
↓ 4 callers
Function
useSidebar
()
frontend-react/src/components/ui/sidebar.tsx:47
↓ 4 callers
Function
validate_code_filter
(code_status: str)
backend/app.py:811
↓ 4 callers
Function
validate_feishu_webhook_url
(webhook_url: str)
backend/feishu.py:21
next →
1–100 of 1,173, ranked by callers