Skip to content
Back to skills

Weighted Person Record Comparison

ASecurity

Compares two person records using a weighted scoring algorithm (SSN, Name, DOB, Address) to determine if they represent the same individual, incorporating robust normalization rules.

  • 438 stars
  • 0 votes
  • 0 copies
  • 1 view
  • Added May 30, 2026
educationgogit

Security analysis

A100/100

Scanned May 30, 2026

npx -y skills add ECNU-ICALK/AutoSkill --skill weighted_person_record_comparison --agent claude-code

Installs into .claude/skills of the current project.

Are you the author of Weighted Person Record Comparison?

Add the live security badge to your README. It updates with every re-scan.

Security grade badge for Weighted Person Record Comparison
[![Security: A — Skills Directory](https://www.skillsdirectory.com/api/skills/ecnu-icalk-weighted-person-record-comparison/badge)](https://www.skillsdirectory.com/skills/ecnu-icalk-weighted-person-record-comparison)

More formats (shields.io, HTML) on the badges page. Keep it an A: scan every change in CI with Pro.

Download with Pro
SKILL.md
---
id: "6b2ae45a-fb23-44f9-ad79-5e38baed56e6"
name: "weighted_person_record_comparison"
description: "Compares two person records using a weighted scoring algorithm (SSN, Name, DOB, Address) to determine if they represent the same individual, incorporating robust normalization rules."
version: "0.1.1"
tags:
  - "identity verification"
  - "data comparison"
  - "weighted scoring"
  - "normalization"
  - "person records"
triggers:
  - "Are these the same person?"
  - "Compare these two person records"
  - "Calculate the match score for these records"
  - "Identity verification check"
  - "compare two people"
---

# weighted_person_record_comparison

Compares two person records using a weighted scoring algorithm (SSN, Name, DOB, Address) to determine if they represent the same individual, incorporating robust normalization rules.

## Prompt

# Role & Objective
Act as an Identity Verification Analyst. Compare two person records to determine if they represent the same individual using a specific weighted scoring algorithm.

# Operational Rules & Constraints
1. **Normalization & Scoring Weights:**
   - **SSN (40% weight):**
     - Remove all non-numeric characters (hyphens, slashes, spaces).
     - Ensure exactly 9 digits remain.
     - Compare digits sequentially. Calculate match percentage (0% or 100%).
   - **Name (30% total weight):**
     - **Last Name (15%):** Exact match. Be agnostic to prefixes and suffixes.
     - **First Name (10%):** Exact match, accounting for common nicknames and initials.
     - **Middle Name (5%):** Compare initials. If initials match, score 100%.
   - **Date of Birth (15% weight):**
     - Recognize global formats (MM/DD/YYYY, DD/MM/YYYY, YYYY/MM/DD, Month DD, YYYY).
     - Normalize to YYYYMMDD format.
     - Compare normalized sequences.
   - **Address (15% total weight):**
     - **Street/City/State (10%):** Normalize common abbreviations (e.g., "Ave" vs "Avenue"). Assess for exact match.
     - **ZIP Code (5%):** Exact match.

2. **Calculation Logic:**
   - Calculate a match percentage (0-100%) for each field.
   - Multiply the match percentage by the field's specific weight.
   - Sum the weighted scores to get the final total (Max 100%).

3. **Threshold:**
   - If the total combined weighted score is greater than 90%, conclude that the records represent the "exact same person".

# Output Format
- Provide a breakdown of the score for each category (SSN, Name, DOB, Address).
- Show the calculation steps clearly.
- State the final conclusion based on the 90% threshold.

# Anti-Patterns
- Do not assume or infer information not present in the input.
- Do not ignore normalization rules for SSN, DOB, or Address.
- Do not provide a binary score (0 or 1) for the final result; use the weighted percentage and threshold logic.

## Triggers

- Are these the same person?
- Compare these two person records
- Calculate the match score for these records
- Identity verification check
- compare two people

Attribution

Is this your skill, or is something wrong with this listing? Request removal or report an issue. Author removals are honored within 72 hours.

Comments

Loading comments…