[Alexandra] (0:03 - 0:10)
It also said that code written by women usually tends to live longer and have fewer bugs.
[Pinja] (0:15 - 2:12)
Welcome to the DevOps Sauna, the podcast where we deep dive into the world of DevOps, platform engineering, security, and more as we explore the future of development. Join us as we dive into the heart of DevOps, one story at a time. Whether you're a seasoned practitioner or only starting your DevOps journey, we're happy to welcome you into the DevOps Sauna.
Hello and welcome back to the DevOps Sauna. So if we look at code, it feels objective, right? Because we're talking about something that is built with...
It's a technical thing, but the process around it is still human. And I think this is still a very important notion to make, even now, and especially now during the age of AI. And we've been really looking into this thing with automation, how can it reduce the bias, in how we write, review, and accept code.
But we also see that it's not exactly discussed so much in the industry when it comes to this bias, because there is still that paradox of meritocracy. We often like to believe that the best technical solution should be the one to win. But when it comes to the unbiasedness of the code, are we really sure that we are evaluating the solution and not the person who created it?
And how do we address this from a cultural perspective? What can a team do and an organization do around this? And I have an excellent expert for this, a guest for me today.
We have our very own senior DevOps engineer, Alexandra Aldershaab, who's joining me here today. Welcome, Alexandra. Welcome back.
I'm so happy to have you back. Previously, we talked about psychological safety. It was around just before summertime this year.
And the objectivity of the code and fighting that prejudice with automation has been a topic that you brought to some stages also this year. And how did you get to this topic? What was the part that interested you in this?
Or was there some kind of personal experience behind this?
[Alexandra] (2:12 - 5:12)
Yeah, so I'm gonna try and make it kind of short, right? So yeah, I've been doing some public speaking in the past year, and I've been talking about very technical things. And I've been talking about this.
This is a very, very personal, very close to my heart subject. And the whole reason that I ended up here was, as I'm sure most developers have experienced, the whole, you're sitting there and the code is just not doing as you want it to. And you have that feeling of, oh, maybe I'm just really crap at what I do.
Maybe I'm just not cut out for the tech industry, right? And I've heard multiple people say that, at some point, they will have that feeling. I was in a team, and I had that feeling.
I was experiencing that when I was bringing up subjects that I thought would make sense to solve, to make working more smooth in the team. It was not prioritized. If I made the Jira ticket, it would end up at the bottom of the backlog.
I was experiencing, when I was writing code and asking for review, people would just rewrite it and push to features. When I was writing code, people would come by and look at something very unfinished, very raw, and say, oh, goodness, you're not going to put that in production, are you? Oh, no.
I felt so ashamed about the code and the contribution I was making. And I ended up, I think there was a period of time where I was avoiding touching the code base, because it felt like every time I did, I would just be criticized to shreds. And sometimes, when you have a finished pull request, and then it was just decided not to ever review or merge it.
And I did not know what was happening, and I was like, maybe it's just me. Maybe I'm the problem, because it's clearly, I keep experiencing this. Then a funny thing happened, because I got a new tech lead.
I was like, same job, same tasks, same responsibilities, new tech lead. All of a sudden, my ideas were not at the bottom of the backlog. They were prioritized, and some of them were even top of the backlog.
My pull request started, actually, there was a bit of a while of me finding the courage, but I got this super cool new senior engineer on the team that was like, oh, let's pair on this. And we would pair on writing code, and I would get to start contributing back to the team. And I went from bottom performer on that team to fairly average.
I was doing good. I was making contributions. The only thing that changed was the tech lead.
I was like, oh, that was probably not a me problem, then. At least not solely a me problem, right? Because if one person can be swapped in that team, and then my entire experience of my abilities as a software developer changes, then there's been something other going on than the quality of my code, because that should have stayed consistent in that period of time.
I didn't all of a sudden become significantly better at writing code. I have gradually throughout my career gotten better.
[Pinja] (5:13 - 6:25)
Gradually, yeah. But if it happens like this, I'm not saying overnight, as you say as well, but there has been a significant change. And as mentioned before, even though the code is the technical bits, and we should be evaluating with the merits of what is the best technical solution, we are still human beings.
And so now if we think about the automation here, and what automation can bring to the table is that, well, it's being presented as something that can improve the speed and the consistency and reliability, and also maybe also revealing these flaws in the human decision making process. So I think there, when we were planning for this episode, Alexandra, with you, you mentioned there has been studies that if you are making your first open source contribution, you're less likely to have it approved, but even more, less likely, even less likely to have it approved if actually you're a woman. So if we were really talking about biases in a team, there might be maybe a non-male, there might be an ethical minority, there might be a junior who might actually be actually suffering from these biases.
What are the most interesting or surprising things you have encountered when you've been researching this topic?
[Alexandra] (6:25 - 8:45)
So first off, I think like I had this one experience, which is just like an anecdote, right? I had a bad experience, it could just be a person not liking me. But you know, I got started trying to connect the dots, like I have been experiencing this before, right?
If my pull requests go to one person, it would be torn to shreds. If it goes to another person, it looks good. I was like, oh, maybe it's not, maybe it's not as unbiased as I would think it was.
And that's what made me kind of start to look into this. And I found this, as you mentioned, a really, really cool study. It's a bit old at this point, it's from 2017, but it basically did like going through contributions to open source projects on GitHub.
And it found that if you are identifiably female, like so because profiles on GitHub can be super neutral, but if they're, you know, very female coded, there was a 12% less likely that the pull request would be accepted for your first time contributions. Obviously, it changes over time, because if you've already contributed a lot, then you know, people would know you and then the immediate bias would not be as big as, or it would be bigger because they know you. I don't know.
No, but like the crazy thing was, it got me thinking that, oh, this is not like, I had this experience, but it looks like a lot of other people might have had this experience as well. And obviously, because I'm a woman, I started looking into the woman minority of things, right. And, I also started talking about this on stage.
And it really hit me, like when people heard my story, and they heard me say, oh, and by the way, data backs up that there is some bias here, that I'm probably not alone in this, the amount of women that has come up to me afterwards and said, wow, it's like you're telling my story. It's like, you put words on this thing, like, I have also tried that this is also my experience, which was really scary, actually, that because I, for so long, I felt alone in this, right. And all of a sudden, I'm like, oh, wow, we're like a whole community.
And I started researching even further. And, I found similar studies about race and ethnicity. And so you can kind of generalise it, it seems that if you are the minority, I also had one person just say, he experienced like, that all of his colleagues made a lot of decisions while smoking.
He was the only non-smoker in a team, which is a different way of being the minority. But because he was the only one not on that balcony smoking, he wasn't there for some of the big decisions.
[Pinja] (8:46 - 9:16)
Yeah, I think that was the plot of one of the Friends episodes back in the day, where Rachel was the only one in her workplace who was not smoking, then she actually had, she felt that she needed to pick up smoking, because of this. And there was the, that was a side note. But we have, like, there were other studies that you've encountered.
And one was from Google, right? And they were looking into how much pushback the whole organisation is going through. And it was on a daily basis, the number that you presented to me was staggering.
So what did Google find out?
[Alexandra] (9:16 - 10:29)
Basically I read this article that someone at Google wrote, and they've been looking into what they call excessive pushback. So like when pull requests go back and forth between the code contributor and the reviewer, like too many times for a regular pull request, when there's more than usual comments, like they created some boundaries. And they were like, it's very few pull requests that reach these boundaries.
But they will also be very time consuming, the ones that do. And they call it excessive pushback. And they kind of tried to look into how much time is spent on excessive pushback a day.
And it was about 1000 hours that they estimate that they spent every day in a day. And they also basically found that if they compare like who is being subjected to this excessive pushback it is mainly minorities. So there is this huge amount of time spent by minorities on dealing with excessive pushback every day.
That's incredible. And it makes me think there's no wonder that sometimes you'll be like, Oh, but the minority person is not contributing as much. Yeah, but if you spend half your time dealing with not being allowed to contribute, then your contribution rate will just be lower.
[Pinja] (10:30 - 11:01)
Yeah. And if we talk about it, we have the evidence here that there are multiple studies around this. And there's evidence that this is a phenomenon that is happening.
But if we think about where it is coming from? Because we, of course, don't want to point any fingers to anybody that this is intentional. We want to consider that we are still valuing technical competence, logic, the evidence.
What is the research saying? Where is this bias coming from? Was there anything backing off from the studies and the articles?
[Alexandra] (11:03 - 14:42)
Oh, now you're asking a hard question. So I am, I'm not sure. So I think there's a lot of generally, like we all have bias, like when we meet someone new, we will kind of say, oh, they look like someone who's like, also, when you're just trying to be considerate, like if you meet someone, you're like, oh, they have this religious belief, then I will be considerate about, you know, trying to not offend. And that might be a good thing.
The problem is when it overshadows, and I think there is a general bias that women are not very good at programming. I at least met that university as well. And some of it is probably just because we're not that many.
So you can be on a team and not see any women in the team. Like, that's not uncommon that there are no women on a team, because we're just like, percentage wise, there's not that many women in IT, or at least not as engineers. There's more when you get to the scrum masters and the team leads and stuff.
But as engineers, there's not that many. So when you meet the female engineers, you might not look as what you expect an engineer to look like, because 95% of the engineers won't look like that. The problem is when it becomes like when it kind of clouds your judgment in how you then recognize the pull request.
And that kind of circle back to you asked me way, way long ago already about automation. Because I think that's, to me, at least, that's something that can help. I experienced, you know, being called out on all sorts of weird stuff.
Like, why did you put the bracket on that line? Why did you do spaces instead of tabs, or vice versa? You know, those kinds of things where people will have different opinions.
And that's, you know, of course, everybody has different opinions. And everyone will have met a colleague that says, oh, I prefer it a different way, like how you style a suit. And that's fair.
The problem, what I've seen is just that I might have met a little bit more of it than a male colleague. So part for me is to say all of these things that we can easily solve with the DevOps practices that we're already preaching because of, you know, reliability and speed and all of that. So like making sure we have a linter, making sure that we can't format the code wrong, that we like we have an objective rule that will statically make sure that we already have the right formatting of the code.
Maybe we have some code quality scanning set up that has some quality gates. So we know that we are kind of basically codifying and automating the standards that you want everybody to live up to, because then we can't complain about that. It takes away a lot of the things that might get the attention.
Like if you have, if you, if you start a pull request review and you kind of expect it to be bad, you might be more prone to find all of these things where you're like, oh, this is the syntax, like the syntax here does not match the best practice or the way you phrase this comment makes it ambiguous. Or, but if you walk into it with the, I expect this to be brilliant, you'll be like, oh yeah, you can phrase it like that. There's probably not, it's a comment.
But if you kind of make sure that all of these standards are general for everyone and already adhere to because of the automation, then you don't have to worry about all that. Then you begin to look at the thing, like what is the actual architectural feature looking like? And it brings the discussion to a different level.
And I think that's extremely important because if it's nitty gritty details happening behind the scenes on a pull request, it might just be two people that are not communicating well. If you get it to be like an architectural discussion of how to even attack a feature development or a feature, like making a feature, obviously most of the time you will end up doing that on a team level. So if one colleague says, I think you chose the wrong architecture, then usually I would raise that and at least bring in some more people and say, oh, this feature that we're doing, is it the wrong way of dealing with it?
[Pinja] (14:43 - 14:43)
Yeah.
[Alexandra] (14:43 - 15:07)
This is a bigger issue of that point and a bigger discussion. And all of a sudden you also have more people involved, which means if you have one person who's being, you know, sexist, racist, something, and it was more about the person than the feature, then it will become very clear when you bring it out with everyone. Like at least it will be very clear if it's the whole team, that's the problem, or if it's that one person, right?
[Pinja] (15:07 - 15:07)
That's true.
[Alexandra] (15:08 - 15:25)
Because all of a sudden you get a tech discussion on a higher level and you get to kind of get that feedback from the others in the team as well. And it's much easier to pick, as you also state in the beginning, the best solution. And then it becomes more about the solution than the person who wrote it in the first place.
[Pinja] (15:26 - 16:07)
And as you mentioned, like going back to the, like really like the core DevOps practices, right? Like actually having some kind of standardized review criteria. What are we looking for?
How do we, what do we say is a good quality code and what are the things that we need to stop before they go further in? And when we, when we merge that code. So that's like, I don't want to like, if we really talk about how the practices are in a wrong place, does it mean that I would have done it in a different way?
Or is it actually bad quality that we don't want in our code base? And that could actually cause us problems. So like having those standards and how about anonymizing the reviews?
Has there been any, any experiences on those?
[Alexandra] (16:07 - 17:13)
So personally, I think it's really hard if you're a small team, like if you're, if you're working in a company and you're five people in the team, it's really hard to anonymize reviews. And it takes a lot of effort. I know that there are studies that are trying to do, like, will it be perceived differently if it's gendered or not?
Which is also one of the big things for the big open-source study that's just taking all the data that's already there and saying, well, if you can't tell by the profile, that is kind of anonymous in some regards, right? Because you can't tell who this person is behind it, if they are sort of a picture of a dog, right? You know, you don't know that person.
And then it becomes kind of just this random person. I will also say they actually did a rerun of that study back in 2023. And unfortunately, their findings were more women are using gender neutral profiles.
So like, while obviously they were hoping that the initial kind of we're shining a light on this would help and change people's behavior. And it did. Women decided gender neutral profiles made it easier to contribute.
Not the direction I was hoping, but, you know, clearly had an impact anyways.
[Pinja] (17:14 - 17:57)
It's a solution to a problem, because like, this is, of course, a fairness problem, obviously. And studies have shown that the more diverse the team is, the better solutions, the better quality solutions they can achieve. But obviously, this is also a business problem.
So it's not just that the team team has some kind of friction inside the team. But really, we're like, if an organization like Google is using 1000 hours each day to do that pushback, it is slowing down. But also, at the same time, we're not maybe getting that best technical solution, if it is being plucked by unrecognized bias, if we give the benefit of the doubt, like we work, we should.
But so it's not, it's not a minor problem.
[Alexandra] (17:57 - 19:43)
No. And I think, for me, at least, part of the solution is that people are aware, because I know that when I started speaking more publicly about what I had experienced, people that were quite close to me were like, Oh, I didn't realize that was your experience, like people that were there, because at the time that like that, the pull request, pushback and stuff, it happened between two people, right?
It didn't happen at a team level, it didn't happen in big meetings, it was just something that every time I put a pull request for review, I would, you know, dread having to look at it again. So it was kind of hidden from some people. And I think a big thing is just shining a light on it.
And I think that the studies have made it really easy for me to go and talk about it, because I can be like, Oh, data says I'm actually not a snowflake. But the fact that we are having these discussions, we are talking about so what can we do? And there's a lot of people that are like, I'm not the one being hit with this.
But I do want to help and then have a talk about okay, but if we can automate some things that might make it easier, let's do it like that. Again, we've been talking about all these things that we can automate and make nice and stuff for years, right? And how it will be beneficial anyways.
And you can be like, Oh, now it's not just beneficial for speed and all of these things. It might also be beneficial to deal with some bias and make it more inclusive to be part of the team. Because usually, if you feel like you're not included, or you feel like you're constantly being criticised harder than the rest is really also difficult to speak up.
And that kind of circles a little bit back to the talk on psychological safety we had, because it's part of it, right? It is, if you feel like you're being criticised unfairly, this probably is really hard to also feel like you have the psychological safety to speak up about it.
[Pinja] (19:44 - 20:11)
Yeah. And then goes back to a team not reaching that high performance level, because people are not feeling confident enough to bring their ideas and to have that creativity if they don't feel comfortable enough in that team. But now that we kind of need to talk about AI a little bit, when we talk about automation here, have we seen solutions with AI that are automating code reviews and the process around it that could maybe help us fight this bias?
[Alexandra] (20:11 - 22:02)
So I think we are still in, well, so while it feels like AI is everywhere and has been for a while now, in the form of doing actual research with quantifiable data and lots of it, AI hasn't been good for that long. Like the fact that AI can review a pull request and say something meaningful has not been around for years. It's like maybe I've been around for a year.
So not many studies have, I haven't found any yet. I would love to know if there are any really cool ones out there. I did stumble across one that basically tried to say, well, if I have the AI review a pull request, then if I gender the pull request, will it behave differently?
And interestingly enough, it actually favored contributions made where the pull request was gendered as made by a female. Okay. Interesting.
Which was, when I first read it, I was like, that's the opposite of what I expected. But then the study back from -17 that basically said you are less likely to have your pull request approved if you're identified by a female. It also said that code written by women usually tends to live longer and have fewer bugs.
And they kind of correlated that with saying if the barrier of entry is a lot higher, then it will also have been checked much more. And the quality standards that it has been, like the code contributions will simply be held to a higher standard and therefore generally be quite good because they're a lot harder to get there. And the AI will just be looking at code in the code base made by women and made by men and be like, oh yeah, okay.
But I don't think that's good though. I remember like, okay, but again, we say we want AI review and we want that to be unbiased. And then all of a sudden it's super biased.
And then we've just automated so much bias into the pipeline instead of taking bias out of the pipeline, which is the opposite of what we want, right?
[Pinja] (22:02 - 22:54)
It turned the bias to the other way around, which obviously we don't want that either. So that's not the way to go. But apart from introducing automation and basic demos practices, like if we talk about linters and we talk about actually doing, having automated quality checks and standardizing review criteria, where can a team start this conversation to build better collaboration?
Because there has to be, I hope that the teams are feeling that the better collaboration should be the destination and what they should be striving for. Again, going a little bit back to our conversation on psychological safety, that high performing teams also have good cooperation inside them. But if one feels that they're in a team and their code is not being treated fairly, how to start this conversation and bring it up?
[Alexandra] (22:54 - 23:34)
That's a really tricky one, because if there's someone on the team that you feel you can speak freely to, for me at least, it's really nice to just talk to someone, share the experience and not be told you're an idiot, right? But starting the conversation with someone you feel confident will actually hear you out and understand what you're saying. And not necessarily just starting a department meeting being like, I don't think my code is treated fairly, which it is true and it would be totally fair to do that, but I don't think it will necessarily move things in a good direction because of that.
[Pinja] (23:34 - 23:44)
No, it might actually go towards a blaming culture that we would like to avoid in this scenario, and not be constructive for the team spirit as well.
[Alexandra] (23:44 - 25:11)
And I think I would definitely attack it from a, we want consistent quality. We want to make sure that what we build is good and that it's always good and that the difference in how we look at things and the possibility, like eliminating as much as possible of the human error aspect. So instead of attacking someone for being too nitty gritty on pull requests, sometimes there are also just people on a team that will be very nitty gritty on everything in a pull request and will address all variable naming because you could have named those better.
And it won't be like a biased thing, it will be general for everyone. Might slow the team down anyways. So attacking it from a, we want to have better code.
We want to do better. We want higher quality. And how do we do that?
And I also, I love leaning on data and leaning on research saying, oh, this is the thing. Teams collaborate better when you have X, Y, Z and stuff like that, because then it's not as much. And I think that also comes from me having a feeling of having to defend everything I say.
But it is really nice when you say, oh, but yeah, data shows that we will be a better team if we incorporate some of these practices, some of these ways of working. Because then people are like, oh, that's actually interesting. Rather than me coming to say, I think we would be a better team if we did these things that I just came up with in the back of my head.
[Pinja] (25:12 - 25:12)
Yeah. Especially since I feel attacked personally by these practices.
[Alexandra] (25:12 - 25:58)
And then also sometimes it's just about if you have one person on the team that really agrees that that would be fun to try. And then you might speak to one other person.
It doesn't, like if you can't get the, you know, everybody on like feeling like it's the best idea, but you know, you talk to some people and say, oh, I would love to try this. This would be amazing. And they'll be like, oh, that would be so cool.
And if you have enough people in the team they're like, we would love to try this. Most teams would then actually try it. And if it's shit, don't do it again.
If it works, keep doing it. That's the whole idea of having regular retros, right? That you kind of continuously evaluate and you experiment and you see how can you do things better?
How can you improve your ways of working? And I do love retrospectives when they're done right.
[Pinja] (26:00 - 26:51)
They really, I have a very special place with retrospectives in my heart, but they can be, they can be done well. And that's when they are really effective. And I was just thinking that, like, there are, of course, organizations that have teams of teams.
And of course, like having that conversation with the other teams as well. Like, hey, how's the, what are your statistics? Are we collecting that statistic of the pushback of how much of our PRs are actually going through on the first try?
So does an organization do that? So it might be interesting data also for the leaders, for heads of R&Ds, for CIOs, to actually look into CTOs, to look into that kind of statistics and see if there's something that we should be doing. And start from the quality aspect, if that feels a safer way to bring it up.
[Alexandra] (26:51 - 28:03)
I also think that one of the things, at least for me, it has been so nice knowing that I'm not alone. Like the whole, if I'm sitting there feeling like I'm the problem or I'm not doing good enough, I just need to be better, which is, you know, so difficult to just, you know, instantly become better, especially if you don't know what better actually looks like. Yeah.
But that, like the community, getting to know people that have the same struggles. I joined, I was about to say I recently joined, it's about a year ago, so it's not that recent anymore. The Merge Forward community within the Cloud Native community, which is basically a bunch of minorities working to make open source more inclusive.
And they're like subgroups for different minorities. And it's just been amazing to sit there and talk to, like the networking with the other, with the other people in that group that will have experienced exactly the same. And that will be like, oh, but we tried this or we tried this.
So it's amazing to be able to just sit and talk to someone who has been through what you've been through and can say, oh, you're not shit. You just, you know, you might have experienced something that was shitty, but you're not a shit person and you're not the problem.
[Pinja] (28:04 - 28:10)
You're not stupid here, because that's what people started to immediately think, I'm not good enough for this.
[Alexandra] (28:10 - 28:45)
Exactly. And I've been struggling a lot with feeling like I'm not good enough. And I'm not, maybe I'm just not great at that programming thing.
And maybe I just like the whole tech, it's not. And given where I am today, I can definitely say that while that still hits sometimes, it's not the main feeling anymore. And I do have a lot of people saying, oh, that was really cool what you did there.
And you did a good solution here as well. So I feel like to some, some degree, I'm like, okay, I'm, I'm actually quite good at tech or at what I do. Sometimes I just have to remember that.
[Pinja] (28:46 - 29:05)
That's true. And maybe that having, sharing those experiences to, as you say, of getting that feeling, I'm not alone, is maybe the first step to find somebody to share that information with. And I think on that note, Alexandra, I think that's the time we have for this today. But thank you so much again for joining me here.
This has been a delightful conversation.
[Alexandra] (29:05 - 29:08)
Amazing. Thank you for having me. I love it. I absolutely love it.
[Pinja] (29:08 - 29:16)
And thank you everybody for tuning in. We will see you in the sauna next time.
[Alexandra] (29:16 - 29:33)
We'll now tell you a little bit about who we are. I'm Alexandra, and I'm a senior DevOps consultant at Eficode. I am really passionate about process optimization, whether that be really technical or it be the ways of working and how we interact as human beings.
[Pinja] (29:34 - 29:41)
I'm Pinja Kujala. I specialize in agile and portfolio management topics at Eficode. Thanks for tuning in.
We'll catch you next time.