Using Logs Data to Identify When Software Engineers Experience Flow or Focused Work
Adam Brown, Sarah D'Angelo, Ben Holtz, Ciera Jaspan, Collin Green
Abstract
Beyond self-report data, we lack reliable and non-intrusive methods for identifying flow. However, taking a step back and acknowledging that flow occurs during periods of focus gives us the opportunity to make progress towards measuring flow by isolating focused work. Here, we take a mixed-methods approach to design a logs-based metric that leverages machine learning and a comprehensive collection of logs data to identify periods of related actions (indicating focus), and validate this metric against self-reported time in focus or flow using diary data and quarterly survey data. Our results indicate that we can determine when software engineers at a large technology company experience focused work which includes instances of flow. This metric speaks to engineering work, but can be leveraged in other domains to non-disruptively measure when people experience focus. Future research can build upon this work to identify signals associated with other facets of flow.
Ask Lune
Know this paper in minutes, not an afternoon.
Lune can read every page of it and the top-tier papers that cite it, and gives you its claims, its evidence and its limits, each one cited to the paper it comes from. No skimming, no AI slop.
6 top-tier papers have cited it since. Know what they found before your reviewers do.
Lune can draw on
the full paper · the top-tier papers that cite it · related work
Free to start. No credit card required.
Lineage
- Flow on Social Media? Rarer Than You'd Think cites Exploring Flow in Real-World Knowledge Work Using Discrete cEEGrid Sensors
- Hacking Flow: From Lived Practices to Innovation cites Exploring Flow in Real-World Knowledge Work Using Discrete cEEGrid Sensors
Cited by top-tier papers6
- Exploring Flow in Real-World Knowledge Work Using Discrete cEEGrid SensorsMichael T. Knierim, Fabio Stano, Fabio Kurz, Antonius Heusch et al.CHI 2025 · 6 citations
- "Get Me in the Groove": a Mixed Methods Study on Supporting Adhd Professional ProgrammersKaia Newman, Sarah Snay, Madeline Endres, Manasvi Parikh et al.ICSE 2025 · 3 citations
- Flow on Social Media? Rarer Than You'd ThinkMichael T. Knierim, Thimo Schulz, Moritz Schiller, Jwan Shaban et al.CHI 2026 · 1 citation
- Understanding Behind the Smile of Emotion Workers: Detecting After-Call Stress in Call AgentsDuri Lee, Heejeong Lim, Vedant Das Swain, Uichin LeeCHI 2026 · 1 citation
- Hacking Flow: From Lived Practices to InnovationFabio Stano, Max L. Wilson, Christof Weinhardt, Michael T. KnierimCHI 2026 · 1 citation
Builds on1
Related papers
- A Multi-Sensor Approach to Automatically Recognize Breaks and Work Activities of Knowledge Workers in AcademiaElena Di Lascio, Shkurta Gashi, Juan Sebastian Hidalgo, Beatrice Nale et al.UbiComp 2020 · 25 citations
- Flow Experience in Software EngineeringSaima Ritonummi, Valtteri Siitonen, Markus Salo, Henri Pirkkalainen et al.FSE 2023 · 6 citations
- TimeMarbles: A More Holistic Approach to Self-Reflecting on Focus in the Knowledge WorkplaceAnastasia Ruvimova, Joanna McGrenere, Thomas FritzCHI 2026 · 1 citation
- Log-based Anomaly Detection with Deep Learning: How Far Are We?Van-Hoang Le, Hongyu ZhangICSE 2022 · 212 citations
- Recognizing developers' emotions while programmingDaniela Girardi, Nicole Novielli, Davide Fucci, Filippo LanubileICSE 2020 · 60 citations
