Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Session orchestrator #339

Merged
merged 249 commits into from
Oct 23, 2024
Merged

Session orchestrator #339

merged 249 commits into from
Oct 23, 2024

Conversation

tab-cmd
Copy link
Contributor

@tab-cmd tab-cmd commented Aug 21, 2024

Overview

This PR refactors how BciPy runs and handles its Task executions. It supports the notion of Experiment Protocols, which the orchestrator can use to run multiple Tasks.

Tickets

Open Questions

  • Naming Orchestrator vs SessionOrchestrator

Contributions

  • Add SessionOrchestrator
  • Add Protocol support
  • Add Actions
  • Refactor ExperimentGUI
  • Add parameter guardrails: functionality still in progress
  • Add support running multiple copy phrases with phrases.json
  • Update READMEs
  • Bug fix font issues
  • Add TaskMode and fix paradigm definitions in Tasks
  • Add Task Specific Parameters
  • Move exceptions to root
  • Deprecate add_missing_parameters functionality (for now)

Test

  • make test-all
  • demo_orchestrator.py with all Calibrations and Multiple Copy Phrases
    • ensured presentation was as expected
    • ensured parameters.json saved correctly with phrases.json was used
  • demo_bci_main.py
  • Time testings
  • Pilot testing: complete!

Documentation

  • Are documentation updates required? In-line, README, or documentation? README and docstrings updated.

Changelog

  • Is the CHANGELOG.md updated with your detailed changes? Done!

Carsonthemonkey and others added 30 commits March 11, 2024 12:23
Save folder and parameters are now saved and loaded per task as they are executed rather than once per session
Removes some commented out code, and lints file
Carsonthemonkey and others added 27 commits August 30, 2024 16:00
* TODO better catch exceptions

See Discord notes

* Add logger to each task run

* Add logger to Task tests, remove bci_main tests for now

TODO: mock copy phrase model loading in tests

* update tests and fix typing

* linting
@tab-cmd tab-cmd marked this pull request as ready for review October 23, 2024 18:01
@tab-cmd tab-cmd merged commit a635baa into 2.0.0rc4 Oct 23, 2024
6 checks passed
@tab-cmd tab-cmd deleted the session-orchestrator branch October 23, 2024 18:41
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.

3 participants