<commit_before>#!/bin/bash

version=agent-1.0.4-alpha.1002

RED='\033[0;31m'
GREEN='\033[0;32m'
RESET="$(tput sgr0)"

function start {
  #check for java
  #echo "hi"
  check_java
  is_prereq_met=$?
  if [[ "$is_prereq_met" -eq 0 ]]; then
    #statements
    start_agent
  fi
}

function stop {
  #statements\
    if [[ -z $(pgrep -x -f  "java -jar $version.jar") ]]; then
      #statements
      echo "Agent is not running"
    else
      pgrep -x -f  "java -jar $version.jar" | kill $(tail)
      echo "Agent stopped"
    fi
}<commit_msg>#286 fixed hardcoded version<commit_after>#!/bin/bash

version=<replace>

RED='\033[0;31m'
GREEN='\033[0;32m'
RESET="$(tput sgr0)"

function start {
  #check for java
  #echo "hi"
  check_java
  is_prereq_met=$?
  if [[ "$is_prereq_met" -eq 0 ]]; then
    #statements
    start_agent
  fi
}

function stop {
  #statements\
    if [[ -z $(pgrep -x -f  "java -jar $version.jar") ]]; then
      #statements
      echo "Agent is not running"
    else
      pgrep -x -f  "java -jar $version.jar" | kill $(tail)
      echo "Agent stopped"
    fi
}
{'fraction_non_alphanumeric': 0.1574074074074074, 'fraction_numerical': 0.03518518518518519, 'mean_word_length': 2.7147766323024056, 'pattern_counts': {'":': 0, '<': 4, '<?xml version=': 0, '>': 4, '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': '6762814', 'n_tokens_mistral': 460, 'n_tokens_neox': 422, 'n_words': 111}