From b54d43383b9541647c3229dd546dccc1da660322 Mon Sep 17 00:00:00 2001 From: Daksh Shah <dakshah@ucsc.edu> Date: Sun, 16 Mar 2025 17:50:48 -0700 Subject: [PATCH] removed dupes --- quiz.py | 19 ++++++++++--------- 1 file changed, 10 insertions(+), 9 deletions(-) diff --git a/quiz.py b/quiz.py index 0a93463..214e004 100644 --- a/quiz.py +++ b/quiz.py @@ -161,16 +161,17 @@ causal_delivery = [ question_text="What type of property (safety vs liveness) is causal delivery?", answer_text="Safety Property (A violation has a finite witness)", ), - QuizItem( - question_text="Draw a Lamport Diagram which shows a violation of causal delivery but no FIFO delivery.", - answer_text="", - answer_image="./causal_violation_fifo.png", - ) + # QuizItem( + # question_text="Draw a Lamport Diagram which shows a violation of causal delivery but no FIFO delivery.", + # answer_text="", + # answer_image="./causal_violation_fifo.png", + # ) ] orderings = [ QuizItem( question_text="Draw a Lamport Diagram that witnesses a violation of causal ordering, but does not violate FIFO. Be able to explain why.", answer_text="", + answer_image="./causal_violation_fifo.png", ), QuizItem( question_text="Draw a Lamport Diagram that witnesses a violation of both FIFO and Causal Ordering. Be able to explain why.", @@ -253,10 +254,10 @@ consistency = [ question_text="What is are the three main types of consistency studied in class?", answer_text="1. Strong Consistency \n 2. Causal Consistency \n 3. Eventual Consistency", ), - QuizItem( - question_text="What is are the three main types of consistency studied in class?", - answer_text="1. Strong Consistency \n 2. Causal Consistency \n 3. Eventual Consistency", - ), + # QuizItem( + # question_text="What is are the three main types of consistency studied in class?", + # answer_text="1. Strong Consistency \n 2. Causal Consistency \n 3. Eventual Consistency", + # ), QuizItem( question_text="What type of property is Strong Consistency? Why?", -- GitLab