<commit_before>#!/usr/bin/env ruby

require "bundler/setup"
require "sinatra"
require "ostruct"
require "roar/representer/json"


get "/method" do
  "<method>get</method>"
end

post "/songs" do
'{"id":"1","title":"Roxanne","links":[{"rel":"self","href":"http://localhost/songs/1"}]}'
end


get "/songs/1" do
'{"id":"1","title":"Roxanne","links":[{"rel":"self","href":"http://localhost/songs/1"}]}'
end<commit_msg>indent response in sinatra example_server code.<commit_after>#!/usr/bin/env ruby

require "bundler/setup"
require "sinatra"
require "ostruct"
require "roar/representer/json"


get "/method" do
  "<method>get</method>"
end

post "/songs" do
  '{"id":"1","title":"Roxanne","links":[{"rel":"self","href":"http://localhost/songs/1"}]}'
end


get "/songs/1" do
'{"id":"1","title":"Roxanne","links":[{"rel":"self","href":"http://localhost/songs/1"}]}'
end
{'fraction_non_alphanumeric': 0.265661252900232, 'fraction_numerical': 0.01160092807424594, 'mean_word_length': 6.774774774774775, 'pattern_counts': {'":': 20, '<': 7, '<?xml version=': 0, '>': 7, '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': '6170083', 'n_tokens_mistral': 332, 'n_tokens_neox': 319, 'n_words': 54}