-
Notifications
You must be signed in to change notification settings - Fork 1
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
Update Vulnerability adding impact object, function objects and changing some field names and descriptions #124
Conversation
impact_metric.csv still requires descriptions, see #125 for that issue but it shouldn't hold up pushing this PR through |
Also, need to remove unreferenced definitions:
|
Co-authored-by: Duncan Dewhurst <[email protected]>
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.
Please see individual comments
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.
@stufraser1 please take a look at my review comments, there are quite a few on which it would be good to get your input. If you are happy with any of the suggestions, feel free to commit them. Thanks!
Co-authored-by: Duncan Dewhurst <[email protected]>
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.
I'd like to add a code:
asset_count,Number of assets damaged,"The estimated number of structure, or length of infrastructure damaged.", Loss
If you think we need to separate count and length (for network infrastructure we communicate in terms of km of roads damaged e.g.) then please suggest the code suffix.
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.
Because this list is used in impact
which has .metric
(which takes from this list) and .unit
I don't think we need to split this up into two as the unit should clarify it. But I have changed the name to 'asset_loss' to retain _count for when metrics only relate to a count of numbers.
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.
I'd like to add a code:
displaced_count,Number of people displaced,"The estimated number of people displaced due to physical damage and disruption.", Loss
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.
Can we make the category "Loss and Damage" instead of "Loss"?
This would be very helpful to communicate the range of impacts not just being monetary Loss, but I don't know if this change would have other implications in the standard.
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.
The category should refer to the object the code can be used in. At the moment that's Loss
. I see that you've suggested a change from Loss
to Loss_and_damage
, I feel that's a change that is best left until the next iteration of the standard as that feels like quite a significant semantic change.
volcano_balllistics changed to volcano_ballistics
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.
This does not seem comprehensive. Why do we not have GED4ALL taxonomy for buildings referenced here, for example?
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.
So at the moment the only place this codelist is being referenced is in se_category
so we only included the schemes for that
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.
Agree on putting semantic change to SC review
If this was merged in dev branch, why does the json file on dev branch still contain outdated codes e.g., |
I think that's just an omission. There's one occurrence of the out-of-date There's a draft PR (#127) which adds a test to validate that codelist enums are in-sync with the CSV files. I've suggested that we merge that PR after merging the other PRs in order to catch anything we missed. |
Related issues
closes #74, closes #75, closes #76, closes #77, closes #78, closes #125 and addresses some of #56
Merge checklist
./manage.py
pre-commit