Skip to content

Conversation

@borgholt
Copy link
Collaborator

Description

  • Added word-level prepass: 2-3x speed-up (default behavior)
  • Introduced to SubgraphMetadata dataclass to make beam search instantiation work for subspans which is required by the word-level pass.
  • Minor optimizations (e.g., using ref_idx and hyp_idx instead of property index which avoids wrapping the indices in a tuple for every code reference)

@borgholt borgholt requested a review from JakobHavtorn October 21, 2025 11:02
@borgholt borgholt self-assigned this Oct 21, 2025
@codecov
Copy link

codecov bot commented Oct 21, 2025

Codecov Report

❌ Patch coverage is 88.07018% with 34 lines in your changes missing coverage. Please review.
✅ Project coverage is 91.22%. Comparing base (4de4067) to head (ff4c499).
⚠️ Report is 3 commits behind head on main.

Files with missing lines Patch % Lines
src/error_align/error_align.py 91.25% 9 Missing and 12 partials ⚠️
src/error_align/utils.py 31.25% 5 Missing and 6 partials ⚠️
src/error_align/backtrace_graph.py 92.85% 0 Missing and 2 partials ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##             main       #4      +/-   ##
==========================================
- Coverage   94.89%   91.22%   -3.67%     
==========================================
  Files           6        6              
  Lines         548      661     +113     
  Branches       90      114      +24     
==========================================
+ Hits          520      603      +83     
- Misses         10       25      +15     
- Partials       18       33      +15     

☔ 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.

Copy link
Collaborator

@JakobHavtorn JakobHavtorn left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Left a single comment.

@lifeiteng
Copy link

@borgholt Is it ready to merge?

@borgholt borgholt closed this Dec 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Projects

None yet

Development

Successfully merging this pull request may close these issues.

4 participants