Open EngPeterAtef opened 3 months ago
All modified and coverable lines are covered by tests :white_check_mark:
Project coverage is 87.22%. Comparing base (
6b90210
) to head (980fd51
).
:umbrella: View full report in Codecov by Sentry.
:loudspeaker: Have feedback on the report? Share it here.
@ayushpatnaikgit can you please review?
Hi, The test coverage seems to be going down, could you please take a look into that?
This PR closes issue #232 This commit introduces a significant refactor to the
SurveyDesign
struct in theSurveyDesign.jl
file. A new in-place constructor function,SurveyDesign!
, has been added to allow for direct manipulation of the passedAbstractDataFrame
. This change aims to enhance the flexibility and efficiency of survey design creation by providing an option to modify the data frame in place.Additionally, minor formatting adjustments were made to improve code readability and consistency across the file. These include alignment of default parameter values and minor adjustments to spacing and line breaks.
The introduction of the
SurveyDesign!
function follows the Julia convention of using the!
suffix to indicate functions that modify their arguments in place. This change is expected to make the API more intuitive for users familiar with Julia conventions.Overall, this refactor and the addition of the in-place constructor enhance the library's usability and maintainability.