diff --git a/.github/actions/get_service_guides/entrypoint.py b/.github/actions/get_service_guides/entrypoint.py index 6d95da6ae..60cf2b993 100644 --- a/.github/actions/get_service_guides/entrypoint.py +++ b/.github/actions/get_service_guides/entrypoint.py @@ -249,7 +249,7 @@ def get_waf_service_guide_recos(): service = service.replace('-', ' ') service = service.title() if (len(args_service) == 0) or (service.lower() in args_service_list): - if (args_verbose): print("DEBUG: Service {0} in service guide '{1}' matching input services.".format(service)) + if (args_verbose): print("DEBUG: Service {0} in service guide '{1}' matching input services.".format(service, file_path)) svcguide_url = f'https://raw.githubusercontent.com/{github_org}/{github_repo}/main/' + file_path if (args_verbose): print("DEBUG: Found service guide '{0}' for service '{1}'".format(file_path, service)) # if (args_verbose): print("DEBUG: Retrieving service guide from URL '{0}'...".format(svcguide_url)) diff --git a/scripts/merge_waf_checklists.py b/scripts/merge_waf_checklists.py index a3d4974fe..233c04c0d 100644 --- a/scripts/merge_waf_checklists.py +++ b/scripts/merge_waf_checklists.py @@ -14,11 +14,11 @@ # Get input arguments parser = argparse.ArgumentParser(description='Merge different WAF checklists and removes duplicates') -parser.add_argument('--review_checklist-file', dest='review_checklist_file', action='store', +parser.add_argument('--review-checklist-file', dest='review_checklist_file', action='store', help='You need to supply the name of the JSON file with the review checklist to be merged') -parser.add_argument('--aprl_checklist-file', dest='aprl_checklist_file', action='store', +parser.add_argument('--aprl-checklist-file', dest='aprl_checklist_file', action='store', help='You need to supply the name of the JSON file with the APRL checklist to be merged') -parser.add_argument('--sg_checklist-file', dest='sg_checklist_file', action='store', +parser.add_argument('--sg-checklist-file', dest='sg_checklist_file', action='store', help='You need to supply the name of the JSON file with the Service Guide checklist to be merged') parser.add_argument('--max-recos', dest='max_recos', action='store', default=0, @@ -63,7 +63,7 @@ def calculate_embeddings(checklist, model): if 'text' in reco: embeddings = model.encode(reco['text']) reco['embeddings'] = embeddings - if args.verbose: print('DEBUG: calculated embeddings for {0}: {1}'.format(reco['text'], str(embeddings))) + # if args.verbose: print('DEBUG: calculated embeddings for {0}: {1}'.format(reco['text'], str(embeddings))) # texts = [x['text'] for x in checklist['items']] # text_embeddings = model.encode(texts)