In Junktown Scout encounters, the women (in metal armor) that wield Spears will throw the spears at the enemy (in this case, it was pigrats & rats), and then proceed to attack the enemy unarmed, which seems very inefficient, so I presume this is not intended.
I think there was a similar/the same bug on 2238, and it started occurring after one of the changelogs, where they tried to stop NPCs like War Party tribals from freezing.
Tribals in caves also throw their spears and then attacked unarmed.