AI • Science • Technology • Future

Side Projects

How Removing Randomness Made a User Simulator Reliable

Image from the original article
Featured image: original publisher image. Via original publisher.

A solo developer in Korea built a user simulator that sends 100 virtual visitors to a landing page. The tool shows where each one leaves and why—without using AI or randomness. Source: dev.to.

How the Tool Works

When you paste a URL, the server loads the page in a headless browser. It takes a screenshot and maps every element—sections, buttons, links, forms. This creates a visual ‘map’ of the page.

The core engine runs in your browser. It simulates 100 virtual residents walking through the page using the map. Each resident has a unique set of values based on real user behavior in Korea.

Resident Values

There are 1,000 digital personas in the pool. Each has 97 values on a 0–10 scale. These cover personality, mood, device, and interests like work, money, health, or tech.

Values aren’t independent. A resident who reads closely also tends to tolerate long text. A suspicious one clicks more on privacy or ‘about’ links. These links are tied by shared traits.

Any resident with conflicting values—like high curiosity and low patience—is rejected. This keeps behavior realistic.

The age mix comes from Korea’s 2025 Internet Usage Survey. It reflects real user habits, not guesses.

Selecting the Right Residents

For each page, the tool picks 100 residents whose interests match. It uses a geometric mean, not a simple average.

The formula is: Math.pow(nums.reduce((p, n) => p * (r.값[n].값 / 10), 1), 1 / nums.length).

If one interest is low, the overall score drops. This prevents over-reliance on one trait and keeps results balanced.

From Values to Behavior

The engine doesn’t use raw values directly. It turns them into core behaviors using weighted combinations.

For example, attention budget—how long a resident stays—is driven mostly by time available, with small parts from tiredness, patience, and urgency.

The mix becomes seconds using an exponential function. A value of 0 means 20 seconds.

Personality never exceeds a fifth of any mix. Situations and habits drive behavior more than ‘who you are.’ This rule is tested in every run.

The Problem with Randomness

The first version used 17 random draws. These decisions—like staying on a screen or giving up on a form—were based on chance.

The developer ran the same 100 residents on the same page, changing only the random seed. Results varied: 3 to 10 residents reached the end. Star ratings shifted from 3.19 to 3.60.

This noise made it impossible to know if a change—like a new headline—actually improved the page.

The Fix: Deterministic Behavior

All randomness was removed. Now, decisions come from ‘intent’—a score between 0 and 1—based on values and what the resident sees.

For one-time actions—like clicking a button—intent must exceed a cutoff. If it does, the action happens.

Image from the original article
original publisher image. Via original publisher. · Source

For repeatable actions—like giving up on a form—intent builds over time. The action happens when it reaches half of the total threshold.

Early tests showed a global cutoff created sharp cliffs. On a 4-second page, 69 residents left on the first screen—far more than predicted.

Now, cutoffs are re-fitted for each page and each run. Up to 10 iterations ensure results match the original model.

No resident ever gets lucky. The same page, same result, every time. The only randomness is in how a resident phrases their interview.

Real-World Results

On the developer’s own page, changes produce clear, repeatable results:

  • One character change in a menu label made all 100 residents behave the same.
  • Reducing first-screen text from 233 to 600 characters lowered star ratings from 3.58 to 3.43.
  • Adding an example reduced first-screen exits from 20 to 15.
  • Adding an email field reduced form completions from 9 to 6.

Changing a single value—like suspicion from 12 to 7—shifts finishers in the expected direction.

Paths and Interviews

Without randomness, distinct user paths dropped from 43 to 27. The old noise was the only thing splitting paths.

Now, personality drives variation. Menu users click menus more. Skimmers click links more than close readers. Suspicious residents go to privacy or ‘about’ links.

These links are now counted as ‘went to another page’—not ‘left because they didn’t like it.’

Distinct paths rose to 37. Star ratings and finisher numbers stayed stable.

Interviews Without Randomness

Residents who leave are interviewed about what caught their eye, why they left, and who they’d tell.

Before, 88 of 100 said ‘nobody’—even with five-star reviews. This was due to random behavior.

Now, each answer comes from real actions and personal values. Across 100 residents, each question has 42 to 87 different answers. The same result always gives the same answer.

Limitations

The tool never reads gender, region, or income. These values only exist to match population ratios. Any attempt to read them triggers an error and is tested.

Five engine settings are tuned to public web averages. They match only some of the ten benchmarks checked. The pool is calibrated to Korean internet users.

On English pages, residents read English. ‘Hard words’ don’t exist there. The tool does not represent a US or global audience.

It should be treated as a hint—not proof. It’s a simulation, not a study.

The tool is free, no signup needed. Run it three times per day. Try it at https://atelierlaunch.kr/en/residents/.

The developer welcomes feedback—especially where it gets things obviously wrong.

Sources & further reading

Featured image: original publisher image. Via original publisher. Image source