Any given Sunday ... every quarterback has a shot to sit atop the Total QBR leaderboard. While QBs are most often judged by wins and losses or touchdowns and interceptions, we like to rank them every week by the stat that measures their per-play contribution to their team's cause.

An explainer of QBR can be found here, but the main idea is to capture more elements of a quarterback's play than traditional methods consider. QBR includes the value (or lack thereof) of quarterback rushing, sacks, fumbles, relevant penalties and -- crucially -- the down and distance of every play. QBR works on a 0-to-100 scale, with 50 roughly average and 75 about Pro Bowl-caliber play.

Each Tuesday in this space, we'll highlight the best and worst QBR performances from the NFL weekend and break down what made each quarterback perform at either extreme.

Which quarterbacks were the best and worst of Week 7?

Top three

Total QBR: 94.9

The Bills are like the NFL's apothecary; they'll heal whatever hurts. An ailing record, an ailing shoulder, whatever it is. Just play the Bills and none of it is much of a problem anymore.

As has been the case much of this season, Luck stuck to throwing short this weekend. He needed only 23 pass attempts in this one, thanks to an early big lead. When the Colts find themselves down and need points fast, it will be a lot more difficult for them to accept Luck's 7.1 air yards per attempt (27th in the league) thus far this season. But against the Bills, that ended up being just fine, as he and his receivers found efficiency with those short completions. -- Walder

Andrew Luck Week 7 Pass Plot Completions Attempts Yards TD INT 17 23 156 4 0

Total QBR: 94.5

The Dolphins entered Week 7 as the third-best team in NFL Next Gen's pass rush win rate. You'd think they would have success getting to Stafford. But against four pass-rushers or fewer, Stafford was sacked just once and didn't throw a single incompletion. He was perfect, completion percentage-wise, against non-blitzes for the first time in his career.

Matthew Stafford When Not Facing A Blitz Completions Attempts Yards TD Sacks 15 15 164 2 1

When the Dolphins did blitz Stafford, he threw three incompletions, but all of them were on first downs, so his QBR in that situation hardly suffered. -- Walder

Total QBR: 92.6

Brees had his most efficient game of the season, posting a season-high 92.6 Total QBR against the Ravens on Sunday despite a season-low 212 passing yards. It was his second 90-plus game of the season, as well as the first 90-plus Total QBR the Ravens have allowed since Dak Prescott's 92.9 Total QBR in Week 11 of 2016.

Brees' totals might not be as astonishing as some of his other games, but Total QBR is a measure of efficiency, not total production. He also did a good job of avoiding negative plays. He was sacked only once and didn't turn the ball over. Plus, his three rushing yards on four carries might not look like much in the box score, but one attempt was a kneel-down to end the game, two converted a fourth down and one was a third-and-1 conversion.

Brees also was excellent when throwing underneath, completing 16 of 21 attempts on those throws with a pair of TD passes. -- Gargiulo

Drew Brees On Passes Of 10 Yards Or Fewer Completions Attempts Yards TD INT 16 21 103 2 0

Just missed: Case Keenum, Denver Broncos (91.9); Jared Goff, Los Angeles Rams (87.8)

Bottom three

Total QBR: 1.9

Things started badly and then just got worse for Rosen. His first attempt of the game was picked off and returned for a touchdown. A few plays later, the rookie threw his second pick-six to put the Cards down 21-3 and effectively seal the game before the first quarter was out.

Rosen also was under siege, taking six sacks and spending most of the game with a QBR below 1.0. He did rally to move north of that number late, however, with a 14-yard scramble on a third-and-10 and a short touchdown pass to Larry Fitzgerald. But it was too little too late.

Rosen's 1.9 is the second-worst Total QBR of the 2018 season, behind only Nathan Peterman's 0.8 in Week 1. -- Gargiulo

Josh Rosen Week 7 Pass Plot Completions Attempts Yards TD INT 21 39 194 1 3

Total QBR: 7.6

Darnold has flashed his potential at times this season and given Jets fans hope for the future. But he also has played like the rookie he is at times. Against the Vikings, he did both.

He started hot, connecting on 6 of 9 pass attempts with a touchdown in the first quarter. All nine of his passes in the quarter were on target too.

But by the end of the contest, Darnold had thrown three picks for his third multi-interception game and posted a 26 percent off-target rate, the third highest among QBs in Week 7. -- Walder

Sam Darnold On Third, Fourth Down Completions Attempts Yards INT Sacks 9 25 120 3 2

Total QBR: 10.0

It was another long afternoon for the 49ers' offense and the second-year quarterback. Beathard was sacked seven times Sunday, including four by Aaron Donald, and he threw a pair of interceptions.

San Francisco also was unable to get the deep ball while working in the face of all that pressure. Beathard completed only one pass of 15 or more yards downfield, and that didn't come until the fourth quarter with the outcome of the game clearly decided.

C.J. Beathard On Passes Of 15+ Yards Completions Attempts Yards TD INT 1 6 17 0 1

It wasn't all bad, though. Beathard did lead a nice scoring drive as the first half ended and converted a third-and-10 with his legs. Without those plays, Beathard would have been threatening for the worst QBR of the week. -- Gargiulo

Just missed: Baker Mayfield, Cleveland Browns (17.2); Derek Anderson, Buffalo Bills (25.2)