Skip to content

Detect moved items in ordered iterables#1

Merged
akshat62 merged 1 commit intoupdate-diff-behavior-item-movementsfrom
codex/update-diff-behavior-for-item-movements
Aug 12, 2025
Merged

Detect moved items in ordered iterables#1
akshat62 merged 1 commit intoupdate-diff-behavior-item-movementsfrom
codex/update-diff-behavior-for-item-movements

Conversation

@akshat62
Copy link
Owner

Summary

  • detect reverse difflib replacements as item moves
  • test that list swaps report iterable_item_moved
  • document iterable_item_moved usage

Testing

  • pytest tests/test_diff_text.py -k test_item_moved -vv (fails: ModuleNotFoundError: No module named 'orderly_set')

https://chatgpt.com/codex/tasks/task_e_689b867ec2e883318b56e18dcaddeeef

@akshat62 akshat62 changed the base branch from master to update-diff-behavior-item-movements August 12, 2025 18:33
@akshat62 akshat62 merged commit 6068470 into update-diff-behavior-item-movements Aug 12, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant