<commit_before>var assert = require('assert');
var madison = require('../madison.js');

describe("madison", function() {
  describe("#getStateAbbrev", function () {
    it("returns a state's abbreviation when it's passed a state's name", function () {
      madison.getStateAbbrev('virginia', function (abbrev) {
        assert(abbrev === 'VA');
      });

      madison.getStateAbbrev('west virginia', function (abbrev) {
        assert(abbrev === 'WV');
      });

      madison.getStateAbbrev('California', function (abbrev) {
        assert(abbrev === 'CA');
      });
    });

    it("returns a state's abbreviation when it's passed a state's name, independent of case", function () {
      madison.getStateAbbrev('Virginia', function (abbrev) {
        assert(abbrev === 'VA');
      });

      madison.getStateAbbrev('West virginia', function (abbrev) {
        assert(abbrev === 'WV');
      });
      
      madison.getStateAbbrev('californIA', function (abbrev) {
        assert(abbrev === 'CA');
      });
    });

    it("returns undefined in the event that it is not passed a valid state name", function () {
      madison.getStateAbbrev('Some Fake State', function (abbrev) {
        assert(abbrev === undefined);
      });
<commit_msg>Breaking build for demo<commit_after>var assert = require('assert');
var madison = require('../madison.js');

describe("madison", function() {
  describe("#getStateAbbrev", function () {
    it("returns a state's abbreviation when it's passed a state's name", function () {
      madison.getStateAbbrev('virginia', function (abbrev) {
        assert(abbrev !== 'VA');
      });

      madison.getStateAbbrev('west virginia', function (abbrev) {
        assert(abbrev === 'WV');
      });

      madison.getStateAbbrev('California', function (abbrev) {
        assert(abbrev === 'CA');
      });
    });

    it("returns a state's abbreviation when it's passed a state's name, independent of case", function () {
      madison.getStateAbbrev('Virginia', function (abbrev) {
        assert(abbrev === 'VA');
      });

      madison.getStateAbbrev('West virginia', function (abbrev) {
        assert(abbrev === 'WV');
      });
      
      madison.getStateAbbrev('californIA', function (abbrev) {
        assert(abbrev === 'CA');
      });
    });

    it("returns undefined in the event that it is not passed a valid state name", function () {
      madison.getStateAbbrev('Some Fake State', function (abbrev) {
        assert(abbrev === undefined);
      });

{'fraction_non_alphanumeric': 0.15856573705179283, 'fraction_numerical': 0.0, 'mean_word_length': 3.036977491961415, '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': '5238293', 'n_tokens_mistral': 809, 'n_tokens_neox': 718, 'n_words': 181}