{
  "id": 336168,
  "title": "Understanding about files and fields",
  "url": "/competitions/AI4Code/discussion/336168",
  "author_name": "",
  "post_date": "2022-07-09T17:47:06.257095600Z",
  "votes": 1,
  "comment_count": 1,
  "views": 0,
  "content": "<p>Trying to understand the files and fields, please correct me if it is wrong:</p>\n<p>My understanding about data and files:</p>\n<p>Train Folder<br>\nTrain folder contains around 140,000 JSON files.<br>\nEach JSON file represents one notebook<br>\nEach JSON file contains two sections: cell_type and source<br>\nOrder of cells in both section is same.<br>\nCode cells are listed first<br>\nBelow code cells markdown cells are listed<br>\nCode cells are in correct order<br>\nMarkdown cells are not in correct order.</p>\n<p>Train_Order.CSV<br>\nThis file contains correct order of cells for JSON files in train folder</p>\n<p>train_ancestors.csv <br>\nIt is to track the copy of the notebooks<br>\nId = json file id<br>\nAncestor_id: unique id to group json files (notebooks)copied from a common main file(main notebook)<br>\nParent_id: proper version of the notebook  from which current notebook is copied</p>\n<p>Test folder: around 20000 JSON files (notebooks)</p>",
  "messages": [
    {
      "id": "1849674",
      "postDate": "07/09/2022 17:47:06",
      "content": "<p>Trying to understand the files and fields, please correct me if it is wrong:</p>\n<p>My understanding about data and files:</p>\n<p>Train Folder<br>\nTrain folder contains around 140,000 JSON files.<br>\nEach JSON file represents one notebook<br>\nEach JSON file contains two sections: cell_type and source<br>\nOrder of cells in both section is same.<br>\nCode cells are listed first<br>\nBelow code cells markdown cells are listed<br>\nCode cells are in correct order<br>\nMarkdown cells are not in correct order.</p>\n<p>Train_Order.CSV<br>\nThis file contains correct order of cells for JSON files in train folder</p>\n<p>train_ancestors.csv <br>\nIt is to track the copy of the notebooks<br>\nId = json file id<br>\nAncestor_id: unique id to group json files (notebooks)copied from a common main file(main notebook)<br>\nParent_id: proper version of the notebook  from which current notebook is copied</p>\n<p>Test folder: around 20000 JSON files (notebooks)</p>",
      "rawMarkdown": "Trying to understand the files and fields, please correct me if it is wrong:\n\nMy understanding about data and files:\n\nTrain Folder\nTrain folder contains around 140,000 JSON files.\nEach JSON file represents one notebook\nEach JSON file contains two sections: cell_type and source\nOrder of cells in both section is same.\nCode cells are listed first\nBelow code cells markdown cells are listed\nCode cells are in correct order\nMarkdown cells are not in correct order.\n\n\nTrain_Order.CSV\nThis file contains correct order of cells for JSON files in train folder\n\ntrain_ancestors.csv \nIt is to track the copy of the notebooks\nId = json file id\nAncestor_id: unique id to group json files (notebooks)copied from a common main file(main notebook)\nParent_id: proper version of the notebook  from which current notebook is copied\n\nTest folder: around 20000 JSON files (notebooks)",
      "votes": null
    },
    {
      "id": "1849676",
      "postDate": "07/09/2022 17:48:34",
      "content": "<p>followed be above post, one more question:<br>\nCells in each file are placed segregated like first all code cells in correct order and then all markdown cells in shuffled order.<br>\nIn submission file do we need to keep all code cells as it is followed by correct order of markdown cells?</p>",
      "rawMarkdown": "followed be above post, one more question:\nCells in each file are placed segregated like first all code cells in correct order and then all markdown cells in shuffled order.\nIn submission file do we need to keep all code cells as it is followed by correct order of markdown cells?",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1849676,
      "author_name": "priyankakoujalagi",
      "author_url": "",
      "post_date": "07/09/2022 17:48:34",
      "content": "<p>followed be above post, one more question:<br>\nCells in each file are placed segregated like first all code cells in correct order and then all markdown cells in shuffled order.<br>\nIn submission file do we need to keep all code cells as it is followed by correct order of markdown cells?</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1849674": "Trying to understand the files and fields, please correct me if it is wrong:\n\nMy understanding about data and files:\n\nTrain Folder\nTrain folder contains around 140,000 JSON files.\nEach JSON file represents one notebook\nEach JSON file contains two sections: cell_type and source\nOrder of cells in both section is same.\nCode cells are listed first\nBelow code cells markdown cells are listed\nCode cells are in correct order\nMarkdown cells are not in correct order.\n\n\nTrain_Order.CSV\nThis file contains correct order of cells for JSON files in train folder\n\ntrain_ancestors.csv \nIt is to track the copy of the notebooks\nId = json file id\nAncestor_id: unique id to group json files (notebooks)copied from a common main file(main notebook)\nParent_id: proper version of the notebook  from which current notebook is copied\n\nTest folder: around 20000 JSON files (notebooks)",
    "1849676": "followed be above post, one more question:\nCells in each file are placed segregated like first all code cells in correct order and then all markdown cells in shuffled order.\nIn submission file do we need to keep all code cells as it is followed by correct order of markdown cells?"
  },
  "source": "meta"
}