CtrlK
BlogDocsLog inGet started
Tessl Logo

finkel/tasker-xml-authoring

Author and edit Android Tasker XML (tasks, profiles, projects, scenes) for import into the Tasker app — node skeleton, action codes, and per-arg encoding.

97

1.31x
Quality

97%

Does it follow best practices?

Impact

97%

1.31x

Average score across 4 eval scenarios

SecuritybySnyk

Passed

No known issues

Overview
Quality
Evals
Security
Files

criteria.jsonevals/scenario-1/

{
  "context": "Tests whether the agent produces a valid Tasker task XML file using correct file structure, action codes looked up from reference, proper argument encoding (Str/Int), and variable names with their % prefix preserved.",
  "type": "weighted_checklist",
  "checklist": [
    {
      "name": "Correct file suffix",
      "description": "The output file has the .tsk.xml suffix (not .xml, .task.xml, or another variant)",
      "max_score": 12
    },
    {
      "name": "TaskerData root node",
      "description": "The file's top-level node is <TaskerData> with sr=\"\", dvi=\"1\", and a tv attribute",
      "max_score": 10
    },
    {
      "name": "Task sr attribute format",
      "description": "The Task node's sr attribute follows the task<id> format (e.g. sr=\"task1\" matching <id>1</id>)",
      "max_score": 10
    },
    {
      "name": "Variable Set action code",
      "description": "Variable Set actions use <code>547</code> (not an invented or guessed number)",
      "max_score": 12
    },
    {
      "name": "Flash action code",
      "description": "The Flash action uses <code>548</code> (not an invented or guessed number)",
      "max_score": 12
    },
    {
      "name": "Str value as text content",
      "description": "Str elements hold their value as element text content — NOT in an attribute (e.g. NOT val=\"Alice\") and NOT in a child element",
      "max_score": 10
    },
    {
      "name": "Variable % prefix preserved",
      "description": "All three variable names (%firstName, %lastName, %fullName or equivalent) are written with their % prefix inside Str elements (no bare firstName, lastName, fullName without %)",
      "max_score": 14
    },
    {
      "name": "Int literals use val attribute",
      "description": "Int argument elements use the val=\"…\" attribute for literal values (e.g. <Int sr=\"arg2\" val=\"0\"/>)",
      "max_score": 10
    },
    {
      "name": "Four actions present",
      "description": "The Task contains exactly four Action elements: three Variable Set actions and one Flash action in the described order",
      "max_score": 10
    }
  ]
}

tile.json