Unit analysis framework