How engineers see, find, define and count the moments that show whether a self-driving system is safe.איך מהנדסים רואים, מוצאים, מגדירים וסופרים את הרגעים שמראים אם מערכת נהיגה אוטונומית בטוחה.
A self-driving programme runs hundreds of thousands of simulations to argue that its vehicle is safe enough for public roads. A verification engineer has to know what happened in them. Did a car cut in? Did the vehicle brake? And how often, across the whole regression?
That is step four of Foretellix's flow, Check and measure. Product defined the interval: a named event with a start and an end, recorded during the simulation. I designed how people see intervals, find them, define their own and count them toward coverage.
My role. Senior UX Designer, then UX Design Lead, 2023 to 2026. I owned the interaction model for intervals: the first concept and the timeline with another designer, the filter alone and then leading a second designer, compound rules on my own, and the coverage histogram through a designer I directed. The concepts were product's.
Before intervals, a run's results were values plotted over time: speed, distance, acceleration. To know a cut-in happened, an engineer inferred it from the lines, like reading a heart-rate chart to guess when someone started running. An interval says it outright: cut-in, 1.8 to 4.7 seconds.
That works for one run. One workspace held over two million intervals, and the system was built for hundreds of millions. A query mixing two kinds of interval came back empty.
An interval exists only if someone planned for it. The engineer writes into the scenario's code what to look for: checkers, and scenario matching that recognises a manoeuvre such as a cut-in.
These usually come from the verification plan, the list of situations the programme must cover and measure. Foretify computes them during the run, and every value they carry is counted against that plan.
Under every coverage item in the plan sit its buckets, ranges of a value such as speed at the start of a cut-in, each hit or not against a target. The plan rolls them up into a grade, and the empty buckets are the safety gap.
My first brief was to visualise intervals. Drawing them served one run, already found. The real job was analysis across hundreds of thousands of runs, where people query, combine and count. So the work moved from making intervals visible to making them findable, definable and countable.
I started by mapping what an interval could be, with the product team's definitions on one board. Then I ran a benchmark of tools that already show events over time: animation timelines in After Effects and Maya, Gantt views in project tools, the Visual Studio and Chrome debuggers, and transaction debug views from chip verification.
Application engineers, who worked with customers daily, stood in for the user access I didn't have. Three observed sessions in the first weeks after release gave 30 findings. Two interviews, code bashes every release and feedback on Slack added more.
March 2023, first sketches: event rows over time, an inspector for the selected one, and the map on the same screen.
The problem
Before intervals, engineers read lines of values to guess when a cut-in happened. An interval names the event, but a name alone doesn't show the car doing it.
Show every interval as a row on one timeline, in a tree, with one cursor shared with the visualizer. Move the time and the map follows, so the manoeuvre and the event's duration are read together.
My part, alongside another designer, was the first low-fidelity concept and the timeline in step with the visualizer, then growing it as the event types multiplied. Application engineers were split on mixing value traces with intervals, so the two started apart and joined a release later.
Every new kind of event then wanted its own look. I treated visual channels as a budget. Each type gets one look and a legend entry that filters it, and the only pattern, stripes, marks intervals users upload.
The problem
Engineers ask in two parts. Which event, and what happened during it? For example, cut-ins where the speed during the cut-in was over 60.
The first interval filter couldn't ask that. It couldn't say which kind of interval to return, or reach the values measured inside one. Product led a revamp of all the app's filters to fix this, with a two-level filter at its core. Engineering capped it at two levels, for speed and for usability.
Set both levels in one form, in one go. That was product's ruling. The form that makes it possible was mine:
The filter still worked. What changed was who used it. Real-world driving logs brought engineers like the newcomer, who never wrote a scenario, and the strict filter asked too much of them. My first answer, on product's brief, was an AI aid. You ask in plain words and see your question written back as a filter.
The problem
An event that wasn't planned before the run couldn't be found after it. Coverage and validation engineers then had new questions: a cut-in during a junction approach, say, built from intervals that already existed. Product's answer was compound intervals, and a customer asked for up to five intervals in one rule.
Allow two intervals per rule, joined by a time relation such as A starts before B. A compound is itself an interval, so nesting compounds inside compounds builds any combination, pair by pair. I pushed back hard on five, and two shipped.
My research showed two were enough, because nesting covers the rest. With more in one rule, the form must also say which pair goes first, an ambiguity for users and a far heavier backend, for a need nobody had tested. Better to start lean and see whether users could work with two.
Applying a rule to all the data took over an hour, so the tech lead and I designed a playground: the first matches on real data in about a minute, before saving.
The problem
The plan showed the safety engineer where the gap was, but a bucket was only a number. Nothing connected it to the runs and the moments behind it.
Make every bucket a way back to its evidence: its runs appear beneath it, or an interval filter opens its events. The intervals route was my idea. I also proposed showing the histogram inside the plan rather than in a separate app, and a designer on my team built it under my direction.
The precise route has a cost. Following a bucket through the interval filter takes you out of the plan.
I designed for the buckets that were hit, and missed the opposite question: why is this bucket empty? It may never have happened, or the scenario never planned it although the coverage plan asked for it. Next I would summarise the likely reasons inside the bucket itself, after research into which ones matter most.
Most of this work was designed in Figma and handed over in Zeplin, with the filter's keyboard model written as a specification. When a delivery review found designs changing after planning, its two fixes were mine. One was a review with developers after each upload, the other a mark for when a design is final.
By 2026 I designed in a code branch, with AI tools, on the shared components, and on my own initiative took ownership of Storybook. Moving compound rules to the project, shared by every workspace, reached engineering as a working branch, and developers kept testing and stability.
It shipped in steps from 2023 to 2026, from the timeline to rules shared across the project.
Usage data covers only internal servers, so I can't give adoption numbers. Defining the analytics events was partly my task, and it stayed open.
Skip the separate rule editor. Users already found things in the debugger and the filtered table, so let them select what they found and name it, which makes it a rule. I proposed this early, and a principal engineer argued the same.
תוכנית לרכב אוטונומי מריצה מאות אלפי סימולציות כדי להראות שהרכב שלה בטוח מספיק לכביש. מהנדס האימות צריך לדעת מה קרה בהן. האם רכב נכנס לנתיב? האם הרכב הנבדק בלם? וכמה פעמים, בכל ה-regression?
זה השלב הרביעי בתהליך של Foretellix, Check and measure. צוות המוצר הגדיר את ה-interval: אירוע עם שם, התחלה וסוף, שנרשם בזמן הסימולציה. אני עיצבתי איך רואים intervals, איך מוצאים אותם, איך מגדירים חדשים ואיך הם נספרים לכיסוי.
התפקיד שלי. Senior UX Designer ואחר כך UX Design Lead, 2023 עד 2026. הייתי אחראי על מודל האינטראקציה של ה-intervals: הקונספט הראשון וציר הזמן יחד עם מעצב נוסף, הסינון לבד ואחר כך בהובלת מעצב שני, כללי ה-compound לבד, והיסטוגרמת הכיסוי דרך מעצבת שהנחיתי. הקונספטים היו של צוות המוצר.
לפני ה-intervals, התוצאות של הרצה היו ערכים על ציר זמן: מהירות, מרחק, תאוצה. כדי לדעת שרכב נכנס לנתיב, המהנדס הסיק את זה מהקווים, כמו לקרוא גרף דופק ולנחש מתי מישהו התחיל לרוץ. interval אומר את זה במפורש: cut-in, משנייה 1.8 עד 4.7.
זה עובד להרצה אחת. workspace אחד הכיל יותר משני מיליון intervals, והמערכת נבנתה למאות מיליונים. שאילתה שערבבה שני סוגי intervals החזירה תוצאה ריקה.
interval קיים רק אם מישהו תכנן אותו. המהנדס כותב בקוד של התרחיש מה לחפש: checkers, ו-scenario matching שמזהה תמרון כמו כניסה לנתיב.
בדרך כלל הם נגזרים מתכנית האימות, רשימת המצבים שהתוכנית חייבת לכסות ולמדוד. Foretify מחשב אותם בזמן ההרצה, וכל ערך שהם נושאים נספר מול התכנית הזאת.
מתחת לכל פריט כיסוי בתכנית יש buckets, טווחים של ערך כמו מהירות בתחילת כניסה לנתיב, וכל אחד נפגע או לא מול יעד. התכנית מסכמת אותם לציון, וה-buckets הריקים הם פער הבטיחות.
הבריף הראשון היה להציג intervals בצורה ויזואלית. הציור שירת הרצה אחת שכבר נמצאה. העבודה האמיתית הייתה ניתוח של מאות אלפי הרצות, שבו שואלים, משלבים וסופרים. אז העבודה עברה מלהפוך intervals לגלויים, ללאפשר למצוא, להגדיר ולספור אותם.
התחלתי במיפוי של מה interval יכול להיות, עם ההגדרות של צוות המוצר על לוח אחד. אחר כך עשיתי benchmark לכלים שכבר מציגים אירועים לאורך זמן: צירי זמן של אנימציה ב-After Effects וב-Maya, תצוגות Gantt בכלי ניהול פרויקטים, הדיבאגרים של Visual Studio ושל Chrome, ותצוגות דיבאג של טרנזקציות מעולם אימות השבבים.
מהנדסי האפליקציה, שעבדו עם הלקוחות כל יום, היו התחליף לגישה למשתמשים שלא הייתה לי. שלושה מפגשי תצפית בשבועות הראשונים אחרי השחרור הניבו 30 ממצאים. שני ראיונות, code bash בכל גרסה ופידבק ב-Slack הוסיפו עוד.
מרץ 2023, סקיצות ראשונות: שורות של אירועים לאורך זמן, inspector לאירוע שנבחר, והמפה על אותו מסך.
הבעיה
לפני ה-intervals, מהנדסים קראו קווים של ערכים כדי לנחש מתי קרתה כניסה לנתיב. Interval נותן לאירוע שם, אבל שם לבד לא מראה את הרכב שעושה אותו.
להציג כל interval כשורה על ציר זמן אחד, בתוך עץ, עם סמן זמן אחד משותף עם ה-visualizer. מזיזים את הזמן והמפה זזה איתו, כך שקוראים את התמרון ואת משך האירוע יחד.
החלק שלי, לצד מעצב נוסף, היה הקונספט הראשוני ברזולוציה נמוכה וציר הזמן שזז יחד עם ה-visualizer, ואחר כך הרחבה שלו ככל שסוגי האירועים התרבו. מהנדסי האפליקציה היו חלוקים לגבי שילוב של אותות ערכים עם intervals, אז השניים התחילו בנפרד והתאחדו גרסה אחר כך.
כל סוג אירוע חדש רצה אחר כך מראה משלו. התייחסתי לערוצים חזותיים כאל תקציב. לכל סוג מראה אחד ופריט במקרא שמסנן אותו, והדוגמה היחידה, פסים, מסמנת intervals שמשתמשים מעלים.
הבעיה
מהנדסים שואלים בשני חלקים. איזה אירוע, ומה קרה בזמן שלו? למשל, כניסות לנתיב שבהן המהירות בזמן הכניסה הייתה מעל 60.
הסינון הראשון של ה-intervals לא ידע לשאול את זה. הוא לא ידע להגדיר איזה סוג interval להחזיר, ולא הגיע לערכים שנמדדו בתוכו. צוות המוצר הוביל חידוש של כל הסינונים באפליקציה כדי לתקן את זה, ובמרכזו סינון בשתי רמות. הפיתוח הגביל אותו לשתי רמות, בגלל ביצועים ושימושיות.
להגדיר את שתי הרמות בטופס אחד, בבת אחת. זו הייתה קביעה של צוות המוצר. הטופס שמאפשר את זה היה שלי:
הסינון עדיין עבד. מה שהשתנה הוא מי שהשתמש בו. נתוני נהיגה מהעולם האמיתי הביאו מהנדסים כמו החדש לנתונים, שמעולם לא כתב תרחיש, והסינון המדויק דרש מהם יותר מדי. התשובה הראשונה שלי, לפי הבריף של צוות המוצר, הייתה עוזר AI. שואלים במילים פשוטות ורואים את השאלה כתובה בחזרה כסינון.
הבעיה
אירוע שלא תוכנן לפני ההרצה לא היה אפשר למצוא אחריה. מהנדסי כיסוי ואימות שאלו אז שאלות חדשות: למשל כניסה לנתיב בזמן התקרבות לצומת, שבנויה מ-intervals שכבר קיימים. התשובה של צוות המוצר הייתה compound intervals, ולקוח ביקש עד חמישה intervals בכלל אחד.
לאפשר שני intervals בכל כלל, שמחובר ביניהם יחס זמן כמו A starts before B. כל compound הוא בעצמו interval, ולכן קינון של compounds זה בתוך זה בונה כל צירוף, זוג אחרי זוג. התנגדתי בתוקף לחמישה, ושניים הם מה שיצא.
המחקר שלי הראה ששניים מספיקים, כי הקינון מכסה את השאר. עם יותר בכלל אחד, הטופס חייב לומר גם איזה זוג קודם, עמימות למשתמשים ותשתית כבדה בהרבה, בשביל צורך שאף אחד עוד לא בדק. עדיף להתחיל רזה ולראות אם משתמשים מסתדרים עם שניים.
הפעלת כלל על כל הנתונים לקחה יותר משעה, אז ה-tech lead ואני עיצבנו playground: ההתאמות הראשונות על נתונים אמיתיים תוך כדקה, לפני השמירה.
הבעיה
התכנית הראתה למהנדס הבטיחות איפה הפער, אבל bucket היה רק מספר. שום דבר לא חיבר אותו להרצות ולרגעים שמאחוריו.
להפוך כל bucket לדרך חזרה לראיות שלו: ההרצות שלו מופיעות מתחתיו, או סינון intervals פותח את האירועים שלו. הדרך דרך ה-intervals הייתה הרעיון שלי. הצעתי גם להציג את ההיסטוגרמה בתוך התכנית ולא באפליקציה נפרדת, ומעצבת מהצוות שלי בנתה אותה בהנחיה שלי.
לדרך המדויקת יש מחיר. מי שעוקב אחרי bucket דרך הסינון של ה-intervals יוצא מהתכנית.
עיצבתי בשביל ה-buckets שנפגעו, ופספסתי את השאלה ההפוכה: למה ה-bucket הזה ריק? אולי זה מעולם לא קרה, ואולי התרחיש לא תכנן את זה למרות שתכנית הכיסוי דרשה. בפעם הבאה הייתי מסכם את הסיבות האפשריות בתוך ה-bucket עצמו, אחרי מחקר על אילו מהן חשובות.
רוב העבודה הזאת עוצבה ב-Figma ונמסרה ב-Zeplin, ומודל המקלדת של הסינון נכתב כמפרט. כשסקירת מסירה מצאה שעיצובים משתנים אחרי התכנון, שני התיקונים הוטלו עליי. האחד היה סקירה עם המפתחים אחרי כל העלאה, והשני סימון ברור מתי עיצוב סופי.
ב-2026 כבר עיצבתי בענף קוד, עם כלי AI, על הרכיבים המשותפים, ולקחתי ביוזמתי אחריות על ה-Storybook. העברת כללי ה-compound לרמת הפרויקט, משותפים לכל ה-workspaces, הגיעה לפיתוח כענף עובד, והבדיקות והיציבות נשארו אצל המפתחים.
זה יצא בשלבים בין 2023 ל-2026, מציר הזמן ועד כללים משותפים לכל הפרויקט.
נתוני השימוש מכסים רק שרתים פנימיים, אז אין לי מספרי אימוץ. הגדרת אירועי ה-analytics הייתה בחלקה המשימה שלי, והיא נשארה פתוחה.
לוותר על עורך כללים נפרד. משתמשים כבר מצאו דברים ב-debugger ובטבלה המסוננת, אז לתת להם לבחור את מה שמצאו ולתת לו שם, וזה הופך אותו לכלל. הצעתי את זה מוקדם, ומהנדס בכיר טען אותו דבר.