{
  "id": 384555,
  "title": "any problem on my submission file?",
  "url": "/competitions/predict-student-performance-from-game-play/discussion/384555",
  "author_name": "",
  "post_date": "2023-02-08T12:09:58.072686800Z",
  "votes": 8,
  "comment_count": 9,
  "views": 0,
  "content": "<p>any problem on my submission file?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1885842%2F65268602290014b5d89f03e4384cc3f3%2Fcapture1.PNG?generation=1675858419221067&amp;alt=media\" alt=\"\"></p>\n<p>it keep fails..<br>\nit includes all the samples and prediction though…</p>",
  "messages": [
    {
      "id": "2135031",
      "postDate": "02/08/2023 12:09:58",
      "content": "<p>any problem on my submission file?<br>\n<img src=\"https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1885842%2F65268602290014b5d89f03e4384cc3f3%2Fcapture1.PNG?generation=1675858419221067&amp;alt=media\" alt=\"\"></p>\n<p>it keep fails..<br>\nit includes all the samples and prediction though…</p>",
      "rawMarkdown": "any problem on my submission file?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1885842%2F65268602290014b5d89f03e4384cc3f3%2Fcapture1.PNG?generation=1675858419221067&alt=media)\n\nit keep fails..\nit includes all the samples and prediction though...",
      "votes": null
    },
    {
      "id": "2135168",
      "postDate": "02/08/2023 13:49:51",
      "content": "<p>What error are you receiving?</p>",
      "rawMarkdown": "What error are you receiving?",
      "votes": null
    },
    {
      "id": "2135169",
      "postDate": "02/08/2023 13:50:17",
      "content": "<p>Your subsission file structure is incorrect. See sample submission<br>\nsession_id,correct,session_level<br>\n20090109393214576_q1,0,20090109393214576_0-4</p>",
      "rawMarkdown": "Your subsission file structure is incorrect. See sample submission\nsession_id,correct,session_level\n20090109393214576_q1,0,20090109393214576_0-4",
      "votes": null
    },
    {
      "id": "2135256",
      "postDate": "02/08/2023 14:30:55",
      "content": "<blockquote>\n  <p>Note that the sample_submission.csv provided for your usage also includes a grouping variable, session_level, that groups the questions by session and level. <strong>This is handled automatically by the timeseries API</strong>, so when making predictions <strong>you will not have access to this column</strong>.</p>\n</blockquote>",
      "rawMarkdown": ">Note that the sample_submission.csv provided for your usage also includes a grouping variable, session_level, that groups the questions by session and level. **This is handled automatically by the timeseries API**, so when making predictions **you will not have access to this column**.",
      "votes": null
    },
    {
      "id": "2135510",
      "postDate": "02/08/2023 17:18:18",
      "content": "<p>so, what's the problem of my submission file? T_T </p>",
      "rawMarkdown": "so, what's the problem of my submission file? T_T",
      "votes": null
    },
    {
      "id": "2135511",
      "postDate": "02/08/2023 17:18:47",
      "content": "<p>just shows failed…no detailed error message.</p>",
      "rawMarkdown": "just shows failed...no detailed error message.",
      "votes": null
    },
    {
      "id": "2135649",
      "postDate": "02/08/2023 19:13:15",
      "content": "<p>your submission should be generated like here <a href=\"https://www.kaggle.com/code/philculliton/basic-submission-demo\" target=\"_blank\">https://www.kaggle.com/code/philculliton/basic-submission-demo</a></p>",
      "rawMarkdown": "your submission should be generated like here https://www.kaggle.com/code/philculliton/basic-submission-demo",
      "votes": null
    },
    {
      "id": "2137404",
      "postDate": "02/10/2023 00:40:51",
      "content": "<p>I'm having the exact same issue: cannot work out what is wrong with my output file and unsure what I'm doing differently to the basic submission demo</p>",
      "rawMarkdown": "I'm having the exact same issue: cannot work out what is wrong with my output file and unsure what I'm doing differently to the basic submission demo",
      "votes": null
    },
    {
      "id": "2139564",
      "postDate": "02/10/2023 21:51:45",
      "content": "<p>I think the problem is <strong>not</strong> your submission file. I think if we have an error in our code that makes the for-loop fail:</p>\n<pre><code>for (sample_submission, test) in iter_test:\n</code></pre>\n<p>then we will not have the correct submission.csv. Every iteration of the for-loop adds to the submission.csv file with the call to <code>env.predict(sample_submission)</code>. Therefore if the for-loop ends early due to an error then the submission.csv file will not contain all the users and Kaggle will say </p>\n<blockquote>\n  <p>Submission Scoring Error<br>\n  Your notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>\n</blockquote>\n<p>Specifically, we will have <code>wrong number of rows</code>. So we need to figure out what is causing the error. This has been happening to my latest submissions. After 1 minute my submit stops and i get this error message but my code should take over 1 hour to infer, so certainly my for-loop did not complete. Something must have caused my for-loop to end early and produce this misleading error message.</p>",
      "rawMarkdown": "I think the problem is **not** your submission file. I think if we have an error in our code that makes the for-loop fail:\n\n    for (sample_submission, test) in iter_test:\n\nthen we will not have the correct submission.csv. Every iteration of the for-loop adds to the submission.csv file with the call to `env.predict(sample_submission)`. Therefore if the for-loop ends early due to an error then the submission.csv file will not contain all the users and Kaggle will say \n\n>Submission Scoring Error\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips\n\nSpecifically, we will have `wrong number of rows`. So we need to figure out what is causing the error. This has been happening to my latest submissions. After 1 minute my submit stops and i get this error message but my code should take over 1 hour to infer, so certainly my for-loop did not complete. Something must have caused my for-loop to end early and produce this misleading error message.",
      "votes": null
    },
    {
      "id": "2139639",
      "postDate": "02/11/2023 00:13:40",
      "content": "<p>ahhh, this makes sense - I'm not sure what the issue is, but at least I can start digging now. Thanks!</p>",
      "rawMarkdown": "ahhh, this makes sense - I'm not sure what the issue is, but at least I can start digging now. Thanks!",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2135168,
      "author_name": "mudikos",
      "author_url": "",
      "post_date": "02/08/2023 13:49:51",
      "content": "<p>What error are you receiving?</p>",
      "votes": null,
      "replies": [
        {
          "id": 2135511,
          "author_name": "kimtaehun",
          "author_url": "",
          "post_date": "02/08/2023 17:18:47",
          "content": "<p>just shows failed…no detailed error message.</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2135169,
      "author_name": "sakvaua",
      "author_url": "",
      "post_date": "02/08/2023 13:50:17",
      "content": "<p>Your subsission file structure is incorrect. See sample submission<br>\nsession_id,correct,session_level<br>\n20090109393214576_q1,0,20090109393214576_0-4</p>",
      "votes": null,
      "replies": [
        {
          "id": 2135256,
          "author_name": "allvor",
          "author_url": "",
          "post_date": "02/08/2023 14:30:55",
          "content": "<blockquote>\n  <p>Note that the sample_submission.csv provided for your usage also includes a grouping variable, session_level, that groups the questions by session and level. <strong>This is handled automatically by the timeseries API</strong>, so when making predictions <strong>you will not have access to this column</strong>.</p>\n</blockquote>",
          "votes": null,
          "replies": [
            {
              "id": 2135510,
              "author_name": "kimtaehun",
              "author_url": "",
              "post_date": "02/08/2023 17:18:18",
              "content": "<p>so, what's the problem of my submission file? T_T </p>",
              "votes": null,
              "replies": []
            }
          ]
        }
      ]
    },
    {
      "id": 2135649,
      "author_name": "kvlmll",
      "author_url": "",
      "post_date": "02/08/2023 19:13:15",
      "content": "<p>your submission should be generated like here <a href=\"https://www.kaggle.com/code/philculliton/basic-submission-demo\" target=\"_blank\">https://www.kaggle.com/code/philculliton/basic-submission-demo</a></p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2137404,
      "author_name": "dodgerjam",
      "author_url": "",
      "post_date": "02/10/2023 00:40:51",
      "content": "<p>I'm having the exact same issue: cannot work out what is wrong with my output file and unsure what I'm doing differently to the basic submission demo</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2139564,
      "author_name": "cdeotte",
      "author_url": "",
      "post_date": "02/10/2023 21:51:45",
      "content": "<p>I think the problem is <strong>not</strong> your submission file. I think if we have an error in our code that makes the for-loop fail:</p>\n<pre><code>for (sample_submission, test) in iter_test:\n</code></pre>\n<p>then we will not have the correct submission.csv. Every iteration of the for-loop adds to the submission.csv file with the call to <code>env.predict(sample_submission)</code>. Therefore if the for-loop ends early due to an error then the submission.csv file will not contain all the users and Kaggle will say </p>\n<blockquote>\n  <p>Submission Scoring Error<br>\n  Your notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips</p>\n</blockquote>\n<p>Specifically, we will have <code>wrong number of rows</code>. So we need to figure out what is causing the error. This has been happening to my latest submissions. After 1 minute my submit stops and i get this error message but my code should take over 1 hour to infer, so certainly my for-loop did not complete. Something must have caused my for-loop to end early and produce this misleading error message.</p>",
      "votes": null,
      "replies": [
        {
          "id": 2139639,
          "author_name": "dodgerjam",
          "author_url": "",
          "post_date": "02/11/2023 00:13:40",
          "content": "<p>ahhh, this makes sense - I'm not sure what the issue is, but at least I can start digging now. Thanks!</p>",
          "votes": null,
          "replies": []
        }
      ]
    }
  ],
  "raw_markdown_by_id": {
    "2135031": "any problem on my submission file?\n![](https://www.googleapis.com/download/storage/v1/b/kaggle-forum-message-attachments/o/inbox%2F1885842%2F65268602290014b5d89f03e4384cc3f3%2Fcapture1.PNG?generation=1675858419221067&alt=media)\n\nit keep fails..\nit includes all the samples and prediction though...",
    "2135168": "What error are you receiving?",
    "2135169": "Your subsission file structure is incorrect. See sample submission\nsession_id,correct,session_level\n20090109393214576_q1,0,20090109393214576_0-4",
    "2135256": ">Note that the sample_submission.csv provided for your usage also includes a grouping variable, session_level, that groups the questions by session and level. **This is handled automatically by the timeseries API**, so when making predictions **you will not have access to this column**.",
    "2135510": "so, what's the problem of my submission file? T_T",
    "2135511": "just shows failed...no detailed error message.",
    "2135649": "your submission should be generated like here https://www.kaggle.com/code/philculliton/basic-submission-demo",
    "2137404": "I'm having the exact same issue: cannot work out what is wrong with my output file and unsure what I'm doing differently to the basic submission demo",
    "2139564": "I think the problem is **not** your submission file. I think if we have an error in our code that makes the for-loop fail:\n\n    for (sample_submission, test) in iter_test:\n\nthen we will not have the correct submission.csv. Every iteration of the for-loop adds to the submission.csv file with the call to `env.predict(sample_submission)`. Therefore if the for-loop ends early due to an error then the submission.csv file will not contain all the users and Kaggle will say \n\n>Submission Scoring Error\nYour notebook generated a submission file with incorrect format. Some examples causing this are: wrong number of rows or columns, empty values, an incorrect data type for a value, or invalid submission values from what is expected. See more debugging tips\n\nSpecifically, we will have `wrong number of rows`. So we need to figure out what is causing the error. This has been happening to my latest submissions. After 1 minute my submit stops and i get this error message but my code should take over 1 hour to infer, so certainly my for-loop did not complete. Something must have caused my for-loop to end early and produce this misleading error message.",
    "2139639": "ahhh, this makes sense - I'm not sure what the issue is, but at least I can start digging now. Thanks!"
  },
  "source": "meta"
}