mirrored 15 minutes ago
0
Jason Leefix selector bug and determine the path according to arch ca24d2a
{
    "id": "fc6d8143-9452-4171-9459-7f515143419a",
    "snapshot": "chrome",
    "instruction": "Find the status of tomorrow flights from New York airports to Columbus in Ohio.",
    "source": "test_task_0",
    "config": [
      {
        "type": "launch",
        "parameters": {
          "command": [
            "google-chrome",
            "--remote-debugging-port=1337"
          ]
        }
      },
      {
        "type": "launch",
        "parameters": {
          "command": [
            "socat",
            "tcp-listen:9222,fork",
            "tcp:localhost:1337"
          ]
        }
      },
      {
        "type": "chrome_open_tabs",
        "parameters": {
          "urls_to_open": [
            "https://www.delta.com/"
          ]
        }
      },
      {
        "type": "activate_window",
        "parameters": {
          "window_name": "Google Chrome"
        }
      }
    ],
    "trajectory": "trajectories/",
    "related_apps": [
      "chrome"
    ],
    "evaluator": {
        "func":"check_direct_json_object",
        "result": {
            "type": "active_tab_html_parse",
            "goto_prefix": "https://www.",
            "category": "class",
            "class_singleObject":{
              "search-date": "time"
            },
            "class_multiObject":{
              "search-segment-cities__city": {
                "0": "start",
                "1": "end"
              }
            }
        },
        "expected":{
            "type": "rule_relativeTime",
            "rules":{
                "relativeTime": {
                  "from": "tomorrow"
                },
                "expected": {
                    "start": "NYC",
                    "end": "CMH",
                    "time": "{DoW}, {Month} {DayD}, {Year}"
                }
            }
        }
    }
  }