Friday, March 11, 2005
IERI Utility
There's a problem when processing an enacted analysis sighting when the sighting has no observable indicators (whether defined in the criterion or marked as "Not Applicable" by the analyst). Indicators that aren't observable/applicable are marked as a -1 internally. Any value entered for these indicators leads them to be counted as having been rated (all indicators must be rated in some way before the criterion rating can be made). However, since these are not observable/applicable indicators they are not added to the indicator sum for calculation of the criterion rating. Thus, if all indicators in a sighting are not observable/applicable the indicator sum will be zero and an overflow occurs. I modified the rating portion of the script to check and see if the indicators rated is greater than zero, allowing for a valid criterion rating to be produced. If no indicators have an actual rating the utility maintains a "Not Rated" state.