ranking-agent / strider

A TRAPI-compliant component of ARAGORN that queries distributed KPs and assembles answers to user questions.
MIT License
3 stars 0 forks source link

Strider isn't returning all sub queries from Aragorn #457

Open maximusunc opened 1 month ago

maximusunc commented 1 month ago

Given the following query:

{
  "message": {
    "query_graph": {
      "edges": {
        "t_edge": {
          "knowledge_type": "inferred",
          "object": "ON",
          "predicates": [
            "biolink:treats"
          ],
          "subject": "SN"
        }
      },
      "nodes": {
        "ON": {
          "categories": [
            "biolink:Disease"
          ],
          "ids": [
            "MONDO:0005361"
          ]
        },
        "SN": {
          "categories": [
            "biolink:ChemicalEntity"
          ]
        }
      }
    }
  }
}

Strider is returning 12 out of 20 queries before sending the "completed" message. The other 8 queries are failing unexpectedly and never getting returned.

maximusunc commented 1 month ago

I've run this a handful of times locally and not been able to reproduce. I'll keep trying some different things (also on dev).

maximusunc commented 1 month ago

Running this a couple times in dev with bypass_cache, Strider is returning all subqueries. This seems to be an intermittent issue? @cbizon

cbizon commented 1 month ago

OK, I'll give it a shot - thanks @maximusunc