Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/BUPT-GAMMA/MASFactory
/ functions
Functions
3,241 in github.com/BUPT-GAMMA/MASFactory
⨍
Functions
3,241
◇
Types & classes
339
↳
Endpoints
12
↓ 2 callers
Function
inferContainerKind
( rawTypeText: string, templates: { [name: string]: ParsedNodeTemplate } )
masfactory-visualizer/src/parser/componentParser.ts:115
↓ 2 callers
Method
inference
Call local model for inference. Args: model_id: Model ID. data: Input data. task: Task type.
applications/hugggpt2/adapters/local_adapter.py:29
↓ 2 callers
Function
init_dify_state
(metadata: dict[str, Any] | None, outer: dict[str, Any])
masfactory/compatibility/dify/runtime.py:156
↓ 2 callers
Function
internalEndpointToV4
* @param {{ endpoint: string; scopeKind: 'root' | 'subgraph' | 'loop'; scopeName: string | null }} args * @returns {string}
masfactory-visualizer/webview-ui/src/utils/vibeGraphDesignV4.js:122
↓ 2 callers
Function
isAmlDerivedEdge
(edge: VibeEdgeSpec | null | undefined)
masfactory-visualizer/webview-ui/src/stores/vibeStore.ts:56
↓ 2 callers
Function
isAmlDerivedNode
(node: VibeNodeSpec | null | undefined)
masfactory-visualizer/webview-ui/src/stores/vibeStore.ts:52
↓ 2 callers
Function
isAmlDocument
(document: vscode.TextDocument | undefined)
masfactory-visualizer/src/webview/webviewProvider.ts:29
↓ 2 callers
Function
isAssignmentNode
(node: TSNode)
masfactory-visualizer/src/parser/rootGraphFinder.ts:28
↓ 2 callers
Function
isContainerVisible
(container: HTMLElement | null, thresholdPx: number)
masfactory-visualizer/webview-ui/src/utils/cyGraphRenderer.ts:51
↓ 2 callers
Function
isDerivedEdge
(edge: VibeEdgeSpec)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:826
↓ 2 callers
Function
isDerivedNode
(node: VibeNodeSpec)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:822
↓ 2 callers
Function
isExternalRefNode
(node: VibeNodeSpec | null | undefined)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:846
↓ 2 callers
Function
isGraphType
* Check if a node type is a Graph-based type (subgraph with entry/exit)
masfactory-visualizer/src/parser/nodeParser.ts:103
↓ 2 callers
Function
isInternalNodeId
(id: string)
masfactory-visualizer/webview-ui/src/stores/vibeModel.ts:168
↓ 2 callers
Function
isRootGraphCallee
(functionText: string)
masfactory-visualizer/src/parser/rootGraphFinder.ts:9
↓ 2 callers
Function
isSimpleRef
(n: TSNode)
masfactory-visualizer/src/parser/moduleLevelParser.ts:356
↓ 2 callers
Function
isSimpleRef
(n: TSNode)
masfactory-visualizer/src/parser/buildMethodParser.ts:414
↓ 2 callers
Method
is_debug
(self)
masfactory/visualizer/runtime.py:120
↓ 2 callers
Function
is_dify_app_document
Return True when `doc` looks like a Dify app/workflow DSL export.
masfactory/compatibility/dify/parse.py:14
↓ 2 callers
Function
is_valid_name
(name: str)
masfactory/utils/naming.py:9
↓ 2 callers
Function
keysFieldToList
* Convert internal key dictionaries (pull_keys/push_keys) into a v4 input/output list. * * @param {unknown} keys * @returns {string[]}
masfactory-visualizer/webview-ui/src/utils/vibeGraphDesignV4.js:149
↓ 2 callers
Function
langflow_handle_name
(handle: Any)
masfactory/compatibility/langflow/runtime.py:20
↓ 2 callers
Function
layoutContainer
( containerId: string | null, snapshot: LayoutSnapshot, cfg: { rankDir: SmartLayoutDirection; ranker: st
masfactory-visualizer/webview-ui/src/utils/smartLayout.ts:290
↓ 2 callers
Function
load_builtin_dataset
(name: str, *, limit: int | None = None)
applications/sparse_mad_reproduction/sparse_mad/datasets.py:30
↓ 2 callers
Function
load_chain_of_thought_examples
Load chain-of-thought examples.
applications/camel/gpqa/prompts.py:40
↓ 2 callers
Function
load_chain_of_thought_examples
Load chain-of-thought examples (if exist).
applications/camel/mmlu-pro/prompts.py:39
↓ 2 callers
Function
load_hf_dataset
( dataset_name: str, *, split: str = "test", limit: int | None = None, math_subset: str =
applications/sparse_mad_reproduction/sparse_mad/hf_datasets.py:23
↓ 2 callers
Method
logParseResult
* Log parse results
masfactory-visualizer/src/parser/parser.ts:3789
↓ 2 callers
Function
looksLikeEdgeTupleList
(node: TSNode, code: string, literalValues?: LiteralValues)
masfactory-visualizer/src/parser/declarativeParser.ts:254
↓ 2 callers
Function
looksLikeNodeTupleList
(node: TSNode, code: string, literalValues?: LiteralValues)
masfactory-visualizer/src/parser/declarativeParser.ts:264
↓ 2 callers
Function
main
()
applications/lats/main.py:42
↓ 2 callers
Function
main
(argv: list[str] | None = None)
applications/ddo/ddo/main.py:124
↓ 2 callers
Function
main
()
masfactory-visualizer/test_tree_sitter.js:3
↓ 2 callers
Function
majority_vote
(agent_answers: dict[str, str])
applications/sparse_mad_reproduction/sparse_mad/voting.py:13
↓ 2 callers
Function
make_asset_descriptor
(path: str | Path, modality: str, label: str, *, paper_id: str = "")
applications/nowwhat/tools/pdf_tools.py:128
↓ 2 callers
Function
mapGraphEndpoint
(endpoint: string, parentId: string, idMap: Map<string, string>)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:441
↓ 2 callers
Method
markDebugPid
(pid: number)
masfactory-visualizer/src/runtime/runtimeHub.ts:122
↓ 2 callers
Method
match_declaration
Match a (name, type) declaration against this selector. This is used by NodeTemplate materialization where only a declared name/type is
masfactory/utils/selector.py:66
↓ 2 callers
Function
match_path_filter
Return True if `path_filter` matches anywhere inside `path`. This is implemented by anchoring the pattern to the full path while prefixing/s
masfactory/utils/path_filter.py:51
↓ 2 callers
Method
mergeGlobalLoopIterations
(uri: string, loopControls?: Record<string, LoopControlInfo>)
masfactory-visualizer/src/webview/controlFlowStateStore.ts:58
↓ 2 callers
Method
mergeLoopIterationsIntoConfig
(config: Map<string, number>, loopControls?: Record<string, LoopControlInfo>)
masfactory-visualizer/src/webview/controlFlowStateStore.ts:125
↓ 2 callers
Function
mergeParserFeatures
(overrides?: ParserFeatures | null)
masfactory-visualizer/src/parser/features.ts:27
↓ 2 callers
Function
mergePrefixedStructure
( graphData: GraphData, parentNode: string, structure: ComponentLikeStructure | null | undefined, opts
masfactory-visualizer/src/webview/graphMerge.ts:75
↓ 2 callers
Function
merge_tool_declarations
(*groups: list[dict[str, Any]])
applications/clawcanvas/backend/clawcanvas_backend/runtime_bindings.py:114
↓ 2 callers
Function
node_id
(node)
masfactory/visualizer/serialize.py:85
↓ 2 callers
Function
normalizeContainerEndpoint
(name: string, kind: 'Graph' | 'Loop')
masfactory-visualizer/src/parser/componentParser.ts:179
↓ 2 callers
Function
normalizeStringMap
(raw: unknown)
masfactory-visualizer/webview-ui/src/stores/runtimeNormalizeGraph.ts:56
↓ 2 callers
Function
normalizeTypeLabel
(rawTypeText: string)
masfactory-visualizer/src/parser/componentParser.ts:130
↓ 2 callers
Function
normalize_answer
(answer: str)
applications/sparse_mad_reproduction/sparse_mad/metrics.py:19
↓ 2 callers
Function
normalize_outline_slide_sections
( sections: list[dict[str, Any]], *, page_budget: int | None = None, )
applications/ohnoppt/workflows/common/tools.py:104
↓ 2 callers
Function
normalize_token
(token: str | None)
applications/ddo/ddo/services/api_btp.py:66
↓ 2 callers
Function
now
()
applications/chatdev_lite/chatdev/utils.py:10
↓ 2 callers
Function
now
()
applications/chatdev/chatdev/utils.py:10
↓ 2 callers
Function
objectKeysToDescriptions
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:457
↓ 2 callers
Method
observe
Prepare prompts and conversation messages for one model round.
masfactory/components/agents/agent.py:610
↓ 2 callers
Function
openai_compatible_model_from_dify
Build an `OpenAIModel` from a Dify node `model` dict.
masfactory/compatibility/dify/models.py:18
↓ 2 callers
Function
order_rule
(message, attributes)
applications/agentverse/simulations/classroom/classroom.py:311
↓ 2 callers
Function
ownerOfEndpoint
(endpoint: string)
masfactory-visualizer/webview-ui/src/stores/vibeStore.ts:958
↓ 2 callers
Function
parentOfEndpoint
* @param {string} endpoint * @param {Record<string, string | undefined>} parentByName * @returns {string | undefined}
masfactory-visualizer/webview-ui/src/utils/vibeGraphDesignV4.js:88
↓ 2 callers
Function
parentOfEndpointForSave
(endpoint: string, parentByName: Record<string, string | undefined>)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:931
↓ 2 callers
Function
parseAmlDocument
(text: string)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:250
↓ 2 callers
Function
parseAppInboundMessage
(data: unknown)
masfactory-visualizer/src/shared/webviewProtocol.ts:328
↓ 2 callers
Function
parseAssignment
* Parse assignment statement
masfactory-visualizer/src/parser/buildMethodParser.ts:377
↓ 2 callers
Function
parseBuildMethod
( buildMethod: TSNode, code: string, nodeCtx: NodeParseContext, edgeCtx: EdgeParseContext,
masfactory-visualizer/src/parser/buildMethodParser.ts:104
↓ 2 callers
Function
parseBuilderFunction
( code: string, functionName?: string )
masfactory-visualizer/src/parser/builderFunctionParser.ts:110
↓ 2 callers
Function
parseComponentStructure
( componentCode: string, componentClassName: string )
masfactory-visualizer/src/parser/componentParser.ts:39
↓ 2 callers
Function
parseCreateNode
( leftSide: TSNode, callNode: TSNode, code: string, ctx: NodeParseContext, loopIteration?:
masfactory-visualizer/src/parser/nodeParser.ts:315
↓ 2 callers
Function
parseEdgeKeysArgument
( node: TSNode | undefined, code: string )
masfactory-visualizer/src/parser/declarativeParser.ts:171
↓ 2 callers
Function
parseEdgesListLiteral
( node: TSNode, code: string, literalValues?: LiteralValues )
masfactory-visualizer/src/parser/declarativeParser.ts:214
↓ 2 callers
Method
parseExternalComponent
* Parse an external component's structure
masfactory-visualizer/src/parser/parser.ts:234
↓ 2 callers
Function
parseFunctionBody
( body: TSNode, code: string, nodeCtx: NodeParseContext, edgeCtx: EdgeParseContext, subgra
masfactory-visualizer/src/parser/moduleLevelParser.ts:116
↓ 2 callers
Function
parseModuleLevel
( rootNode: TSNode, code: string, nodeCtx: NodeParseContext, edgeCtx: EdgeParseContext, su
masfactory-visualizer/src/parser/moduleLevelParser.ts:101
↓ 2 callers
Function
parseNodesListLiteral
( node: TSNode, code: string, literalValues?: LiteralValues, templates?: { [name: string]: Par
masfactory-visualizer/src/parser/declarativeParser.ts:191
↓ 2 callers
Function
parseNumberRecord
(value: unknown)
masfactory-visualizer/src/shared/webviewProtocol.ts:177
↓ 2 callers
Function
parse_aml_document
Parse AML into the versioned AML-native document model.
masfactory/aml/versions.py:53
↓ 2 callers
Function
parse_document_with_errors
(payload: dict[str, Any])
applications/clawcanvas/backend/clawcanvas_backend/schema.py:193
↓ 2 callers
Function
parse_internal_tests_from_test
Parse assert lines from HumanEval test string as internal tests (aligned with LATS number_of_tests).
applications/lats/humaneval/load.py:31
↓ 2 callers
Function
parse_outline_slide_sections
(outline_markdown: Any)
applications/ohnoppt/workflows/common/tools.py:73
↓ 2 callers
Function
parse_paper_paths
(value: Any)
applications/ohnoppt/workflows/common/tools.py:55
↓ 2 callers
Function
parse_path_filter
(path_filter: str)
masfactory/utils/path_filter.py:31
↓ 2 callers
Function
patchStream
(stream, fd)
masfactory-visualizer/scripts/forceSyncStdio.cjs:3
↓ 2 callers
Function
pdf_info
(pdf_path: str | Path)
applications/nowwhat/tools/pdf_tools.py:23
↓ 2 callers
Function
pickString
(value: unknown)
masfactory-visualizer/webview-ui/src/stores/runtimeNormalizeGraph.ts:204
↓ 2 callers
Function
prompt_cost
(model_type: str, num_prompt_tokens: float, num_completion_tokens: float)
applications/chatdev_lite/workflow/handlers.py:155
↓ 2 callers
Function
prompt_cost
(model_type: str, num_prompt_tokens: float, num_completion_tokens: float)
applications/chatdev/workflow/handlers.py:170
↓ 2 callers
Function
publishContinued
(debugSession: vscode.DebugSession, continuedBody: any)
masfactory-visualizer/src/debug/pythonDebugTracker.ts:120
↓ 2 callers
Function
read_problems
(*args, **kwargs)
applications/camel/eval/eval_humaneval.py:117
↓ 2 callers
Method
recordFlow
(msg: Extract<RuntimeUiMessage, { type: 'runtimeFlow' }>)
masfactory-visualizer/src/runtime/runtimeHub.ts:711
↓ 2 callers
Method
recordNodeEvent
(msg: Extract<RuntimeUiMessage, { type: 'runtimeNodeEvent' }>)
masfactory-visualizer/src/runtime/runtimeHub.ts:696
↓ 2 callers
Method
recordProgramLog
(msg: Extract<RuntimeUiMessage, { type: 'runtimeLog' }>)
masfactory-visualizer/src/runtime/runtimeHub.ts:726
↓ 2 callers
Function
render_slide_batch_markdown
( sections: list[dict[str, Any]], *, batch_index: int, batch_count: int, )
applications/ohnoppt/workflows/common/tools.py:132
↓ 2 callers
Method
render_supporting_files
Render a limited number of supporting files for prompt inclusion.
masfactory/skills/skill.py:64
↓ 2 callers
Function
replace_placeholders
(template: str, mapping: dict[str, str])
applications/ohnoppt/workflows/common/prompts.py:21
↓ 2 callers
Method
reset
(self)
masfactory/components/agents/agent.py:828
↓ 2 callers
Method
reset_gate
(self)
masfactory/components/graphs/loop.py:391
↓ 2 callers
Method
reset_run_state
(self)
masfactory/visualizer/runtime_hooks.py:110
↓ 2 callers
Method
resolveCallableDefinition
( functionNode: TSNode, env: TemplateResolverEnv )
masfactory-visualizer/src/parser/parser.ts:1278
↓ 2 callers
Function
resolveColor
(settings: VisualizationSettings | null | undefined)
masfactory-visualizer/webview-ui/src/utils/previewStyles.ts:45
↓ 2 callers
Function
resolveLocalClassKind
( nodeType: string, localClassBases?: { [name: string]: string[] }, templates?: { [name: string]:
masfactory-visualizer/src/parser/nodeParser.ts:51
↓ 2 callers
Method
resolveRelativeModulePath
(fromFilePath: string, fromModulePath: string, targetModuleText: string)
masfactory-visualizer/src/parser/parser.ts:511
← previous
next →
801–900 of 3,241, ranked by callers