Skip to content

Stabilize time-dependent performance-data column order - #339

Merged
uriahf merged 2 commits into
mainfrom
audit/time-performance-schema-order
Aug 20, 2026
Merged

Stabilize time-dependent performance-data column order#339
uriahf merged 2 commits into
mainfrom
audit/time-performance-schema-order

Conversation

@uriahf

@uriahf uriahf commented Aug 20, 2026

Copy link
Copy Markdown
Owner

Summary

  • test-first audit confirmed prepare_performance_data_times() had the same pivot encounter-order instability as the binary path
  • make the time-dependent performance-data schema deterministic across probability-threshold-only, PPCR-only, and combined stratification
  • preserve all metric values and existing row ordering
  • retain the time-specific columns and excluded outcome explicitly

Evidence

The initial test-only PR failed only the schema-order assertion while the PPCR value-equivalence test passed. The difference was confined to the order of excluded / TP / TN / FP / FN columns.

Audit classification

Harmless API inconsistency: Polars pivot encounter order could reorder outcome columns depending on stratification.

No statistical calculations, censoring/competing heuristics, cutoff semantics, defaults, or dependencies change.

@github-actions

github-actions Bot commented Aug 20, 2026

Copy link
Copy Markdown
Contributor
PR Preview Action v1.8.1
Preview removed because the pull request was closed.
2026-08-20 11:26 UTC

@uriahf uriahf changed the title Audit time-dependent performance schema order Stabilize time-dependent performance-data column order Aug 20, 2026
@uriahf
uriahf marked this pull request as ready for review August 20, 2026 11:26
@uriahf
uriahf merged commit 6a48772 into main Aug 20, 2026
4 checks passed
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.

1 participant