Using Logs Data to Identify When Software Engineers Experience Flow or Focused Work

Adam Brown, Sarah D'Angelo, Ben Holtz, Ciera Jaspan and 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.

Venue
CHI 2023
Volume
Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems
DOI
10.1145/3544548.3581562
PDF
https://dl.acm.org/doi/pdf/10.1145/3544548.3581562
Anthology ID
2023.chi.865

Cite

@inproceedings{brown-etal-2023-using,
    title = {{Using Logs Data to Identify When Software Engineers Experience Flow or Focused Work}},
    author = {Adam Brown and Sarah D'Angelo and Ben Holtz and Ciera Jaspan and Collin Green},
    booktitle = {Proceedings of the 2023 CHI Conference on Human Factors in Computing Systems},
    isbn = {9781450394215},
    year = {2023},
    publisher = {Association for Computing Machinery},
    address = {New York, NY, USA},
    doi = {10.1145/3544548.3581562},
    url = {https://doi.org/10.1145/3544548.3581562},
    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.}
}