<commit_before>package com.smartcodeltd.jenkinsci.plugins.buildmonitor.order;

import hudson.model.AbstractProject;

import java.util.Comparator;
import java.util.List;
import java.util.logging.Logger;

/**
 * Created by mycronic-praktikant on 2016-04-20.
 */
public class ByEstimatedDuration implements Comparator<AbstractProject<?, ?>> {

    private static final Logger LOGGER = Logger.getLogger(ByEstimatedDuration.class.getName());

    @Override
    public int compare(AbstractProject<?, ?> a, AbstractProject<?,?> b) {
        return compareEstimatedDuration(a, b);
    }

    /**
     * Returns a sum of the estimated duration for a project and all upstream projects
     *
     * @param project
     * @return
     */
    private long getTotalEstimatedDuration(AbstractProject<?, ?> project) {
        long time = project.getEstimatedDuration();
<commit_msg>removed auto-generated comment<commit_after>package com.smartcodeltd.jenkinsci.plugins.buildmonitor.order;

import hudson.model.AbstractProject;

import java.util.Comparator;
import java.util.List;
import java.util.logging.Logger;

public class ByEstimatedDuration implements Comparator<AbstractProject<?, ?>> {

    private static final Logger LOGGER = Logger.getLogger(ByEstimatedDuration.class.getName());

    @Override
    public int compare(AbstractProject<?, ?> a, AbstractProject<?,?> b) {
        return compareEstimatedDuration(a, b);
    }

    /**
     * Returns a sum of the estimated duration for a project and all upstream projects
     *
     * @param project
     * @return
     */
    private long getTotalEstimatedDuration(AbstractProject<?, ?> project) {
        long time = project.getEstimatedDuration();

{'fraction_non_alphanumeric': 0.10448642266824085, 'fraction_numerical': 0.004722550177095631, 'mean_word_length': 3.956140350877193, 'pattern_counts': {'":': 0, '<': 13, '<?xml version=': 0, '>': 13, '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': '1700968', 'n_tokens_mistral': 476, 'n_tokens_neox': 462, 'n_words': 117}