| 
															
																@@ -898,7 +898,8 @@ function updateSequenceFunction (oldIndex, newIndex) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 function runCodeAssessment () { 
															 | 
															
															 | 
															
																 function runCodeAssessment () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   if (isRunning) { 
															 | 
															
															 | 
															
																   if (isRunning) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    return; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    // cannot run assessment or it's already running 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    return -1; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   } 
															 | 
															
															 | 
															
																   } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																    
															 | 
															
															 | 
															
																    
															 | 
														
													
												
													
														
															| 
															 | 
															
																   let strCode = null; 
															 | 
															
															 | 
															
																   let strCode = null; 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -912,7 +913,8 @@ function runCodeAssessment () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   } 
															 | 
															
															 | 
															
																   } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																   if (strCode == null) { 
															 | 
															
															 | 
															
																   if (strCode == null) { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-    return; 
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    // No code, so no assessment 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+    return -1; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   } 
															 | 
															
															 | 
															
																   } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																   toggleConsole(true); 
															 | 
															
															 | 
															
																   toggleConsole(true); 
															 | 
														
													
												
											
												
													
														
															 | 
															
																@@ -933,7 +935,7 @@ function runCodeAssessment () { 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     console.log(err); 
															 | 
															
															 | 
															
																     console.log(err); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																     isRunning = false; 
															 | 
															
															 | 
															
																     isRunning = false; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																   }); 
															 | 
															
															 | 
															
																   }); 
															 | 
														
													
												
													
														
															| 
															 | 
															
																-   
															 | 
															
															 | 
															
																 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 
															 | 
															
															 | 
															
																+  return 0; 
															 | 
														
													
												
													
														
															| 
															 | 
															
																 } 
															 | 
															
															 | 
															
																 } 
															 | 
														
													
												
													
														
															| 
															 | 
															
																  
															 | 
															
															 | 
															
																  
															 | 
														
													
												
													
														
															| 
															 | 
															
																 function runCode () { 
															 | 
															
															 | 
															
																 function runCode () { 
															 |