Repository navigation
CVR: fully liable partners in BackgroundCheck, keyed on the participant number; page every CVR list - #476
Merged
Conversation
…; page every list Datafordeler's CVR data carries one relation to people, the fully liable participants of I/S, K/S and P/S firms. Read each participant's unit type and name (two requests per 100, DAF-GQL-0016) and map a person keyed on CVR's participant number (DK-CVR-ENHEDSNUMMER, an identifying annotation; no CPR, no birth date) or a company keyed on its CVR number, with one relationship whose interests are CVR's periods. dk-cvr-enhedsnummer joins ONE_PERSON_PER_VALUE_SCHEMES: Willis Towers Watson Consultancy Services I/S has two partners of one name. Every CVR query now pages: Datafordeler answers 100 rows unless asked, and Willis's 132 partner rows were cut at 100. A failed participant read is a source_read degradation and is not cached; cache key cvr_denmark:v2. Notion: https://app.notion.com/p/3a57f3dc292881bd99ffe09d2b9e78aa Co-Authored-By: Claude Opus 5.5 <noreply@anthropic.com> Claude-Session: https://claude.ai/code/session_014UZpyb3XxStyJjMqCN2nTB
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Notion: https://app.notion.com/p/3a57f3dc292881bd99ffe09d2b9e78aa
BackgroundCheck Phase F, task 3: the first new person source after Phase 393's identity-first merge.
What Datafordeler's CVR data has (checked live, 21 Oct 2026)
CVR_FuldtAnsvarligDeltagerRelation, the fully liable partners of I/S, K/S and P/S firms. Directors, boards and owners are not in it; they are only in Erhvervsstyrelsen's System-til-System distribution, which is being applied for separately.CVR_CVREnhed) gives its type and CVR's participant number (enhedsnummer), andCVR_Navngives its name. There is no birth date and no CPR number.Change
inlist may hold at most 100: DAF-GQL-0016). A failed read is recorded as asource_readdegradation, and a bundle missing its participants is not cached. The cache key is nowcvr_denmark:v2:._current()'s fall-back to every row. With that fall-back, a firm whose partners had all left would still have read as having them.DK-CVR-ENHEDSNUMMER(in an identifying annotation, per Phase 255) or a company keyed on itsDK-CVRnumber. Each gets oneotherInfluenceOrControlrelationship whose interests are the periods CVR records, and ended partners are closed. No share and no beneficial-ownership flag are set.dk-cvr-enhedsnummeris added toONE_PERSON_PER_VALUE_SCHEMES. Willis has two partners named Mikkel Martin Nielsen with different numbers, and Phase 393's same-source name rule would otherwise merge them into one person.Verified
extractConnectedPeopleandclusterConnectedPeople): 130 people, no clusters.main(noftm/ICU stack here).test_cvr_partners.pyadds 10 tests, and the CVR/timeline tests are green.tsc, all 1,375 vitest tests andlint:designpass. The OKF check is in sync.After deploy
Open BackgroundCheck on MADEGÅRDEN I/S and check that both partners show with the "Fully liable participant" role.
Generated by Claude Code