{
  "id": 400715,
  "title": "Notebook submission keeps throwing exception :(",
  "url": "/competitions/benetech-making-graphs-accessible/discussion/400715",
  "author_name": "",
  "post_date": "2023-04-09T22:58:52.218519400Z",
  "votes": 4,
  "comment_count": 4,
  "views": 0,
  "content": "<p>Anything I wasn't aware of for notebook competitions?<br>\nIt was running successfully while editing.<br>\nWhat could be wrong?</p>",
  "messages": [
    {
      "id": "2216246",
      "postDate": "04/09/2023 22:58:52",
      "content": "<p>Anything I wasn't aware of for notebook competitions?<br>\nIt was running successfully while editing.<br>\nWhat could be wrong?</p>",
      "rawMarkdown": "Anything I wasn't aware of for notebook competitions?\nIt was running successfully while editing.\nWhat could be wrong?",
      "votes": null
    },
    {
      "id": "2217491",
      "postDate": "04/11/2023 00:31:20",
      "content": "<p><a href=\"https://www.kaggle.com/zhugds\" target=\"_blank\">@zhugds</a> <br>\n<a href=\"https://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match\" target=\"_blank\">https://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match</a><br>\n<code>raise ValueError(\"Must have exactly one prediction for each ground-truth instance.\")</code><br>\n<code>raise ValueError(f\"Predictions must have columns: {ground_truth.columns}.\")</code></p>\n<p>Something you should check:</p>\n<ol>\n<li>Prevent your predictions from being empty.</li>\n<li>Use <code>try</code> <code>except</code> to prevent your code from crashing for some special samples.</li>\n<li>Be careful when your predictions contain <code>\\n</code>,<code>,</code>,<code>;</code></li>\n</ol>",
      "rawMarkdown": "zhugds \nhttps://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match\n`raise ValueError(\"Must have exactly one prediction for each ground-truth instance.\")`\n`raise ValueError(f\"Predictions must have columns: {ground_truth.columns}.\")`\n\nSomething you should check:\n1. Prevent your predictions from being empty.\n2. Use `try` `except` to prevent your code from crashing for some special samples.\n3. Be careful when your predictions contain `\\n`,`,`,`;`",
      "votes": null
    },
    {
      "id": "2217559",
      "postDate": "04/11/2023 02:44:09",
      "content": "<p>Thank you. This is helpful!</p>",
      "rawMarkdown": "Thank you. This is helpful!",
      "votes": null
    },
    {
      "id": "2237680",
      "postDate": "04/27/2023 21:10:14",
      "content": "<p>This is awkward. It just kept happening. 🙁<br>\nWhat are useful tips for notebook competitions?</p>",
      "rawMarkdown": "This is awkward. It just kept happening. 🙁\nWhat are useful tips for notebook competitions?",
      "votes": null
    },
    {
      "id": "2237682",
      "postDate": "04/27/2023 21:19:04",
      "content": "<p><a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a>, is it possible to provide any useful information when throwing exceptions? <br>\nClearly, it was not about my predictions because it threw exceptions in a few minutes after finishing the notebook on those 5 testing images.</p>",
      "rawMarkdown": "ryanholbrook, is it possible to provide any useful information when throwing exceptions? \nClearly, it was not about my predictions because it threw exceptions in a few minutes after finishing the notebook on those 5 testing images.",
      "votes": null
    }
  ],
  "comments": [
    {
      "id": 2217491,
      "author_name": "wenkliu",
      "author_url": "",
      "post_date": "04/11/2023 00:31:20",
      "content": "<p><a href=\"https://www.kaggle.com/zhugds\" target=\"_blank\">@zhugds</a> <br>\n<a href=\"https://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match\" target=\"_blank\">https://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match</a><br>\n<code>raise ValueError(\"Must have exactly one prediction for each ground-truth instance.\")</code><br>\n<code>raise ValueError(f\"Predictions must have columns: {ground_truth.columns}.\")</code></p>\n<p>Something you should check:</p>\n<ol>\n<li>Prevent your predictions from being empty.</li>\n<li>Use <code>try</code> <code>except</code> to prevent your code from crashing for some special samples.</li>\n<li>Be careful when your predictions contain <code>\\n</code>,<code>,</code>,<code>;</code></li>\n</ol>",
      "votes": null,
      "replies": [
        {
          "id": 2217559,
          "author_name": "zhugds",
          "author_url": "",
          "post_date": "04/11/2023 02:44:09",
          "content": "<p>Thank you. This is helpful!</p>",
          "votes": null,
          "replies": []
        }
      ]
    },
    {
      "id": 2237680,
      "author_name": "zhugds",
      "author_url": "",
      "post_date": "04/27/2023 21:10:14",
      "content": "<p>This is awkward. It just kept happening. 🙁<br>\nWhat are useful tips for notebook competitions?</p>",
      "votes": null,
      "replies": []
    },
    {
      "id": 2237682,
      "author_name": "zhugds",
      "author_url": "",
      "post_date": "04/27/2023 21:19:04",
      "content": "<p><a href=\"https://www.kaggle.com/ryanholbrook\" target=\"_blank\">@ryanholbrook</a>, is it possible to provide any useful information when throwing exceptions? <br>\nClearly, it was not about my predictions because it threw exceptions in a few minutes after finishing the notebook on those 5 testing images.</p>",
      "votes": null,
      "replies": []
    }
  ],
  "raw_markdown_by_id": {
    "2216246": "Anything I wasn't aware of for notebook competitions?\nIt was running successfully while editing.\nWhat could be wrong?",
    "2217491": "zhugds \nhttps://www.kaggle.com/code/ryanholbrook/competition-metric-benetech-mixed-match\n`raise ValueError(\"Must have exactly one prediction for each ground-truth instance.\")`\n`raise ValueError(f\"Predictions must have columns: {ground_truth.columns}.\")`\n\nSomething you should check:\n1. Prevent your predictions from being empty.\n2. Use `try` `except` to prevent your code from crashing for some special samples.\n3. Be careful when your predictions contain `\\n`,`,`,`;`",
    "2217559": "Thank you. This is helpful!",
    "2237680": "This is awkward. It just kept happening. 🙁\nWhat are useful tips for notebook competitions?",
    "2237682": "ryanholbrook, is it possible to provide any useful information when throwing exceptions? \nClearly, it was not about my predictions because it threw exceptions in a few minutes after finishing the notebook on those 5 testing images."
  },
  "source": "meta"
}