Project dedicated_to_women_or_children onto dim_priority - #14
Merged
Conversation
Adds the Two-Options field `crc8b_dedicatedtowomenorchildren` (already carried through bronze→silver automatically) to the gold layer's `dim_priority` as `dedicated_to_women_or_children`, resolved to its "Yes"/"No" label via the standard `OPTIONSET:` resolver — the same pattern used for `dim_candidate_core.test_format` (commit 6ce3ad8). Unblocks the dashboard's "Share of priorities dedicated to women or children" card, which has been a placeholder waiting on this column. Non-obvious choice: projected as a label rather than as a raw 0/1 integer. The dashboard already types other category fields on dimensions as strings, and rendering "Yes"/"No" lets the frontend stay boilerplate-free (no integer→label mapping table on that side). Distribution in the current Gold DB is 34 Yes / 31 No / 1 null across the 66 priorities.
zuhdil
force-pushed
the
project-dedicated-to-women-or-children
branch
from
May 15, 2026 00:43
0358fd7 to
e34525c
Compare
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.
Adds the Two-Options field
crc8b_dedicatedtowomenorchildren(already carried through bronze→silver automatically) to the gold layer'sdim_priorityasdedicated_to_women_or_children, resolved to its "Yes"/"No" label via the standardOPTIONSET:resolver — the same pattern used fordim_candidate_core.test_format(commit 6ce3ad8).Unblocks the dashboard's "Share of priorities dedicated to women or children" card, which has been a placeholder waiting on this column.
Non-obvious choice: projected as a label rather than as a raw 0/1 integer. The dashboard already types other category fields on dimensions as strings, and rendering "Yes"/"No" lets the frontend stay boilerplate-free (no integer→label mapping table on that side). Distribution in the current Gold DB is 34 Yes / 31 No / 1 null across the 66 priorities.