-
Notifications
You must be signed in to change notification settings - Fork 163
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
[SCHEMA] Update entity YAML keys #714
Conversation
Update inversion, resolution, density and description. Skipping mt for now...
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
LGTM!
Sorry, threw this together immediately before a meeting, so didn't have time to write much, and was kind of hoping the discussion would happen in the absence of prompts. Did we want Since the schema is intended to be used by other tools, getting a pretty definite policy early would be good so we don't pull the rug out from under anybody in the future. |
I prefer inversion, since we have the |
@effigies mapping between entity and parameters are Instead of using As for |
agreed as for mt, I think |
@sappelhoff @tsalo @effigies how would you like to proceed with these entities? We'll need to convert some datasets according to the latest changes, that'd be great if we could stabilize the entity names soon. |
@agahkarakuzu sorry for the confusion. The names we're discussing don't impact the actual entities as they're used in datasets, so you're all set. They mostly impact how we recommend that folks refer to the entities in code (e.g., with argument names and internal variable names). EDIT: As an example, in |
Thank you for the clarification @tsalo ! I guess I'll consider these while extending the validator then? |
I believe that the "full" names are relevant in the validator, although the actual regular expressions still use the entity keys (the "short" names). Sorry to say, but I do so little with the validator that I can't remember for sure. |
Thanks for clarifying, @tsalo. Yes, this is just a consideration that what names we use here are very likely to become the names that tools use internally for the variables that are populated by parsing entities, as they migrate to depending on the schema. The multi-word concepts just need a sensible rule that we can apply consistently. If we follow the precedent of |
What about |
That would be fine with me. Is there any chance of collision with the |
I think |
You're totally right. I forgot that it's a rule in the specification that entities and metadata fields not duplicate one another, regardless of capitalization. I don't think we've applied that to the variable names of the entities, but I don't see why we should complicate things. I vote for |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Re-approving just to make my support clear 😄
@tsalo @sappelhoff I'll leave this to you to merge when you think appropriate. It doesn't fall under our usual 5 day rule, but I also don't see a need to do it quickly. |
In keeping with #616, updating the keys to "common concepts" for inv, res, den and desc. I did not do mt.