<commit_before>[
  {
    "type": "settings",
    "deviceTime": "2014-03-13T00:01:00",
    "time": "2014-03-13T10:01:00.000Z",
    "timezoneOffset": -600,
    "deviceId": "Paradigm Revel - 723",
    "activeBasalSchedule": "standard",
    "basalSchedules": {
      "standard": [{ "rate": 0.8, "start": 0 }],
      "pattern a": [{ "rate": 0.95, "start": 0 }],
      "pattern b": []
    },
    "bgTarget": [{ "low": 100, "high": 120, "start": 0 },
                 { "low": 90, "high": 110, "start": 18000000 },
                 { "low": 100, "high": 120, "start": 82800000 }],
    "carbRatio": [{ "amount": 12, "start": 0 },
                  { "amount": 10, "start": 21600000 },
                  { "amount": 11, "start": 32400000 },
                  { "amount": 10, "start": 61200000 },
                  { "amount": 12, "start": 81000000 }],
    "insulinSensitivity": [{ "amount": 65, "start": 0 },
                           { "amount": 45, "start": 18000000 },
                           { "amount": 65, "start": 82800000 }],
    "units": {
      "bg": "mg/dL",
      "carb": "grams"
    },
    "source": "carelink"
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-13T00:01:00",
    "time": "2014-03-13T10:01:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86340000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink"
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-14T00:00:00",
    "time": "2014-03-14T10:00:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86400000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink",
    "annotations": [{ "code": "carelink/basal/static-rate-create-scheduled" }]
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-15T00:00:00",
    "time": "2014-03-15T10:00:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86400000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink",
    "annotations": [{ "code": "carelink/basal/static-rate-create-scheduled" }]
  }<commit_msg>staticBasal needs previous fields too<commit_after>[
  {
    "type": "settings",
    "deviceTime": "2014-03-13T00:01:00",
    "time": "2014-03-13T10:01:00.000Z",
    "timezoneOffset": -600,
    "deviceId": "Paradigm Revel - 723",
    "activeBasalSchedule": "standard",
    "basalSchedules": {
      "standard": [{ "rate": 0.8, "start": 0 }],
      "pattern a": [{ "rate": 0.95, "start": 0 }],
      "pattern b": []
    },
    "bgTarget": [{ "low": 100, "high": 120, "start": 0 },
                 { "low": 90, "high": 110, "start": 18000000 },
                 { "low": 100, "high": 120, "start": 82800000 }],
    "carbRatio": [{ "amount": 12, "start": 0 },
                  { "amount": 10, "start": 21600000 },
                  { "amount": 11, "start": 32400000 },
                  { "amount": 10, "start": 61200000 },
                  { "amount": 12, "start": 81000000 }],
    "insulinSensitivity": [{ "amount": 65, "start": 0 },
                           { "amount": 45, "start": 18000000 },
                           { "amount": 65, "start": 82800000 }],
    "units": {
      "bg": "mg/dL",
      "carb": "grams"
    },
    "source": "carelink"
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-13T00:01:00",
    "time": "2014-03-13T10:01:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86340000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink"
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-14T00:00:00",
    "time": "2014-03-14T10:00:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86400000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink",
    "annotations": [{ "code": "carelink/basal/static-rate-create-scheduled" }],
    "previous": {
      "type": "basal",
      "deliveryType": "scheduled",
      "deviceTime": "2014-03-13T00:01:00",
      "time": "2014-03-13T10:01:00.000Z",
      "timezoneOffset": -600,
      "scheduleName": "standard",
      "rate": 0.8,
      "duration": 86340000,
      "deviceId": "Paradigm Revel - 723"
    }
  },
  {
    "type": "basal",
    "deliveryType": "scheduled",
    "deviceTime": "2014-03-15T00:00:00",
    "time": "2014-03-15T10:00:00.000Z",
    "timezoneOffset": -600,
    "scheduleName": "standard",
    "rate": 0.8,
    "duration": 86400000,
    "deviceId": "Paradigm Revel - 723",
    "source": "carelink",
    "annotations": [{ "code": "carelink/basal/static-rate-create-scheduled" }],
    "previous": {
      "type": "basal",
      "deliveryType": "scheduled",
      "deviceTime": "2014-03-14T00:00:00",
      "time": "2014-03-14T10:00:00.000Z",
      "timezoneOffset": -600,
      "scheduleName": "standard",
      "rate": 0.8,
      "duration": 86400000,
      "deviceId": "Paradigm Revel - 723",
      "annotations": [{ "code": "carelink/basal/static-rate-create-scheduled" }]
    }
  }
{'fraction_non_alphanumeric': 0.21820975797157127, 'fraction_numerical': 0.12754514022281982, 'mean_word_length': 2.4922870556673375, 'pattern_counts': {'":': 182, '<': 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': '6536582', 'n_tokens_mistral': 2412, 'n_tokens_neox': 1900, 'n_words': 371}