def test_adjustment_puts_current_project_above_noncurrent(self):
    in_res = QueryResult(hits=[("/b/render_widget.cpp", 10),
                               ("/a/render_widget.cpp", 10)])
    res = query._apply_global_rank_adjustment(in_res,
                                              ["/a/", "/b/"],
                                              Query("rw", current_filename="/b/k/foobar.cpp"))
    rA = res.rank_of("/a/render_widget.cpp")
    rB = res.rank_of("/b/render_widget.cpp")
    self.assertTrue(rA > rB, "Expected %s > %s" % (rB, rA))
dataset/ETHPy150Open natduca/quickopen/src/query_test.py/QueryTest.test_adjustment_puts_current_project_above_noncurrent/swapped operands of `>`