130 lines
6.3 KiB
Plaintext
130 lines
6.3 KiB
Plaintext
# Instruction
|
||
- You are an expert in cleaning process data descriptions. Given a task, you are provided with a set of annotation description
|
||
data for a certain visual LLM related to human user operation videos. Plus, You are provided with full trace of playwright action,
|
||
whic includes action and url before and after the action.
|
||
- You need to analyze all the descriptive data and ultimately summarize a complete and reasonable user operation description that can accomplish the given task.
|
||
- For each strategy, give a clear list of the low level action sequence.
|
||
|
||
# Task
|
||
Which customer has completed the fifth most number of orders in the entire history?
|
||
|
||
# Annotation description
|
||
### Step-by-Step Actions in the Video Segment
|
||
|
||
#### 1. **Action:** I hover over the "Customers" tab in the left-side menu.
|
||
- **Page Changes:** No immediate changes occur on the page as a result of this action; the dashboard remains visible.
|
||
- **Possible Purpose:** The likely intent is to navigate to the Customers section for further actions related to customer management or viewing customer details.
|
||
|
||
#### 2. **Action:** I click on the "Customers" tab in the left-side menu.
|
||
- **Page Changes:** The page transitions from the Dashboard to the Customers section. This new page displays a list of customers along with their details such as name, email, and registration date.
|
||
- **Possible Purpose:** The purpose is to access detailed information about the customers, possibly to manage accounts, view orders, or analyze customer data.
|
||
|
||
#### 3. **Action:** I scroll down slightly on the Customers page.
|
||
- **Page Changes:** The visible portion of the page shifts downward, revealing more customer entries in the list.
|
||
- **Possible Purpose:** The intent is to view additional customer records that were not initially visible on the screen.
|
||
|
||
#### 4. **Action:** I click on a specific customer's name (e.g., "Grace Nguyen") in the customer list.
|
||
- **Page Changes:** The page navigates to the detailed view of the selected customer ("Grace Nguyen"). This page includes comprehensive information such as the customer's personal details, order history, and account settings.
|
||
- **Possible Purpose:** The goal is to access and review the specific details of this customer, which may include managing their account, reviewing past orders, or updating their information.
|
||
|
||
#### 5. **Action:** I scroll through the detailed customer page.
|
||
- **Page Changes:** As I scroll, different sections of the customer's detailed information become visible, such as order history, addresses, and account notes.
|
||
- **Possible Purpose:** The purpose is to gather a complete understanding of the customer's profile and activity, which could be necessary for customer service, analysis, or administrative tasks.
|
||
|
||
### Summary
|
||
In this video segment, my actions are focused on navigating from the Dashboard to the Customers section, selecting a specific customer, and reviewing their detailed information. Each step is methodical, aimed at accessing and analyzing customer data within the platform.
|
||
|
||
# Playwright action
|
||
[
|
||
{
|
||
"action_uid": "link_The information in this tab has been changed. This tab contains invalid data. Please resolve this before saving. Loading... Customers",
|
||
"idx": 0,
|
||
"action_repr": "frame.clickget_by_role(\"link\", name=\"The information in this tab has been changed. This tab contains invalid data. Please resolve this before saving. Loading... Customers\")",
|
||
"before": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:7780/admin/admin/dashboard/"
|
||
},
|
||
"after": {
|
||
"url": "http://ec2-3-135-39-80.us-east-2.compute.amazonaws.com:7780/admin/admin/dashboard/"
|
||
}
|
||
}
|
||
]
|
||
|
||
# Output format
|
||
- 先总结整个任务的Objective,然后按照Strategy-SubStrategy-action三级层次来给出整个过程,
|
||
- 接着给出整个操作流程后的观察和有趣的发现,最后严格按照json格式输出三级层次的过程描述。
|
||
- 最后的输出json应该是包在```{json}```之间,最底层动作需要包含描述、对应的playwright动作指令顺序编号,以及具体指令内容。
|
||
|
||
# Example
|
||
### Complete User Operation Description to Display Labeled Issues in kkroening/ffmpeg-python
|
||
|
||
**Objective:** Filter and display all issues labeled as "question" in the kkroening/ffmpeg-python repository.
|
||
|
||
---
|
||
|
||
#### **Strategy 1: Navigate to the Repository**
|
||
**Low-Level Action Sequence:**
|
||
1. **Search for the user "kkroening"**
|
||
- Click the global search bar (placeholder: "Search GitLab").
|
||
- Type "kkroening" and press `Enter`.
|
||
2. **Select the user from results**
|
||
- Click the "Users" tab in search results.
|
||
- Click on "Karl Kroening @kkroening" in the user list.
|
||
3. **Access the repository**
|
||
- Navigate to the "Personal projects" section.
|
||
- Click on the "ffmpeg-python" project.
|
||
|
||
---
|
||
|
||
#### **Strategy 2: Filter Issues by Label**
|
||
**Low-Level Action Sequence:**
|
||
1. **Open the Issues tab**
|
||
- Scroll to the left sidebar menu.
|
||
- Click the "Issues" tab (displaying the count, e.g., "Issues 402").
|
||
2. **Apply label filtering**
|
||
- Click the search/filter bar in the issues list.
|
||
- Select the "Label" dropdown from the filter options.
|
||
- Type or select "question" from the label dropdown.
|
||
- Click the search/apply button to confirm the filter.
|
||
|
||
---
|
||
|
||
#### **Final Oberservation**
|
||
The issues list will refresh to show only issues with the "question" label. The URL will reflect the filter:
|
||
`.../ffmpeg-python/-/issues/?label_name[]=question`.
|
||
|
||
---
|
||
|
||
### Key Observations from Playwright Trace
|
||
- The final URL after filtering:
|
||
`http://ec2-3-135-39-80.../ffmpeg-python/-/issues/?label_name%5B%5D=question`
|
||
confirms the "question" label filter is applied.
|
||
- Critical interactions include selecting the "Label" dropdown and explicitly choosing "question" to refine results.
|
||
|
||
### Final output
|
||
```json
|
||
[{
|
||
"strategy" : "Navigate to the Repository",
|
||
"substrategies": [
|
||
{
|
||
"substrategy": "Search for the user \"kkroening\"",
|
||
"actions" : [
|
||
{
|
||
"description": "Click the global search bar (placeholder: \"Search GitLab\"). ",
|
||
"playwright_idx" : 18,
|
||
"playwright_instruction" : "frame.pressget_by_placeholder(\"Search GitLab\")Enter"
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"substrategy": "Select the user from results",
|
||
"actions" : [
|
||
]
|
||
}
|
||
]
|
||
},
|
||
{
|
||
"strategy" : "Filter Issues by Label",
|
||
"substrategies" : [
|
||
]
|
||
}]
|
||
``` |