MCPcopy Create free account

hub / github.com/849261680/chat-resume / functions

Functions2,975 in github.com/849261680/chat-resume

↓ 8 callersFunction_configure_google_oauth
用于处理configureGoogleOAuth。
backend/tests/test_api_e2e.py:174
↓ 8 callersFunction_excellent_case
用于按 ID 读取优秀简历黄金样例。
backend/tests/test_final_resume_quality.py:493
↓ 8 callersMethod_parse_ai_response
解析AI返回的JSON内容
backend/app/services/processing/resume_parser.py:303
↓ 8 callersFunction_preview
用于生成稳定短文本。
backend/app/agents/resume/session.py:247
↓ 8 callersFunction_resume_with_target_rewrite
用于把黄金样例的目标 bullet 替换成候选改写。
backend/tests/test_final_resume_quality.py:498
↓ 8 callersFunction_run_trajectory
运行一次 Agent 轨迹并收集工具调用记录。
backend/tests/test_agent_trajectory.py:140
↓ 8 callersFunction_text_msg
构造纯文本 assistant message。
backend/tests/test_agent_trajectory.py:126
↓ 8 callersFunctionapiUrl
(path: string, baseUrl = API_BASE_URL)
frontend/src/lib/httpClient.ts:12
↓ 8 callersMethodconfirm_tool
用于确认工具。
backend/app/services/agent/resume_agent_session_service.py:55
↓ 8 callersFunctionfake_sdk_message
用于构造 OpenAI Agents SDK 文本响应。
backend/tests/test_resume_agent_runtime_boundaries.py:288
↓ 8 callersFunctionfake_sdk_tool_call
用于构造 OpenAI Agents SDK 函数工具调用。
backend/tests/test_resume_agent_runtime_boundaries.py:306
↓ 8 callersFunctionformatApiErrorMessage
( error: unknown, messages: ApiErrorMessages, fallbackMessage: string, )
frontend/src/lib/apiErrors.ts:9
↓ 8 callersFunctionget_session_for_user
读取并校验当前用户拥有的面试 session。
backend/app/services/interview/session_service.py:113
↓ 8 callersFunctionmeasure
(scale: number)
frontend/src/components/preview/hooks/smartFitCore.ts:202
↓ 8 callersFunctionmockEditorApis
(page: Page, resume = buildResumeResponse())
frontend/e2e/resume-preview-style-switch.spec.ts:42
↓ 8 callersFunctionpublic_resume_stream_event
用于把内部事件收窄成允许传给前端的 SSE 载荷。
backend/app/types/stream.py:86
↓ 8 callersFunctionrate
用于处理rate。
eval/measure_interview_pipeline.py:565
↓ 8 callersFunctionregister
(email: string, password: string)
frontend/src/lib/auth.tsx:183
↓ 8 callersFunctionrequestJson
( baseUrl, path, { method = 'GET', token = '', body, headers = {}, timeoutMs = DEFAU
frontend/scripts/measure-production.mjs:218
↓ 8 callersMethodresolve_user
用于解析用户。
backend/app/services/auth/google_identity_link_service.py:27
↓ 8 callersFunctionselectResumePreviewText
(page: Page, text: string)
frontend/e2e/editor-workflows.spec.ts:420
↓ 8 callersMethodsend
()
frontend/e2e/interview-session.spec.ts:402
↓ 8 callersFunctionsummarize_dict
用于优先提取字典中的关键字段生成摘要。
backend/app/tools/resume/shared.py:94
↓ 8 callersFunctionupdateWork
(id: string, field: keyof WorkExperience, value: unknown)
frontend/src/components/editor/WorkExperienceEditor.tsx:85
↓ 7 callersMethod_clean_json_string
清理和修复JSON字符串
backend/app/services/processing/resume_parser.py:351
↓ 7 callersFunction_compact_string
用于输出短字符串并保留空格文本的引号。
backend/app/infra/logging_setup.py:591
↓ 7 callersMethod_create_waiting_session
用于创建waiting会话。
backend/tests/test_resume_agent_session_service.py:60
↓ 7 callersFunction_credentials_exception
用于统一构造认证失败时的异常响应。
backend/app/entrypoints/http/deps.py:31
↓ 7 callersFunction_full_resume
用于构造一份字段齐全、含量化结果的简历。
backend/tests/test_resume_score.py:8
↓ 7 callersFunction_google_identity
用于处理Googleidentity。
backend/tests/test_google_identity_link_service.py:38
↓ 7 callersFunction_make_args
构造调用 _pump_with_retry 所需的最简 mock 参数。
backend/tests/test_openrouter_retry.py:83
↓ 7 callersFunction_make_server_frame
用于处理makeserverframe。
backend/tests/test_greeting_prologue.py:179
↓ 7 callersFunction_oauth_error_redirect
用于把 OAuth 失败统一带回前端登录页。
backend/app/entrypoints/http/auth.py:167
↓ 7 callersFunction_raise_service_http_error
用于抛出服务HTTP错误。
backend/app/entrypoints/http/interviews.py:70
↓ 7 callersFunction_tool_msg
构造包含单个 tool_call 的 assistant message。
backend/tests/test_agent_trajectory.py:131
↓ 7 callersMethodappend_stream_event
用于记录一条可被 SSE cursor 回放的公开流事件。
backend/app/state/store.py:194
↓ 7 callersFunctiondump_resume_content_for_frontend
输出和前端编辑器/预览一致的简历结构,作为统一标准。
backend/app/schemas/resume.py:507
↓ 7 callersFunctionevents_iter
用于按顺序输出适配后的流式事件。
backend/app/runtime/pi_agent_openrouter.py:51
↓ 7 callersMethodflush
用于处理flush。
backend/tests/test_billing_webhook_idempotency.py:32
↓ 7 callersFunctiongetSmartFitPageBottom
(fullBleed = false)
frontend/src/components/preview/hooks/smartFitCore.ts:35
↓ 7 callersMethodget_by_id
用于按主键查询单个用户。
backend/app/services/domain/user_service.py:24
↓ 7 callersMethodget_by_id
用于按主键查询单个简历。
backend/app/services/domain/resume_service.py:36
↓ 7 callersFunctionjudge_agent_output
对一次 Agent 交互进行综合质量评判。
backend/app/services/agent/quality_judge.py:185
↓ 7 callersFunctionjudge_bullet_quality
评判优化后的 bullet 文本质量。
backend/app/services/agent/quality_judge.py:138
↓ 7 callersFunctionpushEvent
(payload: Record<string, unknown>)
frontend/e2e/editor-workflows.spec.ts:299
↓ 7 callersFunctionregisterUser
(page: Page, email: string, password = DEFAULT_PASSWORD)
frontend/e2e/helpers.ts:22
↓ 7 callersMethodremove
用于在会话结束后清理确认队列。
backend/app/runtime/permissions.py:32
↓ 7 callersFunctionrenderSection
(sectionId: string, children: ReactNode)
frontend/src/components/preview/PaginatedResumePreview.tsx:196
↓ 7 callersMethodrollback
用于处理rollback。
backend/tests/test_billing_webhook_idempotency.py:36
↓ 7 callersFunctionserialize_session
用于把完整面试 session 转成前端可消费结构。
backend/app/services/interview/serializer.py:63
↓ 7 callersFunctionsnapshot
用于在修改前保留一份可对比的深拷贝快照。
backend/app/tools/resume/shared.py:147
↓ 7 callersFunctionsummarizeToolEvents
(events: StreamEvent[])
frontend/src/hooks/streamingEventProtocol.ts:156
↓ 7 callersMethodtrace
用于写入 Agent loop trace 日志。
backend/app/agents/resume/agent_loop.py:808
↓ 7 callersFunctiontranslateResumeCenter
( t: ReturnType<typeof useTranslations>, key: string, fallback: string, values?: Record<string, number
frontend/src/app/[locale]/resumes/page.tsx:67
↓ 6 callersMethod_coerce_content_text
用于转换content文本。
backend/app/services/llm/chat_service.py:280
↓ 6 callersMethod_create_interview_session
用于创建面试会话。
backend/tests/test_api_e2e.py:3753
↓ 6 callersFunction_issue_google_state
用于处理issueGooglestate。
backend/tests/test_api_e2e.py:193
↓ 6 callersFunction_list_of_strings
用于把任意列表值规范化成字符串列表。
eval/openai_agents_standard.py:264
↓ 6 callersFunction_parse_json_if_needed
用于解析JSONifneeded。
backend/app/schemas/resume.py:26
↓ 6 callersFunction_resume_quality_applicable
用于判断当前 case 是否应评估最终简历质量。
backend/evals/run_braintrust.py:337
↓ 6 callersFunction_short_identifier
用于处理short标识。
backend/app/infra/logging_setup.py:198
↓ 6 callersFunctionbuildModuleConfig
( moduleOrder: ResumeModule[], visibleModules: Set<ResumeModule>, )
frontend/src/lib/resumeLayoutConfig.ts:110
↓ 6 callersFunctioncloneLayoutConfig
(config: ResumeLayoutConfig)
frontend/src/lib/resumeLayoutConfig.ts:175
↓ 6 callersFunctioncommit
(next: SkillGroup[])
frontend/src/components/editor/SkillsEditor.tsx:54
↓ 6 callersMethodconnect
()
frontend/e2e/interview-session.spec.ts:365
↓ 6 callersMethodconsume_state
校验 state 存在、未过期且未被消费,然后标记为已消费。
backend/app/services/auth/oauth_state_service.py:60
↓ 6 callersFunctioncreateResumeFromDashboard
(page: Page, email: string)
frontend/e2e/editor-workflows.spec.ts:25
↓ 6 callersFunctiondebugStreamLog
(message: string, payload?: Record<string, unknown>)
frontend/src/hooks/useStreamingChat.ts:70
↓ 6 callersMethodexport_to_pdf
使用前端打印页导出与预览一致的简历 PDF。
backend/app/services/processing/export_service.py:93
↓ 6 callersFunctionfinalize_scenario
用于根据阶段执行结果计算单场链路是否闭环。
eval/measure_interview_pipeline.py:291
↓ 6 callersFunctionfind_item
用于在指定板块里定位目标条目及其索引。
backend/app/tools/resume/shared.py:129
↓ 6 callersFunctionformat_percent
用于格式化percent。
eval/compare_trends.py:237
↓ 6 callersFunctionhash_session_token
用于把原始会话令牌转成可持久化存储的固定摘要。
backend/app/infra/security.py:70
↓ 6 callersFunctioninputValue
(value: string | undefined)
frontend/src/components/editor/EducationEditor.tsx:27
↓ 6 callersFunctionjudge_tool_call_relevance
评判工具调用是否与用户意图匹配。
backend/app/services/agent/quality_judge.py:38
↓ 6 callersFunctionload_prompt
按 agent 名称加载 Prompt 规格。 目录结构: prompts/<agent_name>/agent.yaml # 结构配置 prompts/<agent_name>/system.md # Prompt 正文
backend/app/prompts/loader.py:52
↓ 6 callersMethodnew_stream_state
用于创建单次运行的流式状态容器。
backend/app/agents/resume/run_lifecycle.py:32
↓ 6 callersFunctionnormalizeToolName
(name: string)
frontend/src/hooks/streamingEventProtocol.ts:113
↓ 6 callersFunctionnow
生成带时区的当前时间。
backend/app/services/interview/session_service.py:17
↓ 6 callersMethodpublish_event
用于发布 runtime 事件。
backend/app/agents/resume/agent_loop.py:781
↓ 6 callersMethodpublish_event
用于发布 runtime 事件。
backend/app/agents/resume/tool_execution.py:985
↓ 6 callersMethodpublish_visible_tool_call_once
用于确保同一个工具调用最多发布一次开始事件。
backend/app/agents/resume/tool_execution.py:660
↓ 6 callersMethodrender
渲染 Prompt,kwargs 中的值覆盖 system_prompt_args 里的默认值
backend/app/prompts/loader.py:33
↓ 6 callersFunctionresolveToolId
(data: Record<string, unknown>)
frontend/src/hooks/streamingEventProtocol.ts:118
↓ 6 callersMethodrun
用于执行一次同步 Resume Agent run 并返回最终内容。
backend/app/agents/resume/runner.py:40
↓ 6 callersFunctionsaveLayoutConfig
( resumeId: number, config: ResumeLayoutConfig, options: { dirty?: boolean } = {}, )
frontend/src/lib/resumeLayoutConfig.ts:305
↓ 6 callersFunctionsleep
(ms: number)
frontend/e2e/editor-workflows.spec.ts:303
↓ 6 callersFunctionsweep_timed_out_sessions
扫描并将超时 paused session 标记为 failed,返回处理数量。
backend/app/runtime/session_sweeper.py:13
↓ 6 callersMethodtrace
用于写入 Agent trace 日志。
backend/app/agents/resume/tool_execution.py:1141
↓ 6 callersFunctionwrite_fixture
用于写入测试夹具。
backend/tests/test_eval_case_validation.py:12
↓ 6 callersFunctionwrite_summary
用于写入summary。
backend/tests/test_eval_trend_comparison.py:32
↓ 5 callersFunction_as_text
把 Braintrust 传入的任意值转换成可评分文本。
backend/braintrust_resume_scorers.py:104
↓ 5 callersFunction_build_volcengine_system_role
用于构建火山引擎 O 版本的 system_role。
backend/app/entrypoints/http/digital_human.py:235
↓ 5 callersFunction_clamp_score
把浮点数约束在 Braintrust score 的 0 到 1 范围内。
backend/braintrust_resume_scorers.py:156
↓ 5 callersMethod_create_paused_session
用于创建一个已 paused 且 updated_at 指定时间的 session。
backend/tests/test_session_sweeper.py:49
↓ 5 callersFunction_dict_or_none
用于处理字典ornone。
backend/app/agents/resume/stream_events.py:110
↓ 5 callersFunction_dict_value
用于把可选 dict 字段规范化为空字典或原字典。
backend/evals/braintrust_real_dataset.py:140
↓ 5 callersFunction_extract_jd_keywords
用于从 JD 中提取带权重的关键词,最多 20 个。
backend/app/services/agent/resume_rule_score.py:416
↓ 5 callersMethod_fetch_access_token
用于获取accesstoken。
backend/app/services/paypal_billing_service.py:217
↓ 5 callersMethod_join_parts
拼接非空文本。
backend/app/services/processing/export_service.py:641
← previousnext →101–200 of 2,975, ranked by callers