"Mr. Miroshnichenko [the head of international affairs for the Territorial Defense Force of Ukraine] turned aside any concerns over arming a civilian population in the capital’s streets, saying that each weapon’s serial number was attached to a passport."[0]
While your concern about training remains, they definitely recorded who got weapons. And also keep in mind that Ukraine, the entire time, had mandatory conscription of all males, where they definitely learned the basics of handling a firearm.
And plus, I am sorry, but there are certain situations when concern over proper training takes a backseat, and this feels like one of them.
0. https://www.nytimes.com/live/2022/02/25/world/russia-ukraine...
In this video he literally says that weapons are given without any documents whatsoever.
And regardless, that specific point isn't really a concern (to me personally) when it comes to literally having to defend livelihood of your family and the city against an invading force.
Realistically, in a conflict, anyone who cannot materially contribute to the conflict is a liability.
Every single military, the world over, is heavily trained to ignore civilian casualties.
As long as it's not a militarily significant asset, their training is to not care about it.
Handing out AK-47s increases the number of military assets. The cost doesn't show up on the military asset balance sheet.
This sounds extremely implausible.