-
Notifications
You must be signed in to change notification settings - Fork 6
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
is_set and KGEdgeID #88
Conversation
For the following query graph, this new code will correctly produce one edge binding with two ids vs. the current production code that produces one edge binding with one id: query graph w/ one edge w/ multiple predicates...
|
As previously discussed, query graphs like the following are considered invalid, so it's OK in such cases that both the current production code and this new code fail to produce results: query graph w/ two nodes, both connected by two edges, each w/ one predicate...
But even so, |
This pull request may solve biothings/biothings_explorer#386 |
so far, I think biothings/biothings_explorer#390 is addressed by this PR... |
note that this is a large PR that addresses quite a few issues |
Documenting the current automated tests that are failing.... expand this
|
Regarding the failing tests in |
Those tests need to rewritten, looks like we need to create instances of the classes used, hardcoded results won't work for now. |
@marcodarko, would you be able to take the lead on updating those tests and removing any unused |
@andrewsu and @colleenXu (and anyone else interested), any thoughts on the vocab bullet point in the first comment? We could just leave query_results.js as-is for now and do any renaming later, or we could rename a few variables now if you prefer. The basic question is what to call the items produced at each of these stages: Maybe these names are easiest to understand?
The name Potential alternative terms: |
@ariutta just confirming, yes I can do that! |
I'm thinking of deferring to @ariutta and @marcodarko on whether to do the vocab change in this PR vs a separate PR....I think it depends on how easy it is to do here (and whether it breaks anything)... |
As soon as the tests are updated and the Regarding vocabulary, I think we should make some changes at some point, but we can do this in a subsequent PR. Regarding memory usage, my tests don't indicate any significant difference when compared to |
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.
Regarding integration of fix-390
everything seems fine. I'll continue to test memory usage but I tend to agree with the current suspicion that it may be caching that's responsible rather than this PR.
This is a draft pull request intended to better handle consolidation of results, including these two cases:
is_set = true
: consolidate results based on is_set query parameter biothings_explorer#341.Items remaining to address before this can be merged: