-
Notifications
You must be signed in to change notification settings - Fork 11
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
BTE creating self-edges via subclassing #850
Comments
Looks like this is being caused by the following process:
This should be possible to catch at support graph creation time -- I'm double-checking for potential knock on effects of catching it there. |
Note: there also needs to be tracking of which QNodes subclassing should be applied to, otherwise subclassing created for one QNode (ie.
Result (subclassing changes
|
HOLD ON@rjawesome @tokebe: See my recent post where I wonder if the "duplicate second path" in the Feedback issue is actually coming from Aragorn NCATSTranslator/Feedback#907 (comment) If that is the case, then the self-edge doesn't seem to be showing in the UI. Which would mean this issue of self-edges is less urgent/breaking. There is a "true duplicate paths in the UI" situation going on, but that's happening because of how the ARS/UI handles our edges with subclassing support-graphs vs ones without NCATSTranslator/Feedback#776 (comment). This does make me wonder if Translator will ask us to undo our subclassing support-graph wrapping... FYI Another example with a self-edge (CI, ran earlier today): https://arax.ci.transltr.io/?r=3c00776f-a6aa-473e-907f-3dec1367a566 But I didn't notice any duplicate paths issues in the UI view. There were similar paths (highlighted in the screenshot below), but I think they were from Aragorn, based on my analysis of the Test-instance version here. This is why I started to suspect that the self-edge wasn't the source of the duplicate paths in 907 either... |
I'm pretty sure regardless of ARS/UI-level merging errors, BTE is still creating self-edges via subclassing that we don't want? @colleenXu unless there's a reason to keep these self-edges, @rjawesome don't pause any active work on this issue. It's fine if there's simultaneous effort outside of this issue toward problems that are related to NCATSTranslator/Feedback#907 but aren't related to this issue -- we can separately track a BTE-level problem here and assignees to the Feedback issue can decide whether our efforts are related/causal to 907. |
I tested the two linked queries and things looked good: the paths containing self-edges have been removed. I did see a different in scores/rank, often a slight decrease for the results that previously had self-edges. But in the maturity-onset diabetes case below, the rank drastically dropped, but the score only decreased a little. cerebral palsy (MONDO:0006497)
Before (ARAX-CI viewing, used BTE-test) maturity-onset diabetes of the young (MONDO:0018911)
Before (ARAX-CI viewing) After: MoDY-issue-850.json.zip I also did a quick test of a MVP2 query and didn't notice anything off about its response (increases ADRB2 - NCBIGene:154). |
This issue is also tracking a fix to "edge-case query failures due to an error in subclassing". Info from #789 (comment)
|
Relevant changes deployed to Prod. |
Example: NCATSTranslator/Feedback#907
Something is wrong in node-expansion and subclass handling, likely a missing check somewhere that should be causing edges to be dropped.
The text was updated successfully, but these errors were encountered: