Open jameshadfield opened 4 years ago
The issue I see here is that time tree confidences are not always inferred (for performance reasons). But augur refine exports raw-date
and that could be compared to the inferred date. Similarly, traits could write the input value into the json if it exists. I would prefer this to signal inference through absence of confidence values.
Currently uncertainty in a trait, e.g. location for node X, is represented in augur along the lines of:
Temporal confidence is slightly different formatting, but conceptually identical. This is independent of the model employed.
Importantly, if node X had location "blue" (via metadata) then the output is indistinguishable to if it was inferred with 100% confidence as being in location "blue".
For this example ☝️ all nodes would look like
X
above, and auspice wouldn't know whether to say "Node A: inferred as blue with 100% confidence" or "Node A: blue". This is even more problematic with tip sampling dates, where we have some code in auspice to try to guess the true meaning:Proposed solution
Modify
augur traits
andaugur refine
to produce output where non-inferred nodes do not have associated confidences. This will then be carried throughaugur export {v1,v2}
. Auspice's v1->v2 JSON conversion function implement the code above to remove confidence values for tips it believes aren't inferred.