modified libreoffice writer eval examples

This commit is contained in:
tsuky_chen
2024-01-23 22:02:09 +08:00
parent 42725a00a5
commit 35c4ce99ff
14 changed files with 749 additions and 322 deletions

View File

@@ -1,42 +1,45 @@
{
"id": "8472fece-c7dd-4241-8d65-9b3cd1a0b568",
"snapshot": "libreoffice_writer",
"instruction": "I am writing a word list for a dyslexic kid. To ease things for him, I want to use red for words start with vowels and blue for those start with non-vowels. Can you do this for me? I'm doing it manually, and it is a pain.",
"source": "https://stackoverflow.com/questions/37259827/libreoffice-writer-how-to-set-different-colors-to-each-letter",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1QHk3fVFSlvYu2k013_7ahEkVQl_o1GTU&export=download",
"path": "Desktop/Dolch Sight Words Primer.docx"
}
]
}
},
{
"type": "open",
"parameters": {
"path": "Desktop/Dolch Sight Words Primer.docx"
}
"id": "8472fece-c7dd-4241-8d65-9b3cd1a0b568",
"snapshot": "libreoffice_writer",
"instruction": "I am writing a word list for a dyslexic kid. To ease things for him, I want to use red for words start with vowels and blue for those start with non-vowels. Can you do this for me? I'm doing it manually, and it is a pain.",
"source": "https://stackoverflow.com/questions/37259827/libreoffice-writer-how-to-set-different-colors-to-each-letter",
"config": [
{
"type": "download",
"parameters": {
"files": [
{
"url": "https://drive.google.com/uc?id=1QHk3fVFSlvYu2k013_7ahEkVQl_o1GTU&export=download",
"path": "Desktop/Dolch_Sight_Words_Primer.docx"
}
]
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": {
"func": "evaluate_colored_words_in_tables",
"expected": {
"type": "cloud_file",
"path": "https://drive.google.com/uc?id=1ksn444K17lFOdm5pELrQYvuZHkOsKq69&export=download",
"dest": "Dolch Sight Words Primer_Gold.docx"
},
"result": {
"type": "vm_file",
"path": "Desktop/Dolch Sight Words Primer.docx",
"dest": "Dolch Sight Words Primer.docx"
},
{
"type": "open",
"parameters": {
"path": "Desktop/Dolch_Sight_Words_Primer.docx"
}
}
],
"trajectory": "trajectories/",
"related_apps": [
"libreoffice_writer"
],
"evaluator": {
"func": [
"evaluate_colored_words_in_tables",
"compare_docx_files"
],
"expected": {
"type": "cloud_file",
"path": "https://drive.google.com/uc?id=1ksn444K17lFOdm5pELrQYvuZHkOsKq69&export=download",
"dest": "Dolch_Sight_Words_Primer_Gold.docx"
},
"result": {
"type": "vm_file",
"path": "Desktop/Dolch_Sight_Words_Primer.docx",
"dest": "Dolch_Sight_Words_Primer.docx"
}
}
}