contribution_weight実装