| 1 | id: SYS-REQ-004 |
| 2 | version: 1 |
| 3 | status: review |
| 4 | priority: shall |
| 5 | category: functional |
| 6 | req_type: guarantee |
| 7 | fretish: the parser shall always satisfy !addressed_value_is_number | !raw_number_token_is_float_parseable | returns_getfloat_value |
| 8 | description: When GetFloat addresses a JSON number token that is parseable as a float64 value, the parser shall return the corresponding float64 result. |
| 9 | formalization_strategy: fretish |
| 10 | informal_verification: |
| 11 | method: "" |
| 12 | evidence: "" |
| 13 | verified: false |
| 14 | component: parser |
| 15 | rationale: GetFloat is the public floating-point accessor for callers that know the expected numeric type and still need defined failure behavior. |
| 16 | tags: [] |
| 17 | variables: |
| 18 | - addressed_value_is_number |
| 19 | - raw_number_token_is_float_parseable |
| 20 | - returns_getfloat_value |
| 21 | traces: |
| 22 | satisfies: |
| 23 | - STK-REQ-003 |
| 24 | verified_by_extra: |
| 25 | - mcdc_supplement_test.go |
| 26 | - parser_test.go |
| 27 | documented_by_extra: |
| 28 | - README.md |
| 29 | reviewed_at: "2026-04-27T06:25:19.221084Z" |
| 30 | reviewed_by: human:leonidbugaev |
| 31 | verification: |
| 32 | assurance_level: E |
| 33 | formalization_status: valid |
| 34 | review: |
| 35 | status: approved |
| 36 | reviewer: human:leonidbugaev |
| 37 | reviewed_at: "2026-04-23T00:00:00Z" |
| 38 | ai_generated: false |
| 39 | history: |
| 40 | created_by: human:cli |
| 41 | created_at: "2026-04-13T17:10:46Z" |
| 42 | last_modified_by: human:cli |
| 43 | last_modified_at: "2026-04-13T17:14:56Z" |
| 44 | obligation_class: nominal |
| 45 | lifecycle: |
| 46 | change_history: |
| 47 | - date: "2026-04-13T17:14:56Z" |
| 48 | from: draft |
| 49 | to: review |
| 50 | reason: "" |
| 51 | changed_by: human:cli |