agentsclimarketplace

Weighted person record comparison

Skill ECNU-ICALK/AutoSkill/SkillBank/ConvSkill/english_gpt4_8_GLM4.7/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.From its SKILL.md

Install
npx -y skills add ECNU-ICALK/AutoSkill --skill weighted_person_record_comparison

Assembled from the repository path, not quoted from the project. Check it against their README if it does not work.

One thing to look at

  • no licenseNo license file was found in the repository. Code published without one is not open source by default, so using it at work is a question for whoever answers licensing questions where you are.

SKILL.md

2.9 KB, 559 tokens by cl100k_base, as published. Nobody here has run it

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

What ships with it

Read from the repository

Just SKILL.md. No reference files, no scripts.

Keep looking

Skills are one crate of 325,949. Ordering is by how many stacks a row turns up in, so the top of any crate is what has actually been picked rather than what has the most stars.