- 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>
1 line
17 KiB
JSON
1 line
17 KiB
JSON
{"nodes": [{"id": "$graphify-root$_led_driver_src_patterns_flame_py", "label": "flame.py", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L1"}, {"id": "$graphify-root$_led_driver_src_patterns_flame_clamp", "label": "_clamp()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L13", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_lerp_chan", "label": "_lerp_chan()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L21", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_lerp_rgb", "label": "_lerp_rgb()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L25", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_palette_sample", "label": "_palette_sample()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L33", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_triangle_255", "label": "_triangle_255()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L47", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_flame", "label": "Flame", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L58", "_callable": true, "_callable_class": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_flame_init", "label": ".__init__()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L59", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "label": "._build_palette()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L62", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "label": "._draw_frame()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L78", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "label": ".run()", "file_type": "code", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L118", "_callable": true}, {"id": "$graphify-root$_led_driver_src_patterns_flame_rationale_79", "label": "spark_state: (active: bool, start_ticks, duration_ms). ticks_now for sparks;\u2026", "file_type": "rationale", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L79"}, {"id": "$graphify-root$_led_driver_src_patterns_flame_rationale_119", "label": "Salt-lamp / hearth-style flame: warm gradient, breathing, jitter, drift, rare\u2026", "file_type": "rationale", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L119"}], "edges": [{"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "random", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L1", "weight": 1.0, "_python_import_module": "random", "_python_import_bindings": [["random", "random"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "utime", "relation": "imports", "context": "import", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L2", "weight": 1.0, "_python_import_module": "utime", "_python_import_bindings": [["utime", "utime"]], "_python_import_module_binding": true}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_clamp", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L13", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_lerp_chan", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L21", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_lerp_rgb", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L25", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_palette_sample", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L33", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_triangle_255", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L47", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_py", "target": "$graphify-root$_led_driver_src_patterns_flame_flame", "relation": "contains", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L58", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_init", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L59", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L62", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L78", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "relation": "method", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L118", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_lerp_rgb", "target": "$graphify-root$_led_driver_src_patterns_flame_lerp_chan", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L27", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_palette_sample", "target": "$graphify-root$_led_driver_src_patterns_flame_lerp_rgb", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L44", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "target": "$graphify-root$_led_driver_src_patterns_flame_clamp", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L71", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "target": "$graphify-root$_led_driver_src_patterns_flame_triangle_255", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L83", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "target": "$graphify-root$_led_driver_src_patterns_flame_clamp", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L87", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "target": "$graphify-root$_led_driver_src_patterns_flame_palette_sample", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L107", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L120", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L156", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_rationale_79", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L79", "weight": 1.0}, {"source": "$graphify-root$_led_driver_src_patterns_flame_rationale_119", "target": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "relation": "rationale_for", "confidence": "EXTRACTED", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L119", "weight": 1.0}], "raw_calls": [{"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "callee": "_DEFAULT_PALETTE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L65"}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "callee": "list", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L68"}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "callee": "tuple", "is_member_call": false, "indirect": true, "context": "collection", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L68"}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "callee": "append", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L69", "receiver": "out", "_python_receiver_shadowed": true, "_python_call_site": [1455, 1681]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_build_palette", "callee": "_DEFAULT_PALETTE", "is_member_call": false, "indirect": true, "context": "argument", "source_file": "led-driver/src/patterns/flame.py", "source_location": "L76"}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L85", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [2188, 2209]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L93", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [2433, 2464]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "callee": "apply_brightness", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L114", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [3355, 3395]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_draw_frame", "callee": "write", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L116", "receiver": null, "_python_receiver_shadowed": true, "_python_call_site": [3405, 3426]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L144", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [4333, 4355]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L145", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [4379, 4402]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L146", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [4442, 4458]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_add", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L152", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [4622, 4680]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L152", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [4649, 4679]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L155", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [4745, 4761]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L160", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [4878, 4914]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_ms", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L172", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5155, 5171]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L173", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5187, 5219]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_add", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L176", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5303, 5339]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L178", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [5368, 5391]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L180", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5415, 5450]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L182", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [5536, 5559]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L187", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5727, 5761]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_add", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L189", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [5858, 5993]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L191", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [5936, 5966]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L193", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [6015, 6048]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "randint", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L196", "receiver": "random", "_python_receiver_shadowed": false, "_python_call_site": [6165, 6189]}, {"caller_nid": "$graphify-root$_led_driver_src_patterns_flame_flame_run", "callee": "ticks_diff", "is_member_call": true, "source_file": "led-driver/src/patterns/flame.py", "source_location": "L202", "receiver": "utime", "_python_receiver_shadowed": false, "_python_call_site": [6307, 6343]}]} |