Skip to content

Commit 6e645d8

Browse files
committed
synpy-1577: Note the evaluation must be globally unique
1 parent 5b36421 commit 6e645d8

File tree

2 files changed

+8
-2
lines changed

2 files changed

+8
-2
lines changed

docs/tutorials/python/submissionview.md

Lines changed: 6 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -31,6 +31,9 @@ and create an evaluation queue that will be used in the view.
3131
You will want to replace `"My uniquely named project about Alzheimer's Disease"` with
3232
the name of your project.
3333

34+
The name of the Evaluation must also be globally unique. Please update
35+
`"Test Evaluation Queue for Alzheimer conference"` with a new value.
36+
3437
```python
3538
{!docs/tutorials/python/tutorial_scripts/submissionview.py!lines=13-44}
3639
```
@@ -86,6 +89,9 @@ Submission status: SCORED
8689
As your challenge evolves, you might need to add more evaluation queues to your SubmissionView.
8790
Here's how to create another evaluation queue and add it to your view's scope.
8891

92+
The name of the Evaluation must also be globally unique. Please update
93+
`"Second Test Evaluation Queue for Alzheimer conference"` with a new value.
94+
8995
```python
9096
{!docs/tutorials/python/tutorial_scripts/submissionview.py!lines=128-143}
9197
```

docs/tutorials/python/tutorial_scripts/submissionview.py

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -34,7 +34,7 @@
3434
project_id = my_project.id
3535
print(f"My project ID is: {project_id}")
3636

37-
# Step 1: Set up and create an evaluation queue
37+
# Step 1: Set up and create an evaluation queue - Must be globally unique
3838
evaluation_name = "Test Evaluation Queue for Alzheimer conference"
3939
evaluation_description = "Evaluation queue for testing submission view"
4040
evaluation = Evaluation(
@@ -130,7 +130,7 @@
130130

131131
# Create another evaluation queue to demonstrate adding to the scope
132132
second_evaluation = Evaluation(
133-
name="Second Test Evaluation Queue for Alzheimer conference",
133+
name="Second Test Evaluation Queue for Alzheimer conference", # Must be globally unique
134134
description="Another evaluation queue for testing submission view",
135135
contentSource=project_id,
136136
)

0 commit comments

Comments
 (0)