Download tests/fixtures/master_complete_node_flow.json from Rsnarsna/auto: direct link, hf CLI and curl.
- Browser
- Download file 122 kB
-
https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/tests/fixtures/master_complete_node_flow.json
- Command line
-
hf download hf://spaces/Rsnarsna/auto/tests/fixtures/master_complete_node_flow.json
-
curl -L -o master_complete_node_flow.json https://huggingface.co/spaces/Rsnarsna/auto/resolve/main/tests/fixtures/master_complete_node_flow.json
122 kB
{
"id": "proj_master_complete_node_flow",
"name": "Master: Complete Node Logic Flow",
"description": "59-Node Master Python Logic Testing Workflow covering Python fundamentals, data structures, operators, math, control flow, functions, OOP, files, interchange, and AI reasoning.",
"nodes": [
{
"id": "n_start",
"type": "workflow.start",
"node_type": "workflow.start",
"name": "Start Workflow",
"position": {
"x": 50,
"y": 100
},
"parameters": {
"trigger_type": "manual",
"label": "Start Workflow",
"node_type": "workflow.start"
},
"data": {
"label": "Start Workflow",
"node_type": "workflow.start",
"inputs": [],
"outputs": [
{
"id": "trigger",
"name": "Trigger",
"type": "any",
"description": "Control flow trigger signal to begin execution."
}
],
"parameters": {
"trigger_type": "manual"
},
"customData": {
"trigger_type": "manual"
},
"is_alternative_entry": false
},
"customData": {
"trigger_type": "manual"
},
"is_alternative_entry": false
},
{
"id": "n_input",
"type": "io.input",
"node_type": "io.input",
"name": "Student Record Input",
"position": {
"x": 300,
"y": 100
},
"parameters": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}",
"label": "Student Record Input",
"node_type": "io.input"
},
"data": {
"label": "Student Record Input",
"node_type": "io.input",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Control flow trigger."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Control output triggered after input is captured."
},
{
"id": "out",
"name": "User Input",
"type": "any",
"description": "Captured and parsed user input value."
}
],
"parameters": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"customData": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"is_alternative_entry": false
},
"customData": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"is_alternative_entry": false
},
{
"id": "n_json_parse",
"type": "json.parse",
"node_type": "json.parse",
"name": "Parse Student Record",
"position": {
"x": 550,
"y": 100
},
"parameters": {
"strict": true,
"json_string": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}",
"label": "Parse Student Record",
"node_type": "json.parse"
},
"data": {
"label": "Parse Student Record",
"node_type": "json.parse",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "text",
"name": "JSON Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": "Raw JSON string to parse."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after parsing JSON."
},
{
"id": "data",
"name": "Parsed Data",
"type": "any",
"description": "Parsed JavaScript object or primitive."
},
{
"id": "is_valid",
"name": "Is Valid",
"type": "bool",
"description": "True if parsing succeeded without error."
},
{
"id": "error",
"name": "Error Message",
"type": "any",
"description": "Error message string if parsing failed, else null."
}
],
"parameters": {
"strict": true,
"json_string": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"customData": {
"strict": true,
"json_string": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"is_alternative_entry": false
},
"customData": {
"strict": true,
"json_string": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"is_alternative_entry": false
},
{
"id": "c_str",
"type": "constant.str",
"node_type": "constant.str",
"name": "Student Name Const",
"position": {
"x": 50,
"y": 350
},
"parameters": {
"const_name": "STUDENT_NAME",
"const_type": "str",
"literal_value": "Arun",
"value": "Arun",
"label": "Student Name Const",
"node_type": "constant.str"
},
"data": {
"label": "Student Name Const",
"node_type": "constant.str",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "str",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "str",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "str",
"description": "Constant result alias."
}
],
"parameters": {
"const_name": "STUDENT_NAME",
"const_type": "str",
"literal_value": "Arun",
"value": "Arun"
},
"customData": {
"const_name": "STUDENT_NAME",
"const_type": "str",
"literal_value": "Arun",
"value": "Arun"
},
"is_alternative_entry": false
},
"customData": {
"const_name": "STUDENT_NAME",
"const_type": "str",
"literal_value": "Arun",
"value": "Arun"
},
"is_alternative_entry": false
},
{
"id": "c_int",
"type": "constant.int",
"node_type": "constant.int",
"name": "Pass Threshold",
"position": {
"x": 50,
"y": 480
},
"parameters": {
"const_name": "PASS_THRESHOLD",
"const_type": "int",
"literal_value": "50",
"value": 50,
"label": "Pass Threshold",
"node_type": "constant.int"
},
"data": {
"label": "Pass Threshold",
"node_type": "constant.int",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "int",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "int",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "int",
"description": "Constant result alias."
}
],
"parameters": {
"const_name": "PASS_THRESHOLD",
"const_type": "int",
"literal_value": "50",
"value": 50
},
"customData": {
"const_name": "PASS_THRESHOLD",
"const_type": "int",
"literal_value": "50",
"value": 50
},
"is_alternative_entry": false
},
"customData": {
"const_name": "PASS_THRESHOLD",
"const_type": "int",
"literal_value": "50",
"value": 50
},
"is_alternative_entry": false
},
{
"id": "c_float",
"type": "constant.float",
"node_type": "constant.float",
"name": "Bonus Weight",
"position": {
"x": 50,
"y": 610
},
"parameters": {
"const_name": "BONUS_WEIGHT",
"const_type": "float",
"literal_value": "1.0",
"value": 1.0,
"label": "Bonus Weight",
"node_type": "constant.float"
},
"data": {
"label": "Bonus Weight",
"node_type": "constant.float",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "float",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "float",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "float",
"description": "Constant result alias."
}
],
"parameters": {
"const_name": "BONUS_WEIGHT",
"const_type": "float",
"literal_value": "1.0",
"value": 1.0
},
"customData": {
"const_name": "BONUS_WEIGHT",
"const_type": "float",
"literal_value": "1.0",
"value": 1.0
},
"is_alternative_entry": false
},
"customData": {
"const_name": "BONUS_WEIGHT",
"const_type": "float",
"literal_value": "1.0",
"value": 1.0
},
"is_alternative_entry": false
},
{
"id": "c_bool",
"type": "constant.bool",
"node_type": "constant.bool",
"name": "Enrollment Status",
"position": {
"x": 300,
"y": 350
},
"parameters": {
"const_name": "IS_ENROLLED",
"const_type": "bool",
"literal_value": "True",
"value": true,
"label": "Enrollment Status",
"node_type": "constant.bool"
},
"data": {
"label": "Enrollment Status",
"node_type": "constant.bool",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "bool",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "bool",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "bool",
"description": "Constant result alias."
}
],
"parameters": {
"const_name": "IS_ENROLLED",
"const_type": "bool",
"literal_value": "True",
"value": true
},
"customData": {
"const_name": "IS_ENROLLED",
"const_type": "bool",
"literal_value": "True",
"value": true
},
"is_alternative_entry": false
},
"customData": {
"const_name": "IS_ENROLLED",
"const_type": "bool",
"literal_value": "True",
"value": true
},
"is_alternative_entry": false
},
{
"id": "c_none",
"type": "core.constant",
"node_type": "core.constant",
"name": "Null Default",
"position": {
"x": 300,
"y": 480
},
"parameters": {
"const_name": "NULL_VAL",
"const_type": "str",
"literal_value": "None",
"value": "None",
"label": "Null Default",
"node_type": "core.constant"
},
"data": {
"label": "Null Default",
"node_type": "core.constant",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "any",
"description": "Emitted constant value."
},
{
"id": "out",
"name": "Output",
"type": "any",
"description": "Emitted constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Emitted constant result alias."
}
],
"parameters": {
"const_name": "NULL_VAL",
"const_type": "str",
"literal_value": "None",
"value": "None"
},
"customData": {
"const_name": "NULL_VAL",
"const_type": "str",
"literal_value": "None",
"value": "None"
},
"is_alternative_entry": false
},
"customData": {
"const_name": "NULL_VAL",
"const_type": "str",
"literal_value": "None",
"value": "None"
},
"is_alternative_entry": false
},
{
"id": "v_status",
"type": "core.variable",
"node_type": "core.variable",
"name": "Status Var",
"position": {
"x": 300,
"y": 610
},
"parameters": {
"var_name": "student_status",
"var_type": "str",
"literal_value": "PENDING",
"value": "PENDING",
"label": "Status Var",
"node_type": "core.variable"
},
"data": {
"label": "Status Var",
"node_type": "core.variable",
"inputs": [
{
"id": "in_val",
"name": "Initial In",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Optional upstream value to assign into variable."
}
],
"outputs": [
{
"id": "out_val",
"name": "Value",
"type": "any",
"description": "Current variable value emitted downstream."
}
],
"parameters": {
"var_name": "student_status",
"var_type": "str",
"literal_value": "PENDING",
"value": "PENDING"
},
"customData": {
"var_name": "student_status",
"var_type": "str",
"literal_value": "PENDING",
"value": "PENDING"
},
"is_alternative_entry": false
},
"customData": {
"var_name": "student_status",
"var_type": "str",
"literal_value": "PENDING",
"value": "PENDING"
},
"is_alternative_entry": false
},
{
"id": "d_dict",
"type": "data.dict",
"node_type": "data.dict",
"name": "Student Dict",
"position": {
"x": 800,
"y": 100
},
"parameters": {
"operation": "get",
"initial_dict": {
"name": "Arun",
"active": true
},
"query_key": "name",
"label": "Student Dict",
"node_type": "data.dict"
},
"data": {
"label": "Student Dict",
"node_type": "data.dict",
"inputs": [
{
"id": "dict_in",
"name": "Dictionary In",
"type": "dict",
"required": false,
"default": null,
"kind": "data",
"description": "Upstream dictionary to inspect or update."
},
{
"id": "key",
"name": "Key",
"type": "str",
"required": false,
"default": null,
"kind": "data",
"description": "Lookup or insertion key."
},
{
"id": "value",
"name": "Value",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Value to associate with key."
}
],
"outputs": [
{
"id": "dict_out",
"name": "Dictionary Output",
"type": "dict",
"description": "Resulting dictionary."
},
{
"id": "result",
"name": "Result Alias",
"type": "dict",
"description": "Resulting dictionary."
},
{
"id": "val",
"name": "Looked-up Value",
"type": "any",
"description": "Value retrieved from dictionary by key."
},
{
"id": "keys",
"name": "Keys List",
"type": "list",
"description": "List of all dictionary keys."
},
{
"id": "values",
"name": "Values List",
"type": "list",
"description": "List of all dictionary values."
},
{
"id": "length",
"name": "Length",
"type": "int",
"description": "Number of key-value pairs."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Output connection for chaining."
}
],
"parameters": {
"operation": "get",
"initial_dict": {
"name": "Arun",
"active": true
},
"query_key": "name"
},
"customData": {
"operation": "get",
"initial_dict": {
"name": "Arun",
"active": true
},
"query_key": "name"
},
"is_alternative_entry": false
},
"customData": {
"operation": "get",
"initial_dict": {
"name": "Arun",
"active": true
},
"query_key": "name"
},
"is_alternative_entry": false
},
{
"id": "d_list",
"type": "data.list",
"node_type": "data.list",
"name": "Marks List",
"position": {
"x": 800,
"y": 250
},
"parameters": {
"operation": "create",
"initial_items": [
80,
70,
90
],
"label": "Marks List",
"node_type": "data.list"
},
"data": {
"label": "Marks List",
"node_type": "data.list",
"inputs": [
{
"id": "items",
"name": "Collection In",
"type": "list",
"required": false,
"default": null,
"kind": "data",
"description": "Upstream list or sequence to extend or inspect."
},
{
"id": "item",
"name": "Item",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Single element to append to the list."
},
{
"id": "index",
"name": "Index",
"type": "int",
"required": false,
"default": null,
"kind": "data",
"description": "Zero-based index for element retrieval."
}
],
"outputs": [
{
"id": "list_out",
"name": "List Output",
"type": "list",
"description": "Resulting list collection."
},
{
"id": "result",
"name": "Result Alias",
"type": "list",
"description": "Resulting list collection."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "item",
"name": "Indexed Item",
"type": "any",
"description": "Element accessed at index position."
},
{
"id": "length",
"name": "Length",
"type": "int",
"description": "Number of elements in list."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Output connection for chaining."
}
],
"parameters": {
"operation": "create",
"initial_items": [
80,
70,
90
]
},
"customData": {
"operation": "create",
"initial_items": [
80,
70,
90
]
},
"is_alternative_entry": false
},
"customData": {
"operation": "create",
"initial_items": [
80,
70,
90
]
},
"is_alternative_entry": false
},
{
"id": "d_tuple",
"type": "data.tuple",
"node_type": "data.tuple",
"name": "Student Record Tuple",
"position": {
"x": 800,
"y": 400
},
"parameters": {
"items": [
"Arun",
2026
],
"label": "Student Record Tuple",
"node_type": "data.tuple"
},
"data": {
"label": "Student Record Tuple",
"node_type": "data.tuple",
"inputs": [
{
"id": "item_1",
"name": "First Item",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "First element for tuple packing."
},
{
"id": "item_2",
"name": "Second Item",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Second element for tuple packing."
},
{
"id": "tuple_in",
"name": "Tuple In",
"type": "tuple",
"required": false,
"default": null,
"kind": "data",
"description": "Upstream tuple to unpack or inspect."
}
],
"outputs": [
{
"id": "tuple_out",
"name": "Tuple Output",
"type": "tuple",
"description": "The immutable tuple sequence."
},
{
"id": "result",
"name": "Result Alias",
"type": "tuple",
"description": "The immutable tuple sequence."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "item_1",
"name": "Unpacked Item 1",
"type": "any",
"description": "First unpacked element."
},
{
"id": "item_2",
"name": "Unpacked Item 2",
"type": "any",
"description": "Second unpacked element."
},
{
"id": "length",
"name": "Length",
"type": "int",
"description": "Number of elements in tuple."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Output connection for chaining."
}
],
"parameters": {
"items": [
"Arun",
2026
]
},
"customData": {
"items": [
"Arun",
2026
]
},
"is_alternative_entry": false
},
"customData": {
"items": [
"Arun",
2026
]
},
"is_alternative_entry": false
},
{
"id": "d_set",
"type": "data.set",
"node_type": "data.set",
"name": "Subjects Set",
"position": {
"x": 800,
"y": 550
},
"parameters": {
"operation": "create",
"items": [
"Math",
"Science",
"English"
],
"label": "Subjects Set",
"node_type": "data.set"
},
"data": {
"label": "Subjects Set",
"node_type": "data.set",
"inputs": [
{
"id": "set_a",
"name": "Set A",
"type": "set",
"required": false,
"default": null,
"kind": "data",
"description": "First collection or set."
},
{
"id": "set_b",
"name": "Set B",
"type": "set",
"required": false,
"default": null,
"kind": "data",
"description": "Second collection for union/intersection/difference."
},
{
"id": "item",
"name": "Member Item",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Item to test for membership or add."
}
],
"outputs": [
{
"id": "set_out",
"name": "Set Output",
"type": "set",
"description": "Unique elements collection."
},
{
"id": "cardinality",
"name": "Cardinality",
"type": "int",
"description": "Number of unique elements."
},
{
"id": "result",
"name": "Result Alias",
"type": "set",
"description": "Unique elements collection."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "size",
"name": "Cardinality / Size",
"type": "int",
"description": "Number of unique elements."
},
{
"id": "is_member",
"name": "Is Member",
"type": "bool",
"description": "True if item is present in set."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Output connection for chaining."
}
],
"parameters": {
"operation": "create",
"items": [
"Math",
"Science",
"English"
]
},
"customData": {
"operation": "create",
"items": [
"Math",
"Science",
"English"
]
},
"is_alternative_entry": false
},
"customData": {
"operation": "create",
"items": [
"Math",
"Science",
"English"
]
},
"is_alternative_entry": false
},
{
"id": "t_cast",
"type": "core.type_cast",
"node_type": "core.type_cast",
"name": "Cast Mark to Float",
"position": {
"x": 1050,
"y": 250
},
"parameters": {
"target_type": "float",
"label": "Cast Mark to Float",
"node_type": "core.type_cast"
},
"data": {
"label": "Cast Mark to Float",
"node_type": "core.type_cast",
"inputs": [
{
"id": "value",
"name": "Input Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Value to convert."
}
],
"outputs": [
{
"id": "result",
"name": "Converted Result",
"type": "any",
"description": "Value converted to target type."
}
],
"parameters": {
"target_type": "float"
},
"customData": {
"target_type": "float"
},
"is_alternative_entry": false
},
"customData": {
"target_type": "float"
},
"is_alternative_entry": false
},
{
"id": "m_mark1",
"type": "constant.int",
"node_type": "constant.int",
"name": "Mark 1 (80)",
"position": {
"x": 1300,
"y": 50
},
"parameters": {
"literal_value": "80",
"value": 80,
"label": "Mark 1 (80)",
"node_type": "constant.int"
},
"data": {
"label": "Mark 1 (80)",
"node_type": "constant.int",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "int",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "int",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "int",
"description": "Constant result alias."
}
],
"parameters": {
"literal_value": "80",
"value": 80
},
"customData": {
"literal_value": "80",
"value": 80
},
"is_alternative_entry": false
},
"customData": {
"literal_value": "80",
"value": 80
},
"is_alternative_entry": false
},
{
"id": "m_mark2",
"type": "constant.int",
"node_type": "constant.int",
"name": "Mark 2 (70)",
"position": {
"x": 1300,
"y": 160
},
"parameters": {
"literal_value": "70",
"value": 70,
"label": "Mark 2 (70)",
"node_type": "constant.int"
},
"data": {
"label": "Mark 2 (70)",
"node_type": "constant.int",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "int",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "int",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "int",
"description": "Constant result alias."
}
],
"parameters": {
"literal_value": "70",
"value": 70
},
"customData": {
"literal_value": "70",
"value": 70
},
"is_alternative_entry": false
},
"customData": {
"literal_value": "70",
"value": 70
},
"is_alternative_entry": false
},
{
"id": "m_mark3",
"type": "constant.int",
"node_type": "constant.int",
"name": "Mark 3 (90)",
"position": {
"x": 1300,
"y": 270
},
"parameters": {
"literal_value": "90",
"value": 90,
"label": "Mark 3 (90)",
"node_type": "constant.int"
},
"data": {
"label": "Mark 3 (90)",
"node_type": "constant.int",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "int",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "int",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "int",
"description": "Constant result alias."
}
],
"parameters": {
"literal_value": "90",
"value": 90
},
"customData": {
"literal_value": "90",
"value": 90
},
"is_alternative_entry": false
},
"customData": {
"literal_value": "90",
"value": 90
},
"is_alternative_entry": false
},
{
"id": "op_sum1",
"type": "core.binary_op",
"node_type": "core.binary_op",
"name": "Add Marks 1 & 2",
"position": {
"x": 1500,
"y": 100
},
"parameters": {
"operator": "+",
"label": "Add Marks 1 & 2",
"node_type": "core.binary_op"
},
"data": {
"label": "Add Marks 1 & 2",
"node_type": "core.binary_op",
"inputs": [
{
"id": "a",
"name": "Left Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Left-hand operand of the binary operation."
},
{
"id": "b",
"name": "Right Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Right-hand operand of the binary operation."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Computed result of A [op] B."
}
],
"parameters": {
"operator": "+"
},
"customData": {
"operator": "+"
},
"is_alternative_entry": false
},
"customData": {
"operator": "+"
},
"is_alternative_entry": false
},
{
"id": "op_sum2",
"type": "core.binary_op",
"node_type": "core.binary_op",
"name": "Total Marks (240)",
"position": {
"x": 1700,
"y": 150
},
"parameters": {
"operator": "+",
"label": "Total Marks (240)",
"node_type": "core.binary_op"
},
"data": {
"label": "Total Marks (240)",
"node_type": "core.binary_op",
"inputs": [
{
"id": "a",
"name": "Left Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Left-hand operand of the binary operation."
},
{
"id": "b",
"name": "Right Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Right-hand operand of the binary operation."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Computed result of A [op] B."
}
],
"parameters": {
"operator": "+"
},
"customData": {
"operator": "+"
},
"is_alternative_entry": false
},
"customData": {
"operator": "+"
},
"is_alternative_entry": false
},
{
"id": "c_count",
"type": "constant.int",
"node_type": "constant.int",
"name": "Subject Count (3)",
"position": {
"x": 1500,
"y": 270
},
"parameters": {
"literal_value": "3",
"value": 3,
"label": "Subject Count (3)",
"node_type": "constant.int"
},
"data": {
"label": "Subject Count (3)",
"node_type": "constant.int",
"inputs": [],
"outputs": [
{
"id": "val",
"name": "Value",
"type": "int",
"description": "Constant value."
},
{
"id": "out",
"name": "Output",
"type": "int",
"description": "Constant output alias."
},
{
"id": "result",
"name": "Result",
"type": "int",
"description": "Constant result alias."
}
],
"parameters": {
"literal_value": "3",
"value": 3
},
"customData": {
"literal_value": "3",
"value": 3
},
"is_alternative_entry": false
},
"customData": {
"literal_value": "3",
"value": 3
},
"is_alternative_entry": false
},
{
"id": "op_avg",
"type": "core.binary_op",
"node_type": "core.binary_op",
"name": "Average (80.0)",
"position": {
"x": 1900,
"y": 200
},
"parameters": {
"operator": "/",
"label": "Average (80.0)",
"node_type": "core.binary_op"
},
"data": {
"label": "Average (80.0)",
"node_type": "core.binary_op",
"inputs": [
{
"id": "a",
"name": "Left Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Left-hand operand of the binary operation."
},
{
"id": "b",
"name": "Right Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Right-hand operand of the binary operation."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Computed result of A [op] B."
}
],
"parameters": {
"operator": "/"
},
"customData": {
"operator": "/"
},
"is_alternative_entry": false
},
"customData": {
"operator": "/"
},
"is_alternative_entry": false
},
{
"id": "m_sqrt",
"type": "math.sqrt",
"node_type": "math.sqrt",
"name": "Sqrt Average",
"position": {
"x": 2150,
"y": 50
},
"parameters": {
"rounding": "round",
"precision": 2,
"label": "Sqrt Average",
"node_type": "math.sqrt"
},
"data": {
"label": "Sqrt Average",
"node_type": "math.sqrt",
"inputs": [
{
"id": "x",
"name": "Input Value",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": "Non-negative numeric operand to compute square root for."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "float",
"description": "Computed square root float value."
}
],
"parameters": {
"rounding": "round",
"precision": 2
},
"customData": {
"rounding": "round",
"precision": 2
},
"is_alternative_entry": false
},
"customData": {
"rounding": "round",
"precision": 2
},
"is_alternative_entry": false
},
{
"id": "m_pow",
"type": "math.pow",
"node_type": "math.pow",
"name": "Power Average^2",
"position": {
"x": 2150,
"y": 160
},
"parameters": {
"x": 80.0,
"y": 2.0,
"label": "Power Average^2",
"node_type": "math.pow"
},
"data": {
"label": "Power Average^2",
"node_type": "math.pow",
"inputs": [
{
"id": "x",
"name": "Base (x)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
},
{
"id": "y",
"name": "Exponent (y)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "float",
"description": ""
}
],
"parameters": {
"x": 80.0,
"y": 2.0
},
"customData": {
"x": 80.0,
"y": 2.0
},
"is_alternative_entry": false
},
"customData": {
"x": 80.0,
"y": 2.0
},
"is_alternative_entry": false
},
{
"id": "m_abs",
"type": "math.abs",
"node_type": "math.abs",
"name": "Abs Value",
"position": {
"x": 2150,
"y": 270
},
"parameters": {
"x": -80.0,
"label": "Abs Value",
"node_type": "math.abs"
},
"data": {
"label": "Abs Value",
"node_type": "math.abs",
"inputs": [
{
"id": "x",
"name": "Input (x)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Absolute Value",
"type": "float",
"description": ""
}
],
"parameters": {
"x": -80.0
},
"customData": {
"x": -80.0
},
"is_alternative_entry": false
},
"customData": {
"x": -80.0
},
"is_alternative_entry": false
},
{
"id": "m_round",
"type": "math.round",
"node_type": "math.round",
"name": "Round Value",
"position": {
"x": 2150,
"y": 380
},
"parameters": {
"x": 80.456,
"precision": 1,
"label": "Round Value",
"node_type": "math.round"
},
"data": {
"label": "Round Value",
"node_type": "math.round",
"inputs": [
{
"id": "x",
"name": "Input (x)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Rounded Result",
"type": "float",
"description": ""
}
],
"parameters": {
"x": 80.456,
"precision": 1
},
"customData": {
"x": 80.456,
"precision": 1
},
"is_alternative_entry": false
},
"customData": {
"x": 80.456,
"precision": 1
},
"is_alternative_entry": false
},
{
"id": "m_ceil",
"type": "math.ceil",
"node_type": "math.ceil",
"name": "Ceil Value",
"position": {
"x": 2150,
"y": 490
},
"parameters": {
"x": 80.1,
"label": "Ceil Value",
"node_type": "math.ceil"
},
"data": {
"label": "Ceil Value",
"node_type": "math.ceil",
"inputs": [
{
"id": "x",
"name": "Input (x)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Ceil Result",
"type": "int",
"description": ""
}
],
"parameters": {
"x": 80.1
},
"customData": {
"x": 80.1
},
"is_alternative_entry": false
},
"customData": {
"x": 80.1
},
"is_alternative_entry": false
},
{
"id": "m_floor",
"type": "math.floor",
"node_type": "math.floor",
"name": "Floor Value",
"position": {
"x": 2150,
"y": 600
},
"parameters": {
"x": 80.9,
"label": "Floor Value",
"node_type": "math.floor"
},
"data": {
"label": "Floor Value",
"node_type": "math.floor",
"inputs": [
{
"id": "x",
"name": "Input (x)",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Floor Result",
"type": "int",
"description": ""
}
],
"parameters": {
"x": 80.9
},
"customData": {
"x": 80.9
},
"is_alternative_entry": false
},
"customData": {
"x": 80.9
},
"is_alternative_entry": false
},
{
"id": "m_max",
"type": "math.max",
"node_type": "math.max",
"name": "Max Mark",
"position": {
"x": 2150,
"y": 710
},
"parameters": {
"a": 80.0,
"b": 90.0,
"label": "Max Mark",
"node_type": "math.max"
},
"data": {
"label": "Max Mark",
"node_type": "math.max",
"inputs": [
{
"id": "a",
"name": "Number A",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
},
{
"id": "b",
"name": "Number B",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Maximum",
"type": "float",
"description": ""
}
],
"parameters": {
"a": 80.0,
"b": 90.0
},
"customData": {
"a": 80.0,
"b": 90.0
},
"is_alternative_entry": false
},
"customData": {
"a": 80.0,
"b": 90.0
},
"is_alternative_entry": false
},
{
"id": "m_min",
"type": "math.min",
"node_type": "math.min",
"name": "Min Mark",
"position": {
"x": 2150,
"y": 820
},
"parameters": {
"a": 80.0,
"b": 70.0,
"label": "Min Mark",
"node_type": "math.min"
},
"data": {
"label": "Min Mark",
"node_type": "math.min",
"inputs": [
{
"id": "a",
"name": "Number A",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
},
{
"id": "b",
"name": "Number B",
"type": "float",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Minimum",
"type": "float",
"description": ""
}
],
"parameters": {
"a": 80.0,
"b": 70.0
},
"customData": {
"a": 80.0,
"b": 70.0
},
"is_alternative_entry": false
},
"customData": {
"a": 80.0,
"b": 70.0
},
"is_alternative_entry": false
},
{
"id": "op_cmp",
"type": "core.compare",
"node_type": "core.compare",
"name": "Average >= 50",
"position": {
"x": 2400,
"y": 200
},
"parameters": {
"operator": ">=",
"label": "Average >= 50",
"node_type": "core.compare"
},
"data": {
"label": "Average >= 50",
"node_type": "core.compare",
"inputs": [
{
"id": "a",
"name": "Value A",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Left-hand operand."
},
{
"id": "b",
"name": "Value B",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Right-hand operand."
}
],
"outputs": [
{
"id": "result",
"name": "Result (Boolean)",
"type": "bool",
"description": "Boolean comparison result."
}
],
"parameters": {
"operator": ">="
},
"customData": {
"operator": ">="
},
"is_alternative_entry": false
},
"customData": {
"operator": ">="
},
"is_alternative_entry": false
},
{
"id": "op_logic",
"type": "core.logical_op",
"node_type": "core.logical_op",
"name": "Pass AND Enrolled",
"position": {
"x": 2600,
"y": 200
},
"parameters": {
"operator": "and",
"label": "Pass AND Enrolled",
"node_type": "core.logical_op"
},
"data": {
"label": "Pass AND Enrolled",
"node_type": "core.logical_op",
"inputs": [
{
"id": "a",
"name": "Condition A",
"type": "bool",
"required": true,
"default": null,
"kind": "data",
"description": "First boolean operand."
},
{
"id": "b",
"name": "Condition B",
"type": "bool",
"required": false,
"default": null,
"kind": "data",
"description": "Second boolean operand (optional for NOT)."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "bool",
"description": "Computed boolean result."
}
],
"parameters": {
"operator": "and"
},
"customData": {
"operator": "and"
},
"is_alternative_entry": false
},
"customData": {
"operator": "and"
},
"is_alternative_entry": false
},
{
"id": "ctrl_branch",
"type": "control.if_else",
"node_type": "control.if_else",
"name": "Pass/Fail Branch",
"position": {
"x": 2850,
"y": 200
},
"parameters": {
"default_then": "PASS",
"default_else": "FAIL",
"label": "Pass/Fail Branch",
"node_type": "control.if_else"
},
"data": {
"label": "Pass/Fail Branch",
"node_type": "control.if_else",
"inputs": [
{
"id": "condition",
"name": "Condition",
"type": "bool",
"required": true,
"default": null,
"kind": "data",
"description": "Boolean condition or expression to evaluate."
},
{
"id": "then_val",
"name": "Then Value",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Value passed downstream if condition is True."
},
{
"id": "else_val",
"name": "Else Value",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Value passed downstream if condition is False."
}
],
"outputs": [
{
"id": "result",
"name": "Selected Value",
"type": "any",
"description": ""
},
{
"id": "branch_taken",
"name": "Branch Taken",
"type": "str",
"description": ""
}
],
"parameters": {
"default_then": "PASS",
"default_else": "FAIL"
},
"customData": {
"default_then": "PASS",
"default_else": "FAIL"
},
"is_alternative_entry": false
},
"customData": {
"default_then": "PASS",
"default_else": "FAIL"
},
"is_alternative_entry": false
},
{
"id": "ctrl_for",
"type": "control.for_loop",
"node_type": "control.for_loop",
"name": "Iterate Marks",
"position": {
"x": 2850,
"y": 350
},
"parameters": {
"mode": "iterable",
"loop_var": "m",
"range_start": 0,
"range_stop": 3,
"range_step": 1,
"label": "Iterate Marks",
"node_type": "control.for_loop"
},
"data": {
"label": "Iterate Marks",
"node_type": "control.for_loop",
"inputs": [
{
"id": "iterable",
"name": "Iterable / Collection",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "List, range, or iterable collection to traverse. If unconnected, uses range_count parameter."
}
],
"outputs": [
{
"id": "item",
"name": "Current Item",
"type": "any",
"description": "Current iteration value or index."
},
{
"id": "collected",
"name": "Collected List",
"type": "list",
"description": "Accumulated list of all traversed iteration values."
},
{
"id": "iteration_count",
"name": "Iteration Count",
"type": "int",
"description": "Total number of completed loop cycles."
},
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Final collected result of the loop."
}
],
"parameters": {
"mode": "iterable",
"loop_var": "m",
"range_start": 0,
"range_stop": 3,
"range_step": 1
},
"customData": {
"mode": "iterable",
"loop_var": "m",
"range_start": 0,
"range_stop": 3,
"range_step": 1
},
"is_alternative_entry": false
},
"customData": {
"mode": "iterable",
"loop_var": "m",
"range_start": 0,
"range_stop": 3,
"range_step": 1
},
"is_alternative_entry": false
},
{
"id": "ctrl_while",
"type": "control.while_loop",
"node_type": "control.while_loop",
"name": "Bounded Counter While",
"position": {
"x": 2850,
"y": 500
},
"parameters": {
"max_iterations": 3,
"condition_op": "<",
"threshold": 3,
"step": 1,
"initial_value": 0,
"label": "Bounded Counter While",
"node_type": "control.while_loop"
},
"data": {
"label": "Bounded Counter While",
"node_type": "control.while_loop",
"inputs": [
{
"id": "initial_value",
"name": "Initial Value",
"type": "number",
"required": false,
"default": null,
"kind": "data",
"description": "Starting counter value (defaults to 0)."
},
{
"id": "step",
"name": "Step Increment",
"type": "number",
"required": false,
"default": null,
"kind": "data",
"description": "Counter increment per iteration (defaults to step_value parameter)."
}
],
"outputs": [
{
"id": "result",
"name": "Final Value",
"type": "any",
"description": "Counter value when loop terminates."
},
{
"id": "iteration_count",
"name": "Iteration Count",
"type": "int",
"description": "Total number of iterations performed."
},
{
"id": "terminated_by_limit",
"name": "Hit Safety Limit",
"type": "bool",
"description": "True if loop was forcibly stopped by the safety limit (infinite loop prevention)."
}
],
"parameters": {
"max_iterations": 3,
"condition_op": "<",
"threshold": 3,
"step": 1,
"initial_value": 0
},
"customData": {
"max_iterations": 3,
"condition_op": "<",
"threshold": 3,
"step": 1,
"initial_value": 0
},
"is_alternative_entry": false
},
"customData": {
"max_iterations": 3,
"condition_op": "<",
"threshold": 3,
"step": 1,
"initial_value": 0
},
"is_alternative_entry": false
},
{
"id": "ctrl_loop_action",
"type": "control.loop_control",
"node_type": "control.loop_control",
"name": "Loop Break/Pass",
"position": {
"x": 3100,
"y": 350
},
"parameters": {
"action": "break",
"label": "Loop Break/Pass",
"node_type": "control.loop_control"
},
"data": {
"label": "Loop Break/Pass",
"node_type": "control.loop_control",
"inputs": [
{
"id": "condition",
"name": "Trigger Condition",
"type": "bool",
"required": true,
"default": null,
"kind": "data",
"description": "Condition that triggers break or continue."
}
],
"outputs": [
{
"id": "action_taken",
"name": "Action Taken",
"type": "str",
"description": "Executed action string ('break', 'continue', or 'none')."
},
{
"id": "signal",
"name": "Signal",
"type": "str",
"description": "Control signal alias."
}
],
"parameters": {
"action": "break"
},
"customData": {
"action": "break"
},
"is_alternative_entry": false
},
"customData": {
"action": "break"
},
"is_alternative_entry": false
},
{
"id": "fn_def",
"type": "function.def",
"node_type": "function.def",
"name": "Grade Calc Function",
"position": {
"x": 2850,
"y": 700
},
"parameters": {
"func_name": "calc_grade",
"params_list": "score",
"return_expr": "'Grade A' if score >= 80 else 'Grade B'",
"label": "Grade Calc Function",
"node_type": "function.def"
},
"data": {
"label": "Grade Calc Function",
"node_type": "function.def",
"inputs": [],
"outputs": [
{
"id": "func_ref",
"name": "Function Reference",
"type": "callable",
"description": "Callable reference to pass into Function Call nodes."
},
{
"id": "out",
"name": "Function Name",
"type": "str",
"description": "Declared function identifier name."
}
],
"parameters": {
"func_name": "calc_grade",
"params_list": "score",
"return_expr": "'Grade A' if score >= 80 else 'Grade B'"
},
"customData": {
"func_name": "calc_grade",
"params_list": "score",
"return_expr": "'Grade A' if score >= 80 else 'Grade B'"
},
"is_alternative_entry": false
},
"customData": {
"func_name": "calc_grade",
"params_list": "score",
"return_expr": "'Grade A' if score >= 80 else 'Grade B'"
},
"is_alternative_entry": false
},
{
"id": "fn_call",
"type": "function.call",
"node_type": "function.call",
"name": "Call Grade Calc",
"position": {
"x": 3100,
"y": 700
},
"parameters": {
"func_name": "calc_grade",
"arg_val": 80.0,
"label": "Call Grade Calc",
"node_type": "function.call"
},
"data": {
"label": "Call Grade Calc",
"node_type": "function.call",
"inputs": [
{
"id": "func_in",
"name": "Function Reference",
"type": "callable",
"required": false,
"default": null,
"kind": "data",
"description": "Connection from a Function Definition node's func_ref output."
},
{
"id": "arg",
"name": "Argument 1",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "First argument value passed to the function parameter."
},
{
"id": "arg_2",
"name": "Argument 2",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Second argument value passed to the function parameter."
}
],
"outputs": [
{
"id": "result",
"name": "Return Value",
"type": "any",
"description": "Evaluated return result from the executed function."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Result output for linear chaining."
}
],
"parameters": {
"func_name": "calc_grade",
"arg_val": 80.0
},
"customData": {
"func_name": "calc_grade",
"arg_val": 80.0
},
"is_alternative_entry": false
},
"customData": {
"func_name": "calc_grade",
"arg_val": 80.0
},
"is_alternative_entry": false
},
{
"id": "oop_class",
"type": "oop.class_def",
"node_type": "oop.class_def",
"name": "Student Class",
"position": {
"x": 2850,
"y": 900
},
"parameters": {
"class_name": "Student",
"attributes": "name, score",
"methods": "add_bonus",
"docstring": "Represents student record.",
"label": "Student Class",
"node_type": "oop.class_def"
},
"data": {
"label": "Student Class",
"node_type": "oop.class_def",
"inputs": [],
"outputs": [
{
"id": "class_ref",
"name": "Class Reference",
"type": "any",
"description": "Class blueprint reference to connect into Create Instance nodes."
},
{
"id": "class_name",
"name": "Class Name",
"type": "str",
"description": "Declared identifier name of the class."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Convenience alias for class reference."
}
],
"parameters": {
"class_name": "Student",
"attributes": "name, score",
"methods": "add_bonus",
"docstring": "Represents student record."
},
"customData": {
"class_name": "Student",
"attributes": "name, score",
"methods": "add_bonus",
"docstring": "Represents student record."
},
"is_alternative_entry": false
},
"customData": {
"class_name": "Student",
"attributes": "name, score",
"methods": "add_bonus",
"docstring": "Represents student record."
},
"is_alternative_entry": false
},
{
"id": "oop_inst",
"type": "oop.instance",
"node_type": "oop.instance",
"name": "Student Instance",
"position": {
"x": 3100,
"y": 900
},
"parameters": {
"class_name": "Student",
"arg_1_val": "Arun",
"arg_2_val": 240,
"label": "Student Instance",
"node_type": "oop.instance"
},
"data": {
"label": "Student Instance",
"node_type": "oop.instance",
"inputs": [
{
"id": "class_in",
"name": "Class Blueprint",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Connection from an oop.class_def class_ref output."
},
{
"id": "arg_1",
"name": "Argument 1 (name)",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "First constructor argument (e.g. student name)."
},
{
"id": "arg_2",
"name": "Argument 2 (score)",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Second constructor argument (e.g. initial score)."
}
],
"outputs": [
{
"id": "instance",
"name": "Object Instance",
"type": "object",
"description": "Instantiated object storing instance attributes and state."
},
{
"id": "result",
"name": "Instance Alias",
"type": "object",
"description": "Convenience alias for instance output."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Convenience output connection for linear chaining."
}
],
"parameters": {
"class_name": "Student",
"arg_1_val": "Arun",
"arg_2_val": 240
},
"customData": {
"class_name": "Student",
"arg_1_val": "Arun",
"arg_2_val": 240
},
"is_alternative_entry": false
},
"customData": {
"class_name": "Student",
"arg_1_val": "Arun",
"arg_2_val": 240
},
"is_alternative_entry": false
},
{
"id": "oop_method",
"type": "oop.method_call",
"node_type": "oop.method_call",
"name": "Student Add Bonus",
"position": {
"x": 3350,
"y": 900
},
"parameters": {
"method_name": "add_bonus",
"attribute_to_modify": "score",
"operation": "increment",
"default_arg": 10,
"label": "Student Add Bonus",
"node_type": "oop.method_call"
},
"data": {
"label": "Student Add Bonus",
"node_type": "oop.method_call",
"inputs": [
{
"id": "instance_in",
"name": "Target Instance",
"type": "object",
"required": true,
"default": null,
"kind": "data",
"description": "Object instance to call the method on."
},
{
"id": "arg",
"name": "Method Argument",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Primary argument passed to the method (e.g. bonus points)."
},
{
"id": "arg_2",
"name": "Method Argument 2",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Optional secondary argument passed to the method."
}
],
"outputs": [
{
"id": "updated_instance",
"name": "Updated Instance",
"type": "object",
"description": "Instance object reflecting post-call updated state."
},
{
"id": "result",
"name": "Return Value",
"type": "any",
"description": "Evaluated return value from the method call."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Convenience output connection for linear chaining."
}
],
"parameters": {
"method_name": "add_bonus",
"attribute_to_modify": "score",
"operation": "increment",
"default_arg": 10
},
"customData": {
"method_name": "add_bonus",
"attribute_to_modify": "score",
"operation": "increment",
"default_arg": 10
},
"is_alternative_entry": false
},
"customData": {
"method_name": "add_bonus",
"attribute_to_modify": "score",
"operation": "increment",
"default_arg": 10
},
"is_alternative_entry": false
},
{
"id": "s_transform",
"type": "string.transform",
"node_type": "string.transform",
"name": "Normalize Name (Upper)",
"position": {
"x": 3400,
"y": 150
},
"parameters": {
"operation": "upper",
"label": "Normalize Name (Upper)",
"node_type": "string.transform"
},
"data": {
"label": "Normalize Name (Upper)",
"node_type": "string.transform",
"inputs": [
{
"id": "text_in",
"name": "Input Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "text_out",
"name": "Transformed Text",
"type": "str",
"description": ""
},
{
"id": "length",
"name": "Character Count",
"type": "int",
"description": ""
}
],
"parameters": {
"operation": "upper"
},
"customData": {
"operation": "upper"
},
"is_alternative_entry": false
},
"customData": {
"operation": "upper"
},
"is_alternative_entry": false
},
{
"id": "s_split",
"type": "string.split",
"node_type": "string.split",
"name": "Split Subjects",
"position": {
"x": 3400,
"y": 300
},
"parameters": {
"delimiter": ",",
"text": "Math,Science,English",
"label": "Split Subjects",
"node_type": "string.split"
},
"data": {
"label": "Split Subjects",
"node_type": "string.split",
"inputs": [
{
"id": "text",
"name": "Input Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "items",
"name": "Item List",
"type": "list",
"description": ""
},
{
"id": "count",
"name": "Item Count",
"type": "int",
"description": ""
}
],
"parameters": {
"delimiter": ",",
"text": "Math,Science,English"
},
"customData": {
"delimiter": ",",
"text": "Math,Science,English"
},
"is_alternative_entry": false
},
"customData": {
"delimiter": ",",
"text": "Math,Science,English"
},
"is_alternative_entry": false
},
{
"id": "s_concat",
"type": "string.concat",
"node_type": "string.concat",
"name": "Concat Header",
"position": {
"x": 3400,
"y": 450
},
"parameters": {
"separator": ": ",
"a": "Student Report",
"b": "Arun",
"label": "Concat Header",
"node_type": "string.concat"
},
"data": {
"label": "Concat Header",
"node_type": "string.concat",
"inputs": [
{
"id": "a",
"name": "Text A",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": ""
},
{
"id": "b",
"name": "Text B",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": ""
}
],
"outputs": [
{
"id": "result",
"name": "Combined Text",
"type": "str",
"description": ""
},
{
"id": "length",
"name": "Length",
"type": "int",
"description": ""
}
],
"parameters": {
"separator": ": ",
"a": "Student Report",
"b": "Arun"
},
"customData": {
"separator": ": ",
"a": "Student Report",
"b": "Arun"
},
"is_alternative_entry": false
},
"customData": {
"separator": ": ",
"a": "Student Report",
"b": "Arun"
},
"is_alternative_entry": false
},
{
"id": "m_import",
"type": "lang.import",
"node_type": "lang.import",
"name": "Import Math Module",
"position": {
"x": 3700,
"y": 50
},
"parameters": {
"module_name": "math",
"function_name": "sqrt",
"label": "Import Math Module",
"node_type": "lang.import"
},
"data": {
"label": "Import Math Module",
"node_type": "lang.import",
"inputs": [
{
"id": "data_in",
"name": "Data In",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Payload or argument passed to the imported utility function."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Evaluated result of the module function."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "module_ref",
"name": "Module Name",
"type": "str",
"description": "Name of the imported module."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Convenience output connection for linear chaining."
}
],
"parameters": {
"module_name": "math",
"function_name": "sqrt"
},
"customData": {
"module_name": "math",
"function_name": "sqrt"
},
"is_alternative_entry": false
},
"customData": {
"module_name": "math",
"function_name": "sqrt"
},
"is_alternative_entry": false
},
{
"id": "csv_str",
"type": "csv.stringify",
"node_type": "csv.stringify",
"name": "CSV Serialize Report",
"position": {
"x": 3700,
"y": 200
},
"parameters": {
"delimiter": ",",
"rows": [
[
"Product",
"Score"
],
[
"Arun",
240
]
],
"label": "CSV Serialize Report",
"node_type": "csv.stringify"
},
"data": {
"label": "CSV Serialize Report",
"node_type": "csv.stringify",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "rows",
"name": "Rows",
"type": "list",
"required": true,
"default": null,
"kind": "data",
"description": "Array of row objects or arrays to serialize."
},
{
"id": "headers",
"name": "Custom Headers",
"type": "list",
"required": false,
"default": null,
"kind": "data",
"description": "Optional column headers override."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after serialization."
},
{
"id": "text",
"name": "CSV Text",
"type": "str",
"description": "Formatted CSV text string."
},
{
"id": "row_count",
"name": "Row Count",
"type": "int",
"description": "Number of rows serialized."
},
{
"id": "byte_size",
"name": "Byte Size",
"type": "int",
"description": "Byte length of generated CSV text."
},
{
"id": "success",
"name": "Success",
"type": "bool",
"description": "True if CSV serialization succeeded."
}
],
"parameters": {
"delimiter": ",",
"rows": [
[
"Product",
"Score"
],
[
"Arun",
240
]
]
},
"customData": {
"delimiter": ",",
"rows": [
[
"Product",
"Score"
],
[
"Arun",
240
]
]
},
"is_alternative_entry": false
},
"customData": {
"delimiter": ",",
"rows": [
[
"Product",
"Score"
],
[
"Arun",
240
]
]
},
"is_alternative_entry": false
},
{
"id": "csv_prs",
"type": "csv.parse",
"node_type": "csv.parse",
"name": "CSV Parse Report",
"position": {
"x": 3950,
"y": 200
},
"parameters": {
"delimiter": ",",
"has_header": true,
"skip_empty_lines": true,
"trim_whitespace": true,
"label": "CSV Parse Report",
"node_type": "csv.parse"
},
"data": {
"label": "CSV Parse Report",
"node_type": "csv.parse",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "text",
"name": "CSV Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": "Delimited text content to parse."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after parsing CSV."
},
{
"id": "rows",
"name": "Rows",
"type": "list",
"description": "Parsed list of objects or list of row arrays."
},
{
"id": "headers",
"name": "Headers",
"type": "list",
"description": "Extracted column header names."
},
{
"id": "row_count",
"name": "Row Count",
"type": "int",
"description": "Number of data rows parsed."
},
{
"id": "success",
"name": "Success",
"type": "bool",
"description": "True if CSV parse completed without error."
}
],
"parameters": {
"delimiter": ",",
"has_header": true,
"skip_empty_lines": true,
"trim_whitespace": true
},
"customData": {
"delimiter": ",",
"has_header": true,
"skip_empty_lines": true,
"trim_whitespace": true
},
"is_alternative_entry": false
},
"customData": {
"delimiter": ",",
"has_header": true,
"skip_empty_lines": true,
"trim_whitespace": true
},
"is_alternative_entry": false
},
{
"id": "f_write",
"type": "file.write",
"node_type": "file.write",
"name": "Write Report File",
"position": {
"x": 3700,
"y": 380
},
"parameters": {
"path": "student_report.txt",
"mode": "write",
"encoding": "utf-8",
"create_dirs": true,
"content": "[REPORT] Arun: PASS (Total: 240, Avg: 80.0)",
"label": "Write Report File",
"node_type": "file.write"
},
"data": {
"label": "Write Report File",
"node_type": "file.write",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "content",
"name": "Content to Write",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Payload to serialize and write to the file."
},
{
"id": "file_path",
"name": "File Path Override",
"type": "str",
"required": false,
"default": null,
"kind": "data",
"description": "Optional path override within the sandbox."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after writing file."
},
{
"id": "bytes_written",
"name": "Bytes Written",
"type": "int",
"description": "Number of bytes written to disk."
},
{
"id": "file_path",
"name": "Resolved Path",
"type": "str",
"description": "Relative path of written file."
},
{
"id": "success",
"name": "Success",
"type": "bool",
"description": "True if write operation succeeded."
}
],
"parameters": {
"path": "student_report.txt",
"mode": "write",
"encoding": "utf-8",
"create_dirs": true,
"content": "[REPORT] Arun: PASS (Total: 240, Avg: 80.0)"
},
"customData": {
"path": "student_report.txt",
"mode": "write",
"encoding": "utf-8",
"create_dirs": true,
"content": "[REPORT] Arun: PASS (Total: 240, Avg: 80.0)"
},
"is_alternative_entry": false
},
"customData": {
"path": "student_report.txt",
"mode": "write",
"encoding": "utf-8",
"create_dirs": true,
"content": "[REPORT] Arun: PASS (Total: 240, Avg: 80.0)"
},
"is_alternative_entry": false
},
{
"id": "f_read",
"type": "file.read",
"node_type": "file.read",
"name": "Read Report File",
"position": {
"x": 3950,
"y": 380
},
"parameters": {
"path": "student_report.txt",
"mode": "text",
"encoding": "utf-8",
"label": "Read Report File",
"node_type": "file.read"
},
"data": {
"label": "Read Report File",
"node_type": "file.read",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "file_path",
"name": "File Path Override",
"type": "str",
"required": false,
"default": null,
"kind": "data",
"description": "Optional path override within the sandbox."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after reading file."
},
{
"id": "content",
"name": "Content",
"type": "any",
"description": "Read file contents in selected format."
},
{
"id": "byte_count",
"name": "Byte Count",
"type": "int",
"description": "Total byte size of read file."
},
{
"id": "success",
"name": "Success",
"type": "bool",
"description": "True if file read completed without errors."
}
],
"parameters": {
"path": "student_report.txt",
"mode": "text",
"encoding": "utf-8"
},
"customData": {
"path": "student_report.txt",
"mode": "text",
"encoding": "utf-8"
},
"is_alternative_entry": false
},
"customData": {
"path": "student_report.txt",
"mode": "text",
"encoding": "utf-8"
},
"is_alternative_entry": false
},
{
"id": "ag_prompt",
"type": "agent.prompt_template",
"node_type": "agent.prompt_template",
"name": "Student Summary Prompt",
"position": {
"x": 3700,
"y": 700
},
"parameters": {
"template": "Analyze student performance for {name}: Status {status}",
"label": "Student Summary Prompt",
"node_type": "agent.prompt_template"
},
"data": {
"label": "Student Summary Prompt",
"node_type": "agent.prompt_template",
"inputs": [
{
"id": "variables",
"name": "Variables",
"type": "dict",
"required": false,
"default": null,
"kind": "data",
"description": "Key-value map of template variables."
}
],
"outputs": [
{
"id": "prompt",
"name": "Formatted Prompt",
"type": "str",
"description": "Interpolated text prompt."
}
],
"parameters": {
"template": "Analyze student performance for {name}: Status {status}"
},
"customData": {
"template": "Analyze student performance for {name}: Status {status}"
},
"is_alternative_entry": false
},
"customData": {
"template": "Analyze student performance for {name}: Status {status}"
},
"is_alternative_entry": false
},
{
"id": "ag_llm",
"type": "agent.llm_config",
"node_type": "agent.llm_config",
"name": "Agent LLM Config",
"position": {
"x": 3950,
"y": 700
},
"parameters": {
"model": "gpt-4o",
"temperature": 0.7,
"max_tokens": 2048,
"label": "Agent LLM Config",
"node_type": "agent.llm_config"
},
"data": {
"label": "Agent LLM Config",
"node_type": "agent.llm_config",
"inputs": [
{
"id": "prompt",
"name": "Prompt Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": "Input prompt string sent to LLM."
}
],
"outputs": [
{
"id": "response",
"name": "Response Text",
"type": "str",
"description": "Generated LLM response content."
}
],
"parameters": {
"model": "gpt-4o",
"temperature": 0.7,
"max_tokens": 2048
},
"customData": {
"model": "gpt-4o",
"temperature": 0.7,
"max_tokens": 2048
},
"is_alternative_entry": false
},
"customData": {
"model": "gpt-4o",
"temperature": 0.7,
"max_tokens": 2048
},
"is_alternative_entry": false
},
{
"id": "ag_struct",
"type": "agent.structured_output",
"node_type": "agent.structured_output",
"name": "Structured Report Schema",
"position": {
"x": 3700,
"y": 850
},
"parameters": {
"schema_def": "{\"type\": \"object\", \"properties\": {\"student_id\": {\"type\": \"string\"}, \"status\": {\"type\": \"string\"}, \"total\": {\"type\": \"number\"}}}",
"input_text": "{\"student_id\": \"Arun\", \"status\": \"PASS\", \"total\": 240}",
"label": "Structured Report Schema",
"node_type": "agent.structured_output"
},
"data": {
"label": "Structured Report Schema",
"node_type": "agent.structured_output",
"inputs": [
{
"id": "input_text",
"name": "Input Text",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": "Raw model response text."
}
],
"outputs": [
{
"id": "parsed_json",
"name": "Parsed JSON",
"type": "dict",
"description": "Structured object adhering to target schema."
}
],
"parameters": {
"schema_def": "{\"type\": \"object\", \"properties\": {\"student_id\": {\"type\": \"string\"}, \"status\": {\"type\": \"string\"}, \"total\": {\"type\": \"number\"}}}",
"input_text": "{\"student_id\": \"Arun\", \"status\": \"PASS\", \"total\": 240}"
},
"customData": {
"schema_def": "{\"type\": \"object\", \"properties\": {\"student_id\": {\"type\": \"string\"}, \"status\": {\"type\": \"string\"}, \"total\": {\"type\": \"number\"}}}",
"input_text": "{\"student_id\": \"Arun\", \"status\": \"PASS\", \"total\": 240}"
},
"is_alternative_entry": false
},
"customData": {
"schema_def": "{\"type\": \"object\", \"properties\": {\"student_id\": {\"type\": \"string\"}, \"status\": {\"type\": \"string\"}, \"total\": {\"type\": \"number\"}}}",
"input_text": "{\"student_id\": \"Arun\", \"status\": \"PASS\", \"total\": 240}"
},
"is_alternative_entry": false
},
{
"id": "ag_tools",
"type": "agent.tools_connector",
"node_type": "agent.tools_connector",
"name": "Agent Tools Connector",
"position": {
"x": 3950,
"y": 850
},
"parameters": {
"registry": "standard",
"label": "Agent Tools Connector",
"node_type": "agent.tools_connector"
},
"data": {
"label": "Agent Tools Connector",
"node_type": "agent.tools_connector",
"inputs": [
{
"id": "tools_list",
"name": "Tool Names",
"type": "list",
"required": false,
"default": null,
"kind": "data",
"description": "List of enabled tool identifier strings."
}
],
"outputs": [
{
"id": "tool_definitions",
"name": "Tool Definitions",
"type": "list",
"description": "Instantiated tool schemas for LLM tool binding."
}
],
"parameters": {
"registry": "standard"
},
"customData": {
"registry": "standard"
},
"is_alternative_entry": false
},
"customData": {
"registry": "standard"
},
"is_alternative_entry": false
},
{
"id": "ag_memory",
"type": "agent.memory_checkpointer",
"node_type": "agent.memory_checkpointer",
"name": "Memory Checkpointer",
"position": {
"x": 3700,
"y": 1000
},
"parameters": {
"checkpointer_type": "MemorySaver",
"thread_id": "thread_student_arun",
"label": "Memory Checkpointer",
"node_type": "agent.memory_checkpointer"
},
"data": {
"label": "Memory Checkpointer",
"node_type": "agent.memory_checkpointer",
"inputs": [
{
"id": "state",
"name": "Session State",
"type": "dict",
"required": false,
"default": null,
"kind": "data",
"description": "State dict to checkpoint."
}
],
"outputs": [
{
"id": "checkpoint",
"name": "Checkpoint State",
"type": "dict",
"description": "Persistent memory state checkpoint."
}
],
"parameters": {
"checkpointer_type": "MemorySaver",
"thread_id": "thread_student_arun"
},
"customData": {
"checkpointer_type": "MemorySaver",
"thread_id": "thread_student_arun"
},
"is_alternative_entry": false
},
"customData": {
"checkpointer_type": "MemorySaver",
"thread_id": "thread_student_arun"
},
"is_alternative_entry": false
},
{
"id": "ag_react",
"type": "agent.react_agent",
"node_type": "agent.react_agent",
"name": "ReAct Reasoning Agent",
"position": {
"x": 4150,
"y": 850
},
"parameters": {
"max_iterations": 5,
"system_message": "You are ALLI Academic Reasoning Agent.",
"label": "ReAct Reasoning Agent",
"node_type": "agent.react_agent"
},
"data": {
"label": "ReAct Reasoning Agent",
"node_type": "agent.react_agent",
"inputs": [
{
"id": "prompt",
"name": "User Prompt",
"type": "str",
"required": true,
"default": null,
"kind": "data",
"description": "Task description or query."
},
{
"id": "tools",
"name": "Tools",
"type": "list",
"required": false,
"default": null,
"kind": "data",
"description": "Tools available to the agent."
},
{
"id": "memory",
"name": "Memory Checkpoint",
"type": "dict",
"required": false,
"default": null,
"kind": "data",
"description": "Session memory state."
}
],
"outputs": [
{
"id": "result",
"name": "Final Answer",
"type": "str",
"description": "Resolved task answer or agent response."
},
{
"id": "steps",
"name": "Execution Steps",
"type": "list",
"description": "Trace log of thoughts, actions, and observations."
}
],
"parameters": {
"max_iterations": 5,
"system_message": "You are ALLI Academic Reasoning Agent."
},
"customData": {
"max_iterations": 5,
"system_message": "You are ALLI Academic Reasoning Agent."
},
"is_alternative_entry": false
},
"customData": {
"max_iterations": 5,
"system_message": "You are ALLI Academic Reasoning Agent."
},
"is_alternative_entry": false
},
{
"id": "trig_sched",
"type": "trigger.schedule",
"node_type": "trigger.schedule",
"name": "Hourly Schedule Trigger",
"position": {
"x": 50,
"y": 800
},
"parameters": {
"cron": "0 * * * *",
"interval_minutes": 60,
"is_alternative_entry": true,
"active": false,
"label": "Hourly Schedule Trigger",
"node_type": "trigger.schedule"
},
"data": {
"label": "Hourly Schedule Trigger",
"node_type": "trigger.schedule",
"inputs": [],
"outputs": [
{
"id": "trigger",
"name": "Trigger",
"type": "any",
"description": "Execution flow signal when scheduled time occurs."
},
{
"id": "timestamp",
"name": "Timestamp",
"type": "str",
"description": "ISO-8601 execution timestamp."
}
],
"parameters": {
"cron": "0 * * * *",
"interval_minutes": 60,
"is_alternative_entry": true,
"active": false
},
"customData": {
"cron": "0 * * * *",
"interval_minutes": 60,
"is_alternative_entry": true,
"active": false
},
"is_alternative_entry": true
},
"customData": {
"cron": "0 * * * *",
"interval_minutes": 60,
"is_alternative_entry": true,
"active": false
},
"is_alternative_entry": true
},
{
"id": "trig_webh",
"type": "trigger.webhook",
"node_type": "trigger.webhook",
"name": "Webhook Trigger",
"position": {
"x": 50,
"y": 950
},
"parameters": {
"path": "/webhook/student_update",
"method": "POST",
"is_alternative_entry": true,
"active": false,
"label": "Webhook Trigger",
"node_type": "trigger.webhook"
},
"data": {
"label": "Webhook Trigger",
"node_type": "trigger.webhook",
"inputs": [],
"outputs": [
{
"id": "trigger",
"name": "Trigger",
"type": "any",
"description": "Execution signal when webhook payload is received."
},
{
"id": "payload",
"name": "Payload",
"type": "dict",
"description": "Parsed JSON request body received from caller."
},
{
"id": "headers",
"name": "Headers",
"type": "dict",
"description": "HTTP request headers dictionary."
}
],
"parameters": {
"path": "/webhook/student_update",
"method": "POST",
"is_alternative_entry": true,
"active": false
},
"customData": {
"path": "/webhook/student_update",
"method": "POST",
"is_alternative_entry": true,
"active": false
},
"is_alternative_entry": true
},
"customData": {
"path": "/webhook/student_update",
"method": "POST",
"is_alternative_entry": true,
"active": false
},
"is_alternative_entry": true
},
{
"id": "api_http",
"type": "api.http_request",
"node_type": "api.http_request",
"name": "Controlled Health API",
"position": {
"x": 300,
"y": 950
},
"parameters": {
"method": "GET",
"url": "https://jsonplaceholder.typicode.com/todos/1",
"timeout": 5,
"label": "Controlled Health API",
"node_type": "api.http_request"
},
"data": {
"label": "Controlled Health API",
"node_type": "api.http_request",
"inputs": [
{
"id": "url",
"name": "Endpoint URL",
"type": "string",
"required": false,
"default": null,
"kind": "data",
"description": "Web API target URL."
},
{
"id": "payload",
"name": "Request Payload",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "JSON body payload for POST or PUT requests."
},
{
"id": "headers",
"name": "Headers",
"type": "dict",
"required": false,
"default": null,
"kind": "data",
"description": "Custom HTTP headers dictionary."
}
],
"outputs": [
{
"id": "response",
"name": "Response Body",
"type": "any",
"description": "Parsed JSON response payload or text response."
},
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Primary result alias."
},
{
"id": "val",
"name": "Value",
"type": "any",
"description": "Value alias for connection flexibility."
},
{
"id": "status_code",
"name": "Status Code",
"type": "int",
"description": "HTTP status code (200, 201, 404, etc.)."
},
{
"id": "is_success",
"name": "Success Flag",
"type": "bool",
"description": "True if status code is in 200-299 range."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Linear chaining output."
}
],
"parameters": {
"method": "GET",
"url": "https://jsonplaceholder.typicode.com/todos/1",
"timeout": 5
},
"customData": {
"method": "GET",
"url": "https://jsonplaceholder.typicode.com/todos/1",
"timeout": 5
},
"is_alternative_entry": false
},
"customData": {
"method": "GET",
"url": "https://jsonplaceholder.typicode.com/todos/1",
"timeout": 5
},
"is_alternative_entry": false
},
{
"id": "np_arr",
"type": "numpy.array",
"node_type": "numpy.array",
"name": "Marks NumPy Array",
"position": {
"x": 550,
"y": 800
},
"parameters": {
"data": [
80,
70,
90
],
"dtype": "int64",
"label": "Marks NumPy Array",
"node_type": "numpy.array"
},
"data": {
"label": "Marks NumPy Array",
"node_type": "numpy.array",
"inputs": [
{
"id": "data",
"name": "Input Sequence",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Iterable or nested list."
}
],
"outputs": [
{
"id": "array",
"name": "NumPy Array",
"type": "any",
"description": "Generated ndarray instance."
}
],
"parameters": {
"data": [
80,
70,
90
],
"dtype": "int64"
},
"customData": {
"data": [
80,
70,
90
],
"dtype": "int64"
},
"is_alternative_entry": false
},
"customData": {
"data": [
80,
70,
90
],
"dtype": "int64"
},
"is_alternative_entry": false
},
{
"id": "pd_df",
"type": "pandas.dataframe",
"node_type": "pandas.dataframe",
"name": "Student Pandas DataFrame",
"position": {
"x": 550,
"y": 950
},
"parameters": {
"data": {
"Name": [
"Arun"
],
"Total": [
240
],
"Average": [
80.0
],
"Status": [
"PASS"
]
},
"label": "Student Pandas DataFrame",
"node_type": "pandas.dataframe"
},
"data": {
"label": "Student Pandas DataFrame",
"node_type": "pandas.dataframe",
"inputs": [
{
"id": "data",
"name": "Input Data",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Path to CSV or dictionary of columns."
}
],
"outputs": [
{
"id": "df",
"name": "DataFrame",
"type": "any",
"description": "Resulting pandas DataFrame instance."
}
],
"parameters": {
"data": {
"Name": [
"Arun"
],
"Total": [
240
],
"Average": [
80.0
],
"Status": [
"PASS"
]
}
},
"customData": {
"data": {
"Name": [
"Arun"
],
"Total": [
240
],
"Average": [
80.0
],
"Status": [
"PASS"
]
}
},
"is_alternative_entry": false
},
"customData": {
"data": {
"Name": [
"Arun"
],
"Total": [
240
],
"Average": [
80.0
],
"Status": [
"PASS"
]
}
},
"is_alternative_entry": false
},
{
"id": "ctrl_try",
"type": "control.try_except",
"node_type": "control.try_except",
"name": "Try Catch Report Handler",
"position": {
"x": 4400,
"y": 200
},
"parameters": {
"exception_type": "Exception",
"label": "Try Catch Report Handler",
"node_type": "control.try_except"
},
"data": {
"label": "Try Catch Report Handler",
"node_type": "control.try_except",
"inputs": [
{
"id": "try_val",
"name": "Try Value / Result",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Primary value or result from protected upstream execution."
},
{
"id": "fallback_val",
"name": "Fallback Value",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Recovery value returned if the specified exception is caught."
},
{
"id": "finally_val",
"name": "Finally Cleanup",
"type": "any",
"required": false,
"default": null,
"kind": "data",
"description": "Optional value or trigger always executed on block exit."
}
],
"outputs": [
{
"id": "result",
"name": "Result",
"type": "any",
"description": "Evaluated value (try result if successful, fallback if caught)."
},
{
"id": "val",
"name": "Value Alias",
"type": "any",
"description": "Convenience alias for result output."
},
{
"id": "error_caught",
"name": "Caught Error Message",
"type": "str",
"description": "Error message if exception was caught, or null if execution succeeded."
},
{
"id": "success",
"name": "Try Succeeded",
"type": "bool",
"description": "True if try executed without error; False if exception was caught."
},
{
"id": "finally_out",
"name": "Finally Status",
"type": "str",
"description": "Cleanup status string indicating finally block completion."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Convenience output connection for linear chaining."
}
],
"parameters": {
"exception_type": "Exception"
},
"customData": {
"exception_type": "Exception"
},
"is_alternative_entry": false
},
"customData": {
"exception_type": "Exception"
},
"is_alternative_entry": false
},
{
"id": "json_str",
"type": "json.stringify",
"node_type": "json.stringify",
"name": "Final JSON Summary",
"position": {
"x": 4650,
"y": 200
},
"parameters": {
"indent": 2,
"label": "Final JSON Summary",
"node_type": "json.stringify"
},
"data": {
"label": "Final JSON Summary",
"node_type": "json.stringify",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Flow execution trigger."
},
{
"id": "data",
"name": "Data",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Object, dictionary, list, or primitive to serialize."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Executes after serialization."
},
{
"id": "text",
"name": "JSON String",
"type": "str",
"description": "Formatted JSON string output."
},
{
"id": "byte_size",
"name": "Byte Size",
"type": "int",
"description": "Byte length of the serialized string."
},
{
"id": "success",
"name": "Success",
"type": "bool",
"description": "True if serialization completed without error."
}
],
"parameters": {
"indent": 2
},
"customData": {
"indent": 2
},
"is_alternative_entry": false
},
"customData": {
"indent": 2
},
"is_alternative_entry": false
},
{
"id": "n_print",
"type": "io.print",
"node_type": "io.print",
"name": "Print Final Student Report",
"position": {
"x": 4900,
"y": 200
},
"parameters": {
"prefix": "[FINAL REPORT] ",
"label": "Print Final Student Report",
"node_type": "io.print"
},
"data": {
"label": "Print Final Student Report",
"node_type": "io.print",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Control flow trigger."
},
{
"id": "value",
"name": "Value",
"type": "any",
"required": true,
"default": null,
"kind": "data",
"description": "Value to write to terminal stdout."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Control output triggered after print execution."
},
{
"id": "out",
"name": "Pass-Through",
"type": "any",
"description": "Pass-through of the original incoming value."
},
{
"id": "printed_string",
"name": "Printed String",
"type": "str",
"description": "Full formatted string written to stdout."
}
],
"parameters": {
"prefix": "[FINAL REPORT] "
},
"customData": {
"prefix": "[FINAL REPORT] "
},
"is_alternative_entry": false
},
"customData": {
"prefix": "[FINAL REPORT] "
},
"is_alternative_entry": false
}
],
"edges": [
{
"id": "e_start_input",
"source": "n_start",
"sourceHandle": "trigger",
"target": "n_input",
"targetHandle": "exec",
"source_handle": "trigger",
"target_handle": "exec"
},
{
"id": "e_input_json",
"source": "n_input",
"sourceHandle": "out",
"target": "n_json_parse",
"targetHandle": "text",
"source_handle": "out",
"target_handle": "text"
},
{
"id": "e_json_dict",
"source": "n_json_parse",
"sourceHandle": "data",
"target": "d_dict",
"targetHandle": "dict_in",
"source_handle": "data",
"target_handle": "dict_in"
},
{
"id": "e_list_cast",
"source": "d_list",
"sourceHandle": "result",
"target": "t_cast",
"targetHandle": "value",
"source_handle": "result",
"target_handle": "value"
},
{
"id": "e_m1_sum1",
"source": "m_mark1",
"sourceHandle": "out",
"target": "op_sum1",
"targetHandle": "a",
"source_handle": "out",
"target_handle": "a"
},
{
"id": "e_m2_sum1",
"source": "m_mark2",
"sourceHandle": "out",
"target": "op_sum1",
"targetHandle": "b",
"source_handle": "out",
"target_handle": "b"
},
{
"id": "e_sum1_sum2",
"source": "op_sum1",
"sourceHandle": "result",
"target": "op_sum2",
"targetHandle": "a",
"source_handle": "result",
"target_handle": "a"
},
{
"id": "e_m3_sum2",
"source": "m_mark3",
"sourceHandle": "out",
"target": "op_sum2",
"targetHandle": "b",
"source_handle": "out",
"target_handle": "b"
},
{
"id": "e_total_avg",
"source": "op_sum2",
"sourceHandle": "result",
"target": "op_avg",
"targetHandle": "a",
"source_handle": "result",
"target_handle": "a"
},
{
"id": "e_count_avg",
"source": "c_count",
"sourceHandle": "out",
"target": "op_avg",
"targetHandle": "b",
"source_handle": "out",
"target_handle": "b"
},
{
"id": "e_avg_sqrt",
"source": "op_avg",
"sourceHandle": "result",
"target": "m_sqrt",
"targetHandle": "x",
"source_handle": "result",
"target_handle": "x"
},
{
"id": "e_avg_pow",
"source": "op_avg",
"sourceHandle": "result",
"target": "m_pow",
"targetHandle": "x",
"source_handle": "result",
"target_handle": "x"
},
{
"id": "e_avg_cmp",
"source": "op_avg",
"sourceHandle": "result",
"target": "op_cmp",
"targetHandle": "a",
"source_handle": "result",
"target_handle": "a"
},
{
"id": "e_thresh_cmp",
"source": "c_int",
"sourceHandle": "out",
"target": "op_cmp",
"targetHandle": "b",
"source_handle": "out",
"target_handle": "b"
},
{
"id": "e_cmp_logic",
"source": "op_cmp",
"sourceHandle": "result",
"target": "op_logic",
"targetHandle": "a",
"source_handle": "result",
"target_handle": "a"
},
{
"id": "e_bool_logic",
"source": "c_bool",
"sourceHandle": "out",
"target": "op_logic",
"targetHandle": "b",
"source_handle": "out",
"target_handle": "b"
},
{
"id": "e_logic_branch",
"source": "op_logic",
"sourceHandle": "result",
"target": "ctrl_branch",
"targetHandle": "condition",
"source_handle": "result",
"target_handle": "condition"
},
{
"id": "e_list_for",
"source": "d_list",
"sourceHandle": "result",
"target": "ctrl_for",
"targetHandle": "iterable",
"source_handle": "result",
"target_handle": "iterable"
},
{
"id": "e_for_action",
"source": "ctrl_for",
"sourceHandle": "completed",
"target": "ctrl_loop_action",
"targetHandle": "condition",
"source_handle": "completed",
"target_handle": "condition"
},
{
"id": "e_fndef_call",
"source": "fn_def",
"sourceHandle": "func_ref",
"target": "fn_call",
"targetHandle": "func_in",
"source_handle": "func_ref",
"target_handle": "func_in"
},
{
"id": "e_avg_fncall",
"source": "op_avg",
"sourceHandle": "result",
"target": "fn_call",
"targetHandle": "arg",
"source_handle": "result",
"target_handle": "arg"
},
{
"id": "e_class_inst",
"source": "oop_class",
"sourceHandle": "class_ref",
"target": "oop_inst",
"targetHandle": "class_in",
"source_handle": "class_ref",
"target_handle": "class_in"
},
{
"id": "e_str_inst",
"source": "c_str",
"sourceHandle": "out",
"target": "oop_inst",
"targetHandle": "arg_1",
"source_handle": "out",
"target_handle": "arg_1"
},
{
"id": "e_total_inst",
"source": "op_sum2",
"sourceHandle": "result",
"target": "oop_inst",
"targetHandle": "arg_2",
"source_handle": "result",
"target_handle": "arg_2"
},
{
"id": "e_inst_method",
"source": "oop_inst",
"sourceHandle": "instance",
"target": "oop_method",
"targetHandle": "instance_in",
"source_handle": "instance",
"target_handle": "instance_in"
},
{
"id": "e_str_trans",
"source": "c_str",
"sourceHandle": "out",
"target": "s_transform",
"targetHandle": "text_in",
"source_handle": "out",
"target_handle": "text_in"
},
{
"id": "e_trans_concat",
"source": "s_transform",
"sourceHandle": "text_out",
"target": "s_concat",
"targetHandle": "b",
"source_handle": "text_out",
"target_handle": "b"
},
{
"id": "e_csv_pipe",
"source": "csv_str",
"sourceHandle": "text",
"target": "csv_prs",
"targetHandle": "text",
"source_handle": "text",
"target_handle": "text"
},
{
"id": "e_branch_file",
"source": "ctrl_branch",
"sourceHandle": "result",
"target": "f_write",
"targetHandle": "content",
"source_handle": "result",
"target_handle": "content"
},
{
"id": "e_file_pipe",
"source": "f_write",
"sourceHandle": "then",
"target": "f_read",
"targetHandle": "exec",
"source_handle": "then",
"target_handle": "exec"
},
{
"id": "e_prompt_llm",
"source": "ag_prompt",
"sourceHandle": "prompt",
"target": "ag_llm",
"targetHandle": "prompt",
"source_handle": "prompt",
"target_handle": "prompt"
},
{
"id": "e_llm_react",
"source": "ag_llm",
"sourceHandle": "response",
"target": "ag_react",
"targetHandle": "prompt",
"source_handle": "response",
"target_handle": "prompt"
},
{
"id": "e_tools_react",
"source": "ag_tools",
"sourceHandle": "tool_definitions",
"target": "ag_react",
"targetHandle": "tools",
"source_handle": "tool_definitions",
"target_handle": "tools"
},
{
"id": "e_mem_react",
"source": "ag_memory",
"sourceHandle": "checkpoint",
"target": "ag_react",
"targetHandle": "memory",
"source_handle": "checkpoint",
"target_handle": "memory"
},
{
"id": "e_branch_try",
"source": "ctrl_branch",
"sourceHandle": "result",
"target": "ctrl_try",
"targetHandle": "try_val",
"source_handle": "result",
"target_handle": "try_val"
},
{
"id": "e_try_json",
"source": "ctrl_try",
"sourceHandle": "result",
"target": "json_str",
"targetHandle": "data",
"source_handle": "result",
"target_handle": "data"
},
{
"id": "e_json_print",
"source": "json_str",
"sourceHandle": "text",
"target": "n_print",
"targetHandle": "value",
"source_handle": "text",
"target_handle": "value"
}
],
"viewport": {
"x": 50,
"y": 100,
"zoom": 0.4
},
"dependencies": [
"math",
"numpy",
"pandas"
],
"schema_version": "2.1.0"
}
{
"id": "proj_master_complete_node_flow",
"name": "Master: Complete Node Logic Flow",
"description": "59-Node Master Python Logic Testing Workflow covering Python fundamentals, data structures, operators, math, control flow, functions, OOP, files, interchange, and AI reasoning.",
"nodes": [
{
"id": "n_start",
"type": "workflow.start",
"node_type": "workflow.start",
"name": "Start Workflow",
"position": {
"x": 50,
"y": 100
},
"parameters": {
"trigger_type": "manual",
"label": "Start Workflow",
"node_type": "workflow.start"
},
"data": {
"label": "Start Workflow",
"node_type": "workflow.start",
"inputs": [],
"outputs": [
{
"id": "trigger",
"name": "Trigger",
"type": "any",
"description": "Control flow trigger signal to begin execution."
}
],
"parameters": {
"trigger_type": "manual"
},
"customData": {
"trigger_type": "manual"
},
"is_alternative_entry": false
},
"customData": {
"trigger_type": "manual"
},
"is_alternative_entry": false
},
{
"id": "n_input",
"type": "io.input",
"node_type": "io.input",
"name": "Student Record Input",
"position": {
"x": 300,
"y": 100
},
"parameters": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}",
"label": "Student Record Input",
"node_type": "io.input"
},
"data": {
"label": "Student Record Input",
"node_type": "io.input",
"inputs": [
{
"id": "exec",
"name": "Execute",
"type": "any",
"required": false,
"default": null,
"kind": "control",
"description": "Control flow trigger."
}
],
"outputs": [
{
"id": "then",
"name": "Then",
"type": "any",
"description": "Control output triggered after input is captured."
},
{
"id": "out",
"name": "User Input",
"type": "any",
"description": "Captured and parsed user input value."
}
],
"parameters": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"customData": {
"prompt": "Enter Student Record JSON:",
"input_type": "str",
"default_value": "{\"name\": \"Arun\", \"marks\": [80, 70, 90], \"active\": true}"
},
"is_alternative_entry": false
},