{"payload":{"feedbackUrl":"https://github.com/orgs/community/discussions/53140","repo":{"id":811711779,"defaultBranch":"main","name":"rustworkx","ownerLogin":"jpacold","currentUserCanPush":false,"isFork":true,"isEmpty":false,"createdAt":"2024-06-07T06:38:44.000Z","ownerAvatar":"https://avatars.githubusercontent.com/u/20975024?v=4","public":true,"private":false,"isOrgOwned":false},"refInfo":{"name":"","listCacheKey":"v0:1725545235.0","currentOid":""},"activityList":{"items":[{"before":"e77f71c40e3de129bea7158ec00ee50a2a680593","after":"6f49cae7f229a8f04d332563a2256dfbdbed0214","ref":"refs/heads/louvain","pushedAt":"2024-09-16T05:14:35.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"`cargo fmt --all`","shortMessageHtmlLink":"cargo fmt --all"}},{"before":"58857fdc92065dd8632c8928805eb95537e5b86c","after":"e77f71c40e3de129bea7158ec00ee50a2a680593","ref":"refs/heads/louvain","pushedAt":"2024-09-16T05:11:51.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Revise traits to compile with Rust 1.70","shortMessageHtmlLink":"Revise traits to compile with Rust 1.70"}},{"before":"b3fad588ae419b1c0b3a7db1cb64fa7b9ac77cfc","after":"58857fdc92065dd8632c8928805eb95537e5b86c","ref":"refs/heads/louvain","pushedAt":"2024-09-10T03:38:58.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Reorganize modularity and gain arithmetic","shortMessageHtmlLink":"Reorganize modularity and gain arithmetic"}},{"before":"94910697fc7be487047d1d6f992ed2862db91a3d","after":null,"ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-09-05T14:07:15.000Z","pushType":"branch_deletion","commitsCount":0,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"}},{"before":"df684f64378126c775fd3f83f393d3712e66fbee","after":"b3fad588ae419b1c0b3a7db1cb64fa7b9ac77cfc","ref":"refs/heads/louvain","pushedAt":"2024-09-05T04:05:37.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Remove redundant argument from `one_level_undirected`","shortMessageHtmlLink":"Remove redundant argument from one_level_undirected"}},{"before":"c0e2de3ffe6612b32fe74508c796f830e8c3c2ff","after":"df684f64378126c775fd3f83f393d3712e66fbee","ref":"refs/heads/louvain","pushedAt":"2024-09-05T03:20:45.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into louvain","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into louvain"}},{"before":"fda816cc6d9f72a2c48c6aa72f17f933ef8dd534","after":"c0e2de3ffe6612b32fe74508c796f830e8c3c2ff","ref":"refs/heads/louvain","pushedAt":"2024-09-05T03:20:21.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Add karate club test","shortMessageHtmlLink":"Add karate club test"}},{"before":"26092919ac0bc9c430c1baeaf0b2c15b8b99a567","after":"fda816cc6d9f72a2c48c6aa72f17f933ef8dd534","ref":"refs/heads/louvain","pushedAt":"2024-09-04T04:39:06.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Avoid copying the whole input graph on the first pass","shortMessageHtmlLink":"Avoid copying the whole input graph on the first pass"}},{"before":"c75ec5f04fd42ef8a64737c3789652972e9dca6e","after":"26092919ac0bc9c430c1baeaf0b2c15b8b99a567","ref":"refs/heads/louvain","pushedAt":"2024-09-04T03:22:39.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Use Vec instead of HashMap where possible","shortMessageHtmlLink":"Use Vec instead of HashMap where possible"}},{"before":"5fcb89e5c2513f09f6843d84a2d20771f494cc4c","after":"c75ec5f04fd42ef8a64737c3789652972e9dca6e","ref":"refs/heads/louvain","pushedAt":"2024-09-01T23:24:56.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'louvain' of https://github.com/jpacold/rustworkx into louvain","shortMessageHtmlLink":"Merge branch 'louvain' of https://github.com/jpacold/rustworkx into l…"}},{"before":"b986a8e2bb4505f2f7163595c61b99f34cd10077","after":"5fcb89e5c2513f09f6843d84a2d20771f494cc4c","ref":"refs/heads/louvain","pushedAt":"2024-09-01T23:24:46.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into louvain","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into louvain"}},{"before":"561ab21f1afeb9bc68e915d4338b044184e818b4","after":"b986a8e2bb4505f2f7163595c61b99f34cd10077","ref":"refs/heads/louvain","pushedAt":"2024-08-23T04:49:20.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Move modularity calculation to `Partition`","shortMessageHtmlLink":"Move modularity calculation to Partition"}},{"before":"1f24463a24f8662f6756c41731acf4e4e9a54d19","after":"561ab21f1afeb9bc68e915d4338b044184e818b4","ref":"refs/heads/louvain","pushedAt":"2024-08-21T03:16:26.000Z","pushType":"push","commitsCount":9,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into louvain","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into louvain"}},{"before":"cb7fd50fd1a052ad76e3c245555c29ed73205178","after":"1f24463a24f8662f6756c41731acf4e4e9a54d19","ref":"refs/heads/louvain","pushedAt":"2024-08-06T03:30:20.000Z","pushType":"push","commitsCount":7,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into louvain","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into louvain"}},{"before":"c4256daf96fc3c08c392450ed33bc0987cdb15ff","after":"8b5d38bbb2ba3aad31979e8c5dd5dba937896880","ref":"refs/heads/main","pushedAt":"2024-07-25T05:24:44.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Add `PyDiGraph.neighbors_undirected` (#1254)\n\n* Add `PyDiGraph.neighbors_undirected`\r\n\r\n* Add reno\r\n\r\n* add stub\r\n\r\n* review comments\r\n\r\n- additional test comparing w/ to_undirected\r\n- example in docstring\r\n\r\n* Apply suggestions from code review\r\n\r\n---------\r\n\r\nCo-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>","shortMessageHtmlLink":"Add PyDiGraph.neighbors_undirected (Qiskit#1254)"}},{"before":"b18e494b7938964014706c6fbbc810151a12380f","after":"c4256daf96fc3c08c392450ed33bc0987cdb15ff","ref":"refs/heads/main","pushedAt":"2024-07-23T03:30:05.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Bump quick-xml from 0.35.0 to 0.36.0 (#1245)\n\nBumps [quick-xml](https://github.com/tafia/quick-xml) from 0.35.0 to 0.36.0.\r\n- [Release notes](https://github.com/tafia/quick-xml/releases)\r\n- [Changelog](https://github.com/tafia/quick-xml/blob/master/Changelog.md)\r\n- [Commits](https://github.com/tafia/quick-xml/compare/v0.35.0...v0.36.0)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: quick-xml\r\n dependency-type: direct:production\r\n update-type: version-update:semver-minor\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump quick-xml from 0.35.0 to 0.36.0 (Qiskit#1245)"}},{"before":"dc444d6755535031193d9dec24083b148307aa97","after":"cb7fd50fd1a052ad76e3c245555c29ed73205178","ref":"refs/heads/louvain","pushedAt":"2024-07-08T02:06:20.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"add test for directed case","shortMessageHtmlLink":"add test for directed case"}},{"before":"75f2570822b0abc19d7c0a94fcc2bb8f6b7f2b45","after":"dc444d6755535031193d9dec24083b148307aa97","ref":"refs/heads/louvain","pushedAt":"2024-07-07T04:55:42.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into louvain","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into louvain"}},{"before":"b18e494b7938964014706c6fbbc810151a12380f","after":"75f2570822b0abc19d7c0a94fcc2bb8f6b7f2b45","ref":"refs/heads/louvain","pushedAt":"2024-07-07T04:54:41.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"add Rust test, fix modularity calculation","shortMessageHtmlLink":"add Rust test, fix modularity calculation"}},{"before":null,"after":"b18e494b7938964014706c6fbbc810151a12380f","ref":"refs/heads/louvain","pushedAt":"2024-07-03T02:37:13.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Bump serde_json from 1.0.119 to 1.0.120 (#1240)\n\nBumps [serde_json](https://github.com/serde-rs/json) from 1.0.119 to 1.0.120.\r\n- [Release notes](https://github.com/serde-rs/json/releases)\r\n- [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: serde_json\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump serde_json from 1.0.119 to 1.0.120 (Qiskit#1240)"}},{"before":"135e67bb63d7945d27ed1fb00a63e0017ea2f453","after":"b18e494b7938964014706c6fbbc810151a12380f","ref":"refs/heads/main","pushedAt":"2024-07-03T02:37:04.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Bump serde_json from 1.0.119 to 1.0.120 (#1240)\n\nBumps [serde_json](https://github.com/serde-rs/json) from 1.0.119 to 1.0.120.\r\n- [Release notes](https://github.com/serde-rs/json/releases)\r\n- [Commits](https://github.com/serde-rs/json/compare/v1.0.119...v1.0.120)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: serde_json\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump serde_json from 1.0.119 to 1.0.120 (Qiskit#1240)"}},{"before":"312a70bf60437d0d7ad61d42e0b886f601cb8076","after":"135e67bb63d7945d27ed1fb00a63e0017ea2f453","ref":"refs/heads/main","pushedAt":"2024-07-01T17:58:14.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Bump serde_json from 1.0.118 to 1.0.119 (#1237)\n\nBumps [serde_json](https://github.com/serde-rs/json) from 1.0.118 to 1.0.119.\r\n- [Release notes](https://github.com/serde-rs/json/releases)\r\n- [Commits](https://github.com/serde-rs/json/compare/v1.0.118...v1.0.119)\r\n\r\n---\r\nupdated-dependencies:\r\n- dependency-name: serde_json\r\n dependency-type: direct:production\r\n update-type: version-update:semver-patch\r\n...\r\n\r\nSigned-off-by: dependabot[bot] \r\nCo-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>","shortMessageHtmlLink":"Bump serde_json from 1.0.118 to 1.0.119 (Qiskit#1237)"}},{"before":"9f58a4e0d7009a8b3098e2389fd8cd2b59559a49","after":"94910697fc7be487047d1d6f992ed2862db91a3d","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-28T17:21:38.000Z","pushType":"push","commitsCount":3,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Merge branch 'Qiskit:main' into hexagonal-lattice-followup","shortMessageHtmlLink":"Merge branch 'Qiskit:main' into hexagonal-lattice-followup"}},{"before":"5829af6bccf617f319ba7b7934105d550f19642d","after":"312a70bf60437d0d7ad61d42e0b886f601cb8076","ref":"refs/heads/main","pushedAt":"2024-06-28T17:21:24.000Z","pushType":"push","commitsCount":4,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Prepare 0.15.1 release (#1231)\n\n* Prepare 0.15.1 release\r\n\r\nThis commit prepares for a 0.15.1 release to fix an inadvertant breaking\r\napi change in graphviz_draw() that is causing issues for existing users\r\nof the visualizer.\r\n\r\n* Release note fixes\r\n\r\n* Fix typos in 0.15.0 release notes\r\n\r\nThis commit fixes typos in the 0.15.0 release notes that were missed\r\nduring that release. While technically unrelated to preparing 0.15.1\r\nthis is a good opportunity to fix them since we'll be rebuilding the\r\ndocs as part of the new release.\r\n\r\n* Fix spelling in prelude\r\n\r\n* Apply suggestions from code review\r\n\r\nCo-authored-by: Jake Lishman \r\n\r\n* Move new release notes\r\n\r\n---------\r\n\r\nCo-authored-by: Jake Lishman ","shortMessageHtmlLink":"Prepare 0.15.1 release (Qiskit#1231)"}},{"before":"d9edc378bb89c0c21d1e39c16071f1fa929e5561","after":"9f58a4e0d7009a8b3098e2389fd8cd2b59559a49","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-28T13:43:51.000Z","pushType":"push","commitsCount":2,"pusher":{"login":"mtreinish","name":"Matthew Treinish","path":"/mtreinish","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/2447371?s=80&v=4"},"commit":{"message":"Merge branch 'main' into hexagonal-lattice-followup","shortMessageHtmlLink":"Merge branch 'main' into hexagonal-lattice-followup"}},{"before":"8e5fcbfbe7cc8062e7228f05f8817699053afc1a","after":"d9edc378bb89c0c21d1e39c16071f1fa929e5561","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-28T12:36:16.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"release note for position bug fixes","shortMessageHtmlLink":"release note for position bug fixes"}},{"before":"0d648b217a212daadb979bea8fff27dd0c4ebecc","after":"8e5fcbfbe7cc8062e7228f05f8817699053afc1a","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-28T11:22:06.000Z","pushType":"push","commitsCount":6,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"fix offset bug when lattice has an odd number of columns","shortMessageHtmlLink":"fix offset bug when lattice has an odd number of columns"}},{"before":"5829af6bccf617f319ba7b7934105d550f19642d","after":"0d648b217a212daadb979bea8fff27dd0c4ebecc","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-28T08:59:38.000Z","pushType":"push","commitsCount":1,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Prepare 0.15.0 release (#1228)\n\n* Prepare 0.15.0 release\r\n\r\nThis commit prepares the 0.15.0 release. It moves the release notes for\r\nthe release into a separate directory and adds a prelude to the release\r\nnotes. This should be the last commit to merge for the 0.15.0 release\r\nand after it merges that commit will be what is should be tagged as the\r\n0.15.0 release.\r\n\r\nAs part of this there are few small changes other changes being made.\r\nThe release notes are update to have consistent formatting and wording.\r\n\r\n* Add missing release notes\r\n\r\n* Apply suggestions from code review\r\n\r\nCo-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>\r\n\r\n* Move new release note\r\n\r\n* Reword Dorogovtsev-Goltsev-Mendes rustworkx-core release note slightly\r\n\r\n* Update releasenotes/notes/0.15/swap-nox-tox-dea2bb14c400641c.yaml\r\n\r\n* Update releasenotes/notes/0.15/prepare-0.15.0-771047bc5b71c569.yaml\r\n\r\n---------\r\n\r\nCo-authored-by: Raynel Sanchez <87539502+raynelfss@users.noreply.github.com>\r\nCo-authored-by: Ivan Carvalho <8753214+IvanIsCoding@users.noreply.github.com>","shortMessageHtmlLink":"Prepare 0.15.0 release (Qiskit#1228)"}},{"before":null,"after":"5829af6bccf617f319ba7b7934105d550f19642d","ref":"refs/heads/hexagonal-lattice-followup","pushedAt":"2024-06-27T01:31:34.000Z","pushType":"branch_creation","commitsCount":0,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Add `layers` function to `rustworkx-core` (#1194)\n\n* Initial: Add `layers` function to `rustworkx-core`\r\n- Modify the `layers` python interface to use the `rustworkx-core` equivalent.\r\n\r\n* Docs: Add proper docstring to `layers`\r\n\r\n* Fix: Wrong import in docstring\r\n\r\n* Fix: Return an `Iterator` instance from `layers` in `rustworkx-core`.\r\n\r\n* Test: Add tests to `layers`\r\n- Move `layers` to `dag_algo.rs`.\r\n- Add check for cycles, if a cycle is found throw an error.\r\n- Refactor `LayersIndexError` to `LayersError`.\r\n- Move `LayersError` to `err.rs`.\r\n- Other small tweaks and fixes.\r\n\r\n* Format: Fix lint.\r\n\r\n* Docs: Fix docs test.\r\n\r\n* Docs: Add release note\r\n\r\n* Docs: Fix release note\r\n\r\n* Fix: Return NodeId instead of usize\r\n\r\n* Docs: Add suggestions for release note.\r\n\r\n* Fix: Return true Iterator for `layers`\r\n- Use panic exceptions for specific cases.\r\n- Other tweaks and fixes.\r\n\r\n* Fix: Node check only in the first layer\r\n\r\n* Fix: Remove result handling for layers\r\n- Use `panic!` when a programming error is made.\r\n- Verify cycles by checkng repeating layers, call `panic!` if one is found.\r\n- Adapt python side function to use check for nodes to avoid panic.\r\n- Adapt tests.\r\n\r\n* Remove: `LayersError` as it will no longer be needed.\r\n- Small fix in docstring.\r\n\r\n* Fix: Revert result handling in `layers`\r\n- Add result handling in the python version of the function.\r\n- Use indices to keep track of cycles.\r\n- Revert deletion of `LayersError`.\r\n- Update tests.\r\n- Other tweaks and fixes.\r\n\r\n* Docs: Fix release note and docstring\r\n- Fix docstring test and regular test.\r\n- Add extra check for missing nodes.\r\n\r\n* Fix: Explicit warning for invalid first index\r\n- Remove calls to `to_owned()`.\r\n\r\n---------\r\n\r\nCo-authored-by: Matthew Treinish ","shortMessageHtmlLink":"Add layers function to rustworkx-core (Qiskit#1194)"}},{"before":"9acd7760e3bc57ee27eeb0d0c96aba5d67eccd69","after":"5829af6bccf617f319ba7b7934105d550f19642d","ref":"refs/heads/main","pushedAt":"2024-06-27T01:30:43.000Z","pushType":"force_push","commitsCount":0,"pusher":{"login":"jpacold","name":null,"path":"/jpacold","primaryAvatarUrl":"https://avatars.githubusercontent.com/u/20975024?s=80&v=4"},"commit":{"message":"Add `layers` function to `rustworkx-core` (#1194)\n\n* Initial: Add `layers` function to `rustworkx-core`\r\n- Modify the `layers` python interface to use the `rustworkx-core` equivalent.\r\n\r\n* Docs: Add proper docstring to `layers`\r\n\r\n* Fix: Wrong import in docstring\r\n\r\n* Fix: Return an `Iterator` instance from `layers` in `rustworkx-core`.\r\n\r\n* Test: Add tests to `layers`\r\n- Move `layers` to `dag_algo.rs`.\r\n- Add check for cycles, if a cycle is found throw an error.\r\n- Refactor `LayersIndexError` to `LayersError`.\r\n- Move `LayersError` to `err.rs`.\r\n- Other small tweaks and fixes.\r\n\r\n* Format: Fix lint.\r\n\r\n* Docs: Fix docs test.\r\n\r\n* Docs: Add release note\r\n\r\n* Docs: Fix release note\r\n\r\n* Fix: Return NodeId instead of usize\r\n\r\n* Docs: Add suggestions for release note.\r\n\r\n* Fix: Return true Iterator for `layers`\r\n- Use panic exceptions for specific cases.\r\n- Other tweaks and fixes.\r\n\r\n* Fix: Node check only in the first layer\r\n\r\n* Fix: Remove result handling for layers\r\n- Use `panic!` when a programming error is made.\r\n- Verify cycles by checkng repeating layers, call `panic!` if one is found.\r\n- Adapt python side function to use check for nodes to avoid panic.\r\n- Adapt tests.\r\n\r\n* Remove: `LayersError` as it will no longer be needed.\r\n- Small fix in docstring.\r\n\r\n* Fix: Revert result handling in `layers`\r\n- Add result handling in the python version of the function.\r\n- Use indices to keep track of cycles.\r\n- Revert deletion of `LayersError`.\r\n- Update tests.\r\n- Other tweaks and fixes.\r\n\r\n* Docs: Fix release note and docstring\r\n- Fix docstring test and regular test.\r\n- Add extra check for missing nodes.\r\n\r\n* Fix: Explicit warning for invalid first index\r\n- Remove calls to `to_owned()`.\r\n\r\n---------\r\n\r\nCo-authored-by: Matthew Treinish ","shortMessageHtmlLink":"Add layers function to rustworkx-core (Qiskit#1194)"}}],"hasNextPage":true,"hasPreviousPage":false,"activityType":"all","actor":null,"timePeriod":"all","sort":"DESC","perPage":30,"cursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNlQwNToxNDozNS4wMDAwMDBazwAAAAS3DKfb","startCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wOS0xNlQwNToxNDozNS4wMDAwMDBazwAAAAS3DKfb","endCursor":"Y3Vyc29yOnYyOpK7MjAyNC0wNi0yN1QwMTozMDo0My4wMDAwMDBazwAAAARwT_qV"}},"title":"Activity · jpacold/rustworkx"}