stats: improve weakness detection