compute context reliability properly