Replies: 2 comments
-
Adding @ahwagner s comments from my original post in a PR on va-spec on this topic. We decided it best to move this entire discussion to Cat-VRS so we can get some resolution.
|
Beta Was this translation helpful? Give feedback.
-
Not sure how I missed this discussion when you first posted it @larrybabb, but yea, lets talk about it. Especially since my background is in typed logics, so this stuff is my jam, and I've spent a decent amount of time thinking in terms of types and the logic thereof with CatVars in the past year. My main question after reading the above is, what problem are you trying to solve by introducing subtypes? Like do we want to be able to fully curry out the arguments of Are you saying that you to type As Alex said, part of the problem is that the type space of CatVars is combinatorial, so you'd have this HUGE space to deal with, and anything other than a really uniform dataset would probably end up populating that space pretty sparsely. But we can deal with that problem somewhat by making sure that the types are compositional, ie, the type of the whole Say we have one
Under this scheme, our example variant above would have the following subtype:
And finding CatVars of some given type amounts to searching for CatVars whose
But is NOT a subcategory of any type that includes anything in addition to This is fundamentally the way that the Is that sort of what you were thinking about or am I completely misunderstanding you, Larry? |
Beta Was this translation helpful? Give feedback.
-
As we are dealing with getting VA-spec to Trial Use 1.0.0 we are finding that we need some of the basic CategoricalVariant classes to be in Trial Use as well. We also have hit the following point of discussion which needs to be hashed out with the Cat-VRS folks.
In the va-spec/tests/fixtures (1.x branch) folder there are several test yaml files for various va-spec statement, evidenceline and studyresult types. The
AVE-clinical-classification.yaml
in particular has the following comment in it at this timeI am in favor of adding a
categoryType
field that allows us to specify the particular type of categorical variant that is being represented, since we no longer put that in thetype
field based on how we are usingconstraints
instead of subclassingCategoricalVariant
.I think this information if quite important to the downstream computational consumer (and human consumer) in that you do not have to discern the type of variant from the mixture of constraints.
Beta Was this translation helpful? Give feedback.
All reactions