Exercise: Understanding Notes
Objectives
Learn to use the OpenReview API to:
Post new notes
Retrieve a specific note
Fetch all submissions for a given venue
Edit a submission (readers and content)
Delete a note
Use the OpenReview documentation and linked guides as your primary reference. Ensure that you have instantiated the API client in a variable client
before beginning.
1. Post New Test Submissions
Task: Create and post at least two submissions to a venue of your choice.
Hints:
See How to create, change, and delete notes — Posting a submission with Python.
Check your work: Open the PC Console for your venue. Your new submissions should appear under the Submission Status tab.
2. Get a Single Note
Task: Fetch and inspect one of the submissions you just posted by its note id.
Hints:
Read Introduction to Notes.
Look up
get_note(id)
in the API reference.
Check your work: Run the following code, the output should match the note ID you requested.
print(note.id)
3. Get All Submissions for a Venue
Task: Retrieve all submissions for your chosen venue.
Hints:
Check your work: Run the following code, the output should match the number of submissions in your venue.
print(len(submissions))
4. Edit a Submission
Task: Choose one of your submissions and edit the title Hints:
Same guide: How to create, change, and delete notes — Update the content of a note.
Check your work: Check the submission page on the OpenReview site. The submission should show the new title. When you click 'Show Revisions', you should see the old title in the original edit, and the current title in a more recent edit.
5. Delete a Note
Task: Remove one of your test submissions from the system.
Hints:
Same guide: How to create, change, and delete notes — Delete a note.
Check your work: Run the following code, the output should indicate the note does not exist
client.get_note("<NOTE_ID>")
Last updated
Was this helpful?