<commit_before># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20140128180258) do

  create_table "build_artifacts", force: true do |t|
    t.integer  "build_attempt_id"
    t.string   "log_file"
    t.datetime "created_at",       null: false
    t.datetime "updated_at",       null: false
  end

  add_index "build_artifacts", ["build_attempt_id"], name: "index_build_artifacts_on_build_attempt_id", using: :btree

  create_table "build_attempts", force: true do |t|
    t.integer  "build_part_id"
    t.datetime "started_at"
    t.datetime "finished_at"
    t.string   "builder"
    t.string   "state"
    t.datetime "created_at",    null: false
    t.datetime "updated_at",    null: false
  end

  add_index "build_attempts", ["build_part_id"], name: "index_build_attempts_on_build_part_id", using: :btree

  create_table "build_parts", force: true do |t|
    t.integer  "build_id"
    t.string   "kind"
    t.text     "paths"
    t.datetime "created_at",              null: false
    t.datetime "updated_at",              null: false
    t.text     "options"
    t.string   "queue"
    t.integer  "retry_count", default: 0
  end

  add_index "build_parts", ["build_id"], name: "index_build_parts_on_build_id", using: :btree
  add_index "build_parts", ["paths"], name: "index_build_parts_on_paths", length: {"paths"=>255}, using: :btree

  create_table "builds", force: true do |t|
    t.string   "ref"
    t.string   "state"
    t.datetime "created_at",                 null: false
    t.datetime "updated_at",                 null: false
    t.integer  "project_id"
    t.boolean  "merge_on_success"
    t.string   "branch"
    t.string   "target_name"
    t.boolean  "build_failure_email_sent"
    t.boolean  "promoted"
    t.string   "on_success_script_log_file"
    t.text     "error_details"
  end

  add_index "builds", ["project_id"], name: "index_builds_on_project_id", using: :btree
  add_index "builds", ["ref"], name: "index_builds_on_ref", using: :btree

  create_table "projects", force: true do |t|
    t.string   "name"
    t.string   "branch"
    t.datetime "created_at",    null: false
    t.datetime "updated_at",    null: false
    t.integer  "repository_id"
  end

  add_index "projects", ["name", "branch"], name: "index_projects_on_name_and_branch", using: :btree
  add_index "projects", ["repository_id"], name: "index_projects_on_repository_id", using: :btree

  create_table "repositories", force: true do |t|
    t.string   "url"
    t.string   "test_command"
    t.datetime "created_at",                                 null: false
    t.datetime "updated_at",                                 null: false
    t.integer  "github_post_receive_hook_id"
    t.boolean  "run_ci"
    t.boolean  "use_branches_on_green"
    t.boolean  "build_pull_requests"
    t.string   "on_green_update"
    t.string   "repo_cache_dir"
    t.string   "command_flag"
    t.boolean  "send_build_failure_email",    default: true
    t.string   "on_success_script"
    t.integer  "timeout",                     default: 40
    t.string   "on_success_note"
    t.string   "repository_name"
    t.boolean  "allows_kochiku_merges"
  end

  add_index "repositories", ["url"], name: "index_repositories_on_url", using: :btree

end
<commit_msg>allows_kochiku_merges missing 'default:true' in schema.rb<commit_after># encoding: UTF-8
# This file is auto-generated from the current state of the database. Instead
# of editing this file, please use the migrations feature of Active Record to
# incrementally modify your database, and then regenerate this schema definition.
#
# Note that this schema.rb definition is the authoritative source for your
# database schema. If you need to create the application database on another
# system, you should be using db:schema:load, not running all the migrations
# from scratch. The latter is a flawed and unsustainable approach (the more migrations
# you'll amass, the slower it'll run and the greater likelihood for issues).
#
# It's strongly recommended that you check this file into your version control system.

ActiveRecord::Schema.define(version: 20140128180258) do

  create_table "build_artifacts", force: true do |t|
    t.integer  "build_attempt_id"
    t.string   "log_file"
    t.datetime "created_at",       null: false
    t.datetime "updated_at",       null: false
  end

  add_index "build_artifacts", ["build_attempt_id"], name: "index_build_artifacts_on_build_attempt_id", using: :btree

  create_table "build_attempts", force: true do |t|
    t.integer  "build_part_id"
    t.datetime "started_at"
    t.datetime "finished_at"
    t.string   "builder"
    t.string   "state"
    t.datetime "created_at",    null: false
    t.datetime "updated_at",    null: false
  end

  add_index "build_attempts", ["build_part_id"], name: "index_build_attempts_on_build_part_id", using: :btree

  create_table "build_parts", force: true do |t|
    t.integer  "build_id"
    t.string   "kind"
    t.text     "paths"
    t.datetime "created_at",              null: false
    t.datetime "updated_at",              null: false
    t.text     "options"
    t.string   "queue"
    t.integer  "retry_count", default: 0
  end

  add_index "build_parts", ["build_id"], name: "index_build_parts_on_build_id", using: :btree
  add_index "build_parts", ["paths"], name: "index_build_parts_on_paths", length: {"paths"=>255}, using: :btree

  create_table "builds", force: true do |t|
    t.string   "ref"
    t.string   "state"
    t.datetime "created_at",                 null: false
    t.datetime "updated_at",                 null: false
    t.integer  "project_id"
    t.boolean  "merge_on_success"
    t.string   "branch"
    t.string   "target_name"
    t.boolean  "build_failure_email_sent"
    t.boolean  "promoted"
    t.string   "on_success_script_log_file"
    t.text     "error_details"
  end

  add_index "builds", ["project_id"], name: "index_builds_on_project_id", using: :btree
  add_index "builds", ["ref"], name: "index_builds_on_ref", using: :btree

  create_table "projects", force: true do |t|
    t.string   "name"
    t.string   "branch"
    t.datetime "created_at",    null: false
    t.datetime "updated_at",    null: false
    t.integer  "repository_id"
  end

  add_index "projects", ["name", "branch"], name: "index_projects_on_name_and_branch", using: :btree
  add_index "projects", ["repository_id"], name: "index_projects_on_repository_id", using: :btree

  create_table "repositories", force: true do |t|
    t.string   "url"
    t.string   "test_command"
    t.datetime "created_at",                                 null: false
    t.datetime "updated_at",                                 null: false
    t.integer  "github_post_receive_hook_id"
    t.boolean  "run_ci"
    t.boolean  "use_branches_on_green"
    t.boolean  "build_pull_requests"
    t.string   "on_green_update"
    t.string   "repo_cache_dir"
    t.string   "command_flag"
    t.boolean  "send_build_failure_email",    default: true
    t.string   "on_success_script"
    t.integer  "timeout",                     default: 40
    t.string   "on_success_note"
    t.string   "repository_name"
    t.boolean  "allows_kochiku_merges",       default: true
  end

  add_index "repositories", ["url"], name: "index_repositories_on_url", using: :btree

end

{'fraction_non_alphanumeric': 0.10183451890677649, 'fraction_numerical': 0.005241482590789966, 'mean_word_length': 3.2447033898305087, 'pattern_counts': {'":': 0, '<': 3, '<?xml version=': 0, '>': 5, 'https://': 0, 'lorem ipsum': 0, 'www.': 0, 'xml': 0}, 'pii_count': 0, 'substrings_counts': 0, 'word_list_counts': {'cursed_substrings.json': 4, 'profanity_word_list.json': 0, 'sexual_word_list.json': 0, 'zh_pornsignals.json': 0}}
{'dir': 'git-commits-cleaned', 'id': '6131960', 'n_tokens_mistral': 2659, 'n_tokens_neox': 2571, 'n_words': 722}