Skip to content

Dukes-MacDonald tidy - #146

Open
alecloudenback wants to merge 1 commit into
refactor/10-exports-docsfrom
refactor/11-dukes-macdonald
Open

alecloudenback wants to merge 1 commit into
refactor/10-exports-docsfrom
refactor/11-dukes-macdonald

Conversation

@alecloudenback

Copy link
Copy Markdown
Member

dukes_macdonald.jl imported SelectUltimateTable from the module that was in the middle of defining it, and the import was unused. The three table-adapter methods were the same three lines copied.

Changes

  • The self-import is deleted.
  • One private helper _point_in_scale_and_select(table, issue_age, attained_age); the three table-taking methods are one-liners over it. Docstrings stay on the direct-argument methods.

Testing

  • The existing tests cover both call forms. Full suite green.

Stacked on #145 (base branch refactor/10-exports-docs). Merge the stack in order; once the base PR is merged and its branch deleted, GitHub retargets this PR to master.

🤖 Generated with Claude Code

https://claude.ai/code/session_01JFnc6pvofuNXTW2xdCcewT

Drop the unused self-import of SelectUltimateTable and route the three
table-taking methods through one helper that reads the point-in-scale
and select rates from the table.

Co-Authored-By: Claude Fable 5.1 <noreply@anthropic.com>
Claude-Session: https://claude.ai/code/session_01JFnc6pvofuNXTW2xdCcewT
@codecov

codecov Bot commented Sep 12, 2026

Copy link
Copy Markdown

Codecov Report

✅ All modified and coverable lines are covered by tests.
⚠️ Please upload report for BASE (refactor/10-exports-docs@521af16). Learn more about missing BASE report.

Additional details and impacted files
@@                     Coverage Diff                     @@
##             refactor/10-exports-docs     #146   +/-   ##
===========================================================
  Coverage                            ?   90.73%           
===========================================================
  Files                               ?       10           
  Lines                               ?      367           
  Branches                            ?        0           
===========================================================
  Hits                                ?      333           
  Misses                              ?       34           
  Partials                            ?        0           

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

This branch has not been deployed

No deployments
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