lydia
feed888b57
fix(duplicates): use combined weight (dependents + dependencies) for merge target selection (GH#1022)
...
When choosing which duplicate to keep, the merge target now considers
both dependentCount (children/blocked-by) AND dependsOnCount (dependencies).
This ensures issues with ANY structural connections are preferred over
empty shells, rather than only considering children.
- Updated chooseMergeTarget to calculate weight = dependentCount + dependsOnCount
- Updated display output to show weight instead of just dependents
- Updated JSON output to include dependencies and weight fields
- Added tests for dependsOnCount inclusion and combined weight calculation
Co-Authored-By: Claude Opus 4.5 <noreply@anthropic.com >
2026-01-17 03:44:13 -08:00
..
2026-01-17 03:42:35 -08:00
2026-01-13 08:41:25 -06:00
2026-01-16 14:33:08 -08:00
2026-01-10 12:43:46 -08:00
2026-01-17 01:54:50 -08:00
2026-01-06 22:18:37 -08:00
2026-01-06 22:18:37 -08:00
2026-01-13 20:58:07 -08:00
2026-01-06 19:05:34 -08:00
2026-01-12 16:39:06 -08:00
2026-01-17 00:04:09 -08:00
2026-01-06 12:52:19 -08:00
2026-01-15 19:23:07 -08:00
2026-01-17 01:55:16 -08:00
2026-01-13 13:22:19 +00:00
2026-01-09 22:57:07 -08:00
2026-01-13 13:28:30 +00:00
2026-01-17 01:54:50 -08:00
2026-01-15 19:22:55 -08:00
2026-01-06 19:37:20 -08:00
2026-01-14 20:50:56 -08:00
2026-01-16 15:44:33 -08:00
2026-01-17 00:42:06 -08:00
2026-01-17 02:51:06 -08:00
2026-01-17 00:16:05 -08:00
2026-01-12 23:51:56 -08:00
2026-01-10 22:50:16 -08:00
2026-01-10 22:50:16 -08:00
2026-01-10 16:28:52 -08:00
2026-01-10 16:31:16 -08:00
2026-01-07 21:27:20 -08:00
2026-01-17 03:40:28 -08:00
2026-01-14 21:42:31 -08:00
2026-01-06 18:59:25 -08:00
2026-01-10 12:43:46 -08:00
2026-01-08 14:32:12 -08:00
2026-01-10 12:08:48 -08:00
2026-01-17 01:55:16 -08:00
2026-01-09 12:02:02 +01:00
2026-01-12 19:42:51 -08:00
2026-01-06 23:31:09 -08:00
2026-01-14 20:36:30 -08:00
2026-01-06 12:52:19 -08:00
2026-01-06 19:05:34 -08:00
2026-01-17 03:44:13 -08:00
2026-01-17 03:44:13 -08:00
2026-01-09 22:53:53 -08:00
2026-01-06 22:18:37 -08:00
2026-01-15 07:55:08 -08:00
2026-01-06 23:40:37 -08:00
2026-01-13 00:46:50 -08:00
2026-01-08 20:50:56 -08:00
2026-01-17 01:55:16 -08:00
2026-01-16 16:00:06 -08:00
2026-01-17 08:44:30 +01:00
2026-01-17 08:44:30 +01:00
2026-01-15 19:23:07 -08:00
2026-01-14 21:57:28 -08:00
2026-01-14 20:50:56 -08:00
2026-01-16 12:01:43 -08:00
2026-01-12 17:29:57 -08:00
2026-01-17 02:29:01 -08:00
2026-01-17 02:29:01 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 11:37:57 -08:00
2026-01-15 11:37:57 -08:00
2026-01-16 12:24:48 -08:00
2026-01-06 19:05:34 -08:00
2026-01-07 20:45:00 -08:00
2026-01-08 20:50:56 -08:00
2026-01-12 02:05:13 -08:00
2026-01-10 12:43:46 -08:00
2026-01-17 00:24:36 -08:00
2026-01-17 03:44:02 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 07:55:08 -08:00
2026-01-10 23:42:49 -08:00
2026-01-10 11:55:33 -08:00
2026-01-08 21:22:17 -08:00
2026-01-08 21:22:17 -08:00
2026-01-06 19:05:34 -08:00
2026-01-04 16:24:18 -08:00
2026-01-04 16:24:18 -08:00
2026-01-07 20:45:40 -08:00
2026-01-17 00:24:34 -08:00
2026-01-16 15:44:33 -08:00
2026-01-07 20:44:16 -08:00
2026-01-08 21:22:17 -08:00
2026-01-06 19:05:34 -08:00
2026-01-15 19:23:07 -08:00
2026-01-06 19:05:34 -08:00
2026-01-06 19:32:20 -08:00
2026-01-06 18:59:25 -08:00
2026-01-16 12:01:43 -08:00
2026-01-07 21:41:29 -08:00
2026-01-08 20:21:02 -08:00
2026-01-13 08:41:25 -06:00
2026-01-08 20:50:56 -08:00
2026-01-17 01:55:16 -08:00
2026-01-09 13:40:52 -08:00
2026-01-09 13:40:52 -08:00
2026-01-15 19:23:07 -08:00
2026-01-17 00:04:09 -08:00
2026-01-15 19:23:07 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 19:23:09 -08:00
2026-01-07 21:27:20 -08:00
2026-01-15 19:22:52 -08:00
2026-01-15 19:22:52 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 19:23:07 -08:00
2026-01-06 12:52:19 -08:00
2026-01-07 21:27:20 -08:00
2026-01-07 21:27:20 -08:00
2026-01-15 08:02:20 -08:00
2026-01-07 21:27:20 -08:00
2026-01-17 01:55:06 -08:00
2026-01-14 20:43:07 -08:00
2026-01-15 07:55:08 -08:00
2026-01-16 15:57:18 -08:00
2026-01-06 18:59:25 -08:00
2026-01-16 16:02:51 -08:00
2026-01-17 01:55:16 -08:00
2026-01-15 07:55:08 -08:00
2026-01-10 13:34:53 -08:00
2026-01-12 01:35:22 -08:00
2026-01-15 07:55:08 -08:00
2026-01-15 07:55:08 -08:00
2026-01-10 22:38:04 -08:00
2026-01-15 07:55:08 -08:00