Files
led-controller/graphify-out/cache/ast/v0.9.101-s36-g1339418af9f9/4aa022f30bc004798ebd1411b7eb07f551a7766feb32bd1fef66de94484bbc28.json
T
jimmyandClaude Haiku 5.5 50ca46fee6 feat: sequences v2, driver frame sync and submodule updates
- Sequences v2, bridges and sim-controller changes from the working tree.
- Records the led-driver, led-tool and led-simulator commits above.
- Includes dmx-driver/ and graphify-out/.

Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
2026-11-11 14:10:56 +13:00

1 line
45 KiB
JSON

{"nodes": [{"id": "$graphify-root$_led_tool_device_py", "label": "device.py", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L1"}, {"id": "$graphify-root$_led_tool_device_deviceconnection", "label": "DeviceConnection", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L29", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_init", "label": ".__init__()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L35", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_connect", "label": ".connect()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L40", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "label": ".disconnect()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L46", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "label": "._feed_wdt()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L60", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "label": "._make_wdt_upload_progress_callback()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L71", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback_progress", "label": "progress()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L75", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "label": "._fs_writefile_with_wdt()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L83", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "label": ".copy_from_device()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L92", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "label": ".copy_to_device()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L102", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "label": ".upload_directory()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L112", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_list_files", "label": ".list_files()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L187", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_delete", "label": ".delete()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L211", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_reset", "label": ".reset()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L246", "_callable": true}, {"id": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "label": ".follow_output()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L255", "_callable": true}, {"id": "$graphify-root$_led_tool_device_firmware_default_device_name", "label": "firmware_default_device_name()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L282", "_callable": true}, {"id": "$graphify-root$_led_tool_device_copy_file", "label": "copy_file()", "file_type": "code", "source_file": "led-tool/device.py", "source_location": "L313", "_callable": true}, {"id": "$graphify-root$_led_tool_device_rationale_1", "label": "Device communication wrapper using integrated mpremote transport. This module\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L1"}, {"id": "$graphify-root$_led_tool_device_rationale_30", "label": "Wrapper for device communication.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L30"}, {"id": "$graphify-root$_led_tool_device_rationale_41", "label": "Establish connection to device.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L41"}, {"id": "$graphify-root$_led_tool_device_rationale_47", "label": "Close connection to device.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L47"}, {"id": "$graphify-root$_led_tool_device_rationale_61", "label": "Best-effort feed of the ESP task WDT between chunked FS writes.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L61"}, {"id": "$graphify-root$_led_tool_device_rationale_72", "label": "Progress hook for Transport.fs_writefile: feed WDT every WDT_FEED_INTERVAL_SEC.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L72"}, {"id": "$graphify-root$_led_tool_device_rationale_84", "label": "Write file to device with periodic WDT feeds during long transfers.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L84"}, {"id": "$graphify-root$_led_tool_device_rationale_93", "label": "Copy a file from device to local filesystem.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L93"}, {"id": "$graphify-root$_led_tool_device_rationale_103", "label": "Copy a file from local filesystem to device.", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L103"}, {"id": "$graphify-root$_led_tool_device_rationale_113", "label": "Upload a directory recursively to the device. Args: local_dir: Local directory\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L113"}, {"id": "$graphify-root$_led_tool_device_rationale_188", "label": "List files and directories on the device. Args: remote_path: Path on device to\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L188"}, {"id": "$graphify-root$_led_tool_device_rationale_212", "label": "Delete a file or directory on the device. Args: remote_path: Path on device to\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L212"}, {"id": "$graphify-root$_led_tool_device_rationale_247", "label": "Reset the device using serial commands (Ctrl+C, Ctrl+C, Ctrl+D).", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L247"}, {"id": "$graphify-root$_led_tool_device_rationale_256", "label": "Follow device output (like tail -f). Args: duration: Optional number of seconds\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L256"}, {"id": "$graphify-root$_led_tool_device_rationale_283", "label": "Default logical device name on led-driver firmware: led-<sta_mac_hex>, matching\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L283"}, {"id": "$graphify-root$_led_tool_device_rationale_314", "label": "Copy a file to/from device. Args: from_device: True to copy from device, False\u2026", "file_type": "rationale", "source_file": "led-tool/device.py", "source_location": "L314"}], "edges": [{"source": "$graphify-root$_led_tool_device_py", "target": "sys", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L8", "weight": 1.0, "_python_import_module": "sys", "_python_import_bindings": [["sys", "sys"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_tool_device_py", "target": "os", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L9", "weight": 1.0, "_python_import_module": "os", "_python_import_bindings": [["os", "os"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_tool_device_py", "target": "time", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L10", "weight": 1.0, "_python_import_module": "time", "_python_import_bindings": [["time", "time"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_tool_device_py", "target": "serial", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L11", "weight": 1.0, "_python_import_module": "serial", "_python_import_bindings": [["serial", "serial"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_tool_device_py", "target": "mpremote_transport_serial", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L25", "weight": 1.0, "_python_import_module": "mpremote.transport_serial", "_python_import_bindings": [["SerialTransport", "SerialTransport"]]}, {"source": "$graphify-root$_led_tool_device_py", "target": "mpremote_transport", "relation": "imports_from", "context": "import", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L26", "weight": 1.0, "_python_import_module": "mpremote.transport", "_python_import_bindings": [["TransportError", "TransportError"], ["TransportExecError", "TransportExecError"]]}, {"source": "$graphify-root$_led_tool_device_py", "target": "$graphify-root$_led_tool_device_deviceconnection", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L29", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L35", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L40", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L46", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L60", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L71", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "target": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback_progress", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L75", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L83", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L92", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L102", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L112", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_list_files", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L187", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_delete", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L211", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_reset", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L246", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection", "target": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L255", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_py", "target": "$graphify-root$_led_tool_device_firmware_default_device_name", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L282", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_py", "target": "$graphify-root$_led_tool_device_copy_file", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L313", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "target": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback_progress", "relation": "indirect_call", "context": "return", "confidence": "INFERRED", "confidence_score": 0.85, "source_file": "led-tool/device.py", "source_location": "L81", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback_progress", "target": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "target": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L85", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "target": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L89", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L94", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L100", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L104", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "target": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L108", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L110", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L132", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "target": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L180", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L185", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_list_files", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L197", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_list_files", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L209", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_delete", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L219", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_delete", "target": "$graphify-root$_led_tool_device_deviceconnection_delete", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L231", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_deviceconnection_delete", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L244", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_firmware_default_device_name", "target": "$graphify-root$_led_tool_device_deviceconnection", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L287", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_copy_file", "target": "$graphify-root$_led_tool_device_deviceconnection", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L323", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_1", "target": "$graphify-root$_led_tool_device_py", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L1", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_30", "target": "$graphify-root$_led_tool_device_deviceconnection", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L30", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_41", "target": "$graphify-root$_led_tool_device_deviceconnection_connect", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L41", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_47", "target": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_61", "target": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L61", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_72", "target": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L72", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_84", "target": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L84", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_93", "target": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L93", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_103", "target": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L103", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_113", "target": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L113", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_188", "target": "$graphify-root$_led_tool_device_deviceconnection_list_files", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L188", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_212", "target": "$graphify-root$_led_tool_device_deviceconnection_delete", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L212", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_247", "target": "$graphify-root$_led_tool_device_deviceconnection_reset", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L247", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_256", "target": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L256", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_283", "target": "$graphify-root$_led_tool_device_firmware_default_device_name", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L283", "weight": 1.0}, {"source": "$graphify-root$_led_tool_device_rationale_314", "target": "$graphify-root$_led_tool_device_copy_file", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-tool/device.py", "source_location": "L314", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_connect", "callee": "SerialTransport", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L43", "receiver": null, "_python_call_site": [1271, 1316]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_connect", "callee": "enter_raw_repl", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L44", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [1329, 1360]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "callee": "exit_raw_repl", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L51", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [1545, 1575]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "callee": "close", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L55", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [1660, 1682]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_feed_wdt", "callee": "exec", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L65", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [1959, 2097]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback", "callee": "monotonic", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L73", "receiver": "time", "_python_receiver_shadowed": true, "_python_call_site": [2307, 2323]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_make_wdt_upload_progress_callback_progress", "callee": "monotonic", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L76", "receiver": "time", "_python_receiver_shadowed": true, "_python_call_site": [2400, 2416]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_fs_writefile_with_wdt", "callee": "fs_writefile", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L86", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [2768, 2922]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "callee": "fs_readfile", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L96", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [3095, 3134]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_copy_from_device", "callee": "write", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L98", "receiver": "f", "_python_receiver_shadowed": true, "_python_call_site": [3197, 3210]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_copy_to_device", "callee": "read", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L107", "receiver": "f", "_python_receiver_shadowed": true, "_python_call_site": [3482, 3490]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "isdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L122", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [3949, 3973]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "ValueError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L123", "receiver": null, "_python_call_site": [3993, 4038]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "walk", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L127", "receiver": "os", "_python_receiver_shadowed": true, "_python_call_site": [4185, 4203]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "rmtree", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L129", "receiver": "shutil", "_python_receiver_shadowed": true, "_python_call_site": [4283, 4339]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "join", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L129", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [4297, 4318]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "remove", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L130", "receiver": "dirs", "_python_receiver_shadowed": true, "_python_call_site": [4356, 4370]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "basename", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L136", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [4518, 4562]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "abspath", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L136", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [4535, 4561]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "fs_exists", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L139", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [4640, 4676]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "fs_mkdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L140", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [4694, 4729]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "walk", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L146", "receiver": "os", "_python_receiver_shadowed": true, "_python_call_site": [4909, 4927]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "relpath", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L148", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [5013, 5045]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "rstrip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L152", "receiver": "remote_dir", "_python_receiver_shadowed": true, "_python_call_site": [5169, 5191]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "replace", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L154", "receiver": "rel_path", "_python_receiver_shadowed": true, "_python_receiver_factory": [5013, 5045], "_python_call_site": [5258, 5287]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "rstrip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L155", "receiver": "remote_dir", "_python_receiver_shadowed": true, "_python_call_site": [5311, 5333]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "join", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L158", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [5464, 5514]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "rstrip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L158", "receiver": "remote_dir", "_python_receiver_shadowed": true, "_python_call_site": [5474, 5496]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "fs_exists", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L161", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [5627, 5664]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "fs_mkdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L163", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [5767, 5803]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "endswith", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L168", "receiver": "file", "_python_receiver_shadowed": true, "_python_call_site": [5946, 5977]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "join", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L170", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [6045, 6069]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "join", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L175", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [6284, 6313]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_upload_directory", "callee": "read", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L179", "receiver": "f", "_python_receiver_shadowed": true, "_python_call_site": [6492, 6500]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_list_files", "callee": "fs_exists", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L199", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [7081, 7118]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_list_files", "callee": "ValueError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L200", "receiver": null, "_python_call_site": [7142, 7191]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_list_files", "callee": "fs_listdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L202", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [7225, 7263]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_list_files", "callee": "append", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L206", "receiver": "result", "_python_receiver_shadowed": true, "_python_call_site": [7396, 7444]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_exists", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L221", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [7908, 7945]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "ValueError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L222", "receiver": null, "_python_call_site": [7969, 8018]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_isdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L224", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [8047, 8083]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_listdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L227", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [8217, 8255]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "join", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L229", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [8323, 8369]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "rstrip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L229", "receiver": "remote_path", "_python_receiver_shadowed": true, "_python_call_site": [8333, 8356]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_rmfile", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L234", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [8682, 8717]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_rmdir", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L237", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [8862, 8898]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_delete", "callee": "fs_rmfile", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L241", "receiver": null, "_python_receiver_shadowed": true, "_python_self_attr_type": "SerialTransport", "_python_call_site": [9035, 9072]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_reset", "callee": "Serial", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L250", "receiver": "serial", "_python_receiver_shadowed": true, "_python_call_site": [9342, 9385]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_reset", "callee": "write", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L251", "receiver": "ser", "_python_receiver_shadowed": true, "receiver_type": "Serial", "_python_call_site": [9410, 9436]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_reset", "callee": "TransportError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L253", "receiver": null, "_python_call_site": [9512, 9558]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "time", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L264", "receiver": "time", "_python_receiver_shadowed": true, "_python_call_site": [9925, 9936]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "Serial", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L266", "receiver": "serial", "_python_receiver_shadowed": true, "_python_call_site": [9967, 10010]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "time", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L268", "receiver": "time", "_python_receiver_shadowed": true, "_python_call_site": [10096, 10107]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "strip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L271", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [10239, 10295]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "decode", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L271", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [10239, 10287]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "readline", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L271", "receiver": "ser", "_python_receiver_shadowed": true, "receiver_type": "Serial", "_python_call_site": [10239, 10253]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "sleep", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L275", "receiver": "time", "_python_receiver_shadowed": true, "_python_call_site": [10419, 10435]}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "TransportError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L279", "receiver": null, "_python_call_site": [10622, 10669]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "connect", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L288", "receiver": "conn", "_python_receiver_shadowed": true, "receiver_type": "DeviceConnection", "_python_call_site": [10932, 10946]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "exec", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L297", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [11235, 11260]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "RuntimeError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L299", "receiver": null, "_python_call_site": [11311, 11470]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "strip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L301", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [11426, 11460]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "e", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-tool/device.py", "source_location": "L301"}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "disconnect", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L304", "receiver": "conn", "_python_receiver_shadowed": true, "receiver_type": "DeviceConnection", "_python_call_site": [11499, 11516]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "strip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L305", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [11528, 11573]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "decode", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L305", "receiver": "out", "_python_receiver_shadowed": true, "_python_receiver_factory": [11235, 11260], "_python_call_site": [11528, 11565]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "splitlines", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L306", "receiver": "text", "_python_receiver_shadowed": true, "_python_receiver_factory": [11528, 11573], "_python_call_site": [11599, 11616]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "strip", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L307", "receiver": "line", "_python_receiver_shadowed": true, "_python_call_site": [11634, 11646]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "startswith", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L308", "receiver": "line", "_python_receiver_shadowed": true, "_python_call_site": [11658, 11681]}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "RuntimeError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L310", "receiver": null, "_python_call_site": [11717, 11779]}, {"caller_nid": "$graphify-root$_led_tool_device_copy_file", "callee": "copy_from_device", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L326", "receiver": "conn", "_python_receiver_shadowed": true, "receiver_type": "DeviceConnection", "_python_call_site": [12214, 12260]}, {"caller_nid": "$graphify-root$_led_tool_device_copy_file", "callee": "copy_to_device", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L328", "receiver": "conn", "_python_receiver_shadowed": true, "receiver_type": "DeviceConnection", "_python_call_site": [12287, 12331]}, {"caller_nid": "$graphify-root$_led_tool_device_copy_file", "callee": "RuntimeError", "is_member_call": false, "source_file": "led-tool/device.py", "source_location": "L330", "receiver": null, "_python_call_site": [12378, 12426]}, {"caller_nid": "$graphify-root$_led_tool_device_py", "callee": "frozen", "is_member_call": false, "indirect": true, "context": "getattr", "source_file": "led-tool/device.py", "source_location": "L14"}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_disconnect", "callee": "in_raw_repl", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L50", "_python_attr_read": true, "receiver": "self.transport", "_python_self_attr_type": "SerialTransport"}, {"caller_nid": "$graphify-root$_led_tool_device_deviceconnection_follow_output", "callee": "in_waiting", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L270", "_python_attr_read": true, "receiver": "ser", "receiver_type": "Serial"}, {"caller_nid": "$graphify-root$_led_tool_device_firmware_default_device_name", "callee": "transport", "is_member_call": true, "source_file": "led-tool/device.py", "source_location": "L297", "_python_attr_read": true, "receiver": "conn", "receiver_type": "DeviceConnection"}]}