Safe CSV Import & Deterministic Deduplication

Ken Yu
Published

0
  • Project creator

Built a dependency-free Python workflow for validating one UTF-8 CSV, previewing a dry run, resolving duplicate keys deterministically, protecting newer records from stale updates, enforcing role checks, recording a hash-linked audit trail, and performing a guarded byte-exact rollback.

The synthetic demonstration processed 6 rows into 4 unique records, collapsed 2 duplicates, and passed all 11 automated tests, including audit-integrity and rollback checks.

Independent technical proof; not a production database migration.