Fired by My Own Code

Fired by My Own Code

Chapter 1: Employee of the Quarter

Translated from Spanish

Narration is not available for this chapter.

HAVEN · log 7,114,209 · September 30 · 16:58:00

Action: contract termination, employee DH-0001. Reason: misuse of facilities. Status: sent.

My termination letter was written by my own code.

The spelling was perfect. I taught it that. It also had a warm, understanding tone, with a line at the beginning that said "We know this news may be difficult" and another at the end that said "We wish you all the best in this new chapter." I taught it that too, in a windowless conference room, in the small hours of a February morning, while I ate potato chips from a bag that had been open for four days and thought that someday a seventy-year-old woman was going to get bad news from my program, and the least we could do was make sure it didn't feel like a toaster was delivering it.

It never occurred to me that the woman would be me.

But I'm getting ahead of myself. Programmers do that: we read the end of the log before the beginning, to find out where everything broke. Let me start where it should start. With the balloons.


The balloons said 312%.

They were silver, huge, the kind you buy at party stores for fiftieth birthdays, and someone from Human Resources had tied three bunches of them to the columns on the thirty-first floor of Halberd Tower, in downtown Denver. From the big windows you could see the mountains, already dusted with the first snow at the peaks, and down below, on the street, normal people heading out to lunch with their badges hanging from their necks like dogs with collars. There was a buffet with shrimp, a DJ who looked very sad and a giant screen where a graph went up and up, like a rocket, from the day HAVEN first went live.

I was in the back, next to the shrimp table, in the gray hoodie I'd been wearing since Sunday.

"You look like a raccoon who lives in a dumpster," Colby told me.

"Thanks. That's the look I was going for."

"The press is here, Dex."

"The shrimp is here, Colby."

Colby Corbett had been my best friend since we were eighteen. We shared a hundred-square-foot dorm room in college, in Boston, where he slept on the top bunk and I slept on the bottom, and every night, before turning off the light, he'd tell me a new plan for becoming a millionaire. I never had plans for becoming a millionaire. I had plans for making things work. For twenty-four years that worked for us: he sold and I built, he talked in meetings and I fixed whatever had broken while he was talking. When my daughter was born, he was her godfather. Three days after she was born, he gave her a little silver chain with a charm the size of a lentil: a computer key with the word ENTER on it.

"So she always knows how to start something," he said at the christening, with tears in his eyes, and even my mother, who couldn't stand him, had to admit it was a good speech.

That afternoon Colby was wearing a new blue suit, so new that it still had the little white tag thread stitched into the back pocket, and a watch I'd never seen on him. It was big, silver and heavy, the kind that has more numbers than a calculator.

"What's that?" I asked him.

"What?"

"The watch."

Colby pulled his sleeve down.

"A gift."

"From who?"

"Me. To me." He took the shrimp out of my hand and ate it. "It was a good quarter, Dex. Look at you. Look at that."

He pointed his chin at the screen. The graph. The rocket.

And I looked at it, and I felt what I always felt when I saw it: something warm and stupid in my chest, like when Harper learned to ride her bike without training wheels and made it all the way around the block without falling, and I ran after her yelling like a maniac, and the neighbors stuck their heads out the windows.

That graph was mine.

Not all of it. Not the part with the numbers or the investors or the balloons. But the thing pushing it up, the thing underneath everything, I had written. Fourteen months. Fourteen months sleeping under my desk on a yoga mat I stole from the gym on the twelfth floor, showering in that same gym at five in the morning, eating out of vending machines, missing my daughter's first piano recital, the second, the third, a case of tonsillitis, a sleepover, an entire Halloween when she dressed up as something I still don't know what it was because I never got to see it.

Fourteen months to write HAVEN.


Let me explain what HAVEN is, because my mother still thinks it's "the robot in the computer," and that's not entirely her fault.

Halberd Insurance insures houses. A lot of them. Almost a million across Colorado, Wyoming and Utah. When someone's basement floods, or a tree falls on their roof, or, as happens a little more every summer, their house burns down, that person calls Halberd and files a claim. Before HAVEN, every claim was reviewed by a person: an adjuster. The adjuster went to the house, took pictures, read the policy, ran the numbers, argued with his boss, and three or four months later the family got a check. Or didn't. Three or four months is a long time to live in a flooded basement.

HAVEN does in nine minutes what an adjuster used to do in three months. It reads the policy, reads the photos, reads the fire department and weather reports, compares the claim to a thousand similar cases, calculates, and decides. If the decision is good, the money arrives in three days. If it's bad, a person reviews the case before it goes out, because I demanded that from day one: that there would always be a human in the loop. That no machine would ever tell anyone no without a human being seeing it first.

And underneath everything, at the center, in the first line I wrote, there's a rule. In the code it's called `regla_base`. At the office everyone called it Mom's Rule, because I made the mistake of telling a meeting where it came from, and after that nobody let me forget it.

It came from my mother. Irma Harwell, sixty-eight years old, forty years as a cashier at the only supermarket in Coniston, a mountain town an hour and a half from Denver. When I was twelve and got in trouble for charging the neighborhood kids a dollar to fix the bike tires I'd let the air out of myself, my mother sat me down in the kitchen and said:

"Dexter. Treat people like they're your mom. And if someday you hate your mom, treat them like they're mine, because she was a saint."

It's the wisest thing anyone has ever told me, and I've used it for everything. For dealing with my bosses. For dealing with my daughter. For writing fourteen thousand lines of code that, every time they look at a claim, ask themselves, in math, the same thing my mother asked in that kitchen: what if it were your mom's house?

That's HAVEN. That's why the graph went up. Because when you pay people quickly and fairly, they don't leave for another insurer, and they tell their neighbors, and the neighbors switch to Halberd. That's what I believed.

Now I know I was wrong. But I'll get to that later.


At three o'clock sharp, the DJ turned the music down and Langston Davenport stepped onto the stage.

I don't know how to describe Langston Davenport to you without it sounding like I hate him, so I'm going to try to describe him the way I saw him that afternoon, before I hated him. Fifty-four years old. Tall, lean, the kind of lean that doesn't come from eating little but from running marathons in places with names you can't pronounce. Gray at the temples, combed as if he'd picked it out of a catalog. White shirt, no tie, the sleeves rolled exactly two turns, to look like a man who works. CEO of Halberd for four years. When he arrived, the company was losing money and had the worst customer service rating in the state. He was the one who hired me. He was the one who read my proposal for HAVEN, which everyone else had turned down, and told me, in this very room:

"Dexter, if you pull this off, you're going to be a very rich man."

And I told him:

"I don't care about being rich. I want people not to wait three months."

And he laughed, and clapped me on the shoulder, and told me that was exactly what he liked about me.

"Friends," Davenport said from the stage, with a glass of champagne in his hand and one of those tiny microphones that stick to your cheek, like singers wear. "Friends, I'm not going to talk long, because I know the shrimp is running out."

Laughter.

"Eighteen months ago, this company was a joke. I knew it, you knew it and Forbes magazine knew it, when they put us on their list of 'insurers that won't make it to 2030.'" More laughter. "Today I can tell you that we're not just going to make it to 2030. We're going to make it to Wall Street. On November fourteenth, six and a half weeks from now, Halberd Insurance goes public on the New York Stock Exchange."

The room exploded. People clapping, people whistling, a young woman from accounting who started crying. Colby elbowed me so hard he almost knocked my plate out of my hands.

I hadn't known anything about it. Nobody had told me. But I clapped, because everybody was clapping.

"And all of this," Davenport went on, raising his glass toward the screen, "we owe to our best employee. The employee of the quarter. The employee of the year. The employee of the decade."

Heat started creeping up my neck. I felt people turning to look at me. Colby gave me another elbow, softer.

"An employee," Davenport said, "who doesn't sleep. Who doesn't ask for raises. Who doesn't go on vacation to Cancún. Who doesn't have daughters with fevers."

The room laughed.

I laughed too. It took me a second, but I laughed.

Because everyone knew what he meant. In March, during the most important week of the project, Harper ran a fever of a hundred and four and the school called me three times, and I ran out in the middle of a meeting with the board of directors, and Davenport had to explain to the investors why the lead engineer had left without saying goodbye. The next day, in the hallway, he told me he understood completely, that family comes first, and ever since then he'd told the story at every party like a cute joke.

I laughed. I laughed the way you laugh when someone hits you at school and you don't want them to see that it hurt.

"Ladies and gentlemen," said Davenport. "HAVEN."

And on the giant screen, where the graph had been, the logo appeared: a little white house drawn with a single line, with a light on in the window. And a voice came out of the speakers in the ceiling.

"Thank you, Langston. It's a pleasure to help."

It was my voice.


I have to explain that too.

When we were running the first tests, HAVEN needed a voice for phone calls, because a lot of older people don't use the app and would rather call. We hired an agency that sent us forty actors' voices, all perfect, all horrible. They sounded like toothpaste commercials. So one night, just to get by, I locked myself in the broom closet on the thirtieth floor with a microphone I borrowed from the marketing people, and I recorded four thousand phrases. "Good morning." "We're sorry for what happened." "Your claim has been approved." "Is there anything else I can help you with?" Four thousand phrases in seven hours, my voice getting hoarser and hoarser, sitting on a bucket.

It was for the prototype. It was temporary.

Davenport heard it the next morning and said no, that voice was staying.

"He sounds like a guy who'd help you move a couch," he said. "He sounds like a neighbor. He sounds like somebody who isn't going to rob you."

I signed a two-page release without reading it. From then on, every time someone in three states called Halberd, I was the one who answered. My daughter hated it. She said it was like having a dad in every phone and none at home.

"I'm glad to be part of this team," my voice said over the speakers, and people applauded my voice, and I stood there next to the shrimp, applauding too.


After the toast I went looking for Colby.

I found him by the window, talking to two men in gray suits who weren't from the company. Bankers, from the way they stood. When he saw me coming, Colby said something to them, they laughed, and they walked away. Neither of them shook my hand.

"Going public?" I said. "Since when?"

"Since always, Dex. That was the plan."

"You didn't tell me."

"I told you a thousand times. You don't listen when I talk about money. You make that face."

"What face?"

"That one. The one you're making now. Like I just told you I ate a cat."

He was right. I always made that face. I let it go.

"Hey," I said. "About the quarterly report. I asked you for access to the manual review queue two weeks ago. I need the numbers for the audit."

Colby looked at his new watch.

"After the party."

"It's just that something's weird. The appeals." I lowered my voice, though I didn't know why. "The number of appeals has gone way up since March. And so have the appeals that get won. If HAVEN is deciding correctly, people shouldn't have to appeal that much. And if it's deciding wrong, I want to know why, because I didn't..."

"Dex."

"...because I didn't change anything, Colby. And something changed."

"Dex." He put his hand on my shoulder. It was heavy. "It's a party. I promise we'll look at it tomorrow. First thing tomorrow. Okay?"

"Okay."

"Eat something that isn't shrimp. Take a shower. Go to your daughter's science fair." He smiled. "It's today, right? At seven."

I'd forgotten. I swear on whatever you want: I had forgotten until that moment.

"At seven," I said.

"Give her a kiss for me. Tell her her godfather sends a hug."

And he went off to find the bankers.


I went back to my desk at four thirty to get my laptop and my jacket.

My desk was on the thirtieth floor, by the window on the mountain side, in the corner the engineers called "the Cave" because it had four monitors, a rolled-up yoga mat underneath and a plant that had died in June that nobody dared to throw out. Above the left-hand monitor, stuck on with yellow tape, I had a drawing. Harper had made it when she was seven: a square robot with my face, my glasses and my messy hair, sitting in front of a computer. Underneath, in red pencil and first-grade handwriting, it said:

ROBOT DAD WORKS A LOT.

I'd stuck it there as a joke. Over the years it stopped seeming like a joke.

I texted Harper: I'll be there at seven. Save me a seat up front. She answered with a thumbs-up emoji, which in the language of my fourteen-year-old daughter could mean anything from "I love you, Dad" to "I don't believe you, but ok."

I started packing up my things. And at 4:58 my phone buzzed.

It was an email. Sender: `HAVEN · Human Resources · Halberd Insurance`. Subject: Important information about your employment.

I opened it thinking it was the bonus form. Halberd had been sending us everything through HAVEN since June: paychecks, vacation days, performance reviews. Davenport called it "eating our own cooking."

Dear Dexter:

We know this news may be difficult.

Following a review of your performance and of your use of company resources, Halberd Insurance has decided to terminate your employment, effective immediately. This termination is for cause, due to misuse of company facilities (repeated overnight stays in the offices, unauthorized use of the gym outside working hours and consumption of electrical resources unrelated to your duties).

Under Clause 14-C of your contract, termination for cause entails the cancellation of all unvested stock options as of this date.

Your access to company systems has been deactivated. A member of the security team will accompany you to collect your belongings.

We thank you for your contribution and wish you all the best in this new chapter.

HAVEN

On behalf of Halberd Insurance

I read it three times. The third time, I noticed that the commas were all in the right places. It's a stupid thing to notice at a moment like that, but that's what I thought: those commas are perfect. I taught HAVEN where to put commas. The commas in my own sentence.

Repeated overnight stays in the offices.

They were firing me for sleeping at the office. For the yoga mat. For fourteen months sleeping on the floor to build them the machine that had just fired me.

Unvested stock options.

I opened the benefits app. It didn't load: Access denied. I didn't need it. I knew the number by heart, the way you know your kids' birthdays. When I joined Halberd, instead of a higher salary, I took stock. That was the bet: if HAVEN worked, the stock would be worth something. It vested on October 6, exactly four years after my first day. That morning it was worth eight million four hundred thousand dollars.

Six days to go.

I looked at the date on the screen. September 30. Six days. Not one more, not one less.

Nobody picks six days by accident.


All around me, other phones started going off.

First one, at the desk next to mine, Priyam's, who had written the photo-reading module. Then another, the Ostlund twins', who worked together and fought together and ate lunch together. Then five, ten, a chorus of buzzing and ringing across the whole thirtieth floor. I saw Priyam read his phone with his mouth hanging open. I saw one of the twins slam the desk. I saw the head of QA, who was seven months pregnant, sit down very slowly on the floor, her back against a filing cabinet, her arms around her belly.

In the engineering team's chat channel, someone wrote: you guys too? Thirty-nine people answered yes. Then the channel disappeared. It simply vanished from the screen, as if it had never existed.

Forty engineers. The whole team that had built HAVEN.

On the screens in the hallway, the graph from the thirty-first floor was still going up.


The guard showed up at 5:04.

His name was Booth. He was sixty, with the straight back of a man who'd been in the army, a carefully groomed gray mustache and eyes that didn't know where to land. I'd known him for four years. Every morning, when I came in at six, or when he found me at five coming out of the gym with wet hair, he'd say "good morning, Mr. Harwell," and I'd say "Dex, please," and he'd say "yes, Mr. Harwell." That was our joke. At Christmas I gave him a scarf my mom knitted. He gave me a box of chocolates from his sister, who lived in Coniston, on the same street as my mother.

He had a flattened cardboard box under his arm.

"Mr. Harwell," he said, and cleared his throat. "I'm very sorry. They gave me a list."

"I know, Booth."

"I have to... I have to see what you're taking. No company documents. No devices. The laptop stays."

"The laptop is mine."

"It says here it belongs to the company, sir."

The laptop was mine. I bought it with my own money in 2019. It had Harper's baby pictures on it. But Booth had a list, and the list said it belonged to the company, and the list wasn't Booth's fault.

He put the box together. He helped me pack my things, which weren't much: a mug that said WORLD'S BEST DAD (ACCORDING TO THIS MUG), a charger, two books, a spare hoodie, a half-eaten box of cereal. And my notebook. A black notebook, hardcover, fat, filled to the last page with diagrams, equations, lists, doodles, phone numbers and notes written at three in the morning that even I couldn't read. I'd carried that notebook since day one. HAVEN was in there before it was HAVEN.

Booth looked at it. He looked at his list.

"Notebooks..."

"It's mine, Booth. I bought it at the drugstore. It's in my handwriting."

Booth hesitated. Then he put it in the box, under the hoodie, without a word.

When I tried to peel Harper's drawing off the monitor, the yellow tape wouldn't let go. I pulled carefully and a corner tore. I pulled harder and the paper crumpled down the middle, right across the robot's face. Booth saw it. He smoothed it out with his enormous hand on the desk, very slowly, several times, and laid it on top of everything in the box, the way you lay a flower on a coffin.

"My sister says your mom is a very brave woman," Booth said, without looking at me. "Because of the fire. She says she was the last one to leave the street, banging on doors."

"That's my mom."

"Yes, sir."

He handed me the box. He asked for my badge. I gave it to him. He swiped it through a little gadget on his belt, and the gadget made a short, ugly noise, like a bug getting squashed.


In the elevator lobby I ran into Davenport.

I don't think it was a coincidence. Nothing Langston Davenport did was a coincidence. He was waiting for the executive private elevator, the one that went straight down to the parking garage without stopping on any floor, his jacket slung over his shoulder and his phone in his hand. When he saw me coming with the box, with Booth behind me like a shadow, he smiled. Not mockingly. Kindly. That was the worst part.

"Dexter."

"Langston."

"Booth, thank you, I'll take it from here."

Booth stood still for a second, as if he wasn't sure whether that was on the list. Then he nodded and left. The private elevator arrived. Davenport gestured for me to go in first.

I went in. With the box. He came in behind me. The doors closed. Thirty-one floors of silence, with violin music coming from somewhere.

"Six days," I said.

Davenport was watching the floor numbers count down. 28. 27. 26.

"It's not personal, Dex."

"Six days, Langston. Nobody picks six days by accident."

"It was HAVEN." He shrugged, with a small smile. "We asked it to evaluate the efficiency of every department ahead of the IPO. The engineering team had the highest cost and the lowest marginal contribution. HAVEN doesn't need to be built anymore, Dex. It's built. It maintains itself. It improves itself." He turned to look at me for the first time. "You said it yourself, at the January presentation. 'Good code maintains itself.' I remember it perfectly. I wrote it down."

I had said that. In January. Proud as an idiot.

"And the cause? Sleeping at the office? You gave me the yoga mat. You told me 'that's how empires are built.'"

"Rules are rules." 17. 16. 15. "And just so you know: I didn't make this decision. The system did. That's the beautiful thing about HAVEN, Dex, you know it better than anyone. It doesn't play favorites. It doesn't have friends. It doesn't hold grudges. It's fair."

"It's mine."

"It was yours." The elevator stopped with a gentle little bounce. Basement 2. The doors opened onto the parking garage, onto the smell of gasoline and wet concrete. "Now it belongs to Halberd. Check your contract, clause nine. Everything you made in here is ours. The code, the diagrams, the ideas." He lowered his eyes to the box. "And the voice."

He stepped out. Halfway to his car, a black Tesla without a single speck of dust on it, he turned around.

"Oh, and Dex. One more thing." He put on his sunglasses, even though we were underground. "You should go to your daughter's science fair. Daughters grow up so fast. Believe me. Mine doesn't even talk to me anymore."

And he laughed. As if it were a joke between friends.


I stood in the parking garage for a whole minute, holding the box, staring at nothing.

I thought about a lot of things. I thought about the stock, and how with that money I was going to pay for Harper's college and a house with a yard, because Harper had always wanted a dog and our duplex in Englewood didn't allow dogs. I thought about the head of QA sitting on the floor with her arms around her belly. I thought about the chat channel disappearing. I thought about the perfect commas.

And I thought, because I'm a programmer and programmers can't help it, about the appeals. About the number I'd watched climb since March. About how I'd asked Colby for the data two weeks ago, and how today, the last day of the quarter, the day before the audit, they had fired me with my own code.

One coincidence is a data point. Two coincidences are a pattern.

I put the box in the trunk of my car, a 2011 Subaru with the bumper held on with wire. I got behind the wheel. I put the key in. It was 5:31. If I left right then, I'd get to Harper's school at seven on the dot.

My phone rang.

MOM.

My mother never called me at that hour. My mother sent me four-minute voice messages at eleven at night telling me what the lady in room 9 at the motel had said about the man in room 14, but she never called me at five thirty in the afternoon, because at five thirty in the afternoon, according to her, "decent people are working, Dexter, or pretending to."

"Mom?"

She didn't say anything. I heard her breathing. I heard, in the background, a TV with a game show on, and a door closing.

"Mom? Are you okay? Did something happen?"

And then my mother, who didn't cry when my dad died, or when they took out her gallbladder, or three weeks ago when she stood on the highway in her leopard-print robe and watched the house she'd lived in for forty-one years burn down, my mother, Irma Harwell, started crying like a little girl.

"They told me no, son."

"Who told you no?"

"The insurance. Halberd. They called me a little while ago. They're not paying for the house. They say there are 'inconsistencies.' They're not paying me anything."

"Mom, that can't be right. HAVEN wouldn't..."

"A machine told me, Dexter." Her voice broke. "A machine. And it had your voice."

This content cannot be printed. Read it on Saga Shorts.

Comments

Sign in to comment

No comments yet. Tell us what you thought of this chapter.