add eval libreoffice writer compare table & equation

This commit is contained in:
tsuky_chen
2023-12-31 01:02:27 +08:00
parent 0fc81d951b
commit c937e31b18
7 changed files with 197 additions and 16 deletions

View File

@@ -3,10 +3,40 @@
"snapshot": "libreoffice_writer",
"instruction": "Make the line spacing of first two paragraph into double line spacing",
"source": "https://www.youtube.com/watch?v=Q_AaL6ljudU",
"config": [],
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?export=download&id=1u7y8cUXqe-QzNX3YaPpZKYyphwv5IjHF_O5TjMnqvS4",
"path": "Desktop/Double_Line_Spacing.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Double_Line_Spacing.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": "evaluation_dir"
}
"evaluator": {
"func": "compare_line_spacing",
"expected": {
"type": "cloud_file",
"path": "https://drive.google.com/uc?export=download&id=1D8_1WItMwyWkUPodohUKevIORE4pDw3C",
"dest": "Double_Line_Spacing_Gold.docx"
},
"result": {
"type": "vm_file",
"path": "Desktop/Double_Line_Spacing.docx",
"dest": "Double_Line_Spacing.docx"
}
}
}