Repository navigation
TST: de-duplicate a ton of test code for IRLS - #4936
jbrockmendel wants to merge 4 commits into
Conversation
|
I only briefly skimmed this I'm not sure this is the right approach or split of functions #4612 |
|
What approach do you have in mind? I’m open to suggestions. |
|
I'm not sure, I haven't thought much about the details helper function or class or other object should include a list of all combinations and generate datasets, similar to what's in the current loops. My guess is that this needs an option to provide exog, e.g. I have been working recently often with the two sample case (constant + 1 dummy variable). |
|
Fair enough. While I start in on another pass at this, any thoughts on #4935? |
|
Re-written so as to not create a new file. Written with an eye towards parametrizing in the medium-run. Ideally these big loops would be separate tests and we would xfail non-convergent cases instead of skipping them. That way we know when they get fixed. The only actual change in logic here is in the value One difference in behavior that it would be nice to standardize: |
My guess is that the difference in the poisson case is irrelevant but that one was an attempt to find a nicer case for convergence. |
|
Travis failure in grouputils unrelated. @josef-pkt something else relevant changed recently? |
|
about travis test failure: I didn't find any changes in the environment at the time when the failure started to show up, The dependencies that I checked, numpy, scipy, pandas, cython and some spot checking for others all seem to be the same versions as before. |
|
Ok. I can’t help with the appveyor one, but will look into the new Travis failure. Identifying real errors would be much easier if the queue of easy PRs got trimmed. |
Codecov Report
@@ Coverage Diff @@
## master #4936 +/- ##
==========================================
- Coverage 86.07% 84.03% -2.04%
==========================================
Files 698 613 -85
Lines 118309 97525 -20784
Branches 13131 10631 -2500
==========================================
- Hits 101840 81960 -19880
+ Misses 13707 13149 -558
+ Partials 2762 2416 -346
Continue to review full report at Codecov.
|
|
@josef-pkt green |
|
@josef-pkt this isn’t just de-deuplication, it’s preparatory to identifying and then trying to fix cases with convergence problems. |
|
@josef-pkt tracking down the cases with convergence problems is something you care about right? This is a step towards that goal. |
|
@josef-pkt green and no merge conflict. I'd really like to get this through so I can move on to troubleshooting the non-convergent cases. |
673594e to
70584c2
Compare
|
@bashtage any thoughts here? Besides the virtues of de-duplication, this will go a long way towards making tests parametrizable so we can get more systematic coverage. |
This can be simplified way further if my guess about #4935 is right.