<commit_before>package org.mwc.debrief.dis.diagnostics.file;

import org.mwc.debrief.dis.listeners.IDISFixListener;

public class FixToFileListener extends CoreFileListener implements
    IDISFixListener
{

  public FixToFileListener(String root, boolean toFile, boolean toScreen)
  {
    super(root, toFile, toScreen, "fix",
        "time, id, name, dLat, dLong, depth, courseDegs, speedMS, damage");
  }

  @Override
  public void add(long time, short exerciseId, long id, String eName,
      short force, double dLat, double dLong, double depth, double courseDegs, double speedMS, int damage)
  {
    // create the line
    StringBuffer out = new StringBuffer();
    out.append(time);
    out.append(", ");
    out.append(id);
    out.append(", ");
    out.append(eName);
    out.append(", ");
    out.append(dLat);
    out.append(", ");
    out.append(dLong);
    out.append(", ");
    out.append(depth);
    out.append(", ");
    out.append(courseDegs);
    out.append(", ");
    out.append(speedMS);
    out.append(", ");
    out.append(damage);
    out.append(LINE_BREAK);

    // done, write it
    write(out.toString());
  }

}<commit_msg>output force & is highlighted<commit_after>package org.mwc.debrief.dis.diagnostics.file;

import org.mwc.debrief.dis.listeners.IDISFixListener;

public class FixToFileListener extends CoreFileListener implements
    IDISFixListener
{

  public FixToFileListener(String root, boolean toFile, boolean toScreen)
  {
    super(root, toFile, toScreen, "fix",
        "time, id, name,force, isHighlighted, dLat, dLong, depth, courseDegs, speedMS, damage");
  }

  @Override
  public void add(long time, short exerciseId, long id, String eName,
      short force, boolean isHighlighted, double dLat, double dLong, double depth, double courseDegs, double speedMS, int damage)
  {
    // create the line
    StringBuffer out = new StringBuffer();
    out.append(time);
    out.append(", ");
    out.append(id);
    out.append(", ");
    out.append(eName);
    out.append(", ");
    out.append(force);
    out.append(", ");
    out.append(isHighlighted);
    out.append(", ");
    out.append(dLat);
    out.append(", ");
    out.append(dLong);
    out.append(", ");
    out.append(depth);
    out.append(", ");
    out.append(courseDegs);
    out.append(", ");
    out.append(speedMS);
    out.append(", ");
    out.append(damage);
    out.append(LINE_BREAK);

    // done, write it
    write(out.toString());
  }

}
{'fraction_non_alphanumeric': 0.14751426242868787, 'fraction_numerical': 0.0, 'mean_word_length': 3.368327402135231, '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': '7063200', 'n_tokens_mistral': 805, 'n_tokens_neox': 804, 'n_words': 180}