Skip to content

Repair #232 rustfmt and psychometric test arity - #240

Closed
seonghobae wants to merge 7 commits into
mainfrom
cursor/psychometric-arity-fmt-aa68
Closed

Repair #232 rustfmt and psychometric test arity#240
seonghobae wants to merge 7 commits into
mainfrom
cursor/psychometric-arity-fmt-aa68

Conversation

@seonghobae

@seonghobae seonghobae commented Aug 25, 2026

Copy link
Copy Markdown
Contributor

Do not merge

0ce16e88 on protected main restored psychometric_core to the last known-good pre-#232-consolidation tree so main compiles again. This branch was a compile/format vehicle for the post-consolidation signatures. Rebasing or merging it would re-apply stale grown-signature call pads onto the restored sources and re-break rust-quality.

Keep this draft closed-to-merge.

#238 is closed (superseded by #241). Coverage of the unreachable is_image_media_type_token let-else is now #241’s unwrap_or_default rewrite, not a private-helper unit test.

Original why (historical)

Protected-main Rust Foundation CI on 07c8d236 (#232 merge) could not compile:

  • rustfmt dirty in psychometric_core
  • 256 E0061 arity mismatches after production signatures grew

Those symptoms are gone on c482ccea because the consolidation union was reverted, not because this arity pad should land.

Local evidence on this obsolete head (6613ee5a): cargo test -p psychometric_core --all-features passed against the post-consolidation signatures. That is not a license to merge onto restored main.

Strix red on this branch is not product CI. Not full #167 closure.

Open in Web Open in Cursor 

Protected-main rust-quality fails cargo fmt --all --check on the
consolidated event_time unit tests and multilevel recovery contract.
Formatting only; call-site arity is a follow-up commit.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
@coderabbitai

coderabbitai Bot commented Aug 25, 2026

Copy link
Copy Markdown

Important

Draft PR not reviewed

Draft PRs are not automatically reviewed by default.

  • Trigger a manual review

To automatically review draft PRs, update your CodeRabbit configuration:

reviews:
  auto_review:
    drafts: true

Thanks for using CodeRabbit! It's free for OSS, and your support helps us grow. If you like it, consider giving us a shout-out.

❤️ Share

Comment @coderabbitai help to get the list of available commands.

Voelkle Eq. 14 now takes event, sampling, and constancy intervals.
Stale 3-arg calls repeat the existing event interval so sampling =
constancy = event, matching scientific_claim_boundary_contract.rs.
Same-interval remapping passes source_delta as reference_delta.
Zero predictor/variance asymptotic calls insert the licensed 0
log-rate; negative TIPREDVAR keeps the existing v < 0 refusal.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
…d call arities

Insert licensed zeros for intercept, manifest-mean, predictor, and
measurement extras, and restore missing t-u/Δt from each test so
overflow and refusal assertions keep the same Ok/Err variant.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
cursoragent and others added 4 commits August 25, 2026 10:06
Apply the same licensed-zero and existing-interval inserts to the
remaining event_time.rs unit-test calls that the first pass missed
because of indentation.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
…ent arity

Complete the last recover_stationary_later_latent_variance and
trait-only initial-variance call sites so B/v slots are explicit zeros
and printed LeisureTime TIPREDEFFECT -0.225 stays in the B slot.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
… sites

Remove three short MAX overflow calls that duplicated the sibling
(B=1, v=MAX, a=-1) pattern after the #232 signature growth, and pad
later-lagged / later-start-later latent overflow calls with licensed
zeros so workspace rust-quality can compile.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
…rflow

Trait = MAX with q = B = v = 0 is a finite composition after the #232
signature growth. Overflow remains covered by the sibling (B=1, v=MAX,
a=-1) assertions in the same fail-closed tests.

Co-authored-by: Seongho Bae <seonghobae@users.noreply.github.com>
@seonghobae

Copy link
Copy Markdown
Contributor Author

Superseded by the protected-main restructure. This repair targeted the pre-consolidation psychometric_core shape; commit 0ce16e8 plus vehicles #231/#232 rebuilt event_time.rs and its contract tests at a different structure (main differs from this branch's base by ~34k diff lines on the touched file). Protected main's Format/lint/test gates pass at c482cce, so neither the rustfmt nor the test-arity defect survives. No salvageable delta remains: any further contract-test reconciliation must be authored against the current head.

@seonghobae seonghobae closed this Aug 25, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants