Skip to content

Conversation

Copy link
Contributor

Copilot AI commented Jan 20, 2026

The packages field in [tool.hatch.build.targets.wheel] pointed to bpdecoderplus instead of src/bpdecoderplus, causing the build system to look for the package in the wrong location.

Changes:

  • Updated pyproject.toml line 62: packages = ["src/bpdecoderplus"]

This aligns with the src-layout structure where the package source is at src/bpdecoderplus/.


✨ Let Copilot coding agent set things up for you — coding agent works faster and does higher quality work when set up for your repo.

@GiggleLiu GiggleLiu marked this pull request as ready for review January 20, 2026 09:43
Co-authored-by: GiggleLiu <6257240+GiggleLiu@users.noreply.github.com>
@GiggleLiu GiggleLiu merged commit 9e8646d into refactor/v0.1-restructuring Jan 20, 2026
Copilot AI changed the title [WIP] Update to address feedback from PR #35 for v0.1 release Fix hatchling packages configuration for src layout Jan 20, 2026
Copilot AI requested a review from GiggleLiu January 20, 2026 09:47
Copilot stopped work on behalf of GiggleLiu due to an error January 20, 2026 09:48
GiggleLiu added a commit that referenced this pull request Jan 20, 2026
* refactor: Professional restructuring for v0.1 release

Transform BPDecoderPlus from training project to production-ready package.
Resolves #28

## Added
- LICENSE file (MIT License)
- CONTRIBUTING.md with development guidelines and setup instructions
- CHANGELOG.md following Keep a Changelog format
- .pre-commit-config.yaml with ruff, security checks, and file validation
- .editorconfig for consistent coding styles across editors
- Project URLs in pyproject.toml (Homepage, Documentation, Repository, Issues)
- Maintainers field in package metadata
- Ruff configuration for linting and formatting (line-length: 100)
- Development dependencies: ruff, pre-commit, mypy
- New Makefile targets: format, lint, lint-fix, type-check, pre-commit, check, dev-setup

## Changed
- Reorganized dataset structure to single-source flat layout in datasets/
- Moved all dataset files from subdirectories to datasets/ root
- Moved visualization PNGs to datasets/visualizations/
- Updated CLI default dataset path from datasets/noisy_circuits to datasets
- Updated README.md to focus on Python implementation
- Updated dataset documentation to reflect new structure
- Fixed pyproject.toml structure (dependencies before project.urls)
- Migrated tool.uv.dev-dependencies to dependency-groups.dev
- Updated Makefile dataset generation paths
- Moved lecture notes from docs/ to note/ directory
- Updated .gitignore with development tools and binary file patterns

## Removed
- Duplicate dataset files from subdirectories (circuits/, dems/, uais/, syndromes/, noisy_circuits/)
- Julia code examples and references from README
- Winter school training references from project description

## Testing
- All 71 tests pass
- Package builds and imports correctly
- Dataset structure validated

🤖 Generated with [Claude Code](https://claude.com/claude-code)

Co-Authored-By: Claude Sonnet 4.5 <noreply@anthropic.com>

* [WIP] Update to address feedback from PR #35 for v0.1 release (#36)

* Initial plan

* fix: Correct package path configuration to src/bpdecoderplus

Co-authored-by: GiggleLiu <6257240+GiggleLiu@users.noreply.github.com>

---------

Co-authored-by: copilot-swe-agent[bot] <198982749+Copilot@users.noreply.github.com>
Co-authored-by: GiggleLiu <6257240+GiggleLiu@users.noreply.github.com>

---------

Co-authored-by: Claude Sonnet 4.5 <noreply@anthropic.com>
Co-authored-by: Copilot <198982749+Copilot@users.noreply.github.com>
Co-authored-by: GiggleLiu <6257240+GiggleLiu@users.noreply.github.com>
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