<commit_before>CREATE TABLE IF NOT EXISTS `nflgameinstances` (
  `InstanceID` int(11) NOT NULL AUTO_INCREMENT,
  `GameID` varchar(50) NOT NULL,
  `Date` date NOT NULL,
  `StateID` tinyint(4) NOT NULL,
  `Time` varchar(50) NOT NULL,
  `SeasonYear` varchar(50) NOT NULL,
  `SeasonType` varchar(50) NOT NULL,
  `SeasonWeek` varchar(50) NOT NULL,
  `Quarter` varchar(50) NOT NULL,
  `AwayTeamID` tinyint(4) NOT NULL,
  `AwayScore` tinyint(4) NOT NULL,
  `HomeTeamID` tinyint(4) NOT NULL,
  `HomeScore` tinyint(4) NOT NULL,
  `RecordedOn` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`InstanceID`),
  KEY `FK_NFLGameInstances_StateID` (`StateID`),
  KEY `FK_NFLGameInstances_AwayTeamID` (`AwayTeamID`),
  KEY `FK_NFLGameInstances_HomeTeamID` (`HomeTeamID`),
  KEY `IX_NFLGameInstances_GameID` (`GameID`,`RecordedOn`),
  CONSTRAINT `FK_NFLGameInstances_AwayTeamID` FOREIGN KEY (`AwayTeamID`) REFERENCES `nhlteams` (`TeamID`),
  CONSTRAINT `FK_NFLGameInstances_HomeTeamID` FOREIGN KEY (`HomeTeamID`) REFERENCES `nhlteams` (`TeamID`),
  CONSTRAINT `FK_NFLGameInstances_StateID` FOREIGN KEY (`StateID`) REFERENCES `nhlstates` (`StateID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;<commit_msg>fix foreign key reference<commit_after>CREATE TABLE IF NOT EXISTS `nflgameinstances` (
  `InstanceID` int(11) NOT NULL AUTO_INCREMENT,
  `GameID` varchar(50) NOT NULL,
  `Date` date NOT NULL,
  `StateID` tinyint(4) NOT NULL,
  `Time` varchar(50) NOT NULL,
  `SeasonYear` varchar(50) NOT NULL,
  `SeasonType` varchar(50) NOT NULL,
  `SeasonWeek` varchar(50) NOT NULL,
  `Quarter` varchar(50) NOT NULL,
  `AwayTeamID` tinyint(4) NOT NULL,
  `AwayScore` tinyint(4) NOT NULL,
  `HomeTeamID` tinyint(4) NOT NULL,
  `HomeScore` tinyint(4) NOT NULL,
  `RecordedOn` timestamp NOT NULL DEFAULT CURRENT_TIMESTAMP,
  PRIMARY KEY (`InstanceID`),
  KEY `FK_NFLGameInstances_StateID` (`StateID`),
  KEY `FK_NFLGameInstances_AwayTeamID` (`AwayTeamID`),
  KEY `FK_NFLGameInstances_HomeTeamID` (`HomeTeamID`),
  KEY `IX_NFLGameInstances_GameID` (`GameID`,`RecordedOn`),
  CONSTRAINT `FK_NFLGameInstances_AwayTeamID` FOREIGN KEY (`AwayTeamID`) REFERENCES `nflteams` (`TeamID`),
  CONSTRAINT `FK_NFLGameInstances_HomeTeamID` FOREIGN KEY (`HomeTeamID`) REFERENCES `nflteams` (`TeamID`),
  CONSTRAINT `FK_NFLGameInstances_StateID` FOREIGN KEY (`StateID`) REFERENCES `nflstates` (`StateID`)
) ENGINE=InnoDB DEFAULT CHARSET=utf8;
{'fraction_non_alphanumeric': 0.125, 'fraction_numerical': 0.016666666666666666, 'mean_word_length': 6.795454545454546, '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': '5085731', 'n_tokens_mistral': 1004, 'n_tokens_neox': 918, 'n_words': 216}