Skip to content

Followup cleanup from type redesign PR#149

Merged
mtfishman merged 1 commit into
mainfrom
mf/code-review-cleanup
Apr 11, 2026
Merged

Followup cleanup from type redesign PR#149
mtfishman merged 1 commit into
mainfrom
mf/code-review-cleanup

Conversation

@mtfishman
Copy link
Copy Markdown
Member

Summary

  • Delete view! definitions; blocks either exist or error
  • Simplify getindex for unstored blocks to error via copy(view(...))
  • Redesign AbelianSectorArray undef constructor to accept SectorOneTo axes
  • Add AbelianSectorVector type alias
  • Remove datalengths(::AbelianSectorArray) (not needed on single-block types)
  • Fix sectoraxes(::AbelianSectorArray) to delegate through sector()
  • Rename sector_typesectortype (consistent with blocktype, sectorlength)
  • Rewrite Base.axes(::AbelianSectorArray) in terms of sectoraxes/dataaxes
  • Delete sectorrange() constructor; use SectorOneTo directly
  • Rename parameter from A to s
  • Remove unused similar methods on AbelianSectorDelta

Test plan

  • Pkg.test() passes (all 17 test files, 0 failures)

🤖 Generated with Claude Code

- Delete `view!` definitions; blocks either exist or error
- Simplify `getindex` for unstored blocks to error via `copy(view(...))`
- Redesign `AbelianSectorArray` undef constructor to accept `SectorOneTo` axes
- Add `AbelianSectorVector` type alias
- Remove `datalengths(::AbelianSectorArray)` (not needed on single-block types)
- Fix `sectoraxes(::AbelianSectorArray)` to delegate through `sector()`
- Rename `sector_type` → `sectortype` (consistent with `blocktype`, `sectorlength`)
- Rewrite `Base.axes(::AbelianSectorArray)` in terms of `sectoraxes`/`dataaxes`
- Delete `sectorrange()` constructor; use `SectorOneTo` directly
- Rename `⊗` parameter from `A` to `s`
- Remove unused `similar` methods on `AbelianSectorDelta`

Co-Authored-By: Claude Opus 4.6 (1M context) <noreply@anthropic.com>
@mtfishman mtfishman changed the title Code review cleanup from type redesign PR Followup cleanup from type redesign PR Apr 11, 2026
@codecov
Copy link
Copy Markdown

codecov Bot commented Apr 11, 2026

Codecov Report

❌ Patch coverage is 88.23529% with 4 lines in your changes missing coverage. Please review.
✅ Project coverage is 85.52%. Comparing base (24d29b7) to head (7804bdd).
⚠️ Report is 1 commits behind head on main.

Files with missing lines Patch % Lines
src/sectorrange.jl 40.00% 3 Missing ⚠️
src/fusedgradedmatrix.jl 0.00% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #149      +/-   ##
==========================================
+ Coverage   85.18%   85.52%   +0.33%     
==========================================
  Files          19       19              
  Lines        1134     1112      -22     
==========================================
- Hits          966      951      -15     
+ Misses        168      161       -7     
Flag Coverage Δ
docs 0.00% <0.00%> (ø)

Flags with carried forward coverage won't be shown. Click here to find out more.

☔ View full report in Codecov by Sentry.
📢 Have feedback on the report? Share it here.

🚀 New features to boost your workflow:
  • ❄️ Test Analytics: Detect flaky tests, report on failures, and find test suite problems.

@mtfishman mtfishman enabled auto-merge (squash) April 11, 2026 00:52
@mtfishman mtfishman merged commit 5f2e234 into main Apr 11, 2026
16 checks passed
@mtfishman mtfishman deleted the mf/code-review-cleanup branch April 11, 2026 00:54
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