|  | @@ -7,12 +7,12 @@ import { SemanticAnalyser } from "../processor/semantic/semanticAnalyser";
 | 
	
		
			
				|  |  |  import { Maybe } from "./maybe";
 | 
	
		
			
				|  |  |  import { parserCodeVisual } from "./codeParser";
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -function parseActivityData (data) {
 | 
	
		
			
				|  |  | +function parseActivityData (data, ignore_logs=false) {
 | 
	
		
			
				|  |  |    let algorithm_in_ilm = null;
 | 
	
		
			
				|  |  |    if (data.split("\n::algorithm::")[1]) {
 | 
	
		
			
				|  |  |      algorithm_in_ilm = data.split("\n::algorithm::")[1].split("\n::logs::")[0];
 | 
	
		
			
				|  |  |      const logs = data.split("\n::algorithm::")[1].split("\n::logs::")[1];
 | 
	
		
			
				|  |  | -    if (logs != null) {
 | 
	
		
			
				|  |  | +    if (logs != null && ignore_logs == false) {
 | 
	
		
			
				|  |  |        parseLogs(logs);
 | 
	
		
			
				|  |  |      }
 | 
	
		
			
				|  |  |    }
 | 
	
	
		
			
				|  | @@ -76,8 +76,8 @@ export function prepareActivityToStudentHelperJSON (ilm_cont) {
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  |  }
 | 
	
		
			
				|  |  |  
 | 
	
		
			
				|  |  | -export function prepareActivityToStudentHelper (ilm_cont) {
 | 
	
		
			
				|  |  | -  const maybe_content = parseActivityData(ilm_cont);
 | 
	
		
			
				|  |  | +export function prepareActivityToStudentHelper (ilm_cont, ignore_logs=false) {
 | 
	
		
			
				|  |  | +  const maybe_content = parseActivityData(ilm_cont, ignore_logs);
 | 
	
		
			
				|  |  |    return maybe_content.map((content) => {
 | 
	
		
			
				|  |  |      const testCases = content.testcases;
 | 
	
		
			
				|  |  |      setTestCases(testCases);
 |