Skip to content

Energy opt#145

Merged
raymondwjang merged 20 commits into
mainfrom
energy-opt
Nov 6, 2025
Merged

Energy opt#145
raymondwjang merged 20 commits into
mainfrom
energy-opt

Conversation

@raymondwjang
Copy link
Copy Markdown
Member

@raymondwjang raymondwjang commented Nov 6, 2025

🔍 Type of Change

🧪 Improvement: Enhancements or optimizations to existing code

📝 Description

speed optimizations everywhere!

  • energy gets calculated iteratively
  • footprint conversions became faster
  • catalog is COO-indexing free
  • overlap is COO-indexing free
  • catalog code cleanup
  • test code cleanup
  • test model cleanup

🧪 Testing

  • Unit tests
  • Integration tests
  • Existing tests update

🛠️ Dependencies

✅ Checklist

  • I have commented my code, particularly in hard-to-understand areas
  • I have made corresponding changes to the documentation

📚 Documentation preview 📚: https://cala--145.org.readthedocs.build/en/145/

@codecov
Copy link
Copy Markdown

codecov Bot commented Nov 6, 2025

Codecov Report

❌ Patch coverage is 75.31486% with 98 lines in your changes missing coverage. Please review.
✅ Project coverage is 68.94%. Comparing base (02da697) to head (063a287).
⚠️ Report is 21 commits behind head on main.

Files with missing lines Patch % Lines
src/cala/testing/catalog_depr.py 30.65% 95 Missing ⚠️
src/cala/nodes/merge.py 0.00% 2 Missing ⚠️
src/cala/nodes/residual.py 97.67% 1 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main     #145      +/-   ##
==========================================
- Coverage   72.47%   68.94%   -3.53%     
==========================================
  Files          44       45       +1     
  Lines        2205     2428     +223     
==========================================
+ Hits         1598     1674      +76     
- Misses        607      754     +147     
Flag Coverage Δ
unittests 68.94% <75.31%> (-3.53%) ⬇️

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.
  • 📦 JS Bundle Analysis: Save yourself from yourself by tracking and limiting bundle sizes in JS merges.

@raymondwjang raymondwjang merged commit d23f2f2 into main Nov 6, 2025
14 of 15 checks passed
@raymondwjang raymondwjang deleted the energy-opt branch November 6, 2025 09:06
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