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
↓ 427 callers
Method
join
(self, timeout=None)
applications/lats/humaneval/timeout_utils.py:15
↓ 299 callers
Method
push
(value: string)
masfactory-visualizer/src/parser/parser.ts:684
↓ 293 callers
Method
create_node
(self, cls: type[T], *args, **kwargs)
masfactory/components/graphs/base_graph.py:62
↓ 251 callers
Method
create_edge
Create one edge between two nodes that belong to this graph.
masfactory/components/graphs/base_graph.py:184
↓ 218 callers
Method
keys
(self)
masfactory/core/edge.py:135
↓ 185 callers
Method
add
(self, message: str)
applications/clawcanvas/backend/clawcanvas_backend/compiler.py:23
↓ 167 callers
Function
getNodeText
(node: TSNode | null, code: string)
masfactory-visualizer/src/parser/astUtils.ts:13
↓ 112 callers
Method
has
Check whether a hook key has any callbacks registered. Args: hook_key: Hook key used during `register()` and `dispatch()`.
masfactory/utils/hook.py:24
↓ 110 callers
Method
resolve
(self, provider, model_name)
applications/ddo/ddo/runtime/config_types.py:22
↓ 94 callers
Method
log
(self, level: str, message: str)
masfactory/visualizer/client.py:123
↓ 72 callers
Method
insert
(self, role: str, response: str)
applications/agentverse/components/agentverse_chat_history.py:84
↓ 62 callers
Method
edge_to_exit
Create an edge from `sender` to internal exit.
masfactory/components/graphs/graph.py:230
↓ 61 callers
Method
edge_from_entry
Create an edge from internal entry to `receiver`.
masfactory/components/graphs/graph.py:203
↓ 57 callers
Method
format
Format message string into dictionary format.
applications/camel/camel_formatter.py:44
↓ 53 callers
Method
invoke
(self, messages, tools=None, settings=None, **kwargs)
applications/mapcoder/mock_tests/test_graph_e2e_mock.py:140
↓ 51 callers
Method
update
Update an existing item in the memory.
masfactory/adapters/memory.py:38
↓ 43 callers
Method
match
Match a runtime instance against this selector.
masfactory/utils/selector.py:62
↓ 40 callers
Method
parse
* Parse Python code and extract graph structure * @param controlFlowCtx - Optional control flow context with user-specified loop iterations and c
masfactory-visualizer/src/parser/parser.ts:2197
↓ 38 callers
Function
asString
(value: unknown)
masfactory-visualizer/src/runtime/runtimeHub.ts:32
↓ 38 callers
Method
read
(self, *args, **kwargs)
applications/camel/eval/windows_execution.py:141
↓ 35 callers
Method
edge_from_controller
Create an edge from controller to an internal node.
masfactory/components/graphs/loop.py:346
↓ 35 callers
Method
run
(self)
applications/lats/humaneval/timeout_utils.py:8
↓ 34 callers
Function
attr
(element: Element, name: string)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:94
↓ 34 callers
Method
edge_to_controller
Create a feedback edge from an internal node to controller.
masfactory/components/graphs/loop.py:337
↓ 31 callers
Method
call
(self, name: str, arguments: dict)
masfactory/adapters/tool_adapter.py:20
↓ 30 callers
Function
slugify_node_name
Map an arbitrary external id to a MASFactory-valid node name.
masfactory/compatibility/common/names.py:16
↓ 28 callers
Method
build
(self)
masfactory/components/graphs/root_graph.py:59
↓ 28 callers
Function
indent
(depth: number)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:818
↓ 27 callers
Method
condition_binding
Bind an out edge to a routing condition.
masfactory/components/controls/base_switch.py:47
↓ 26 callers
Method
emitUi
(message: RuntimeUiMessage)
masfactory-visualizer/src/runtime/runtimeHub.ts:675
↓ 25 callers
Function
parseDictArgument
(node: TSNode, code: string)
masfactory-visualizer/src/parser/astUtils.ts:75
↓ 24 callers
Method
delete
Delete an item from the memory.
masfactory/adapters/memory.py:42
↓ 24 callers
Function
resolveNodeReference
* Resolve node reference (variable name to node name)
masfactory-visualizer/src/parser/edgeParser.ts:478
↓ 24 callers
Method
set_node_output
(self, node_id: str, output: dict[str, Any])
masfactory/compatibility/dify/runtime.py:50
↓ 23 callers
Function
write_text
(path: str | Path, content: Any)
applications/ohnoppt/workflows/common/tools.py:28
↓ 22 callers
Function
_as_path
(value: str | Path)
applications/ohnoppt/tools/external_pipeline_tools.py:13
↓ 22 callers
Function
ensure_dir
(path: str | Path)
applications/ohnoppt/workflows/common/tools.py:22
↓ 22 callers
Method
from_store
(cls, store: dict[str, Any])
masfactory/compatibility/dify/runtime.py:24
↓ 20 callers
Function
_norm_node_id
(node_id: str)
masfactory/components/vibe/vibe_workflow/planner/diagnose_node.py:20
↓ 20 callers
Function
escapeXml
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:810
↓ 20 callers
Function
escape_latex_braces
r""" Escape braces in LaTeX formulas to avoid being mistaken as format fields by CAMEL framework. Convert {number} or {alphanumeric} to {
applications/camel/gpqa/prompts.py:9
↓ 20 callers
Function
excerpt
(text: Any, *, limit: int = 6000)
applications/ohnoppt/workflows/common/tools.py:15
↓ 20 callers
Method
set_forward
Set the user forward callable used by this CustomNode. Args: forward: Callable implementing node logic. Supported signatures are:
masfactory/components/custom_node.py:53
↓ 20 callers
Method
update
(self, reward: float)
applications/lats/components/tree.py:45
↓ 19 callers
Function
asString
(value: unknown)
masfactory-visualizer/src/shared/webviewProtocol.ts:137
↓ 19 callers
Function
isRecord
(value: unknown)
masfactory-visualizer/src/shared/webviewProtocol.ts:133
↓ 19 callers
Method
tqdm
(iterable, desc="")
applications/camel/srdd/evaluate_quality.py:33
↓ 18 callers
Function
asNumber
(value)
masfactory-visualizer/webview-ui/src/utils/runtimeSessionExport.js:1
↓ 18 callers
Method
start
(self)
masfactory/visualizer/runtime.py:274
↓ 17 callers
Method
register
(self, hook_key, func)
masfactory/utils/hook.py:17
↓ 17 callers
Method
updateGraph
* Update graph visualization based on document content
masfactory-visualizer/src/webview/webviewProvider.ts:553
↓ 16 callers
Function
asString
(value: unknown)
masfactory-visualizer/src/shared/runtimeProtocol.ts:143
↓ 16 callers
Method
dump
Convert dictionary to string format.
applications/camel/camel_formatter.py:87
↓ 16 callers
Method
updateVibeDocument
* Push the current Vibe document text to webviews for parsing/rendering.
masfactory-visualizer/src/webview/webviewProvider.ts:134
↓ 15 callers
Function
parse_bool
(value: Any)
applications/ohnoppt/workflows/common/tools.py:35
↓ 15 callers
Function
persistDebounced
(state: PersistedStateV1, delayMs = 200)
masfactory-visualizer/webview-ui/src/stores/preview.ts:117
↓ 15 callers
Method
postMessage
(message: unknown)
masfactory-visualizer/webview-ui/src/bridge/vscode.ts:4
↓ 14 callers
Function
_append_run_log
(attributes: dict[str, object] | None, text: str)
applications/chatdev_lite_vibegraph/tools.py:45
↓ 14 callers
Function
_builtin_norm
(node_id: str)
masfactory/components/vibe/vibe_workflow/planner/diagnose_node.py:24
↓ 14 callers
Function
asNumber
(value: unknown)
masfactory-visualizer/src/runtime/runtimeHub.ts:23
↓ 14 callers
Function
is_always_true_condition
(cond: Any)
masfactory/compatibility/common/conditions.py:8
↓ 14 callers
Method
open
(self)
masfactory/core/edge.py:153
↓ 14 callers
Function
queryNodes
(node: TSNode, type: string)
masfactory-visualizer/src/parser/astUtils.ts:21
↓ 13 callers
Method
__init__
( self, name: str, assistant_role_name: str,
applications/chatdev/components/phase/phase.py:24
↓ 13 callers
Function
_is_non_empty_str
(value: Any)
masfactory/components/vibe/compiler.py:68
↓ 13 callers
Function
asRecord
* @param {unknown} value * @returns {Record<string, any>}
masfactory-visualizer/webview-ui/src/utils/graphElements.js:14
↓ 13 callers
Function
getExpandedKeywordValue
( args: TSNode[], code: string, key: string, literalValues?: { [name: string]: TSNode } )
masfactory-visualizer/src/parser/edgeParser.ts:38
↓ 13 callers
Function
pushUnique
(list: string[], value: string)
masfactory-visualizer/src/webview/graphMerge.ts:20
↓ 13 callers
Method
resolve_selector
(self, selector: list[Any] | tuple[Any, ...])
masfactory/compatibility/dify/runtime.py:56
↓ 12 callers
Function
_limit_text
(text: str, max_chars: int)
applications/agentverse/tasksolving/gaia_solve/tools.py:53
↓ 12 callers
Function
clone
(value)
applications/clawcanvas/frontend/src/composables/useClawCanvas.js:1
↓ 12 callers
Function
firstDirect
(parent: Element, tagName: string)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:90
↓ 12 callers
Method
kill
(self)
applications/agentverse/components/tasksolving/utils/bigcodebench_eval.py:242
↓ 12 callers
Method
resolveTemplateExpression
(expr: TSNode, env: TemplateResolverEnv)
masfactory-visualizer/src/parser/parser.ts:1425
↓ 12 callers
Function
run_command
( args: Sequence[str], *, cwd: str | Path | None = None, env: dict[str, str] | None = None,
applications/ohnoppt/tools/external_pipeline_tools.py:24
↓ 12 callers
Method
safePostMessage
(target: vscode.Webview, message: unknown)
masfactory-visualizer/src/webview/webviewProvider.ts:811
↓ 12 callers
Function
tee
Print to stdout and append to log_file (or global _lats_log_file) if set.
applications/lats/utils/tee.py:20
↓ 11 callers
Function
asOptionalString
(value: unknown)
masfactory-visualizer/src/shared/runtimeProtocol.ts:147
↓ 11 callers
Function
asOptionalString
(value: unknown)
masfactory-visualizer/src/shared/webviewProtocol.ts:149
↓ 11 callers
Function
deepClone
(v: T)
masfactory-visualizer/webview-ui/src/stores/vibeModel.ts:116
↓ 11 callers
Method
emitState
()
masfactory-visualizer/src/runtime/runtimeHub.ts:667
↓ 11 callers
Function
ensure_dir
(path: str | Path)
applications/nowwhat/workflows/daily_digest/tools.py:20
↓ 11 callers
Method
extractConditionVariables
(scopeNode: TSNode, code: string)
masfactory-visualizer/src/parser/parser.ts:3488
↓ 11 callers
Function
isFiniteNumber
(x: unknown)
masfactory-visualizer/webview-ui/src/utils/smartLayout.ts:33
↓ 11 callers
Function
parseStatementsWithRootGraph
( blockNode: TSNode, code: string, nodeCtx: NodeParseContext, edgeCtx: EdgeParseContext, s
masfactory-visualizer/src/parser/moduleLevelParser.ts:129
↓ 10 callers
Method
_fill_required_keys
Fill all required keys in the result dictionary.
applications/camel/camel_formatter.py:36
↓ 10 callers
Function
addEdgeIfMissing
( from: string, to: string, keysDetails: DictLiteral | undefined, lineNumber: number, edge
masfactory-visualizer/src/parser/graphInstanceExpander.ts:137
↓ 10 callers
Function
addNodeIfMissing
( nodeName: string, nodeType: string, lineNumber: number, nodeCtx: NodeParseContext )
masfactory-visualizer/src/parser/graphInstanceExpander.ts:118
↓ 10 callers
Function
asRecord
(value: unknown)
masfactory-visualizer/webview-ui/src/utils/amlGraphDesign.ts:225
↓ 10 callers
Method
build
(self)
applications/camel/conversation_loop.py:146
↓ 10 callers
Method
close
(self)
masfactory/core/edge.py:150
↓ 10 callers
Function
create_camel_role_playing_workflow
Create CAMEL role-playing workflow. This function creates a complete workflow graph for CAMEL role-playing, including: - Task specificati
applications/camel/workflow.py:49
↓ 10 callers
Method
edge_to_terminate_node
Create an edge from an internal node to terminate node.
masfactory/components/graphs/loop.py:328
↓ 10 callers
Function
ensureSubgraphMembership
( parent: string, child: string, subgraphs: { [parent: string]: string[] }, subgraphParents: {
masfactory-visualizer/src/parser/graphInstanceExpander.ts:107
↓ 10 callers
Function
load_dataset
(dataset_name: str, stage: str = "test")
applications/ddo/ddo/services/utils_data.py:6
↓ 10 callers
Function
normalizeNodeMap
( raw: unknown, mapFn: (value: unknown) => T | undefined )
masfactory-visualizer/webview-ui/src/stores/runtimeNormalizeGraph.ts:79
↓ 10 callers
Function
parseDictLiteral
(node: TSNode, code: string)
masfactory-visualizer/src/parser/graphInstanceExpander.ts:35
↓ 10 callers
Function
prefixed
(name: string)
masfactory-visualizer/src/webview/graphMerge.ts:84
↓ 10 callers
Function
render_dify_template
(template: str, state: DifyRuntimeState)
masfactory/compatibility/dify/template.py:28
↓ 10 callers
Function
require_binary
(name: str)
applications/ohnoppt/tools/external_pipeline_tools.py:17
next →
1–100 of 3,241, ranked by callers