I just spent a large chunk of time trying to get an ecto query to work. My team was stumped as well. Gave up and asked ChatGPT - I shared the schemas of the structs involved and carefully worded the requirement. The response had an ecto query that passed tests 1st time