<commit_before>package com.speedledger.measure.jenkins;

import java.util.Map;
import java.util.Calendar;

/**
 * Jenkins build.
 */
public class Build {
    private String timestamp;
    private int number;
    private String jobName;
    private String result;
    private long startTime;
    private long duration;
    private Map<String, String> environment;

    public Build() {
    }

    public Build(int number, String jobName, String result, long startTime, long duration, Map<String, String> environment) {
        this.number = number;
        this.jobName = jobName;
        this.result = result;
        this.startTime = startTime;
        this.duration = duration;
        this.environment = environment;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public int getNumber() {
        return number;
    }
<commit_msg>Added public class for timestamp<commit_after>package com.speedledger.measure.jenkins;

import java.util.Map;
import java.util.Calendar;

/**
 * Jenkins build.
 */
 
 public class BuildData {
  // ISO 8601 date format
  public transient static final DateFormat DATE_FORMATTER = new SimpleDateFormat("yyyy-MM-dd'T'HH:mm:ssZ");

  public static class TestData {
    int totalCount, skipCount, failCount;
    List<String> failedTests;

    public TestData() {
      this(null);
    }

    public TestData(Action action) {
      AbstractTestResultAction<?> testResultAction = null;
      if (action instanceof AbstractTestResultAction) {
        testResultAction = (AbstractTestResultAction<?>) action;
      }

      if (testResultAction == null) {
        totalCount = skipCount = failCount = 0;
        failedTests = Collections.emptyList();
        return;
      }

      totalCount = testResultAction.getTotalCount();
      skipCount = testResultAction.getSkipCount();
      failCount = testResultAction.getFailCount();

      failedTests = new ArrayList<String>(testResultAction.getFailedTests().size());
      for (TestResult result : testResultAction.getFailedTests()) {
        failedTests.add(result.getFullName());
      }
    }
  }

public class Build {
    private String timestamp;
    private int number;
    private String jobName;
    private String result;
    private long startTime;
    private long duration;
    private Map<String, String> environment;

    public Build() {
    }

    public Build(String timestamp, int number, String jobName, String result, long startTime, long duration, Map<String, String> environment) {
        this.timestamp = timestamp;
        this.number = number;
        this.jobName = jobName;
        this.result = result;
        this.startTime = startTime;
        this.duration = duration;
        this.environment = environment;
    }

    public String getJobName() {
        return jobName;
    }

    public void setJobName(String jobName) {
        this.jobName = jobName;
    }

    public int getNumber() {
        return number;
    }

{'fraction_non_alphanumeric': 0.09078947368421053, 'fraction_numerical': 0.001644736842105263, 'mean_word_length': 2.772952853598015, 'pattern_counts': {'":': 0, '<': 11, '<?xml version=': 0, '>': 11, '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': '133975', 'n_tokens_mistral': 842, 'n_tokens_neox': 815, 'n_words': 227}