<commit_before>package org.protempa;

import org.protempa.query.Query;
import org.protempa.query.handler.QueryResultsHandler;

public class QuerySession {
    private final String id;
    private final Query query;
    private final AbstractionFinder finder;

    public QuerySession(Query initialQuery, AbstractionFinder abstractionFinder) {
        this.finder = abstractionFinder;
        this.id = this.generateId();
        this.query = initialQuery.clone();
    }

    private void setupTempTable() {
        // TODO: implement me
    }

    private String generateId() {
        // TODO: implement a proper key generation routine
        return "TempID";
    }

    public String getId() {
        return this.id;
    }

    /**<commit_msg>Removed unnecessary methods.  Added getter methods for private variables.<commit_after>package org.protempa;

import org.protempa.query.Query;
import org.protempa.query.handler.QueryResultsHandler;

public class QuerySession {
    private final String id;
    private final Query query;
    private final AbstractionFinder finder;

    public QuerySession(Query initialQuery, AbstractionFinder abstractionFinder) {
        this.finder = abstractionFinder;
        this.id = this.generateId();
        this.query = initialQuery.clone();
    }

    private String generateId() {
        // TODO: implement a proper key generation routine
        return "TempID";
    }

    public String getId() {
        return this.id;
    }

    public Query getQuery() {
        return query;
    }

    public AbstractionFinder getFinder() {
        return finder;
    }

    /**
{'fraction_non_alphanumeric': 0.08245505269683819, 'fraction_numerical': 0.0, 'mean_word_length': 2.7534883720930234, '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': '256826', 'n_tokens_mistral': 444, 'n_tokens_neox': 430, 'n_words': 122}