<commit_before>require 'rails_helper'

RSpec.describe TransamGeocodable do

  context 'geocode an organization' do
    let(:test_org) { create(:organization, address1: "123 Fake Street", city: "Bloston", state: "MA", zip: "00000") }

    it 'is located in Massachusetts' do
      expect(test_org.latitude).to be_within(0.000001).of(42.360083)
      expect(test_org.longitude).to be_within(0.000001).of(-71.382437)
    end

    it 'is located in Medford' do
      test_org.city = "Medford"<commit_msg>Revert previous changes to geocoding test.<commit_after>require 'rails_helper'

RSpec.describe TransamGeocodable do

  context 'geocode an organization' do
    let(:test_org) { create(:organization, address1: "123 Fake Street", city: "Bloston", state: "MA", zip: "00000") }

    it 'is located in Massachusetts' do
      expect(test_org.latitude).to be_within(0.000001).of(42.407211)
      expect(test_org.longitude).to be_within(0.000001).of(-71.382437)
    end

    it 'is located in Medford' do
      test_org.city = "Medford"
{'fraction_non_alphanumeric': 0.12342079689018465, 'fraction_numerical': 0.07580174927113703, 'mean_word_length': 4.175879396984925, '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': '2350800', 'n_tokens_mistral': 412, 'n_tokens_neox': 347, 'n_words': 86}