Skip to content

fix: use logarithmic dampening properly#26

Merged
char0n merged 2 commits into
mainfrom
char0n/fix-structural-integrity-formula
Feb 2, 2026
Merged

fix: use logarithmic dampening properly#26
char0n merged 2 commits into
mainfrom
char0n/fix-structural-integrity-formula

Conversation

@char0n

@char0n char0n commented Feb 2, 2026

Copy link
Copy Markdown
Member

No description provided.

@char0n char0n added bug Something isn't working documentation Improvements or additions to documentation labels Feb 2, 2026

Copilot AI left a comment

Copy link
Copy Markdown

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Pull request overview

This PR corrects the documented formula for the structural_integrity signal so that it uses a proper logarithmic dampening curve consistent with the surrounding explanation.

Changes:

  • Updated the structural_integrity formula to use a base-independent logarithmic ratio: log(1 + structural_issues) / log(1 + structural_issue_threshold).
  • Ensured the formula description in the specification aligns with the intended behavior of gradually decaying structural integrity as structural issues increase relative to the threshold.

💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.

@char0n char0n merged commit bf124d4 into main Feb 2, 2026
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

bug Something isn't working documentation Improvements or additions to documentation

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants