How to compare two AI system inventory exports
An AI register can look complete while the tools in it have already changed. A vendor can turn on CV ranking by default, or a team can start using an assistant for a different decision. When you review the register again, you need to see which records changed and which evidence to revisit.
Keep two exports from the same workspace. Match on the system ID so you can still find a record after someone renames it. Compare the owner, intended use, assessment basis and sign-off, then ask the owner to confirm what changed in the actual tool.
Compare two CSV exports
I’m building Northstar. Its free sample AI system inventory uses the same columns as its workspace export and includes three fictional systems. Download it twice, save the files as before.csv and after.csv, and change a field in the second file.
This example reads both files without changing either of them. Save it as compare_inventory.py and run it with python3 compare_inventory.py.
import csv FIELDS = ( "name", "owner", "purpose", "status", "tier", "role", "basis", "last_assessed_as_of", "ruleset", "signed_by", ) def load_inventory(path): inventory = {} with open(path, encoding="utf-8-sig", newline="") as file: for row in csv.DictReader(file): system_id = row["system_id"].strip() if not system_id or system_id in inventory: raise ValueError(f"Missing or repeated system ID in {path}") inventory[system_id] = row return inventory before = load_inventory("before.csv") after = load_inventory("after.csv") for system_id in sorted(before.keys() | after.keys()): previous = before.get(system_id) current = after.get(system_id) if previous is None: print(f"{system_id} added {current['name']}") elif current is None: print(f"{system_id} missing from new export {previous['name']}") else: for field in FIELDS: if previous[field] != current[field]: print(f"{system_id} {field} {previous[field]} → {current[field]}") If you change Recruiter Screener’s owner from Head of People to Recruitment Operations Lead in after.csv, you’ll get this result.
1 owner Head of People → Recruitment Operations Lead Turn the difference into a review
- Owner changed. Confirm who can explain the current configuration and who can sign off on changes.
- Purpose or role changed. Revisit the assessment and record the reason, date and evidence for the new use.
- A row disappeared. Check whether the system was retired or accidentally left out of the export.
- A vendor changed the ranking rules. The export alone may not show it. Test one fictional application below the cutoff and record whether a recruiter can find it, check the original CV and override the recommendation.
NIST’s AI Risk Management Framework playbook describes keeping an inventory that connects AI systems to the records needed to manage their risks. If you already have a register, try this on one workflow before comparing everything.
This walkthrough was drafted with Codex. The comparison was run locally on the fictional sample and does not use applicant or customer data.
原文:https://www.a8q9.cn/en/article/how-to-compare-two-ai-system-inventory-exports-e898b5.html