<commit_before>package com.srs.tetris.bob.evaluator;

/**
 * The best known combination of evaluators.
 */
public class SapientEvaluator extends CompositeEvaluator {
	private static final double HEIGHT_WEIGHT = -1.0;
	private static final double AVERAGE_HEIGHT_WEIGHT = -1.0;
	private static final double COMPLETED_LINES_WEIGHT = 2.0;
	private static final double HOLE_WEIGHT = -10.0;
	private static final double HOLE_COVER_WEIGHT = -2.0;
	private static final double NARROW_GAP_WEIGHT = -1.0;

	public SapientEvaluator() {
		super(
			new WeightedEvaluator(new HeightEvaluator(), HEIGHT_WEIGHT),
			new WeightedEvaluator(new AverageHeightEvaluator(), AVERAGE_HEIGHT_WEIGHT),
			new WeightedEvaluator(new CompletedLinesEvaluator(), COMPLETED_LINES_WEIGHT),
			new HolesEvaluator(HOLE_WEIGHT, HOLE_COVER_WEIGHT),
			new WeightedEvaluator(new NarrowGapEvaluator(), NARROW_GAP_WEIGHT)
		);
	}<commit_msg>Remove completed lines evaluator since it lowers overall performance<commit_after>package com.srs.tetris.bob.evaluator;

/**
 * The best known combination of evaluators.
 */
public class SapientEvaluator extends CompositeEvaluator {
	private static final double HEIGHT_WEIGHT = -1.0;
	private static final double AVERAGE_HEIGHT_WEIGHT = -1.0;
	//private static final double COMPLETED_LINES_WEIGHT = 2.0;
	private static final double HOLE_WEIGHT = -10.0;
	private static final double HOLE_COVER_WEIGHT = -2.0;
	private static final double NARROW_GAP_WEIGHT = -1.0;

	public SapientEvaluator() {
		super(
			new WeightedEvaluator(new HeightEvaluator(), HEIGHT_WEIGHT),
			new WeightedEvaluator(new AverageHeightEvaluator(), AVERAGE_HEIGHT_WEIGHT),
			//new WeightedEvaluator(new CompletedLinesEvaluator(), COMPLETED_LINES_WEIGHT),
			new HolesEvaluator(HOLE_WEIGHT, HOLE_COVER_WEIGHT),
			new WeightedEvaluator(new NarrowGapEvaluator(), NARROW_GAP_WEIGHT)
		);
	}
{'fraction_non_alphanumeric': 0.08051529790660225, 'fraction_numerical': 0.013955984970477724, 'mean_word_length': 5.729241877256317, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 3, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 0, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '3955832', 'n_tokens_mistral': 679, 'n_tokens_neox': 648, 'n_words': 150}