Skip to content

Commit

Permalink
issue #6: google_search completed
Browse files Browse the repository at this point in the history
  • Loading branch information
ibrahim-kabir committed Apr 2, 2024
1 parent d3849a2 commit bf895a3
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion finesse/accuracy_functions.py
Original file line number Diff line number Diff line change
Expand Up @@ -37,7 +37,7 @@ def save_to_markdown(test_data: dict, engine: str):
md_file.write("| 📄 File | 💬 Question | 📏 Accuracy Score | ⌛ Time |\n")
md_file.write("|--------------------|-------------------------------------------------------------------------------------------------------------------------|----------------|----------|\n")
for key, value in test_data.items():
md_file.write(f"| {key} | [{value.get('question')}]({value.get('expected_page').get('url')}) | {value.get('accuracy')*100:.0f}% | {int(value.get('time'))}ms |\n")
md_file.write(f"| {key} | [{value.get('question')}]({value.get('expected_page').get('url')}) | {value.get('accuracy')*100}% | {int(value.get('time'))}ms |\n")
md_file.write("\n")
md_file.write(f"Tested on {len(test_data)} files.\n\n")

Expand Down

0 comments on commit bf895a3

Please sign in to comment.