Skip to content

Fix LT-22600: Show Hermit Crab rule statistics#449

Draft
jtmaxwell3 wants to merge 5 commits into
masterfrom
LT-22600
Draft

Fix LT-22600: Show Hermit Crab rule statistics#449
jtmaxwell3 wants to merge 5 commits into
masterfrom
LT-22600

Conversation

@jtmaxwell3

@jtmaxwell3 jtmaxwell3 commented Jul 2, 2026

Copy link
Copy Markdown
Collaborator

Adds code to instrument rule applications by creating an InstrumentedRule class for the rules that should be instrumented. Changes the code for creating rule classes to record data needed for instrumentation. Changes the Apply functions to collect statistics.


This change is Reviewable

@jtmaxwell3 jtmaxwell3 marked this pull request as draft July 2, 2026 21:33
@codecov-commenter

Copy link
Copy Markdown

Codecov Report

❌ Patch coverage is 91.09589% with 13 lines in your changes missing coverage. Please review.
✅ Project coverage is 73.37%. Comparing base (c271990) to head (23c49ab).
⚠️ Report is 3 commits behind head on master.

Files with missing lines Patch % Lines
src/SIL.Machine/Rules/InstrumentedRule.cs 83.78% 6 Missing ⚠️
src/SIL.Machine.Morphology.HermitCrab/Morpher.cs 86.66% 4 Missing ⚠️
src/SIL.Machine/Rules/ParallelRuleBatch.cs 0.00% 3 Missing ⚠️
Additional details and impacted files
@@            Coverage Diff             @@
##           master     #449      +/-   ##
==========================================
+ Coverage   73.31%   73.37%   +0.06%     
==========================================
  Files         443      444       +1     
  Lines       37190    37330     +140     
  Branches     5110     5119       +9     
==========================================
+ Hits        27264    27392     +128     
- Misses       8800     8812      +12     
  Partials     1126     1126              

☔ View full report in Codecov by Harness.
📢 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.

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