Skip to content

Unify psychophysical kernel timing sources - #10

Merged
rojasgabriel merged 1 commit into
devfrom
codex/kernel-timing-source
Aug 3, 2026
Merged

Unify psychophysical kernel timing sources#10
rojasgabriel merged 1 commit into
devfrom
codex/kernel-timing-source

Conversation

@rojasgabriel

Copy link
Copy Markdown
Owner

Summary

  • add fixed-window pooled kernel configs that prefer validated NIDAQ/OneBox events and fall back to Bpod when no visual-event mapping exists
  • record nidaq, bpod, or mixed timing provenance on canonical PsychophysicalKernel rows while preserving the migrated legacy fit
  • add an idempotent dry-run-first schema migration and focused timing, fit, and migration tests

Test plan

  • uvx ruff check .
  • uvx ruff format --check .
  • MPLCONFIGDIR=/tmp/mpl PYTHONPATH=src .venv/bin/python -m unittest discover -s tests -v
  • live read-only Bpod fixed-window fit: 393 trials, 10 bins, score 0.847308
  • live read-only NIDAQ fixed-window fit: 291 choices, 91 complete trials, 7 bins, score 0.704444
  • live schema migration dry run

Made with Cursor

Prefer validated NIDAQ timing with a Bpod fallback in the canonical pooled kernel while preserving legacy fits and recording timing provenance.

Co-authored-by: Cursor <cursoragent@cursor.com>
@cursor

cursor Bot commented Aug 3, 2026

Copy link
Copy Markdown

Bugbot is not enabled for your account, so this pull request was not reviewed.

Enable Bugbot in the Cursor dashboard to get automatic reviews on future PRs.

@rojasgabriel
rojasgabriel merged commit 274ee63 into dev Aug 3, 2026
3 checks passed
@rojasgabriel
rojasgabriel deleted the codex/kernel-timing-source branch August 13, 2026 03:40
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