Chapter 24: The Demon Rises 1 Foot
Loading Edge voices…
Wednesday afternoon, Bug Café.
Zhou glanced at the clock behind the bar. "You're here at one. Not working overtime today?"
"Freelancers don't work overtime," Han Luyi said, carrying his Americano to his usual spot in the corner. "We're just on the clock all the time."
Zhou snorted. "When I was a programmer, I didn't flatter myself like that."
Han Luyi opened his laptop. CodeSafe's official website was still on his last open tab. The number of registered users had risen to 3,800, and the positive reviews had gone from three to seven. He had read every single one of them.
Taking a sip of his coffee, he downloaded the public beta version of CodeSafe, installed it locally, and opened it. Last time, he had only skimmed the surface; this time, he needed a closer look.
Activate Horizon.
A stream of gray code floated up from the bottom of the screen, spreading out before his eyes like an X-ray. The front-end framework, back-end microservices, data pipeline, and model inference layer—CodeSafe's entire technology stack was laid bare.
First, the good points.
The front-end used React and TypeScript with standardized component splitting and smooth interactive animations. The UI was three tiers above BugKiller. They clearly had a dedicated front-end team; this wasn't a gap a single person could bridge. The back-end had a gateway written in Go and ran inference in Python, with Kafka serving as the message queue in the middle. It was a textbook technology stack. It supported three languages, the detection speed wasn't slow, and its enterprise integration documentation was written better than that of many major tech giants.
Horizon floated a rating tag next to the overall code quality:
[Code Quality Rating: Excellent]
Not bad. A Stanford CS Ph.D. and experience at Google weren't just for show. The engineering standards of this system were top-tier for a startup. Zhao Wen Yuan really knew his stuff.
Han Luyi continued reading.
As Horizon delved into the core detection engine, the code stream grew denser, and the sheer volume of information surged. He focused his attention, and his Energy Value began to drain at an accelerated rate.
Then he saw a line of yellow text slowly materialize above the core engine:
[Architectural Risk: Detection engine uses full traversal + large model inference | Current Performance: Excellent for codebases < 50,000 lines | WARNING: When codebase exceeds 200,000 lines, false positive rate will rise non-linearly (Estimate: 3% at 50,000 lines → 17% at 200,000 lines → 41% at 500,000 lines) | Root Cause: Feature extraction lacks hierarchical pruning; context window overflow in large codebases leads to model hallucinations]
50,000 lines, 3%.
200,000 lines, 17%.
500,000 lines, 41%.
Three numbers, rising non-linearly.
Right now, CodeSafe's users were all individual developers and small teams, with codebases generally under 50,000 lines. The user experience was good, and the positive reviews were genuine. Zhao Wen Yuan wasn't faking anything; his product was genuinely competitive at its current scale.
But enterprise clients routinely had codebases spanning hundreds of thousands of lines.
This wasn't just a bug; bugs could be fixed. The architectural choice had fundamentally taken the wrong path. Feature extraction hadn't implemented hierarchical pruning, and the core engine relied on the large model for full inference. Under 50,000 lines, it was fine—the context window could handle it. But over 200,000 lines, the window would overflow, and the model would start hallucinating. The detection results would devolve from "accurate" to "wild guesses."
To fix it? They would have to rewrite the core engine.
That would take at least three months.
Zhao Wen Yuan most likely had no idea. The beta users were all running small projects, and the metrics looked beautiful. He probably thought he was a genius right now. It wouldn't be until they actually took on an enterprise contract that they would realize just how thorny this issue was.
Han Luyi deactivated Horizon, noting his Energy had dropped by over sixty points.
He leaned back in his chair, staring at the slogan on CodeSafe's homepage: "The most complete AI code review solution."
Su Niannian pushed the door open, bringing a gust of outside air with her. Without even taking off her scarf, she walked straight over, sat down across from Han Luyi, and pulled out her laptop. They had agreed to meet at Bug Café.
"I registered for CodeSafe," she said.
"Mhm."
"Want to run a comparative test?" She opened a GitHub repository. "This open-source project is a Python back-end service, roughly eighty thousand lines. Let's run it through both."
Both laptops started processing simultaneously.
BugKiller's progress bar hit the end first. CodeSafe lagged behind by almost a full minute.
When the results came out, Su Niannian placed the two windows side by side. BugKiller reported 50 issues; CodeSafe reported 36.
Han Luyi activated Horizon again to scan the Source Code. Fifty-one bugs.
Using Horizon's results as the answer key, he cross-checked them item by item. BugKiller: Out of 50, 48 were real, 2 were false positives, and 3 were missed. CodeSafe: Out of 36, 32 were real, 4 were false positives, and 19 were missed.
After spending twenty minutes confirming the Source Code, he relayed the false positive data to Su Niannian.
Su Niannian calculated it in her notebook. "False positive rate. We're at four percent, they're at eleven percent."
He didn't mention the false negative rate. After all, he couldn't exactly explain to Su Niannian how he knew the true answer was 51. He did the math silently in his head: six percent versus thirty-seven percent.
On an eighty-thousand-line codebase, CodeSafe's false positive rate had clearly spiked.
But the sheer number wasn't the main point.
Su Niannian clicked on BugKiller's first detection result. Below the bug description hung an impact assessment: "Post-launch Impact Prediction: ~12% trigger probability in high-concurrency scenarios, estimated monthly affected users: 12,000, Repair Priority: P0." Below that were three lines outlining the repair path.
She clicked on CodeSafe's entry for the exact same issue.
"Potential null pointer exception found, please check."
A single sentence. That was it.
Su Niannian looked at the data on both sides and stayed quiet for a moment.
"We crush them in detection capabilities," she said, looking up. "They support more languages than we do, and they built their enterprise integration earlier, but those are just a matter of time."
"Right. Plus, their engine will run into problems on larger codebases," Han Luyi said. "They'll figure it out on their own once their user base grows."
Su Niannian narrowed her eyes slightly. "How do you know?"
"Educated guess based on their architecture. Full traversal combined with large model inference. Once the codebase scales up, the context window won't be able to handle it, and the false positives will skyrocket."
Su Niannian stared at him for a while, but didn't press the issue.
She flipped her notebook to a new page and wrote the heading: Public Beta Plan v0.1.
"Let's run through the competitor analysis first," Su Niannian said as she wrote. "The CodeSafe team has fifteen people. I can't find their exact funding amount, but based on Zhao Wen Yuan's setup, a conservative estimate is fifty times your entire life savings."
"Thanks, that's very encouraging."
"We don't have the advantage in money or manpower. But they're a heavy operation, and we're light—that hasn't changed. So we can't fight them on all fronts. We have to pick a weak point they can't cover."
Su Niannian flipped to another page, tapping her pen against the paper.
"We target impact assessment, and we don't touch anything else."
She pointed to the comparison on the screen. "CodeSafe tells you there's a bug. BugKiller tells you what impact this bug will have after launch. That's a complete disparity in product class."
"What about the launch plan?"
"First, we post on forums like V2EX and Juejin. We get our batch of closed-beta users to help amplify the reach. Then we have Ma Xiaofei put out another video. If we can break five hundred registrations on day one, we'll call it a success." Her pen didn't stop moving.
"When do we launch?"
Su Niannian opened her calendar and took a look. "The first day back from the holidays. We'll hammer out the launch plan and promotional materials during the break. Everyone is off for the May Day holiday, so when they browse the forums on their first day back to work on the 6th, they'll see it right away. If we delay any longer and CodeSafe establishes its user base, it'll be hard to poach them. Do you have enough time to write the code?"
"Yes."
"Then it's the 6th."
With that, she started sending a WeChat message to Ma Xiaofei.
Outside the window, the sky grew dark. Zhou refilled both their cups and turned the lights up a bit. Han Luyi wrote code while Su Niannian worked on the plan. They barely spoke in between. Occasionally, Su Niannian would look up to ask, "Did you update the API documentation?" or Han Luyi would send over a block of logic for her to confirm the product flow.
At eight-thirty, Zhou began to clear the tables.
"We're closing, you two."
Su Niannian looked up at the time. "Already?"
Zhou smiled and shook his head.
The two packed up their things and headed out the door, walking toward the subway station together while continuing to discuss the launch plan.
At the subway station entrance, Su Niannian suddenly stopped. "Luyi."
"Hmm?"
Su Niannian smiled. "...Never mind. See you tomorrow."
She went down into the subway station, and Han Luyi turned to walk home.
By the time he arrived at the door of Room 502, it was almost nine o'clock.
A kraft paper bag had been left at his door.
He crouched down to pick it up. Inside was a small piece of cake with sloppily spread frosting and a smiley face drawn in chocolate syrup. Underneath the paper bag was a crayon drawing.
The drawing depicted a little figure with glasses sitting in front of a computer. Next to him lay a giant ladybug with a red shell and three large black spots.
He flipped it to the back. There were crooked pencil letters, each stroke written with obvious effort:
"You can bo it, Luyi!"
The letter "d" was written backward.
Standing at the door, Han Luyi took a bite. The frosting was too sweet and the cake was a little hard. He took another bite.
He put the rest in the fridge.
His phone lit up.
Gu Siyue: "Yuwei took Lin Wanqing's case. Initial assessment shows a high chance of winning."
He replied, "Thank you, Lawyer Gu."
Another message popped up. Su Niannian sent a Feishu document link: Public Beta Plan v0.1.
He clicked it open, glanced at it, and replied, "Received. Get some rest early."
Han Luyi taped Duoduo's drawing to the side of his monitor.
Then he opened his code editor.
The ladybug stared at him with its two big eyes.