(input)
| 190 | ); |
| 191 | |
| 192 | function toRuntimeObservation(input) { |
| 193 | return { |
| 194 | observationId: input.observation_id, |
| 195 | appId: input.app, |
| 196 | pid: input.pid, |
| 197 | windowId: input.window_id, |
| 198 | windowTitle: 'Codex CUA Lab', |
| 199 | contentFingerprint: 'synthetic-runtime-model-e2e', |
| 200 | elements: input.elements.map((element) => ({ |
| 201 | elementId: element.element_id, |
| 202 | role: element.role, |
| 203 | label: element.label, |
| 204 | value: element.value, |
| 205 | identity: { |
| 206 | role: element.role, |
| 207 | label: element.label, |
| 208 | value: element.value, |
| 209 | }, |
| 210 | })), |
| 211 | screenshot: { |
| 212 | base64: |
| 213 | 'iVBORw0KGgoAAAANSUhEUgAAAAEAAAABCAQAAAC1HAwCAAAAC0lEQVR42mNk+A8AAQUBAScY42YAAAAASUVORK5CYII=', |
| 214 | mimeType: 'image/png', |
| 215 | widthPx: 1, |
| 216 | heightPx: 1, |
| 217 | }, |
| 218 | }; |
| 219 | } |
no outgoing calls
no test coverage detected