Skip to content

Commit

Permalink
check whole execution
Browse files Browse the repository at this point in the history
  • Loading branch information
Tahiatul Islam committed Mar 1, 2024
1 parent e94e18a commit 7498ffe
Showing 1 changed file with 9 additions and 5 deletions.
14 changes: 9 additions & 5 deletions main.py
Original file line number Diff line number Diff line change
Expand Up @@ -367,12 +367,16 @@ def main():
specified_targets = args[1] # paper_target/bug_target

json_file_path: str
if specified_targets.lower() == "bugs":
json_file_path = os.path.join("resources", "sp_issue.json")
else:
json_file_path = os.path.join("resources", "test_data.json")
#if specified_targets.lower() == "bugs":
json_file_path = os.path.join("resources", "sp_issue.json")
#else:
json_file_path1 = os.path.join("resources", "test_data.json")


parsed_data:list = read_json_from_file(json_file_path)
parsed_data1 = read_json_from_file(json_file_path1)

parsed_data = read_json_from_file(json_file_path)
parsed_data.extend(parsed_data1)

evaluation_results: list[Result] = []
json_status: dict[str, str] = {} # Contains PASS/FAIL status of targets to be printed as a json file
Expand Down

0 comments on commit 7498ffe

Please sign in to comment.