Compare commits
	
		
			No commits in common. "master" and "sample/success" have entirely different histories.
		
	
	
		
			master
			...
			sample/suc
		
	
		
							
								
								
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								.gitignore
									
									
									
									
										vendored
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | joj3_result.json | ||||||
							
								
								
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										55
									
								
								conf.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1,55 @@ | ||||||
|  | { | ||||||
|  |   "stages": [ | ||||||
|  |     { | ||||||
|  |       "name": "sample", | ||||||
|  |       "executor": { | ||||||
|  |         "name": "sandbox", | ||||||
|  |         "with": { | ||||||
|  |           "default": { | ||||||
|  |             "args": [ | ||||||
|  |               "./sample", | ||||||
|  |               "--score", | ||||||
|  |               "100" | ||||||
|  |             ], | ||||||
|  |             "env": [ | ||||||
|  |               "PATH=/usr/bin:/bin" | ||||||
|  |             ], | ||||||
|  |             "cpuLimit": 10000000000, | ||||||
|  |             "memoryLimit": 104857600, | ||||||
|  |             "procLimit": 50, | ||||||
|  |             "copyInDir": ".", | ||||||
|  |             "copyIn": { | ||||||
|  |               "sample": { | ||||||
|  |                 "src": "./../../../../../../build/sample" | ||||||
|  |               } | ||||||
|  |             }, | ||||||
|  |             "copyOut": [ | ||||||
|  |               "stdout", | ||||||
|  |               "stderr" | ||||||
|  |             ], | ||||||
|  |             "stdin": { | ||||||
|  |               "content": "" | ||||||
|  |             }, | ||||||
|  |             "stdout": { | ||||||
|  |               "name": "stdout", | ||||||
|  |               "max": 4096 | ||||||
|  |             }, | ||||||
|  |             "stderr": { | ||||||
|  |               "name": "stderr", | ||||||
|  |               "max": 4096 | ||||||
|  |             } | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       }, | ||||||
|  |       "parsers": [ | ||||||
|  |         { | ||||||
|  |           "name": "sample", | ||||||
|  |           "with": { | ||||||
|  |             "score": 10, | ||||||
|  |             "comment": " + comment from toml conf" | ||||||
|  |           } | ||||||
|  |         } | ||||||
|  |       ] | ||||||
|  |     } | ||||||
|  |   ] | ||||||
|  | } | ||||||
							
								
								
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							
							
						
						
									
										1
									
								
								expected.json
									
									
									
									
									
										Normal file
									
								
							|  | @ -0,0 +1 @@ | ||||||
|  | [{"name":"sample","results":[{"score":110,"comment":"sample comment + comment from toml conf"}],"force_quit":false}] | ||||||
		Loading…
	
		Reference in New Issue
	
	Block a user