Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/THU-MAIC/OpenMAIC
/ functions
Functions
4,064 in github.com/THU-MAIC/OpenMAIC
⨍
Functions
4,064
◇
Types & classes
1,101
↓ 1 callers
Function
makeStage
()
tests/store/stage-insert-scene-after.test.ts:17
↓ 1 callers
Function
makeXmlCharts
(rel: ISlideRelChart)
packages/pptxgenjs/src/gen-charts.ts:547
↓ 1 callers
Function
mapToChartType
(ooxmlName: string)
packages/@openmaic/importer/src/serializer/chartSerializer.ts:45
↓ 1 callers
Function
mapWithConcurrency
( items: T[], concurrency: number, mapper: (item: T) => Promise<void>, )
packages/@openmaic/importer/src/parser/ZipParser.ts:53
↓ 1 callers
Function
mapWithConcurrency
Run `fn` over `items` with at most `limit` concurrent calls.
lib/export/inline-assets.ts:103
↓ 1 callers
Function
markActive
(state: EditorState, type: MarkType)
lib/prosemirror/utils.ts:159
↓ 1 callers
Function
markClassroomGenerationJobFailed
( jobId: string, error: string, )
lib/server/classroom-job-store.ts:213
↓ 1 callers
Function
markClassroomGenerationJobRunning
( jobId: string, )
lib/server/classroom-job-store.ts:158
↓ 1 callers
Function
markClassroomGenerationJobSucceeded
( jobId: string, result: GenerateClassroomResult, )
lib/server/classroom-job-store.ts:194
↓ 1 callers
Function
markStaleIfNeeded
(job: ClassroomGenerationJob)
lib/server/classroom-job-store.ts:79
↓ 1 callers
Function
matchPolygon
(vertices, width, height)
packages/@openmaic/importer/src1/shape.js:408
↓ 1 callers
Function
matchPolygonByLineCount
(lineCount)
packages/@openmaic/importer/src1/shape.js:526
↓ 1 callers
Function
matchQuadrilateral
(vertices)
packages/@openmaic/importer/src1/shape.js:447
↓ 1 callers
Function
matchShape
(analysis)
packages/@openmaic/importer/src1/shape.js:381
↓ 1 callers
Function
matchesNoProxyEntry
(hostname: string, port: string, entry: string)
lib/server/proxy-fetch.ts:57
↓ 1 callers
Function
mathToElement
( node: MathNodeData, ctx: RenderContext, _order: number, )
packages/@openmaic/importer/src/serializer/mathSerializer.ts:417
↓ 1 callers
Function
memoKeyFor
(voiceId: string, request: VoiceRegistrationRequestConfig)
lib/audio/voice-registration-client.ts:50
↓ 1 callers
Function
mergeSceneContentForUpdate
( current: SceneContent, incoming: SceneContent | undefined, )
lib/store/stage.ts:41
↓ 1 callers
Function
messageForStatus
(status: number)
lib/server/llm-error-response.ts:49
↓ 1 callers
Function
messageText
Plain text of a thread message's content (tool-call parts have no text).
lib/agent/client/use-agent-runtime.ts:59
↓ 1 callers
Function
microtask
(status: PBLMilestone['microtasks'][number]['status'])
tests/pbl/v2/scenario-briefing-gate.test.ts:15
↓ 1 callers
Function
migrateFromOldStorage
()
lib/store/settings.ts:745
↓ 1 callers
Function
migrateSceneContent
(content: SceneContent)
lib/edit/slide-schema.ts:87
↓ 1 callers
Function
milestoneDividerLabel
(language: string | undefined, handover: PBLHandover)
lib/pbl/v2/operations/progress.ts:694
↓ 1 callers
Function
milestoneProgressFraction
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 callers
Function
mirrorAbsolutePathHorizontally
* 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 callers
Function
mirrorAbsolutePathVertically
(path: string, height: number)
packages/@openmaic/importer/src/shapes/presets.ts:114
↓ 1 callers
Function
mkScenarioProject
()
tests/pbl/v2/eval-prompts.test.ts:483
↓ 1 callers
Function
mml2omml
(mmlString, options)
packages/mathml2omml/src/index.js:24
↓ 1 callers
Method
mockSceneActions
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 callers
Method
mockSceneContent
Mock the scene content generation endpoint
e2e/fixtures/mock-api.ts:37
↓ 1 callers
Method
mockSceneOutlinesStream
Mock the SSE outline streaming endpoint
e2e/fixtures/mock-api.ts:14
↓ 1 callers
Method
mockServerProviders
Mock the server providers endpoint (returns empty — client-side config only)
e2e/fixtures/mock-api.ts:70
↓ 1 callers
Function
moveBottomElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:162
↓ 1 callers
Function
moveDownElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:80
↓ 1 callers
Function
moveTopElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:122
↓ 1 callers
Function
moveUpElement
(elementList: PPTElement[], element: PPTElement)
lib/hooks/use-order-element.ts:26
↓ 1 callers
Function
nameOf
(characterId?: string)
lib/pbl/v2/operations/eval-prompts.ts:420
↓ 1 callers
Function
newClientMessageId
()
components/scene-renderers/pbl/v2/chat.tsx:73
↓ 1 callers
Function
newClientMessageId
()
components/scene-renderers/pbl/v2/submission.tsx:164
↓ 1 callers
Function
newId
(prefix: string)
lib/pbl/v2/operations/submission.ts:16
↓ 1 callers
Function
newId
(prefix: string)
lib/pbl/v2/operations/evaluation.ts:13
↓ 1 callers
Function
newId
(prefix: string)
lib/pbl/v2/operations/engagement.ts:30
↓ 1 callers
Function
nextInstructionTarget
( project: PBLProjectV2, milestone: PBLMilestone, microtask: PBLMicrotask, )
lib/pbl/v2/agents/instructor.ts:336
↓ 1 callers
Function
normalizeBaseUrl
(value: string)
lib/server/web-search-config.ts:37
↓ 1 callers
Function
normalizeGeneratedVideoRefs
( elements: GeneratedSlideData['elements'], generatedVideoEntries: SceneOutline['mediaGenerations'] = [],
lib/generation/scene-generator.ts:477
↓ 1 callers
Function
normalizeMiniMaxAnthropicBaseUrl
( providerId: ProviderId, baseUrl?: string, )
lib/ai/providers.ts:1373
↓ 1 callers
Function
normalizeOmmlXml
* 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 callers
Function
normalizePdfExcerpt
(pdfText?: string)
lib/server/search-query-builder.ts:26
↓ 1 callers
Function
normalizeQuizAnswer
* 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 callers
Function
normalizeQuizOptions
* 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 callers
Function
normalizeSentenceForDedupe
(sentence: string)
lib/pbl/v2/agents/instructor.ts:948
↓ 1 callers
Function
normalizeSubSources
(subSources?: Partial<BaiduSubSources>)
lib/web-search/baidu.ts:50
↓ 1 callers
Function
normalizeTaskEngineOutline
(outline: SceneOutline, requirement: string)
app/api/generate/scene-outlines-stream/route.ts:224
↓ 1 callers
Function
normalizeTaskEngineProceduralOutline
( outline: SceneOutline, requirement: string, )
app/api/generate/scene-outlines-stream/route.ts:177
↓ 1 callers
Function
ommlToLatexJs
(ommlXml: string)
packages/@openmaic/importer/src/serializer/mathSerializer.ts:360
↓ 1 callers
Function
onKeyDown
(event: KeyboardEvent)
components/edit/PlaybackChromeRoot.tsx:881
↓ 1 callers
Function
openArrowPath
* Build an open-arrow (two lines, no fill) path at `tip`.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:166
↓ 1 callers
Function
oramaConfig
(tokenizer: OramaTokenizer)
packages/docs/app/static.json/route.ts:18
↓ 1 callers
Function
orderedListRule
(nodeType: NodeType)
lib/prosemirror/plugins/inputrules.ts:13
↓ 1 callers
Function
orderedMicrotasks
(milestone: PBLMilestone)
lib/pbl/v2/operations/task-completion.ts:22
↓ 1 callers
Function
ordinaryPBLTextOnlyGaps
(project: PBLProjectV2)
lib/pbl/v2/agents/planner.ts:403
↓ 1 callers
Function
outlinePromptText
()
tests/prompts/requirements-to-outlines-pbl.test.ts:4
↓ 1 callers
Function
ovalArrowPath
* Build an oval arrowhead at `tip`.
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:203
↓ 1 callers
Function
pacedDelay
(remaining: number)
components/scene-renderers/pbl/v2/chat.tsx:1278
↓ 1 callers
Function
pacedStep
(upcoming: string, remaining: number)
components/scene-renderers/pbl/v2/chat.tsx:1265
↓ 1 callers
Function
pageHtml
()
eval/pbl-v2-planner/serve.ts:67
↓ 1 callers
Function
paraStyle
(p: HTMLElement)
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:1069
↓ 1 callers
Function
parse
(html, options = {})
packages/mathml2omml/src/parse-stringify/parse.js:13
↓ 1 callers
Function
parse
(file, options)
packages/@openmaic/importer/src1/pptxtojson.js:33
↓ 1 callers
Function
parse
(obj: AST[], baseStyleObj: Record<string, string> = {})
lib/export/use-export-pptx.ts:53
↓ 1 callers
Function
parse
(state: State)
lib/export/html-parser/parser.ts:48
↓ 1 callers
Function
parseAccent
(accent)
packages/@openmaic/importer/src1/math.js:88
↓ 1 callers
Function
parseAdjustments
* 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 callers
Function
parseAllAttributes
* Parse all attributes of a node into a Map<string, string>.
packages/@openmaic/importer/src/model/Layout.ts:168
↓ 1 callers
Function
parseAllAttributes
* 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 callers
Function
parseArray
\a\vs N\al\co M(items) → \begin{array}{c} items \end{array}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:182
↓ 1 callers
Function
parseBar
(bar)
packages/@openmaic/importer/src1/math.js:83
↓ 1 callers
Function
parseBooleanEnv
Parse a boolean-ish env value. Falsey words ⇒ false; anything else ⇒ true.
lib/server/provider-config.ts:230
↓ 1 callers
Function
parseBox
(box)
packages/@openmaic/importer/src1/math.js:120
↓ 1 callers
Function
parseBracket
* \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 callers
Function
parseBracketModifier
( code: string, pos: number, )
packages/@openmaic/importer/src/utils/eqFieldParser.ts:155
↓ 1 callers
Function
parseCell
* Parse a single table cell (`a:tc`).
packages/@openmaic/importer/src/model/nodes/TableNode.ts:37
↓ 1 callers
Function
parseChartNode
( graphicFrame: SafeXmlNode, slideRels: Map<string, RelEntry>, slidePath: string, )
packages/@openmaic/importer/src/model/nodes/ChartNode.ts:21
↓ 1 callers
Function
parseCommand
(code: string, pos: number)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:63
↓ 1 callers
Function
parseCssColorToRgba
( color: string, )
packages/@openmaic/importer/src/serializer/shapeSerializer.ts:427
↓ 1 callers
Function
parseCubicFromPath
( path: string, w: number, h: number, flipH: boolean, flipV: boolean, ratio: number, )
packages/@openmaic/importer/src/import-pipeline/transformParsedToSlides.ts:126
↓ 1 callers
Function
parseDelimiter
(delimiter)
packages/@openmaic/importer/src1/math.js:55
↓ 1 callers
Function
parseDiagramFrame
* 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 callers
Function
parseDocxMathContent
(xmlString: string)
packages/@openmaic/importer/src/utils/eqFieldParser.ts:355
↓ 1 callers
Function
parseEmfContent
(data: Uint8Array)
packages/@openmaic/importer/src/utils/emfParser.ts:51
↓ 1 callers
Function
parseEqArr
(eqArr)
packages/@openmaic/importer/src1/math.js:79
↓ 1 callers
Function
parseFraction
\f(numerator,denominator) → \frac{num}{den}
packages/@openmaic/importer/src/utils/eqFieldParser.ts:97
↓ 1 callers
Function
parseFraction
(fraction)
packages/@openmaic/importer/src1/math.js:16
↓ 1 callers
Function
parseFunction
(func)
packages/@openmaic/importer/src1/math.js:69
↓ 1 callers
Function
parseGdiComment
* Parse a GDI Comment record looking for embedded PDF data.
packages/@openmaic/importer/src/utils/emfParser.ts:101
↓ 1 callers
Function
parseGroupChild
* Parse a raw XML child node from a group into a typed node.
packages/@openmaic/importer/src/export/serializePresentation.ts:108
↓ 1 callers
Function
parseGroupChr
(groupChr)
packages/@openmaic/importer/src1/math.js:74
↓ 1 callers
Function
parseIntegral
\i(type,sub,sup,integrand) → \int_{sub}^{sup} integrand
packages/@openmaic/importer/src/utils/eqFieldParser.ts:262
↓ 1 callers
Function
parseLastObjectCandidate
(candidates: string[])
lib/pbl/v2/operations/eval-tail-parser.ts:71
← previous
next →
2,301–2,400 of 4,064, ranked by callers