{
  "id": 191911,
  "title": "Submission scoring error caused by reading in a csv file.  Why?",
  "url": "/competitions/riiid-test-answer-prediction/discussion/191911",
  "author_name": "",
  "post_date": "2020-10-19T11:05:15.896579400Z",
  "votes": -1,
  "comment_count": 3,
  "views": 0,
  "content": "<p><code>raw_ess_df = pd.read_csv(\"../input/riiid-test-answer-prediction/example_sample_submission.csv\")</code></p>\n<p>Through many leaderboard submissions and commenting various lines in and out, I have  finally found that the one line above causes a \"Submission scoring error\".  I don't even use the raw_ess_df  any further in my code yet!</p>\n<p>Commenting out just that one line of code will make the leaderboard submission work correctly and I receive a score.</p>\n<p>Why would this one line cause the leaderboard submission to fail?</p>",
  "messages": [
    {
      "id": "1053781",
      "postDate": "10/19/2020 11:05:15",
      "content": "<p><code>raw_ess_df = pd.read_csv(\"../input/riiid-test-answer-prediction/example_sample_submission.csv\")</code></p>\n<p>Through many leaderboard submissions and commenting various lines in and out, I have  finally found that the one line above causes a \"Submission scoring error\".  I don't even use the raw_ess_df  any further in my code yet!</p>\n<p>Commenting out just that one line of code will make the leaderboard submission work correctly and I receive a score.</p>\n<p>Why would this one line cause the leaderboard submission to fail?</p>",
      "rawMarkdown": "``raw_ess_df = pd.read_csv(\"../input/riiid-test-answer-prediction/example_sample_submission.csv\")``\n\n\nThrough many leaderboard submissions and commenting various lines in and out, I have  finally found that the one line above causes a \"Submission scoring error\".  I don't even use the raw_ess_df  any further in my code yet!\n\nCommenting out just that one line of code will make the leaderboard submission work correctly and I receive a score.\n\nWhy would this one line cause the leaderboard submission to fail?",
      "votes": null
    },
    {
      "id": "1053819",
      "postDate": "10/19/2020 11:52:20",
      "content": "<p>That file is only to showcase how the submission should look like for the public test data and probably doesn't exist in the environment where the notebook is run for the private test data.</p>\n<p>The sample submission format for private test set is available in the <a href=\"https://www.kaggle.com/sohier/competition-api-detailed-introduction\" target=\"_blank\">API output</a> <em>(sample_prediction_df)</em> from where it can be used if need be.</p>",
      "rawMarkdown": "That file is only to showcase how the submission should look like for the public test data and probably doesn't exist in the environment where the notebook is run for the private test data.\n\nThe sample submission format for private test set is available in the [API output](https://www.kaggle.com/sohier/competition-api-detailed-introduction) *(sample_prediction_df)* from where it can be used if need be.",
      "votes": null
    },
    {
      "id": "1054619",
      "postDate": "10/20/2020 03:53:27",
      "content": "<p>I have had problems in other competitions when reading csv files that should exist.  I found in those cases that the ../ addressing seemed to be an issue and use of the full address fixed my problems.   </p>",
      "rawMarkdown": "I have had problems in other competitions when reading csv files that should exist.  I found in those cases that the ../ addressing seemed to be an issue and use of the full address fixed my problems.",
      "votes": null
    },
    {
      "id": "1060465",
      "postDate": "10/26/2020 08:11:16",
      "content": "<p>Thanks Vopani and PC Jimmmy.  I will try those things</p>",
      "rawMarkdown": "Thanks Vopani and PC Jimmmy.  I will try those things",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 1053819,
      "author_name": "rohanrao",
      "author_url": "",
      "post_date": "10/19/2020 11:52:20",
      "content": "<p>That file is only to showcase how the submission should look like for the public test data and probably doesn't exist in the environment where the notebook is run for the private test data.</p>\n<p>The sample submission format for private test set is available in the <a href=\"https://www.kaggle.com/sohier/competition-api-detailed-introduction\" target=\"_blank\">API output</a> <em>(sample_prediction_df)</em> from where it can be used if need be.</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1054619,
      "author_name": "pcjimmmy",
      "author_url": "",
      "post_date": "10/20/2020 03:53:27",
      "content": "<p>I have had problems in other competitions when reading csv files that should exist.  I found in those cases that the ../ addressing seemed to be an issue and use of the full address fixed my problems.   </p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 1060465,
      "author_name": "melaniebrennan",
      "author_url": "",
      "post_date": "10/26/2020 08:11:16",
      "content": "<p>Thanks Vopani and PC Jimmmy.  I will try those things</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "1053781": "``raw_ess_df = pd.read_csv(\"../input/riiid-test-answer-prediction/example_sample_submission.csv\")``\n\n\nThrough many leaderboard submissions and commenting various lines in and out, I have  finally found that the one line above causes a \"Submission scoring error\".  I don't even use the raw_ess_df  any further in my code yet!\n\nCommenting out just that one line of code will make the leaderboard submission work correctly and I receive a score.\n\nWhy would this one line cause the leaderboard submission to fail?",
    "1053819": "That file is only to showcase how the submission should look like for the public test data and probably doesn't exist in the environment where the notebook is run for the private test data.\n\nThe sample submission format for private test set is available in the [API output](https://www.kaggle.com/sohier/competition-api-detailed-introduction) *(sample_prediction_df)* from where it can be used if need be.",
    "1054619": "I have had problems in other competitions when reading csv files that should exist.  I found in those cases that the ../ addressing seemed to be an issue and use of the full address fixed my problems.",
    "1060465": "Thanks Vopani and PC Jimmmy.  I will try those things"
  },
  "source": "meta"
}