Skip to content

feat(scoring): support exponential saturation previews - #120

Merged
JSONbored merged 4 commits into
JSONbored:mainfrom
oktofeesh1:codex/issue-89-saturation
May 30, 2026
Merged

feat(scoring): support exponential saturation previews#120
JSONbored merged 4 commits into
JSONbored:mainfrom
oktofeesh1:codex/issue-89-saturation

Conversation

@oktofeesh1

@oktofeesh1 oktofeesh1 commented May 30, 2026

Copy link
Copy Markdown
Contributor

Summary

  • update private preview model detection for saturation-era constants
  • use saturation math when the active snapshot is saturation-based
  • keep density-era snapshots working for historical data

What changed

  • prefers saturation indicators when mixed constants are present
  • records a warning for mixed density/saturation fixtures
  • adds focused preview tests for saturation, mixed constants, old density fixtures, and public text hygiene
  • keeps readiness integration fixtures current so freshness SLO assertions remain deterministic in CI

Why

  • private preview metadata should track the active upstream scoring model instead of falling back to density-era assumptions.

Validation

  • git diff --check
  • npx tsc --noEmit
  • npx vitest run test/unit/scoring.test.ts
  • npm run test:coverage
  • GitHub validate, Contributor trust, and Superagent Security Scan pass on the latest head

Closes #89

Detect saturation-era scoring constants ahead of density-era indicators and use saturation math for private previews while preserving historical density snapshots.
@oktofeesh1
oktofeesh1 requested a review from JSONbored as a code owner May 30, 2026 05:20
@dosubot dosubot Bot added the size:M label May 30, 2026

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: 83c64ab176

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/scoring/model.ts
Comment thread src/scoring/preview.ts Outdated

@chatgpt-codex-connector chatgpt-codex-connector Bot 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.

💡 Codex Review

Here are some automated review suggestions for this pull request.

Reviewed commit: b2fa87cae2

ℹ️ About Codex in GitHub

Codex has been enabled to automatically review pull requests in this repo. Reviews are triggered when you

  • Open a pull request for review
  • Mark a draft as ready
  • Comment "@codex review".

If Codex has suggestions, it will comment; otherwise it will react with 👍.

When you sign up for Codex through ChatGPT, Codex can also answer questions or update the PR, like "@codex address that feedback".

Comment thread src/scoring/model.ts Outdated
Comment thread src/scoring/model.ts Outdated
Comment thread src/scoring/preview.ts

@JSONbored JSONbored left a comment

Copy link
Copy Markdown
Owner

Choose a reason for hiding this comment

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

@oktofeesh1 this is merge-ready from my pass.

  • Deterministic: check rollup is green and merge-tree against current origin/main is clean.
  • Maintainer judgment: the implementation now uses fetched model constants before fallback defaults and keeps the fallback path explicit.
  • Validation: existing unit/integration coverage exercises the preview math and fallback behavior.

@dosubot dosubot Bot added the lgtm label May 30, 2026
@JSONbored
JSONbored merged commit 4a5b6ee into JSONbored:main May 30, 2026
3 checks passed
@JSONbored JSONbored added gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier. and removed feature labels Jun 10, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

gittensor:feature Gittensor-scored feature linked to a feature issue — scores a 0.25x multiplier.

Projects

None yet

Development

Successfully merging this pull request may close these issues.

feat(scoring): support upstream exponential saturation model

2 participants