Skip to content

Add custom filter to toggle specialist - #128

Merged
aclerc merged 2 commits into
v1from
v1-ts-custom-filter
Jul 22, 2026
Merged

Add custom filter to toggle specialist#128
aclerc merged 2 commits into
v1from
v1-ts-custom-filter

Conversation

@aclerc

@aclerc aclerc commented Jul 17, 2026

Copy link
Copy Markdown
Contributor

No description provided.

@aclerc aclerc changed the title exclude_row Add custom filter to toggle specialist Jul 17, 2026
Comment thread benchmarking/baselines/toggle_specialist.py Outdated
@aclerc
aclerc marked this pull request as ready for review July 20, 2026 09:43
@aclerc
aclerc requested a review from Copilot July 20, 2026 09:43

Copilot AI left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Pull request overview

Adds a caller-configurable row-exclusion mechanism to the toggle-specialist baseline so certain test-turbine operating modes can be removed from timestamp selection (alongside existing downtime/availability filtering), with a diagnostic plot to make exclusions visible.

Changes:

  • Extend ColumnSchema with an optional exclude_row role describing a caller-provided boolean exclusion column.
  • Update ToggleSpecialistMethod timestamp selection to drop test-turbine rows flagged by exclude_row.
  • Add an “excluded rows” diagnostic plot showing excluded vs kept points and daily exclusion fraction.

Reviewed changes

Copilot reviewed 2 out of 2 changed files in this pull request and generated 3 comments.

File Description
benchmarking/synthetic/schema.py Adds the optional exclude_row schema role and documents its intended semantics/constraints.
benchmarking/baselines/toggle_specialist.py Applies exclude_row during used-mask construction (test turbine only) and writes a diagnostics plot for excluded rows.

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

Comment thread benchmarking/baselines/toggle_specialist.py Outdated
Comment thread benchmarking/baselines/toggle_specialist.py Outdated
Comment thread benchmarking/baselines/toggle_specialist.py
@aclerc
aclerc merged commit 6934945 into v1 Jul 22, 2026
@aclerc
aclerc deleted the v1-ts-custom-filter branch July 22, 2026 15:55
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