Boundary values for percentages (included 2.03)

both_standards

(IATI Technical Team) #1

This proposal is part of the 2.03 upgrade process, please comment by replying below.

Standard
Activity and Organisation

Schema Object
All attributes containing percentages

Type of Change
Modify definition

Issue
Descriptions of percentage attributes in the schema state that the value must be a positive decimal number between 0 and 100. It is unclear whether whether the allowed value is inclusive or exclusive of boundary values. Zero is unsigned (and so not a positive number), while it would be reasonable for a value of 100 to be set.

Proposal
All percentages should be specified to be inclusive of boundary values.

Standards Day
No objections

Links


Bug fix: Implementing checks on @percentage attributes
Bug fix: Implementing checks on @percentage attributes
(IATI Technical Team) #2

This topic has been included for consideration in the formal 2.03 proposal


(IATI Technical Team) #3

There will be some consultation calls in early July for any 2.03 proposals where people would like to discuss them further - if you would like to discuss this proposal on one of the calls please ‘Like’ this IATI tech team post by end of Mon 26 June - you can do this by clicking the heart symbol to the bottom right hand side of this message.

Further details on the calls are available in the ‘How to participate’ topic.


(Wendy Rogers) #4

I would suggest that it does not seem logical or useful to be able to specify a recipient-country or recipient-region element that has a percentage value of zero?

Aidstream github issue relates https://github.com/younginnovations/aidstream/issues/91#issuecomment-319045107


Bug fix: Implementing checks on @percentage attributes
(IATI Technical Team) #5

This proposal has been been included in the 2.03 upgrade. It can be viewed in the following two Discuss posts:


(IATI Technical Team) #6