-
Notifications
You must be signed in to change notification settings - Fork 4
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
Jmafoster1/remove data collector #308
base: main
Are you sure you want to change the base?
Conversation
🦙 MegaLinter status: ✅ SUCCESS
See detailed report in MegaLinter reports |
Codecov ReportAttention: Patch coverage is
Additional details and impacted files@@ Coverage Diff @@
## main #308 +/- ##
==========================================
- Coverage 96.87% 94.64% -2.23%
==========================================
Files 29 25 -4
Lines 1856 1345 -511
==========================================
- Hits 1798 1273 -525
- Misses 58 72 +14
... and 1 file with indirect coverage changes Continue to review full report in Codecov by Sentry.
|
This PR looks to drop the overall percentage code coverage, but that's because I've ripped out a bunch of code, so the proportions have changed slightly. |
…rk into jmafoster1/remove-data-collector
Resolved merging conflicts from main |
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.
@jmafoster1 Thanks Michael, this all looks good. However, we should also update our documentation to reflect these changes too. If you don't have the time let me know and I'll take it on 👍🏼
Good point. Done |
Where? I can't find any test attributes in
Yeah it makes sense to do that in this PR. I'll remove these. |
Line 208 where we generate |
Please could you handle that one?
I've just been looking into this. It's actually turning out to be a bit complicated because it's quite baked into the JSON frontend. I'm thinking it might be worth taking this opportunity to rebuild the json frontend as the main entry point rather than just a utility class that needs to be instantiated. |
Once I'd got rid of the causal test suite and the abstract causal test case classes, stripping out the rest of the Z3 references was actually pretty straightforward. One thing we do need to be careful of now though is that the |
I think this is ready for review now. Absolute monster of a PR! |
DataCollector
classes have been removedObservationalDataCollector
has been replaced by directly passing dataframesExperimentalDataCollector
has been replaced byExperimentalEstimator
class to directly run modelsMetamorphicRelation
since this can be done via the JSON front endMetamorphicRelation
classes into thetesting
package instead ofspecification
IPCWEstimator
) to take aBaseTestCase
instead of a treatment and outcome variable