<commit_before>activity org.ruboto.test_app.StackActivity

setup do |activity|
  start = Time.now
  loop do
    @text_view = activity.findViewById(42)
    break if @text_view || (Time.now - start > 60)
    sleep 1
  end
  assert @text_view
end

test('stack depth') do |activity|
  os_offset = {13 => 1, 15 => 1, 16 => 1}[android.os.Build::VERSION::SDK_INT].to_i
  if org.ruboto.JRubyAdapter.uses_platform_apk?
    jruby_offset = {
        '0.4.7' => [0, 0, 0, 0],
        '0.4.8.dev' => [0, 1, 4, -1],
    }[org.ruboto.JRubyAdapter.platform_version_name] || [0, 0, 0, 0]
  else<commit_msg>* Try to fix tests.<commit_after>activity org.ruboto.test_app.StackActivity

setup do |activity|
  start = Time.now
  loop do
    @text_view = activity.findViewById(42)
    break if @text_view || (Time.now - start > 60)
    sleep 1
  end
  assert @text_view
end

test('stack depth') do |activity|
  os_offset = {13 => 1, 15 => 1, 16 => 1}[android.os.Build::VERSION::SDK_INT].to_i
  if org.ruboto.JRubyAdapter.uses_platform_apk?
    jruby_offset = {
        '0.4.7' => [0, 0, 0, 0],
        '0.4.8.dev' => [0, 1, 4, 4],
    }[org.ruboto.JRubyAdapter.platform_version_name] || [0, 0, 0, 0]
  else
{'fraction_non_alphanumeric': 0.1614539306846999, 'fraction_numerical': 0.05409974640743871, 'mean_word_length': 3.1543859649122807, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 15, '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': '5649395', 'n_tokens_mistral': 519, 'n_tokens_neox': 459, 'n_words': 109}