59 lines
1.4 KiB
JSON
59 lines
1.4 KiB
JSON
{
|
|
"queries": [
|
|
{
|
|
"index": 0,
|
|
"type": "input",
|
|
"content": "x = 5"
|
|
},
|
|
{
|
|
"index": 1,
|
|
"type": "input",
|
|
"content": "y = x + 10"
|
|
},
|
|
{
|
|
"index": 2,
|
|
"type": "exec",
|
|
"content": "engine.symbol_table"
|
|
},
|
|
{
|
|
"index": 3,
|
|
"type": "exec",
|
|
"content": "len(engine.equations)"
|
|
},
|
|
{
|
|
"index": 4,
|
|
"type": "exec",
|
|
"content": "list(engine.base_context.keys())[:10]"
|
|
},
|
|
{
|
|
"index": 5,
|
|
"type": "exec",
|
|
"content": "engine.get_available_types()"
|
|
},
|
|
{
|
|
"index": 6,
|
|
"type": "exec",
|
|
"content": "list(engine.registered_types_info['registered_classes'].keys())"
|
|
},
|
|
{
|
|
"index": 7,
|
|
"type": "exec",
|
|
"content": "engine.registered_types_info['class_count']"
|
|
},
|
|
{
|
|
"index": 8,
|
|
"type": "input",
|
|
"content": "z = solve(a**2 + b, a)"
|
|
},
|
|
{
|
|
"index": 9,
|
|
"type": "exec",
|
|
"content": "engine._classify_line('z = solve(a**2 + b, a)')"
|
|
},
|
|
{
|
|
"index": 10,
|
|
"type": "exec",
|
|
"content": "engine._extract_variable_names('x + y + z')"
|
|
}
|
|
]
|
|
} |