Repository navigation
docs: ADR 0002, small single-entry modules in the joint and ratio groups stay separate - #330
Merged
Merged
Conversation
…ups stay separate
Codecov Report✅ All modified and coverable lines are covered by tests. Additional details and impacted files@@ Coverage Diff @@
## main #330 +/- ##
=========================================
Coverage 100.00% 100.00%
=========================================
Files 148 148
Lines 17464 17464
Branches 3539 3539
=========================================
Hits 17464 17464
Flags with carried forward coverage won't be shown. Click here to find out more. ☔ View full report in Codecov by Harness. 🚀 New features to boost your workflow:
|
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Closes #329.
Adds
docs/adr/0002-small-single-entry-modules-stay-separate.md. It records that the small single-entry modules in thejoint_*andratio_*groups stay separate: each is a deep module (one or two names over 90 to 280 lines), folding them intojoint_solverwould move about 800 lines into a 1,175-line file without concentrating complexity, andratio_stocksandratio_product_stocksare layers, not duplicates. The consequence is a rule of thumb for future reviews: fold a module only if its interface is nearly as large as its implementation, or if deleting it would make complexity reappear in several callers.A documentation-only change: no code, test, changelog or API reference change, so the suite and the PHREEQC fixture are not rerun.