Skip to content

Commit bf124d4

Browse files
authored
fix(structural_integrity): use logarithmic dampening properly (#26)
1 parent df17adb commit bf124d4

1 file changed

Lines changed: 1 addition & 1 deletion

File tree

docs/specification/spec.md

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -250,7 +250,7 @@ The _structural integrity_ signal measures whether the API's underlying data mod
250250
_Structural integrity_ MUST be calculated using a logarithmic dampening curve:
251251

252252
```text
253-
structural_integrity = max(0, 1 - (log10(1 + structural_issues / log10(1 + structural_issue_threshold)))
253+
structural_integrity = max(0, 1 - log10(1 + structural_issues) / log10(1 + structural_issue_threshold))
254254
```
255255

256256
Where:

0 commit comments

Comments
 (0)