Cells reduced from 16x16 to 10x10 pixels. Same window size now shows more of the world — finer detail, more cells visible. Adaptive viewport recalculates grid_w/grid_h from new cell size. 109 tests, 0 failures
1 line
22 KiB
JSON
1 line
22 KiB
JSON
{"nodes": [{"id": "home_emil_desktop_verbatim_src_ai_protocol_rs", "label": "protocol.rs", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L1"}, {"id": "ai_protocol_command", "label": "Command", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L10"}, {"id": "ai_protocol_response", "label": "Response", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L80"}, {"id": "option", "label": "Option", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L83"}, {"id": "string", "label": "String", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L83"}, {"id": "gamestate", "label": "GameState", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L85"}, {"id": "cellinfo", "label": "CellInfo", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L89"}, {"id": "vec", "label": "Vec", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L91"}, {"id": "entityinfo", "label": "EntityInfo", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L93"}, {"id": "scenarioresult", "label": "ScenarioResult", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L101"}, {"id": "ai_protocol_response_ok", "label": ".ok()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L109"}, {"id": "self", "label": "Self", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L109"}, {"id": "ai_protocol_response_err", "label": ".err()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L118"}, {"id": "ai_protocol_response_with_state", "label": ".with_state()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L128"}, {"id": "ai_protocol_run_pipe_protocol", "label": "run_pipe_protocol()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L134"}, {"id": "ai_protocol_handle_command", "label": "handle_command()", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L173"}, {"id": "gamesession", "label": "GameSession", "file_type": "code", "source_file": "src/ai/protocol.rs", "source_location": "L173"}], "edges": [{"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "serde", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L1", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "aiaction", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L2", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "gamesession", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L3", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "scenario", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L4", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "gamestate", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L5", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "io", "relation": "imports_from", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L6", "weight": 1.0, "context": "import"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_command", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L10", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_response", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L80", "weight": 1.0}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L83", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L83", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L85", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L85", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L87", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L87", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L89", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L89", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "cellinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L91", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "vec", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L93", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L95", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "entityinfo", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L95", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L97", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L99", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L101", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "scenarioresult", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L101", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L103", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "string", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L103", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_response", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L105", "weight": 1.0, "context": "field"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_ok", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L109", "weight": 1.0}, {"source": "ai_protocol_response_ok", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L109", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_err", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L118", "weight": 1.0}, {"source": "ai_protocol_response_err", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L118", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_response", "target": "ai_protocol_response_with_state", "relation": "method", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0}, {"source": "ai_protocol_response_with_state", "target": "gamestate", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_response_with_state", "target": "self", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L128", "weight": 1.0, "context": "return_type"}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_run_pipe_protocol", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L134", "weight": 1.0}, {"source": "home_emil_desktop_verbatim_src_ai_protocol_rs", "target": "ai_protocol_handle_command", "relation": "contains", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_command", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_handle_command", "target": "option", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "parameter_type"}, {"source": "ai_protocol_handle_command", "target": "gamesession", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "generic_arg"}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response", "relation": "references", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L173", "weight": 1.0, "context": "return_type"}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_response_err", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L155", "weight": 1.0}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_response_ok", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L156", "weight": 1.0}, {"source": "ai_protocol_run_pipe_protocol", "target": "ai_protocol_handle_command", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L162", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_with_state", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L186", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_ok", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L186", "weight": 1.0}, {"source": "ai_protocol_handle_command", "target": "ai_protocol_response_err", "relation": "calls", "context": "call", "confidence": "EXTRACTED", "source_file": "src/ai/protocol.rs", "source_location": "L192", "weight": 1.0}], "raw_calls": [{"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "lines", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L141"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "trim", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L147"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L157"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "unwrap_or_default", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L163"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "flush", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L165"}, {"caller_nid": "ai_protocol_run_pipe_protocol", "callee": "is_none", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L167"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L180"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_deref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L180"}, {"caller_nid": "ai_protocol_handle_command", "callee": "init_empty", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L181"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L184"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L190"}, {"caller_nid": "ai_protocol_handle_command", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L194"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L195"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L200"}, {"caller_nid": "ai_protocol_handle_command", "callee": "perform_action", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L204"}, {"caller_nid": "ai_protocol_handle_command", "callee": "step", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L206"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L208"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L213"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_state", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L221"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L226"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L230"}, {"caller_nid": "ai_protocol_handle_command", "callee": "unwrap_or", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L231"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_view", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L232"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L237"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_view_at", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L241"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L246"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_cell", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L250"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L255"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L259"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L264"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_entities", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L268"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L273"}, {"caller_nid": "ai_protocol_handle_command", "callee": "get_player", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L277"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L282"}, {"caller_nid": "ai_protocol_handle_command", "callee": "count_material_in_region", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L286"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L291"}, {"caller_nid": "ai_protocol_handle_command", "callee": "find_material", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L295"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L300"}, {"caller_nid": "ai_protocol_handle_command", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L304"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_mut", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L309"}, {"caller_nid": "ai_protocol_handle_command", "callee": "set_recording", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L313"}, {"caller_nid": "ai_protocol_handle_command", "callee": "as_ref", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L318"}, {"caller_nid": "ai_protocol_handle_command", "callee": "save_replay", "is_member_call": true, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L322"}, {"caller_nid": "ai_protocol_handle_command", "callee": "load_scenario", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L329"}, {"caller_nid": "ai_protocol_handle_command", "callee": "run_scenario", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L331"}, {"caller_nid": "ai_protocol_handle_command", "callee": "run_all_scenarios", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L339"}, {"caller_nid": "ai_protocol_handle_command", "callee": "format_results", "is_member_call": false, "source_file": "/home/emil/Desktop/Verbatim/src/ai/protocol.rs", "source_location": "L340"}]} |