-
Notifications
You must be signed in to change notification settings - Fork 19
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
StratifiedSample software eng edits, reorder, testing #95
Conversation
Have overhauled the src of StratifiedSample, still have to write correct testing suite |
@@ -178,75 +179,158 @@ end | |||
StratifiedSample <: AbstractSurveyDesign | |||
|
|||
Survey design sampled by stratification. | |||
|
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I think the doc should have an example.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
okay. ill add
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
how many lines of output must be copied into doctring?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
I have added and fixed the jldoctests. They have to be spaced right to margin, no tabs before to be displayed like a code block
Codecov Report
@@ Coverage Diff @@
## design_update #95 +/- ##
=================================================
+ Coverage 43.93% 47.16% +3.23%
=================================================
Files 15 15
Lines 528 583 +55
=================================================
+ Hits 232 275 +43
- Misses 296 308 +12
Help us with your feedback. Take ten seconds to tell us how you rate us. Have a feature suggestion? Share it here. |
Similar to the other PR for
SimpleRandomSample
, incorporates type checking and better if-else ladder forStratifiedSample