Skip to content

Computer use CLI for AI agents

16.5 KB
Raw Blame
{
    "Probe":  "04-automationid-census",
    "Question":  "what fraction of interactive elements carries a non-empty AutomationId on each Windows UI stack, and in what style",
    "Stack":  "managed-System.Windows.Automation",
    "Scope":  "app/provider",
    "View":  "ControlView - the view a snapshot would walk; the COM cross-check below is RawView, so its denominators are larger by construction",
    "InteractiveControlTypes":  [
                                    "Button",
                                    "CheckBox",
                                    "ComboBox",
                                    "DataItem",
                                    "Edit",
                                    "Hyperlink",
                                    "ListItem",
                                    "MenuItem",
                                    "RadioButton",
                                    "Slider",
                                    "Spinner",
                                    "SplitButton",
                                    "Tab",
                                    "TabItem",
                                    "TreeItem"
                                ],
    "InteractiveDefinition":  "the ControlTypes that map onto the interactive roles the repo ref system already allocates refs for. Container roles that are actionable-but-not-interactive (scrollarea, disclosure) are deliberately excluded from the denominator - they are ref-able because they advertise an action, not because they are interactive.",
    "WalkLimits":  {
                       "NodeBudget":  800,
                       "MaxDepth":  14
                   },
    "Rows":  [
                 {
                     "Target":  "obsidian",
                     "Stack":  "electron-chromium",
                     "Elements":  133,
                     "ElementsWithAutomationId":  2,
                     "PctAllElements":  1.5,
                     "InteractiveElements":  8,
                     "InteractiveWithAutomationId":  0,
                     "PctInteractiveElements":  0,
                     "IdStyleEmpty":  131,
                     "IdStyleNumericControlId":  0,
                     "IdStyleSymbolic":  2,
                     "DominantIdStyle":  "symbolic",
                     "AutomationIdSample":  [

                                            ],
                     "timingSettlePasses":  2,
                     "AutomationIdSampleWithheld":  "AutomationId values are emitted verbatim for probe-owned fixtures and for Win32 chrome, but not for Obsidian: an Electron AutomationId can be derived from note or vault content, which R11 keeps out of the corpus. Only counts and id-style statistics are reported for this row."
                 },
                 {
                     "Target":  "winforms-default",
                     "Stack":  "winforms",
                     "Elements":  24,
                     "ElementsWithAutomationId":  24,
                     "PctAllElements":  100,
                     "InteractiveElements":  0,
                     "InteractiveWithAutomationId":  0,
                     "PctInteractiveElements":  0,
                     "IdStyleEmpty":  0,
                     "IdStyleNumericControlId":  0,
                     "IdStyleSymbolic":  24,
                     "DominantIdStyle":  "symbolic",
                     "AutomationIdSample":  [
                                                "Window=frmScratchMain",
                                                "Pane=chkToggle",
                                                "Pane=lblValueCaption",
                                                "Pane=txtValue",
                                                "Pane=cboChoice",
                                                "Pane=btnAction",
                                                "Pane=btnMutateList",
                                                "Pane=tbSlider",
                                                "Pane=trvNodes",
                                                "Pane=lstItems",
                                                "Pane=pnlScroll",
                                                "Pane=btnRow00",
                                                "Pane=btnRow01",
                                                "Pane=btnRow02",
                                                "Pane=btnRow03",
                                                "Pane=btnRow04",
                                                "Pane=btnRow05",
                                                "Pane=btnRow06",
                                                "Pane=btnRow07",
                                                "Pane=lblStatus",
                                                "Pane=txtStatusMirror",
                                                "Pane=lblScrollPos",
                                                "Pane=lblSliderValue",
                                                "Pane=lblInstance"
                                            ]
                 },
                 {
                     "Target":  "winforms-host-providers",
                     "Stack":  "winforms",
                     "Elements":  26,
                     "ElementsWithAutomationId":  23,
                     "PctAllElements":  88.5,
                     "InteractiveElements":  2,
                     "InteractiveWithAutomationId":  1,
                     "PctInteractiveElements":  50,
                     "IdStyleEmpty":  3,
                     "IdStyleNumericControlId":  23,
                     "IdStyleSymbolic":  0,
                     "DominantIdStyle":  "numeric-control-id",
                     "AutomationIdSample":  [
                                                "Pane=1001",
                                                "Text=1002",
                                                "Pane=1003",
                                                "ComboBox=1004",
                                                "Pane=1005",
                                                "Pane=1006",
                                                "Pane=1008",
                                                "Pane=1009",
                                                "Pane=1010",
                                                "Pane=1011",
                                                "Pane=1012",
                                                "Pane=1013",
                                                "Pane=1014",
                                                "Pane=1015",
                                                "Pane=1016",
                                                "Pane=1017",
                                                "Pane=1018",
                                                "Pane=1019",
                                                "Text=1020",
                                                "Pane=1021",
                                                "Text=1022",
                                                "Text=1023",
                                                "Text=1024"
                                            ]
                 },
                 {
                     "Target":  "wpf",
                     "Stack":  "wpf",
                     "Elements":  26,
                     "ElementsWithAutomationId":  18,
                     "PctAllElements":  69.2,
                     "InteractiveElements":  11,
                     "InteractiveWithAutomationId":  11,
                     "PctInteractiveElements":  100,
                     "IdStyleEmpty":  8,
                     "IdStyleNumericControlId":  0,
                     "IdStyleSymbolic":  18,
                     "DominantIdStyle":  "symbolic",
                     "AutomationIdSample":  [
                                                "Window=wndScratchWpf",
                                                "CheckBox=chkToggle",
                                                "Edit=txtValue",
                                                "ScrollBar=VerticalScrollBar",
                                                "ScrollBar=HorizontalScrollBar",
                                                "ComboBox=cboChoice",
                                                "Button=btnAction",
                                                "Button=btnMutateList",
                                                "List=lstItems",
                                                "ListItem=lstItem-Item-Alpha",
                                                "ListItem=lstItem-Item-Bravo",
                                                "ListItem=lstItem-Item-Charlie",
                                                "ListItem=lstItem-Item-Delta",
                                                "ListItem=lstItem-Item-Echo",
                                                "Edit=txtStatusMirror",
                                                "ScrollBar=VerticalScrollBar",
                                                "ScrollBar=HorizontalScrollBar",
                                                "Text=lblStatus"
                                            ]
                 },
                 {
                     "Target":  "notepad",
                     "Stack":  "win32",
                     "Elements":  3,
                     "ElementsWithAutomationId":  2,
                     "PctAllElements":  66.7,
                     "InteractiveElements":  0,
                     "InteractiveWithAutomationId":  0,
                     "PctInteractiveElements":  0,
                     "IdStyleEmpty":  1,
                     "IdStyleNumericControlId":  2,
                     "IdStyleSymbolic":  0,
                     "DominantIdStyle":  "numeric-control-id",
                     "AutomationIdSample":  [
                                                "Pane=15",
                                                "Pane=1025"
                                            ]
                 },
                 {
                     "Target":  "explorer-folder-window",
                     "Stack":  "win32",
                     "Elements":  82,
                     "ElementsWithAutomationId":  53,
                     "PctAllElements":  64.6,
                     "InteractiveElements":  41,
                     "InteractiveWithAutomationId":  40,
                     "PctInteractiveElements":  97.6,
                     "IdStyleEmpty":  29,
                     "IdStyleNumericControlId":  9,
                     "IdStyleSymbolic":  44,
                     "DominantIdStyle":  "symbolic",
                     "AutomationIdSample":  [
                                                "Pane=40965",
                                                "Pane=41477",
                                                "Pane=1001",
                                                "Edit=SearchEditBox",
                                                "Button=SearchBoxSearchButton",
                                                "StatusBar=StatusBarModuleInner",
                                                "Group=System.StatusBarViewItemCount",
                                                "Text=PropertyValue",
                                                "Group=ViewButtonsGroup",
                                                "RadioButton=ViewMode_Details",
                                                "RadioButton=ViewMode_LargeIcons",
                                                "Pane=ProperTreeHost",
                                                "Pane=100",
                                                "Pane=listview",
                                                "Pane=HorizontalScrollBar",
                                                "SplitButton=System.ItemNameDisplay",
                                                "Button=Dropdown",
                                                "SplitButton=System.DateModified",
                                                "Button=Dropdown",
                                                "SplitButton=System.ItemTypeText",
                                                "Button=Dropdown",
                                                "SplitButton=System.Size",
                                                "Button=Dropdown",
                                                "ListItem=0",
                                                "Edit=System.ItemNameDisplay",
                                                "Edit=System.DateModified",
                                                "Edit=System.ItemTypeText",
                                                "Edit=System.Size",
                                                "ListItem=1",
                                                "Edit=System.ItemNameDisplay",
                                                "Edit=System.DateModified",
                                                "Edit=System.ItemTypeText",
                                                "Edit=System.Size",
                                                "ListItem=2",
                                                "Edit=System.ItemNameDisplay",
                                                "Edit=System.DateModified",
                                                "Edit=System.ItemTypeText",
                                                "Edit=System.Size",
                                                "ListItem=3",
                                                "Edit=System.ItemNameDisplay",
                                                "Edit=System.DateModified",
                                                "Edit=System.ItemTypeText",
                                                "Edit=System.Size",
                                                "ListItem=4",
                                                "Edit=System.ItemNameDisplay"
                                            ]
                 }
             ],
    "ComCrossCheck":  [
                          {
                              "Target":  "winforms-default",
                              "Stack":  "uia3-com",
                              "View":  "RawView",
                              "Elements":  35,
                              "ElementsWithAutomationId":  34,
                              "PctAllElements":  97.1,
                              "InteractiveElements":  7,
                              "InteractiveWithAutomationId":  6,
                              "PctInteractiveElements":  85.7
                          },
                          {
                              "Target":  "winforms-host-providers",
                              "Stack":  "uia3-com",
                              "View":  "RawView",
                              "Elements":  46,
                              "ElementsWithAutomationId":  34,
                              "PctAllElements":  73.9,
                              "InteractiveElements":  31,
                              "InteractiveWithAutomationId":  21,
                              "PctInteractiveElements":  67.7
                          },
                          {
                              "Target":  "wpf",
                              "Stack":  "uia3-com",
                              "View":  "RawView",
                              "Elements":  34,
                              "ElementsWithAutomationId":  25,
                              "PctAllElements":  73.5,
                              "InteractiveElements":  15,
                              "InteractiveWithAutomationId":  14,
                              "PctInteractiveElements":  93.3
                          },
                          {
                              "Target":  "notepad",
                              "Stack":  "uia3-com",
                              "View":  "RawView",
                              "Elements":  26,
                              "ElementsWithAutomationId":  14,
                              "PctAllElements":  53.8,
                              "InteractiveElements":  13,
                              "InteractiveWithAutomationId":  7,
                              "PctInteractiveElements":  53.8
                          }
                      ],
    "ComCrossCheckNote":  "consumed from captures/08-uia3-com/census.json. The shim serializes at most 60 per-element records per target, so a row is only emitted when the element list covers the whole RawView walk; Explorer and Obsidian are therefore managed-only rows.",
    "ObsidianVersion":  "1.12.7",
    "ObsidianPlacementNote":  "the Electron row is measured first, with no other probe window on the desktop, and after an 8 s settle. U3 measured that an Electron tree read behind another window can stay at its first-contact size indefinitely."
}