MCPcopy Create free account

hub / github.com/BUPT-GAMMA/MASFactory / functions

Functions3,241 in github.com/BUPT-GAMMA/MASFactory

↓ 2 callersFunctionchain_of_thought_prompt
Generate chain-of-thought prompt (with examples).
applications/camel/mmlu-pro/prompts.py:103
↓ 2 callersFunctionchatdev_majority_voting_to_blueprint
Compile ChatDev `is_majority_voting: true` graphs (parallel agents, no `edges` block).
masfactory/compatibility/chatdev/parse.py:213
↓ 2 callersFunctioncheckForComplexStructure
* Check if function body contains complex control flow (for/if) at top level * that would affect node/edge creation. * * We only check direct chil
masfactory-visualizer/src/parser/builderFunctionParser.ts:270
↓ 2 callersFunctioncheck_bigcodebench_correctness
Check code correctness for BigCodeBench problems. Uses Windows-compatible evaluation function on Windows, and bigcodebench official untr
applications/camel/bigcodebench/eval_bigcodebench.py:199
↓ 2 callersFunctionchildFilePath
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:360
↓ 2 callersFunctionchildGraphId
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:364
↓ 2 callersFunctionchildParentId
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:356
↓ 2 callersMethodclone
(self, **override_kwargs)
masfactory/core/node_template.py:370
↓ 2 callersFunctioncoerce_edge_endpoints
(edge: dict[str, Any])
masfactory/compatibility/common/discover.py:41
↓ 2 callersFunctioncollectClassBases
(rootNode: TSNode, code: string)
masfactory-visualizer/src/parser/astUtils.ts:61
↓ 2 callersFunctioncollect_node_inputs
(data: dict[str, Any], state: DifyRuntimeState)
masfactory/compatibility/dify/runtime.py:124
↓ 2 callersFunctioncompile_aml
Compile AML directly into an in-memory MASFactory ``Graph``.
masfactory/components/vibe/compiler.py:1180
↓ 2 callersMethodcomplete
(self, messages: list[dict[str, str]])
applications/sparse_mad_reproduction/sparse_mad/llm_runner.py:15
↓ 2 callersFunctionconcat_instructions
(agent_instructions: list | str, phase_instructions: list | str)
applications/chatdev_lite/components/lite_phase.py:13
↓ 2 callersFunctionconcat_instructions
(agent_instructions: list | str, phase_instructions: list | str)
applications/chatdev/components/phase/phase.py:16
↓ 2 callersFunctionconnect_loop_controller
( loop, plan: LoopPlan, inner_instances: dict, )
masfactory/compatibility/common/wire_loops.py:11
↓ 2 callersFunctioncount_pdf_pages
(pdf_path: str | Path)
applications/nowwhat/tools/pdf_tools.py:35
↓ 2 callersFunctioncreateDefaultLoopConfig
()
applications/clawcanvas/frontend/src/composables/useClawCanvas.js:5
↓ 2 callersMethodcreateOrShowPanel
* Create or show the main webview panel
masfactory-visualizer/src/webview/webviewProvider.ts:309
↓ 2 callersMethodcreateRenderableCandidateFromGraphScope
( id: string, match: GraphScopeMatch, sourceRootNode: TSNode, code: string,
masfactory-visualizer/src/parser/parser.ts:1002
↓ 2 callersFunctioncreate_software_company_graph
Build the MetaGPT software-company workflow graph with configurable iterations, retry policies, and optional QA stages.
applications/metagpt/software_company/software_company.py:22
↓ 2 callersFunctiondefaultPanelState
()
masfactory-visualizer/webview-ui/src/stores/preview.ts:68
↓ 2 callersFunctionderiveEdgeStyles
(mode: EdgeStyleMode, isDark: boolean, edgeColor: string)
masfactory-visualizer/webview-ui/src/utils/previewStyles.ts:62
↓ 2 callersMethoddestroy
()
masfactory-visualizer/webview-ui/src/utils/cyGraphRenderer.ts:216
↓ 2 callersFunctiondetect_aml_version
Detect the AML version from text or a file path. AML documents created before explicit versioning are treated as v0.2 so the first public AML
masfactory/aml/versions.py:31
↓ 2 callersFunctiondirectChildOfContainer
( containerId: string | null, nodeId: string, parentById: Record<string, string> )
masfactory-visualizer/webview-ui/src/utils/smartLayout.ts:104
↓ 2 callersFunctiondirectGraphContainers
(graph: Element)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:163
↓ 2 callersFunctiondoFit
()
masfactory-visualizer/webview-ui/src/utils/cyLayoutPipeline.ts:21
↓ 2 callersFunctiondocument_requires_model
(document: CanvasDocument)
applications/clawcanvas/backend/clawcanvas_backend/compiler.py:38
↓ 2 callersFunctionendpointExists
* @param {string} endpoint * @param {Set<string>} nodeNames * @param {Record<string, string>} typeByName * @param {Record<string, boolean>} opaqueB
masfactory-visualizer/webview-ui/src/utils/vibeValidation.js:74
↓ 2 callersFunctionendpointToAml
(endpoint: string, scope: SerializeScope)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:944
↓ 2 callersFunctionendpointToInternal
(endpoint: string, parent?: string, loopScope = false)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:103
↓ 2 callersFunctionensureNodeDefaults
( nodeName: string, typeText: string, nodeCtx: NodeParseContext, templates?: { [name: string]:
masfactory-visualizer/src/parser/declarativeParser.ts:308
↓ 2 callersFunctionensureRunning
(nodeId: string)
masfactory-visualizer/webview-ui/src/stores/runtimeStore.ts:463
↓ 2 callersFunctionestimate_messages_tokens
(messages: list[dict[str, str]], *, model_name: str = "gpt-4o-mini")
applications/sparse_mad_reproduction/sparse_mad/metrics.py:14
↓ 2 callersFunctionevaluate_aut
(model: OpenAIModel, response_obj, criterion, eval_type, sample_time=3)
applications/llm_discussion/Evaluation/eval_functions/eval_criterion.py:8
↓ 2 callersFunctionevaluate_case
(case: dict[str, Any], state: DifyRuntimeState)
masfactory/compatibility/dify/runtime.py:238
↓ 2 callersFunctionevaluate_scientific
(model: OpenAIModel, response_obj, criterion, eval_type, sample_time=3)
applications/llm_discussion/Evaluation/eval_functions/eval_criterion.py:69
↓ 2 callersFunctionevaluate_wkct
(model: OpenAIModel, response_obj, criterion, eval_type, sample_time=3)
applications/llm_discussion/Evaluation/eval_functions/eval_criterion.py:119
↓ 2 callersMethodexecute
(self, task_description: str, solution: str)
applications/agentverse/components/executors/none_executor.py:7
↓ 2 callersFunctionexpansionToScopedGraph
( expansion: AmlImplementationExpansion, parentId: string, loopScope: boolean, target?: AmlPreviewTarg
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:516
↓ 2 callersFunctionexport_standard_skill
( document: CanvasDocument, *, export_root: str | Path, run_output: dict[str, Any] | None = No
applications/clawcanvas/backend/clawcanvas_backend/skill_packager.py:59
↓ 2 callersFunctionexternalRefParent
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:842
↓ 2 callersFunctionextractNodeNameFromArgs
( args: TSNode[], code: string, fallbackName: string, literalValues?: { [name: string]: TSNode
masfactory-visualizer/src/parser/nodeParser.ts:254
↓ 2 callersFunctionextractNodeNameFromExpression
( node: TSNode, code: string, fallbackName: string )
masfactory-visualizer/src/parser/nodeParser.ts:274
↓ 2 callersFunctionextractNodeTypeFromCreateNodeArgs
( args: TSNode[], code: string, literalValues?: { [name: string]: TSNode } )
masfactory-visualizer/src/parser/nodeParser.ts:229
↓ 2 callersMethodextractPatternBindingNames
(patternNode: TSNode, code: string)
masfactory-visualizer/src/parser/parser.ts:1843
↓ 2 callersMethodextractPythonImplementationBindings
(text: string)
masfactory-visualizer/src/webview/previewGraphService.ts:563
↓ 2 callersMethodextractXmlAttribute
(attrs: string, name: string)
masfactory-visualizer/src/webview/previewGraphService.ts:591
↓ 2 callersFunctionextract_answer
(text: str)
applications/sparse_mad_reproduction/sparse_mad/llm_runner.py:99
↓ 2 callersFunctionextract_answer_by_value_matching
Infer answer by matching calculation results with option content. Args: text: Assistant message text. choice1-4: Four op
applications/camel/gpqa/answer_extractor.py:84
↓ 2 callersFunctionextract_answer_by_value_matching
Infer answer by matching calculation results with option content. Args: text: Assistant message text. choiceA-J: Ten opt
applications/camel/mmlu-pro/answer_extractor.py:123
↓ 2 callersFunctionextract_function_body
Extract function body part from code containing function definition. Args: code: Code containing function definition ent
applications/camel/bigcodebench/code_extractor.py:640
↓ 2 callersFunctionextract_function_body_only
Extract function body part from code containing function definition (for HumanEval). HumanEval needs function body, not including functi
applications/camel/eval/code_extractor.py:174
↓ 2 callersFunctionextract_python_code
Extract Python code from text. Priority extraction: 1. Code block containing entry_point function 2. Python code in markdown cod
applications/camel/eval/code_extractor.py:7
↓ 2 callersFunctionextract_python_code
Extract Python code from text. Priority extraction: 1. Code block containing entry_point function 2. Python code in markdown cod
applications/camel/bigcodebench/code_extractor.py:11
↓ 2 callersFunctionextract_python_code
Extract Python code from text (complete software code, not function body). Priority extraction: 1. Python code in markdown code bloc
applications/camel/srdd/code_extractor.py:7
↓ 2 callersFunctionextract_role
(value: Any, role_key: str)
applications/camel/workflow.py:239
↓ 2 callersFunctionfindBuildMethodAndBaseType
(node: TSNode)
masfactory-visualizer/src/parser/buildMethodParser.ts:26
↓ 2 callersMethodfindClassGraphScope
( rootNode: TSNode, code: string, className: string, preferredMethodName?: str
masfactory-visualizer/src/parser/parser.ts:947
↓ 2 callersMethodfindFunctionGraphScope
(rootNode: TSNode, code: string, functionName: string)
masfactory-visualizer/src/parser/parser.ts:939
↓ 2 callersMethodfindGraphAssignmentInScope
(scopeNode: TSNode, code: string)
masfactory-visualizer/src/parser/parser.ts:815
↓ 2 callersFunctionfindMethodInClass
* Find a method within a class definition (supports decorated defs)
masfactory-visualizer/src/parser/componentParser.ts:516
↓ 2 callersMethodfindMethodInClassNode
(classNode: TSNode, code: string, methodName: string)
masfactory-visualizer/src/parser/parser.ts:786
↓ 2 callersMethodfindReexportTarget
( fromFilePath: string, fileCode: string, symbolName: string )
masfactory-visualizer/src/parser/parser.ts:618
↓ 2 callersFunctionfindRootGraph
(root: Element)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:217
↓ 2 callersFunctionfix_python2_syntax
Fix Python 2 syntax to be Python 3 compatible.
applications/camel/commongen/evaluate.py:12
↓ 2 callersMethodformat
Parse model output text into structured dict payload.
masfactory/core/message/base.py:80
↓ 2 callersMethodformat
(self, message: str)
applications/agentverse/formatters.py:123
↓ 2 callersFunctionformatDurationMs
(ms)
masfactory-visualizer/webview-ui/src/utils/runtimeSessionExport.js:91
↓ 2 callersFunctionformat_symptoms_for_prompt
(symptoms: list[str])
applications/ddo/ddo/graphs/g_actions_generation_and_selection.py:118
↓ 2 callersMethodforward_actor
(self, features: th.Tensor)
applications/ddo/ddo/services/policy.py:31
↓ 2 callersMethodfrom_case
(cls, case: dict[str, Any])
applications/ddo/ddo/state_model/state.py:12
↓ 2 callersMethodfrom_value
(cls, value: str | "FieldModality" | None)
masfactory/core/multimodal.py:19
↓ 2 callersFunctiongenerateOverlayHtml
(summary: GraphAttributesSummary, graphName: string)
masfactory-visualizer/webview-ui/src/utils/graphAttrsOverlay.ts:19
↓ 2 callersMethodgenerate_images
Generate images for a text prompt. Providers that do not support image generation should raise NotImplementedError.
masfactory/adapters/model/base.py:222
↓ 2 callersFunctiongenerate_prompt_from_examples
Generate prompt text from example JSON.
applications/camel/gpqa/prompts.py:53
↓ 2 callersFunctiongenerate_prompt_from_examples
Generate prompt text from example JSON.
applications/camel/mmlu-pro/prompts.py:58
↓ 2 callersMethodgetComponentStructure
* Get component structure from cache or parse it
masfactory-visualizer/src/parser/parser.ts:173
↓ 2 callersMethodgetCy
()
masfactory-visualizer/webview-ui/src/utils/cyGraphRenderer.ts:91
↓ 2 callersFunctiongetFirstTypedParameter
* Get first typed parameter from function parameters
masfactory-visualizer/src/parser/builderFunctionParser.ts:241
↓ 2 callersFunctiongetGraphCalleeRank
(functionText: string)
masfactory-visualizer/src/parser/rootGraphFinder.ts:21
↓ 2 callersMethodgetGraphKindRank
(kind: 'Graph' | 'Loop' | 'RootGraph')
masfactory-visualizer/src/parser/parser.ts:809
↓ 2 callersMethodgetParsedPythonFile
(filePath: string)
masfactory-visualizer/src/parser/parser.ts:699
↓ 2 callersFunctiongetPositionalArgs
(args: TSNode[])
masfactory-visualizer/src/parser/nodeParser.ts:163
↓ 2 callersMethodgetPrimaryWebviews
()
masfactory-visualizer/src/webview/webviewProvider.ts:562
↓ 2 callersMethodgetViewConditionConfig
(uri: string, kind: ViewKind)
masfactory-visualizer/src/webview/controlFlowStateStore.ts:73
↓ 2 callersFunctionget_agent_config
(config: Dict[str, Any],agent_type: str)
applications/agentverse/tasksolving/humaneval/workflow.py:20
↓ 2 callersMethodget_blocks
(self, query: ContextQuery, *, top_k: int = 8)
masfactory/adapters/mcp.py:52
↓ 2 callersFunctionget_bridge
Return a Visualizer bridge without forcing a connection. This is an alias for `get_client()` kept for naming consistency with older code. It
masfactory/visualizer/client.py:356
↓ 2 callersFunctionget_disease_knowledge
(dataset_name: str, candidate_diseases: list)
applications/ddo/ddo/services/utils_data.py:12
↓ 2 callersFunctionget_disease_to_update
(state: ConsultationState)
applications/ddo/ddo/graphs/g_confidence_estimation.py:10
↓ 2 callersFunctionget_policy_run_dir
Return the local policy directory, accepting the typo used by the source repo.
applications/ddo/ddo/paths.py:12
↓ 2 callersFunctionget_visualizer_runtime
Return (and lazily create) the process-global VisualizerRuntime singleton. The runtime is enabled when `MASFACTORY_VISUALIZER_PORT` is set. Host
masfactory/visualizer/runtime.py:805
↓ 2 callersMethodhandleRefreshGraph
(documentUri: string | undefined)
masfactory-visualizer/src/webview/webviewProvider.ts:731
↓ 2 callersFunctionhandle_retry_or_fallback
( *, state: ConsultationState, reason: str )
applications/ddo/ddo/graphs/g_actions_generation_and_selection.py:55
↓ 2 callersFunctionhasNonEmptyDict
(d)
masfactory-visualizer/webview-ui/src/utils/vibeGraphDesignV4.js:432
↓ 2 callersMethodhydrate_from_messages
(self, messages: Iterable[dict], *, reuse_fingerprints: bool = True)
masfactory/core/multimodal.py:377
↓ 2 callersFunctionimplementationExpansionFor
( implementation: string, options?: AmlGraphParseOptions )
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:480
↓ 2 callersFunctioninferContainerKind
( rawTypeText: string, templates?: { [name: string]: ParsedNodeTemplate } )
masfactory-visualizer/src/parser/declarativeParser.ts:134
← previousnext →701–800 of 3,241, ranked by callers