MCPcopy Create free account

hub / github.com/THU-MAIC/OpenMAIC / functions

Functions4,064 in github.com/THU-MAIC/OpenMAIC

↓ 1 callersFunctionmakeStage
()
tests/store/stage-insert-scene-after.test.ts:17
↓ 1 callersFunctionmakeXmlCharts
(rel: ISlideRelChart)
packages/pptxgenjs/src/gen-charts.ts:547
↓ 1 callersFunctionmapToChartType
(ooxmlName: string)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:45
↓ 1 callersFunctionmapWithConcurrency
( items: T[], concurrency: number, mapper: (item: T) => Promise<void>, )
packages/@openmaic/importer/src/parser/ZipParser.ts:53
↓ 1 callersFunctionmapWithConcurrency
Run `fn` over `items` with at most `limit` concurrent calls.
lib/export/inline-assets.ts:103
↓ 1 callersFunctionmarkActive
(state: EditorState, type: MarkType)
lib/prosemirror/utils.ts:159
↓ 1 callersFunctionmarkClassroomGenerationJobFailed
( jobId: string, error: string, )
lib/server/classroom-job-store.ts:213
↓ 1 callersFunctionmarkClassroomGenerationJobRunning
( jobId: string, )
lib/server/classroom-job-store.ts:158
↓ 1 callersFunctionmarkClassroomGenerationJobSucceeded
( jobId: string, result: GenerateClassroomResult, )
lib/server/classroom-job-store.ts:194
↓ 1 callersFunctionmarkStaleIfNeeded
(job: ClassroomGenerationJob)
lib/server/classroom-job-store.ts:79
↓ 1 callersFunctionmatchPolygon
(vertices, width, height)
packages/@openmaic/importer/src1/shape.js:408
↓ 1 callersFunctionmatchPolygonByLineCount
(lineCount)
packages/@openmaic/importer/src1/shape.js:526
↓ 1 callersFunctionmatchQuadrilateral
(vertices)
packages/@openmaic/importer/src1/shape.js:447
↓ 1 callersFunctionmatchShape
(analysis)
packages/@openmaic/importer/src1/shape.js:381
↓ 1 callersFunctionmatchesNoProxyEntry
(hostname: string, port: string, entry: string)
lib/server/proxy-fetch.ts:57
↓ 1 callersFunctionmathToElement
( node: MathNodeData, ctx: RenderContext, _order: number, )
packages/@openmaic/importer/src/serializer/mathSerializer.ts:417
↓ 1 callersFunctionmemoKeyFor
(voiceId: string, request: VoiceRegistrationRequestConfig)
lib/audio/voice-registration-client.ts:50
↓ 1 callersFunctionmergeSceneContentForUpdate
( current: SceneContent, incoming: SceneContent | undefined, )
lib/store/stage.ts:41
↓ 1 callersFunctionmessageForStatus
(status: number)
lib/server/llm-error-response.ts:49
↓ 1 callersFunctionmessageText
Plain text of a thread message's content (tool-call parts have no text).
lib/agent/client/use-agent-runtime.ts:59
↓ 1 callersFunctionmicrotask
(status: PBLMilestone['microtasks'][number]['status'])
tests/pbl/v2/scenario-briefing-gate.test.ts:15
↓ 1 callersFunctionmigrateFromOldStorage
()
lib/store/settings.ts:745
↓ 1 callersFunctionmigrateSceneContent
(content: SceneContent)
lib/edit/slide-schema.ts:87
↓ 1 callersFunctionmilestoneDividerLabel
(language: string | undefined, handover: PBLHandover)
lib/pbl/v2/operations/progress.ts:694
↓ 1 callersFunctionmilestoneProgressFraction
Horizontal position (0..1) of the progress dot WITHIN the active * milestone's bar segment, derived from how far the learner is through * that mil
components/scene-renderers/pbl/v2/workspace.tsx:540
↓ 1 callersFunctionmirrorAbsolutePathHorizontally
* Mirror an absolute SVG path horizontally across the given width. * Supports the command subset used by preset arrow shapes: M, L, A, Z.
packages/@openmaic/importer/src/shapes/presets.ts:80
↓ 1 callersFunctionmirrorAbsolutePathVertically
(path: string, height: number)
packages/@openmaic/importer/src/shapes/presets.ts:114
↓ 1 callersFunctionmkScenarioProject
()
tests/pbl/v2/eval-prompts.test.ts:483
↓ 1 callersFunctionmml2omml
(mmlString, options)
packages/mathml2omml/src/index.js:24
↓ 1 callersMethodmockSceneActions
Mock the scene actions generation endpoint. * When no stageId is provided, it is extracted from the request body * so the mock response matche
e2e/fixtures/mock-api.ts:50
↓ 1 callersMethodmockSceneContent
Mock the scene content generation endpoint
e2e/fixtures/mock-api.ts:37
↓ 1 callersMethodmockSceneOutlinesStream
Mock the SSE outline streaming endpoint
e2e/fixtures/mock-api.ts:14
↓ 1 callersMethodmockServerProviders
Mock the server providers endpoint (returns empty — client-side config only)
e2e/fixtures/mock-api.ts:70
↓ 1 callersFunctionmoveBottomElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:162
↓ 1 callersFunctionmoveDownElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:80
↓ 1 callersFunctionmoveTopElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:122
↓ 1 callersFunctionmoveUpElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:26
↓ 1 callersFunctionnameOf
(characterId?: string)
lib/pbl/v2/operations/eval-prompts.ts:420
↓ 1 callersFunctionnewClientMessageId
()
components/scene-renderers/pbl/v2/chat.tsx:73
↓ 1 callersFunctionnewClientMessageId
()
components/scene-renderers/pbl/v2/submission.tsx:164
↓ 1 callersFunctionnewId
(prefix: string)
lib/pbl/v2/operations/submission.ts:16
↓ 1 callersFunctionnewId
(prefix: string)
lib/pbl/v2/operations/evaluation.ts:13
↓ 1 callersFunctionnewId
(prefix: string)
lib/pbl/v2/operations/engagement.ts:30
↓ 1 callersFunctionnextInstructionTarget
( project: PBLProjectV2, milestone: PBLMilestone, microtask: PBLMicrotask, )
lib/pbl/v2/agents/instructor.ts:336
↓ 1 callersFunctionnormalizeBaseUrl
(value: string)
lib/server/web-search-config.ts:37
↓ 1 callersFunctionnormalizeGeneratedVideoRefs
( elements: GeneratedSlideData['elements'], generatedVideoEntries: SceneOutline['mediaGenerations'] = [],
lib/generation/scene-generator.ts:477
↓ 1 callersFunctionnormalizeMiniMaxAnthropicBaseUrl
( providerId: ProviderId, baseUrl?: string, )
lib/ai/providers.ts:1373
↓ 1 callersFunctionnormalizeOmmlXml
* Pre-process OMML XML: normalize Unicode Mathematical Alphanumeric chars * to BMP equivalents BEFORE passing to omml2mathml. * This avoids surrogat
packages/@openmaic/importer/src/serializer/mathSerializer.ts:165
↓ 1 callersFunctionnormalizePdfExcerpt
(pdfText?: string)
lib/server/search-query-builder.ts:26
↓ 1 callersFunctionnormalizeQuizAnswer
* Normalize quiz answer from AI response. * AI may generate correctAnswer as string or string[], under various field names. * This normalizes to str
lib/generation/scene-generator.ts:998
↓ 1 callersFunctionnormalizeQuizOptions
* Normalize quiz options from AI response. * AI may generate plain strings ["OptionA", "OptionB"] or QuizOption objects. * This normalizes to QuizOp
lib/generation/scene-generator.ts:969
↓ 1 callersFunctionnormalizeSentenceForDedupe
(sentence: string)
lib/pbl/v2/agents/instructor.ts:948
↓ 1 callersFunctionnormalizeSubSources
(subSources?: Partial<BaiduSubSources>)
lib/web-search/baidu.ts:50
↓ 1 callersFunctionnormalizeTaskEngineOutline
(outline: SceneOutline, requirement: string)
app/api/generate/scene-outlines-stream/route.ts:224
↓ 1 callersFunctionnormalizeTaskEngineProceduralOutline
( outline: SceneOutline, requirement: string, )
app/api/generate/scene-outlines-stream/route.ts:177
↓ 1 callersFunctionommlToLatexJs
(ommlXml: string)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:360
↓ 1 callersFunctiononKeyDown
(event: KeyboardEvent)
components/edit/PlaybackChromeRoot.tsx:881
↓ 1 callersFunctionopenArrowPath
* Build an open-arrow (two lines, no fill) path at `tip`.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:166
↓ 1 callersFunctionoramaConfig
(tokenizer: OramaTokenizer)
packages/docs/app/static.json/route.ts:18
↓ 1 callersFunctionorderedListRule
(nodeType: NodeType)
lib/prosemirror/plugins/inputrules.ts:13
↓ 1 callersFunctionorderedMicrotasks
(milestone: PBLMilestone)
lib/pbl/v2/operations/task-completion.ts:22
↓ 1 callersFunctionordinaryPBLTextOnlyGaps
(project: PBLProjectV2)
lib/pbl/v2/agents/planner.ts:403
↓ 1 callersFunctionoutlinePromptText
()
tests/prompts/requirements-to-outlines-pbl.test.ts:4
↓ 1 callersFunctionovalArrowPath
* Build an oval arrowhead at `tip`.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:203
↓ 1 callersFunctionpacedDelay
(remaining: number)
components/scene-renderers/pbl/v2/chat.tsx:1278
↓ 1 callersFunctionpacedStep
(upcoming: string, remaining: number)
components/scene-renderers/pbl/v2/chat.tsx:1265
↓ 1 callersFunctionpageHtml
()
eval/pbl-v2-planner/serve.ts:67
↓ 1 callersFunctionparaStyle
(p: HTMLElement)
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:1069
↓ 1 callersFunctionparse
(html, options = {})
packages/mathml2omml/src/parse-stringify/parse.js:13
↓ 1 callersFunctionparse
(file, options)
packages/@openmaic/importer/src1/pptxtojson.js:33
↓ 1 callersFunctionparse
(obj: AST[], baseStyleObj: Record<string, string> = {})
lib/export/use-export-pptx.ts:53
↓ 1 callersFunctionparse
(state: State)
lib/export/html-parser/parser.ts:48
↓ 1 callersFunctionparseAccent
(accent)
packages/@openmaic/importer/src1/math.js:88
↓ 1 callersFunctionparseAdjustments
* Parse adjustment values from `a:avLst > a:gd` elements. * Each guide has a `name` attribute and a `fmla` attribute like "val 50000".
packages/@openmaic/importer/src/model/nodes/ShapeNode.ts:222
↓ 1 callersFunctionparseAllAttributes
* Parse all attributes of a node into a Map<string, string>.
packages/@openmaic/importer/src/model/Layout.ts:168
↓ 1 callersFunctionparseAllAttributes
* Parse all attributes of a node into a Map<string, string>. * Used for clrMap where every attribute is a color mapping entry.
packages/@openmaic/importer/src/model/Master.ts:60
↓ 1 callersFunctionparseArray
\a\vs N\al\co M(items) → \begin{array}{c} items \end{array}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:182
↓ 1 callersFunctionparseBar
(bar)
packages/@openmaic/importer/src1/math.js:83
↓ 1 callersFunctionparseBooleanEnv
Parse a boolean-ish env value. Falsey words ⇒ false; anything else ⇒ true.
lib/server/provider-config.ts:230
↓ 1 callersFunctionparseBox
(box)
packages/@openmaic/importer/src1/math.js:120
↓ 1 callersFunctionparseBracket
* \b\lc X\rc Y(content) → \left X content \right Y * \b may also appear without \lc/\rc for simple brackets.
packages/@openmaic/importer/src/utils/eqFieldParser.ts:128
↓ 1 callersFunctionparseBracketModifier
( code: string, pos: number, )
packages/@openmaic/importer/src/utils/eqFieldParser.ts:155
↓ 1 callersFunctionparseCell
* Parse a single table cell (`a:tc`).
packages/@openmaic/importer/src/model/nodes/TableNode.ts:37
↓ 1 callersFunctionparseChartNode
( graphicFrame: SafeXmlNode, slideRels: Map<string, RelEntry>, slidePath: string, )
packages/@openmaic/importer/src/model/nodes/ChartNode.ts:21
↓ 1 callersFunctionparseCommand
(code: string, pos: number)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:63
↓ 1 callersFunctionparseCssColorToRgba
( color: string, )
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:427
↓ 1 callersFunctionparseCubicFromPath
( path: string, w: number, h: number, flipH: boolean, flipV: boolean, ratio: number, )
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:126
↓ 1 callersFunctionparseDelimiter
(delimiter)
packages/@openmaic/importer/src1/math.js:55
↓ 1 callersFunctionparseDiagramFrame
* Parse a SmartArt diagram graphicFrame by resolving the diagram drawing fallback XML. * The drawing XML contains pre-rendered shapes in a spTree tha
packages/@openmaic/importer/src/model/Slide.ts:147
↓ 1 callersFunctionparseDocxMathContent
(xmlString: string)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:355
↓ 1 callersFunctionparseEmfContent
(data: Uint8Array)
packages/@openmaic/importer/src/utils/emfParser.ts:51
↓ 1 callersFunctionparseEqArr
(eqArr)
packages/@openmaic/importer/src1/math.js:79
↓ 1 callersFunctionparseFraction
\f(numerator,denominator) → \frac{num}{den}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:97
↓ 1 callersFunctionparseFraction
(fraction)
packages/@openmaic/importer/src1/math.js:16
↓ 1 callersFunctionparseFunction
(func)
packages/@openmaic/importer/src1/math.js:69
↓ 1 callersFunctionparseGdiComment
* Parse a GDI Comment record looking for embedded PDF data.
packages/@openmaic/importer/src/utils/emfParser.ts:101
↓ 1 callersFunctionparseGroupChild
* Parse a raw XML child node from a group into a typed node.
packages/@openmaic/importer/src/export/serializePresentation.ts:108
↓ 1 callersFunctionparseGroupChr
(groupChr)
packages/@openmaic/importer/src1/math.js:74
↓ 1 callersFunctionparseIntegral
\i(type,sub,sup,integrand) → \int_{sub}^{sup} integrand
packages/@openmaic/importer/src/utils/eqFieldParser.ts:262
↓ 1 callersFunctionparseLastObjectCandidate
(candidates: string[])
lib/pbl/v2/operations/eval-tail-parser.ts:71
← previousnext →2,301–2,400 of 4,064, ranked by callers