<commit_before>package com.autonomy.abc.selenium.find.filters;

import com.autonomy.abc.selenium.indexes.tree.IndexNodeElement;
import com.hp.autonomy.frontend.selenium.element.CheckboxBase;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

class FindIndexLeafNode implements IndexNodeElement {
    private final CheckboxBase checkbox;
    private final WebElement container;

    FindIndexLeafNode(final WebElement element) {
        container = element;
        checkbox = new FindIndexCheckbox(element);
    }

    @Override
    public void select() {
        checkbox.check();<commit_msg>Fix finding the checkbox for the index filters<commit_after>package com.autonomy.abc.selenium.find.filters;

import com.autonomy.abc.selenium.indexes.tree.IndexNodeElement;
import com.hp.autonomy.frontend.selenium.element.CheckboxBase;
import org.openqa.selenium.By;
import org.openqa.selenium.WebElement;

class FindIndexLeafNode implements IndexNodeElement {
    private final CheckboxBase checkbox;
    private final WebElement container;

    FindIndexLeafNode(final WebElement element) {
        container = element;
        checkbox = new FindIndexCheckbox(element.findElement(By.tagName("span")));
    }

    @Override
    public void select() {
        checkbox.check();
{'fraction_non_alphanumeric': 0.08675445391169635, 'fraction_numerical': 0.0, 'mean_word_length': 4.338842975206612, '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': '5567769', 'n_tokens_mistral': 385, 'n_tokens_neox': 364, 'n_words': 76}