Skip to content

Add container location audit script - #1

Open
bonniegee wants to merge 1 commit into
mainfrom
audit-container-locations
Open

Add container location audit script#1
bonniegee wants to merge 1 commit into
mainfrom
audit-container-locations

Conversation

@bonniegee

Copy link
Copy Markdown
Contributor

Add ContainerLocationAuditor, which iterates over published RBML resources and writes one CSV row per resource comparing the location stated in conditions governing access notes against actual top container coverage (barcode, location, or neither). Helps identify collections where the notes and the container records are inconsistent, and surfaces boxes lacking either a location or a barcode.

Location is classified (fully off-site / partially off-site / fully on-site / not indicated) by parsing conditions governing access note text; the matched sentence is included per row so the classification can be verified. Container counts include a column for boxes carrying the ReCAP location without a barcode.

Includes unit tests for the classifier and all class methods.

Add ContainerLocationAuditor, which iterates over published RBML resources and writes one CSV row per resource comparing the location stated in conditions governing access notes against actual top container coverage (barcode, location, or neither). Helps identify collections where the notes and the container records are inconsistent, and surfaces boxes lacking either a location or a barcode.

Location is classified (fully off-site / partially off-site / fully on-site / not indicated) by parsing conditions governing access note text; the matched sentence is included per row so the classification can be verified. Container counts include a column for boxes carrying the ReCAP location without a barcode.

Includes unit tests for the classifier and all class methods.
@bonniegee
bonniegee requested a review from dorkivist July 14, 2026 15:22
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant