<commit_before>package com.squareup.sqldelight.core.lang

import com.intellij.psi.FileViewProvider
import com.squareup.sqldelight.core.SqlDelightFileIndex

class MigrationFile(
  viewProvider: FileViewProvider
) : SqlDelightFile(viewProvider, MigrationLanguage) {
  val version
    get() = virtualFile.nameWithoutExtension.filter { it in '0'..'9' }.toInt()

  internal fun sqliteStatements() = sqlStmtList!!.stmtList

  override val packageName = SqlDelightFileIndex.getInstance(module).packageName

  override val order = SqlDelightFileIndex.getInstance(module).ordering(this)

  override fun getFileType() = MigrationFileType
}<commit_msg>Dont initialize the package name since it can change depending on IDE project state (#1773)<commit_after>package com.squareup.sqldelight.core.lang

import com.intellij.psi.FileViewProvider
import com.squareup.sqldelight.core.SqlDelightFileIndex

class MigrationFile(
  viewProvider: FileViewProvider
) : SqlDelightFile(viewProvider, MigrationLanguage) {
  val version
    get() = virtualFile.nameWithoutExtension.filter { it in '0'..'9' }.toInt()

  internal fun sqliteStatements() = sqlStmtList!!.stmtList

  override val packageName
      get() = SqlDelightFileIndex.getInstance(module).packageName

  override val order = SqlDelightFileIndex.getInstance(module).ordering(this)

  override fun getFileType() = MigrationFileType
}
{'fraction_non_alphanumeric': 0.09110787172011661, 'fraction_numerical': 0.0058309037900874635, 'mean_word_length': 5.934343434343434, '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': '834442', 'n_tokens_mistral': 415, 'n_tokens_neox': 388, 'n_words': 87}