<commit_before>package com.hubspot.mesos.json;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class MesosSlaveStateObject {

  private final String id;
  private final String pid;
  private final String hostname;
  
  private final long startTime;
  
  private final MesosResourcesObject resources;

  private final List<MesosSlaveFrameworkObject> frameworks;

  private final int finishedTasks;
  private final int lostTasks;
  private final int startedTasks;

  @JsonCreator
  public MesosSlaveStateObject(@JsonProperty("id") String id, @JsonProperty("pid") String pid, @JsonProperty("hostname") String hostname, @JsonProperty("start_time") long startTime, @JsonProperty("resources") MesosResourcesObject resources, @JsonProperty("frameworks")  List<MesosSlaveFrameworkObject> frameworks, @JsonProperty("finishedTasks") int finishedTasks, @JsonProperty("lostTasks") int lostTasks, @JsonProperty("startedTasks") int startedTasks) {
    this.id = id;
    this.pid = pid;
    this.hostname = hostname;
    this.startTime = startTime;
    this.resources = resources;
    this.frameworks = frameworks;
    this.finishedTasks = finishedTasks;
    this.lostTasks = lostTasks;
    this.startedTasks = startedTasks;
  }

  public String getId() {
    return id;
  }

  public String getPid() {
    return pid;
  }

  public String getHostname() {
    return hostname;
  }
  
  public List<MesosSlaveFrameworkObject> getFrameworks() {
    return frameworks;
  }

  public long getStartTime() {
    return startTime;
  }

  public MesosResourcesObject getResources() {
    return resources;
  }

  public int getFinishedTasks() {
    return finishedTasks;
  }

  public int getLostTasks() {
    return lostTasks;
  }

  public int getStartedTasks() {
    return startedTasks;
  }
}<commit_msg>Added task count fields that were missed before and changed camelcase to snakecase in jsonProperty annotations.<commit_after>package com.hubspot.mesos.json;

import java.util.List;

import com.fasterxml.jackson.annotation.JsonCreator;
import com.fasterxml.jackson.annotation.JsonProperty;

public class MesosSlaveStateObject {

  private final String id;
  private final String pid;
  private final String hostname;
  
  private final long startTime;
  
  private final MesosResourcesObject resources;

  private final List<MesosSlaveFrameworkObject> frameworks;

  private final int finishedTasks;
  private final int lostTasks;
  private final int startedTasks;
  private final int failedTasks;
  private final int killedTasks;

  @JsonCreator
  public MesosSlaveStateObject(@JsonProperty("id") String id, @JsonProperty("pid") String pid, @JsonProperty("hostname") String hostname, @JsonProperty("start_time") long startTime, @JsonProperty("resources") MesosResourcesObject resources, @JsonProperty("frameworks")  List<MesosSlaveFrameworkObject> frameworks, @JsonProperty("finished_tasks") int finishedTasks, @JsonProperty("lost_tasks") int lostTasks, @JsonProperty("started_tasks") int startedTasks, @JsonProperty("failed_tasks") int failedTasks, @JsonProperty("killed_tasks") int killedTasks) {
    this.id = id;
    this.pid = pid;
    this.hostname = hostname;
    this.startTime = startTime;
    this.resources = resources;
    this.frameworks = frameworks;

    this.finishedTasks = finishedTasks;
    this.lostTasks = lostTasks;
    this.startedTasks = startedTasks;
    this.failedTasks = failedTasks;
    this.killedTasks = killedTasks;
  }

  public String getId() {
    return id;
  }

  public String getPid() {
    return pid;
  }

  public String getHostname() {
    return hostname;
  }
  
  public List<MesosSlaveFrameworkObject> getFrameworks() {
    return frameworks;
  }

  public long getStartTime() {
    return startTime;
  }

  public MesosResourcesObject getResources() {
    return resources;
  }

  public int getFinishedTasks() {
    return finishedTasks;
  }

  public int getLostTasks() {
    return lostTasks;
  }

  public int getStartedTasks() {
    return startedTasks;
  }

  public int getFailedTasks() {
    return failedTasks;
  }

  public int getKilledTasks() {
    return killedTasks;
  }
}
{'fraction_non_alphanumeric': 0.08669833729216152, 'fraction_numerical': 0.0, 'mean_word_length': 4.398717948717949, 'pattern_counts': {'":': 0, '<': 9, '<?xml version=': 0, '>': 9, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 4}, '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': '5398994', 'n_tokens_mistral': 1242, 'n_tokens_neox': 1185, 'n_words': 321}