-
Notifications
You must be signed in to change notification settings - Fork 4
Task/jabs core and jabs io subpackages #277
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
base: main
Are you sure you want to change the base?
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Pull request overview
This PR reorganizes the JABS codebase into a workspace structure with three separate packages: jabs-behavior-classifier, jabs-core, and jabs-io. The refactoring extracts shared utilities, constants, enums, exceptions, and abstract base classes into jabs-core, while preparing jabs-io for future I/O functionality.
Changes:
- Created new workspace packages
jabs-coreandjabs-iowith dedicated pyproject.toml files - Moved shared code (utilities, constants, enums, exceptions, abstract classes) from
jabs-behavior-classifiertojabs-core - Updated all import statements across the codebase to reference the new package structure
- Configured uv workspace with namespace packages
Reviewed changes
Copilot reviewed 47 out of 59 changed files in this pull request and generated 5 comments.
Show a summary per file
| File | Description |
|---|---|
| pyproject.toml | Added workspace configuration and dependencies on new jabs-core and jabs-io packages |
| packages/jabs-core/pyproject.toml | Created new jabs-core package configuration |
| packages/jabs-io/pyproject.toml | Created new jabs-io package configuration |
| packages/jabs-core/src/jabs/core/* | Moved core utilities, constants, enums, exceptions, and abstract classes |
| src/jabs/**/*.py | Updated imports to reference jabs.core package |
| tests/**/*.py | Updated test imports to reference jabs.core package |
💡 Add Copilot custom instructions for smarter, more guided reviews. Learn how to get started.
This pull request demonstrates one option for organizing the JABS packages, breaking a
jabs-coreandjabs-iopackage out into two new uv workspace packages.There is minimal refactoring included to demonstrate that cross-package imports still work, but the new workspace packages remain largely unimplemented.
Work to do(in this PR):
Work to do (after PR):
jabs-iopackagejabs-behavior-classifiercode to determine which should move to the new packages