<commit_before>class Pad {
  final int xPos;
  final int yPos;

  LED p1;
  LED pwr;
  LED p2;

  boolean onPad1;
  boolean onPad2;
  boolean onPwr;

  final int OUTLINE_SIZE = 10;

  final int LED_OFFSET_X = 100;
  final int LED_OFFSET_Y = 20;

  final int WIDTH = 400;
  final int HEIGHT = 300;

  final int POWER_BUTTON_OFFSET_X = 185;
  final int POWER_BUTTON_OFFSET_Y = 50;
  final int POWER_BUTTON_SIZE = 30;

  final int PAD1_OFFSET_X = 30;
  final int PAD2_OFFSET_X = 230;
  final int PAD_OFFSET_Y = 130;
  final int PAD_SIZE = 140;

  final color COLOR_WHITE = color(255);
  final color COLOR_GREY_LIGHT = color(200);
  final color COLOR_GREEN = color(0, 255, 0);
  final color COLOR_RED = color(255, 0, 0);
  final color COLOR_YELLOW = color(255, 255, 0);

  Pad() {
    xPos = 300;
    yPos = 425;

    p1 = new LED(
      xPos + (LED_OFFSET_X * 1),
      yPos + LED_OFFSET_Y,
      COLOR_RED<commit_msg>Set constants in Pad to be static<commit_after>class Pad {
  final int xPos;
  final int yPos;

  LED p1;
  LED pwr;
  LED p2;

  boolean onPad1;
  boolean onPad2;
  boolean onPwr;

  static final int OUTLINE_SIZE = 10;

  static final int LED_OFFSET_X = 100;
  static final int LED_OFFSET_Y = 20;

  static final int WIDTH = 400;
  static final int HEIGHT = 300;

  static final int POWER_BUTTON_OFFSET_X = 185;
  static final int POWER_BUTTON_OFFSET_Y = 50;
  static final int POWER_BUTTON_SIZE = 30;

  static final int PAD1_OFFSET_X = 30;
  static final int PAD2_OFFSET_X = 230;
  static final int PAD_OFFSET_Y = 130;
  static final int PAD_SIZE = 140;

  final color COLOR_WHITE = color(255);
  final color COLOR_GREY_LIGHT = color(200);
  final color COLOR_GREEN = color(0, 255, 0);
  final color COLOR_RED = color(255, 0, 0);
  final color COLOR_YELLOW = color(255, 255, 0);

  Pad() {
    xPos = 300;
    yPos = 425;

    p1 = new LED(
      xPos + (LED_OFFSET_X * 1),
      yPos + LED_OFFSET_Y,
      COLOR_RED
{'fraction_non_alphanumeric': 0.08066184074457083, 'fraction_numerical': 0.0703205791106515, 'mean_word_length': 3.143468950749465, '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': '5660828', 'n_tokens_mistral': 865, 'n_tokens_neox': 730, 'n_words': 233}