feat: keyword parser (#23) #24
							
								
								
									
										4
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							
							
						
						
									
										4
									
								
								.gitmodules
									
									
									
									
										vendored
									
									
								
							| 
						 | 
					@ -18,3 +18,7 @@
 | 
				
			||||||
	path = examples/dummy/error
 | 
						path = examples/dummy/error
 | 
				
			||||||
	url = ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/JOJ3-examples.git
 | 
						url = ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/JOJ3-examples.git
 | 
				
			||||||
	branch = dummy/error
 | 
						branch = dummy/error
 | 
				
			||||||
 | 
					[submodule "examples/keyword/sillycode"]
 | 
				
			||||||
 | 
						path = examples/keyword/sillycode
 | 
				
			||||||
 | 
						url = ssh://git@focs.ji.sjtu.edu.cn:2222/FOCS-dev/JOJ3-examples.git
 | 
				
			||||||
 | 
						branch = keyword/sillycode
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
| 
						 | 
					@ -1 +1 @@
 | 
				
			||||||
Subproject commit e6504575379ef49c1495dc635f7aba36f57dddc8
 | 
					Subproject commit a7001564a22f9807119efb7b8f4cf6f74d4c12fc
 | 
				
			||||||
							
								
								
									
										1
									
								
								examples/keyword/sillycode
									
									
									
									
									
										Submodule
									
								
							
							
								
								
								
								
								
								
							
						
						
									
										1
									
								
								examples/keyword/sillycode
									
									
									
									
									
										Submodule
									
								
							| 
						 | 
					@ -0,0 +1 @@
 | 
				
			||||||
 | 
					Subproject commit 09cfdedda32061a03b4335e9a0f162c7891301c9
 | 
				
			||||||
| 
						 | 
					@ -42,7 +42,7 @@ func Parse(executorResult stage.ExecutorResult, conf Conf) (
 | 
				
			||||||
		}
 | 
							}
 | 
				
			||||||
	}
 | 
						}
 | 
				
			||||||
	return stage.ParserResult{
 | 
						return stage.ParserResult{
 | 
				
			||||||
		Score:   min(score, conf.MinScore),
 | 
							Score:   max(score, conf.MinScore),
 | 
				
			||||||
		Comment: comment,
 | 
							Comment: comment,
 | 
				
			||||||
	}, matched
 | 
						}, matched
 | 
				
			||||||
}
 | 
					}
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Loading…
	
		Reference in New Issue
	
	Block a user