{
  "id": 197623,
  "title": "How to merge lectures.csv and questions.csv",
  "url": "/competitions/riiid-test-answer-prediction/discussion/197623",
  "author_name": "Solomon Xian",
  "post_date": "2020-11-17T10:07:18.936000",
  "votes": 4,
  "comment_count": 0,
  "views": 0,
  "content": "<p>How to merge lectures.csv and questions.csv ?</p>\n<p>Their tags seems different, also lecture_id != question_id <br>\nfor example, the same tag but different part</p>\n<table>\n<thead>\n<tr>\n<th>lecture_id</th>\n<th>tag</th>\n<th>part</th>\n<th>type_of</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>89</td>\n<td>159</td>\n<td>5</td>\n<td>concept</td>\n</tr>\n</tbody>\n</table>\n<table>\n<thead>\n<tr>\n<th>question_id</th>\n<th>bundle_id</th>\n<th>correct_answer</th>\n<th>part</th>\n<th>tags</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>10764</td>\n<td>10763</td>\n<td>0</td>\n<td>6</td>\n<td>159</td>\n</tr>\n</tbody>\n</table>\n<p>update:<br>\nActually one tag may has more than one part<br>\nSo it means there's not a one on one association </p>\n<p>That's why question has 'tags' instand of 'tag' in questions.csv</p>\n<table>\n<thead>\n<tr>\n<th>lecture_id</th>\n<th>tag</th>\n<th>part</th>\n<th>type_of</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>89</td>\n<td>159</td>\n<td>5</td>\n<td>concept</td>\n</tr>\n<tr>\n<td>10010</td>\n<td>159</td>\n<td>6</td>\n<td>solving question</td>\n</tr>\n<tr>\n<td>22619</td>\n<td>159</td>\n<td>6</td>\n<td>concept</td>\n</tr>\n<tr>\n<td>30687</td>\n<td>159</td>\n<td>5</td>\n<td>solving question</td>\n</tr>\n</tbody>\n</table>",
  "messages": [
    {
      "id": 1081812,
      "postDate": "2020-11-17T10:07:18.937Z",
      "content": "<p>How to merge lectures.csv and questions.csv ?</p>\n<p>Their tags seems different, also lecture_id != question_id <br>\nfor example, the same tag but different part</p>\n<table>\n<thead>\n<tr>\n<th>lecture_id</th>\n<th>tag</th>\n<th>part</th>\n<th>type_of</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>89</td>\n<td>159</td>\n<td>5</td>\n<td>concept</td>\n</tr>\n</tbody>\n</table>\n<table>\n<thead>\n<tr>\n<th>question_id</th>\n<th>bundle_id</th>\n<th>correct_answer</th>\n<th>part</th>\n<th>tags</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>10764</td>\n<td>10763</td>\n<td>0</td>\n<td>6</td>\n<td>159</td>\n</tr>\n</tbody>\n</table>\n<p>update:<br>\nActually one tag may has more than one part<br>\nSo it means there's not a one on one association </p>\n<p>That's why question has 'tags' instand of 'tag' in questions.csv</p>\n<table>\n<thead>\n<tr>\n<th>lecture_id</th>\n<th>tag</th>\n<th>part</th>\n<th>type_of</th>\n</tr>\n</thead>\n<tbody>\n<tr>\n<td>89</td>\n<td>159</td>\n<td>5</td>\n<td>concept</td>\n</tr>\n<tr>\n<td>10010</td>\n<td>159</td>\n<td>6</td>\n<td>solving question</td>\n</tr>\n<tr>\n<td>22619</td>\n<td>159</td>\n<td>6</td>\n<td>concept</td>\n</tr>\n<tr>\n<td>30687</td>\n<td>159</td>\n<td>5</td>\n<td>solving question</td>\n</tr>\n</tbody>\n</table>",
      "rawMarkdown": "How to merge lectures.csv and questions.csv ?\n\nTheir tags seems different, also lecture_id != question_id \nfor example, the same tag but different part\n\n| lecture_id|\ttag|\tpart|\ttype_of | \n| --- | --- |\n|  89|159|5|concept|  \n\n\n| question_id | bundle_id | correct_answer | part | tags\n| --- | --- |\n|  10764  |10763|\t0|\t6|\t159\n\nupdate:\nActually one tag may has more than one part\nSo it means there's not a one on one association \n\nThat's why question has 'tags' instand of 'tag' in questions.csv\n\n| lecture_id|\ttag|\tpart|\ttype_of | \n| --- | --- |\n|  89|159|5|concept|  \n10010| \t159| \t6| \tsolving question| \n22619| \t159| \t6| \tconcept| \n30687| \t159| \t5| \tsolving question| ",
      "votes": 4
    }
  ],
  "comments": [],
  "raw_markdown_by_id": {
    "1081812": "How to merge lectures.csv and questions.csv ?\n\nTheir tags seems different, also lecture_id != question_id \nfor example, the same tag but different part\n\n| lecture_id|\ttag|\tpart|\ttype_of | \n| --- | --- |\n|  89|159|5|concept|  \n\n\n| question_id | bundle_id | correct_answer | part | tags\n| --- | --- |\n|  10764  |10763|\t0|\t6|\t159\n\nupdate:\nActually one tag may has more than one part\nSo it means there's not a one on one association \n\nThat's why question has 'tags' instand of 'tag' in questions.csv\n\n| lecture_id|\ttag|\tpart|\ttype_of | \n| --- | --- |\n|  89|159|5|concept|  \n10010| \t159| \t6| \tsolving question| \n22619| \t159| \t6| \tconcept| \n30687| \t159| \t5| \tsolving question| "
  }
}