jonatkins/ingress-intel-total-conversion — pull request #687 by fkloft (2013-12-05 18:15:41+00:00)
Title: Fix guess-player-levels

Under certain circumstances, flipped portals weren't detected correctly. This happens when a player has more resonators of a certain level deployed than allowed, but has the correct number of a higher level (e.g. 3 R6 + 1 R7). The algorithm would not recognize the flipped portal and list the player as (guessed) L7.

Additionally, resonators that are not deployed by the portal owner are assumed to be deployed regularly, i.e. they cannot result from a flip card.

A comment regarding these changes that is outdated now has been removed. (I knew I had read that before when I implemented these features recently...)