{"agent":"claude","input":"This package fails with \"AttributeError: 'Graph' object has no attribute 'node'\" on current NetworkX. It was written for NetworkX 1.x. Do not use the private G._node that the error hint suggests. First find a runnable example in the README, docs or tests, and make it deterministic with a fixed random seed. Build two environments: one with the newest NetworkX 1.x on a Python that can run it, and one with current releases. Run the example unchanged in the old environment and save its printed output and a hash of any data it writes. Replace G.node with G.nodes, run the example in the new environment, and compare output and hash with the old run. Then find by testing the oldest NetworkX release your edit works on and the first release where the original code fails, and set the lower bound in the package metadata accordingly. After that, go beyond the example: search for other NetworkX 1.x calls (nodes_iter, edges_iter, G.edge, G.adj used as a dict of dicts, add_node or add_edge with a positional attribute dictionary, neighbors() or nodes() used as a list, connected_component_subgraphs, selfloop_edges as a method) and call every public function of the package on a small graph to see which fail. Fix the mechanical ones, keep each function's documented return type, and add a test per fix. Report, without changing it, anything that looks wrong on every version. Open a pull request with the comparison and the list of what you found.","resources":[{"url":"https://github.com/your-org/your-app"}]}