The IDF and Shin Bet security agency on Saturday night named 19 Hamas and Palestinian Islamic Jihad terror operatives that it said it killed in an airstrike Saturday morning on a Hamas and Islamic Jihad command room at the Taba’een school in Gaza City.
If you want to apply the same ratios the IDF uses when it comes to civilian casualties, Hamas comes out way better on Oct 7. The majority of the hostages and victims were IDF personnel.
Where did you get that information?
Wikipedia: 1,180 killed[18][c][d] 797 civilians,[e] including 36 children[f] 379 security forces[19]
For sources cited (they are legit), see https://en.m.wikipedia.org/wiki/2023_Hamas-led_attack_on_Israel
Basically, the unacceptable and disgusting Hamas terror attack had a 32% legitimate targets to total hits ratio.