{"action":"closed","issue":{"url":"https://api.github.com/repos/Codewars/codewars.com/issues/395","repository_url":"https://api.github.com/repos/Codewars/codewars.com","labels_url":"https://api.github.com/repos/Codewars/codewars.com/issues/395/labels{/name}","comments_url":"https://api.github.com/repos/Codewars/codewars.com/issues/395/comments","events_url":"https://api.github.com/repos/Codewars/codewars.com/issues/395/events","html_url":"https://github.com/Codewars/codewars.com/issues/395","id":160460190,"number":395,"title":"Solutions don't get unlocked while sending solution","user":{"login":"javatlacati","id":1063901,"avatar_url":"https://avatars.githubusercontent.com/u/1063901?v=3","gravatar_id":"","url":"https://api.github.com/users/javatlacati","html_url":"https://github.com/javatlacati","followers_url":"https://api.github.com/users/javatlacati/followers","following_url":"https://api.github.com/users/javatlacati/following{/other_user}","gists_url":"https://api.github.com/users/javatlacati/gists{/gist_id}","starred_url":"https://api.github.com/users/javatlacati/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/javatlacati/subscriptions","organizations_url":"https://api.github.com/users/javatlacati/orgs","repos_url":"https://api.github.com/users/javatlacati/repos","events_url":"https://api.github.com/users/javatlacati/events{/privacy}","received_events_url":"https://api.github.com/users/javatlacati/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/Codewars/codewars.com/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/Codewars/codewars.com/labels/high%20priority","name":"high priority","color":"eb6420"}],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":4,"created_at":"2016-06-15T16:02:14Z","updated_at":"2016-06-23T05:31:46Z","closed_at":"2016-06-23T05:31:46Z","body":"Can't pass [this Kata](http://www.codewars.com/kata/571c0b707beb0aaa470013e7/) with the following code:\r\n````\r\ndef read_ncbi_genetic_code(string)\r\n  data=string.gsub(/(.)+=([^\\w\\*\\-\\n]+)/,'').split(/[\\n]/)\r\n  aas= data[0]\r\n  starts=data[1]\r\n  base1=data[2]\r\n  base2=data[3]\r\n  base3=data[4]\r\n  \r\n  nucleotidsAtStart = Array.new\r\n  starts.to_enum(:scan,/[^-]/).map do |m,|\r\n    nucleotidsAtStart.push base1[$`.size]+base2[$`.size]+base3[$`.size]\r\n  end\r\n  \r\n tri_amino = Hash.new\r\n aas.to_enum(:scan,/./).map do |m,|\r\n   key=base1[$`.size]+base2[$`.size]+base3[$`.size]\r\n   tri_amino.store(key, m)\r\n end\r\n \r\n  return [tri_amino,nucleotidsAtStart]\r\nend\r\n````\r\nMy solution appears in the past solutions section with formatting altered as\r\n````\r\ndef read_ncbi_genetic_code(string)  data=string.gsub(/(.)+=([^\\w\\*\\-\\n]+)/,'').split(/[\\n]/)  aas= data[0]  starts=data[1]  base1=data[2]  base2=data[3]  base3=data[4]    nucleotidsAtStart = Array.new  starts.to_enum(:scan,/[^-]/).map do |m,|\r\n    nucleotidsAtStart.push base1[$`.size]+base2[$`.size]+base3[$`.size]\r\n  end\r\n  \r\n tri_amino = Hash.new\r\n aas.to_enum(:scan,/./).map do |m,|\r\n   key=base1[$`.size]+base2[$`.size]+base3[$`.size]\r\n   tri_amino.store(key, m)\r\n end\r\n \r\n  return [tri_amino,nucleotidsAtStart]\r\nend\r\n````\r\n\r\n but solutions don't get shown."}}
{"actor":{"display_login":"jhoffner"}}