-
Notifications
You must be signed in to change notification settings - Fork 46
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
Adopt consistent style in field and code descriptions #850
Comments
@jpmckinney The description of this issue has not aged well as the style guide has grown significantly and field and code decriptions may have changed since then. Could you please update the issue description with updated examples of what needs fixing? I assume this is the part of the style guide that is relevant today: https://ocds-standard-development-handbook.readthedocs.io/en/latest/meta/schema_style_guide.html#field-and-code-descriptions |
I think the same high-level issues need fixing as before. I'm sure once anyone starts on the issue after reading the style guide that they will easily find problematic field/code descriptions. Finding the issues is half the work :) |
Wow the style guide seems to have grown a lot, great job @jpmckinney ! |
…ity' #850 e.g.: Contract.description
Re: #1406, the updated guidance is at https://ocds-standard-development-handbook.readthedocs.io/en/latest/meta/schema_style_guide.html#articles That said, the issue notes:
Re: #1303, I think we'll catch the same issues it identified, so no need to pull in. Some noteworthy changes:
|
Sounds good. Thanks! |
Starting to note the findings of the review here, I'll update this issue again once there are enough entries to be reviewed |
Re. Titles - there's a mix of titles with all words capitalized and those with only the first word capitalized. I'm assuming the latter is the preference from work on extensions but that doesn't appear to be specified in the style guide? @jpmckinney |
A general point about the style guide, there's no specific section on titles of fields. I'm finding mixtures of different patterns etc so would suggest the following:
Probably other guidance will occur as I work through this |
I'm about half way through so if anyone wants to start reviewing my suggestions please do. Other than the points mentioned in previous comments the only new one is that I've just skipped deprecated fields in their entirety so they may still not match the style guide and/or be inconsistent. |
Can you provide edit access to the sheet? Makes sense to add a section on field titles to the handbook.
+1
The description is typically written after the title, so this might be a bullet for the description. What's an example?
I think status, title, etc. can just be titled Status, Title, instead of Tender status, Award status, etc.
That's fine. |
Ah, sorry I thought I had, you should have edit access now.
I think what triggered this for me was
OK, there was inconsistency either way with some titles including the parent object name and some not so I think this needs to be included in the style guide. |
I'll go through and remove a load of lines from the Excel sheet where I've added the parent field to the title based on the above |
I think we should probably try to remove, as much as possible, noun phrases like "this tender" or "the tender". A tender in most places means the offer from the supplier – not the opportunity from the buyer. However, this task is separate from style, so we should cover it in a new issue. That said, let's skip all |
I've started to review, in two new columns. Feel free to start an issue or PR in the handbook for any new or updated style guidance. Note to self: I had been checking https://github.com/open-contracting/standard/pull/1303/files just in case there were some useful changes there. |
Although we aren't editing deprecated fields, let's still remove content like " (Deprecated in 1.1)" from descriptions. |
Noting based on the spreadsheet comments that reordering schema elements should be a seperate PR that some of these are already covered by #1382 which is on hold to avoid merge conflicts |
Created a new sheet to record the fields with elements in the wrong order (seems sensible to record these at the same time as going through all the fields for the descriptions and titles) |
It seems we should be using consistent language here much as we do with "goods, services and works". I think the top option was the most recent addition, it comes from |
Yes, first one sounds good! |
Great, I've added those to the spreadsheet too. I think that's all of the field titles and descriptions reviewed now, I've also updated some of the suggested changes based on your initial feedback. I've indicated where I've done that with a new column I. |
just a gentle prod @jpmckinney that all the suggested changes are now in the spreadsheet and waiting on your review |
Yes, it's in my backlog. As this is the longest issue to review, I'll get to it in 2024. The sheet: https://docs.google.com/spreadsheets/d/1WaN5cdU5UxoCMkq8Od5zlLj68-ckn1lnzWpt_DfzqHk/edit#gid=0 |
Been reviewing this as there's been quite a few changes to the schema since the spreadsheet was first created. Realised the
I think it's good to explicitly link the value in these fields to the values in the associated
where the agreed common language to refer to a scheme is used as well |
Sorry @jpmckinney I just realised I'd not added any of the codelists to the spreadsheet! It's now a lot longer. |
Some more updates have been added to the 1.2-dev branch since this issue was last looked at. I've now updated the spreadsheet to include any new or updated fields and codes. @jpmckinney would it make sense for @duncandewhurst to do a first pass review of the google sheet checking off the obvious changes and marking the more indepth ones that would require your input to lessen the amount you have to review? |
I think it'll be better for me to merge the big open PRs, then check their diffs, and continue from there. |
The style and apparent audience (e.g. publisher or user) of descriptions in the schema is inconsistent. Compare the
Tender.submissionMethod
field to the 'unsuccessful' code inawardStatus
.Some codelist descriptions are explicitly normative and some are implicitly normative (compare
tag
toIdentifier.scheme
).The text was updated successfully, but these errors were encountered: