Tuesday, 01/29/2019
- ID
- d6adf88d-34ca-491c-b048-c533f70ee644
18:48 Productive
The second day of trying a new GTD tack of aggressively using NEXT labels and
projects. Things went well, perhaps too well. I ended up paying off a bunch of
hospital bills and EZPass bills. Racked up more on our credit cards. I need to placate myself with the fact that we should at least get a tax return this year, and I still have the 401K disbersment to deal with as well. I'll set myself a next task of figuring out what to do with that check tomorrow, and that should hopefully get us closer to avoiding another credit card balance nightmare.
Besides that, I introduced the kids to Shadows in the Forest after work to great effect. Jane and Silas really love the mechanic of hiding from people :)
I was also throughly frustrated with work. Ed and I noticed that Ness seems really distracted from our pod work right now, and fairly aloof. Ed said Andrew felt very combatitive, which I don't totally agree with, but he definitely makes decisions that he thinks are best that doesn't always match with what Ed and I are saying.
After complaining about the state of the care gap importer, Ness tasked Lucy with seeing how done it is. Disappointing that they don't trust us. Andrew candy-coated the maneuver saying we were "looking for product feedback," which is bullshit considering that we never do that. Ness just doesn't want us wasting time something she thought would be done.
At the end of the day, the buck stops with Kyna too, who I'm sure is pissed that Ed is pushing back on the care gap importer. We were supposed to be done and FIGmd integration full steam ahead. But we don't have a lot of the requirements from FIGmd to do anything yet, so what do we do with the next two weeks? Who knows!?
Tasks
DONE [#B] Fix breaking tests on master in hippo repo
CLOSED:
+ Tue, 1/29
+ Andrew commented out the failing tests for now
+ I still haven't been able to reliably reproduce the errors
+ Ed noted that they seem to occur most often when CCI has other work and
takes longer
+ A lot of those tests also reference 2017 as a hardcoded year
+ Closing for now, will revisit later
#+BEGIN_SRC python
======================================================================
ERROR [0.771s]: test_caregap_physician_attribution_and_close (elation.quality_measures.tests.reporting.test_elation_reports.TestUpdateCQMResults)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/opt/hippo/elation/quality_measures/tests/reporting/test_elation_reports.py", line 285, in test_caregap_physician_attribution_and_close
result_responsible_physician_id = result.responsible_physician.id
AttributeError: 'NoneType' object has no attribute 'responsible_physician'
======================================================================
ERROR [0.682s]: test_caregap_physician_no_attribution_but_close (elation.quality_measures.tests.reporting.test_elation_reports.TestUpdateCQMResults)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/opt/hippo/elation/quality_measures/tests/reporting/test_elation_reports.py", line 348, in test_caregap_physician_no_attribution_but_close
result_responsible_physician_id = result.responsible_physician.id
AttributeError: 'NoneType' object has no attribute 'responsible_physician'
======================================================================
FAIL [0.756s]: test_with_results (elation.quality_measures.tests.reporting.test_elation_reports.TestGetEligibilityRecords)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/opt/hippo/elation/quality_measures/tests/reporting/test_elation_reports.py", line 136, in test_with_results
{"since": datetime(2017, 6, 1), "result": None},
AssertionError: {<MeasureDefinition: Measure definition id: 3, code: elation_reporting_spec>: No [truncated]... != {<MeasureDefinition: Measure definition id: 3, code: elation_reporting_spec>: [{ [truncated]...
- {<MeasureDefinition: Measure definition id: 3, code: elation_reporting_spec>: None}
? ^
+ {<MeasureDefinition: Measure definition id: 3, code: elation_reporting_spec>: [{'records': [{'result': None,
? +++++++++++++++++++++++++ ^
+ 'since': None},
+ {'result': '$eligible',
+ 'since': datetime.datetime(2017, 5, 16, 0, 0)},
+ {'result': '$meets_criteria',
+ 'since': datetime.datetime(2017, 5, 18, 0, 0)},
+ {'result': None,
+ 'since': datetime.datetime(2017, 6, 1, 0, 0)}],
+ 'summary': 'First reporting line for this measure'},
+ {'records': [{'result': None,
+ 'since': None},
+ {'result': '$eligible1',
+ 'since': datetime.datetime(2017, 5, 16, 0, 0)},
+ {'result': '$meets_criteria1',
+ 'since': datetime.datetime(2017, 5, 20, 0, 0)},
+ {'result': '$eligible1',
+ 'since': datetime.datetime(2017, 5, 21, 0, 0)},
+ {'result': '$meets_criteria1',
+ 'since': datetime.datetime(2017, 5, 22, 0, 0)},
+ {'result': '$eligible1',
+ 'since': datetime.datetime(2017, 5, 25, 0, 0)},
+ {'result': None,
+ 'since': datetime.datetime(2017, 6, 1, 0, 0)}],
+ 'summary': 'Second reporting line using a different postprocess label from the template'}]}
======================================================================
FAIL [0.760s]: test_update_patient (elation.quality_measures.tests.reporting.test_elation_reports.TestUpdateCQMResults)
----------------------------------------------------------------------
Traceback (most recent call last):
File "/usr/local/lib/python2.7/dist-packages/mock/mock.py", line 1305, in patched
return func(*args, **keywargs)
File "/opt/hippo/elation/quality_measures/tests/reporting/test_elation_reports.py", line 199, in test_update_patient
self.assertEqual(len(results), 2)
AssertionError: 0 != 2
#+END_SRC
DONE [#A] Test getoutput function for Stavros
CLOSED:
+ Tue, 1/29
+ Tried to test this thing, but it's goofy as hell
+ Resolved to look where it was used. One place, in the same module
+ Dropped a comment to Stavros to suggest we replace the place we use this
custom cmd and use a better way to the local IP address
#+BEGIN_SRC python
def getoutput(*args, **kwargs):
# PY3WONTDO: Test this.
kwargs["stderr"] = subprocess.STDOUT
p = subprocess.Popen(*args, **kwargs)
stdout = p.communicate()
return stdout
#+END_SRC