build result hash