Skip to content

Bulk review triage + auto-merge for identical-name/same-type duplicates #428

Description

@realestate-aistudio

Pain

After ingesting a 291-section CSV, the review queue flooded: 1500+ resolution rows, 500+ manual clicks in one session. Single-item decide only (POST /review/{id}), no bulk endpoint, no multi-select that works at this volume.

Evidence from our KB

  • 1137 rows auto-kept by adjudication, 159 kept by hand, only 61 auto-merged.
  • Of 50 pending 'namesake' (score 1.0, identical canonical_name) pairs: 23 share the same entity type (safe merges), but 28 have CONFLICTING types (homonyms - same string, different meaning). Blind auto-merge would corrupt those 28.

Proposal

  1. Bulk decide API + working multi-select in Review UI (the current select-all does not scale to hundreds).
  2. Optional auto-merge ONLY for identical canonical_name AND same type_id (both set, equal), still logged + revertible via revert_merge. Never on type conflict.
  3. Surface the type conflict in the duplicate row (today the row shows two similar names; the decisive info - same vs conflicting type - is invisible, forcing users to open each pair).

Environment: v0.1.0-rc5 (server), dev observed for code paths.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions