stackoverflow - partial scoring