Skip to content

Commit

Permalink
fixes a bug with private submissions
Browse files Browse the repository at this point in the history
  • Loading branch information
ahmadshallouf committed Oct 1, 2024
1 parent f53b782 commit f2a4df8
Show file tree
Hide file tree
Showing 2 changed files with 38 additions and 2 deletions.
3 changes: 1 addition & 2 deletions CompUGE-Backend/services/submissions_service.py
Original file line number Diff line number Diff line change
Expand Up @@ -40,8 +40,7 @@ def submit_solution(task, dataset, submission_dict):
link = submission_dict["modelLink"]
team = submission_dict["teamName"]
email = submission_dict["contactEmail"]
is_public = bool(submission_dict["isPublic"])

is_public = bool(submission_dict["isPublic"] == "true")
labels = get_test_labels(task, dataset)
if labels is None:
return "Error getting test labels"
Expand Down
37 changes: 37 additions & 0 deletions CompUGE-Research/Splits/oai_webis_beloucif_merged/anaylsis.ipynb
Original file line number Diff line number Diff line change
@@ -0,0 +1,37 @@
{
"cells": [
{
"cell_type": "code",
"execution_count": null,
"id": "initial_id",
"metadata": {
"collapsed": true
},
"outputs": [],
"source": [
""
]
}
],
"metadata": {
"kernelspec": {
"display_name": "Python 3",
"language": "python",
"name": "python3"
},
"language_info": {
"codemirror_mode": {
"name": "ipython",
"version": 2
},
"file_extension": ".py",
"mimetype": "text/x-python",
"name": "python",
"nbconvert_exporter": "python",
"pygments_lexer": "ipython2",
"version": "2.7.6"
}
},
"nbformat": 4,
"nbformat_minor": 5
}

0 comments on commit f2a4df8

Please sign in to comment.