The same ad may get a different response when it shows up on a commuter train than when it shows up in bed at night. A commute tends to break attention into pieces, a lunch break may leave room to scroll, and late evening is relaxed enough that people may read to the end. The moment an ad is seen carries a context, and the context carries mood and patience.
A survey has a hard time asking about this. A survey is answered while sitting at a desk and paying attention, while an ad is seen with a thumb moving and eyes scanning. The two states are far apart. This article first reads what research says about daily rhythm, then takes apart how the MiroFish source code schedules simulated time, and finally covers how to write the usage context into a simulation. The overall method for simulated users is in how simulated users see an ad before launch.
Ad Timing and What Research Shows About Daily Rhythm
Golder and Macy, 2011 analyzed more than 500 million public tweets from about 2.4 million people in 84 countries. Positive affect is higher on waking and declines through the day. The weekend morning peak shifts later by about two hours.
The study measures mood in public posts. It shows that a person's state changes with the hour and with weekdays versus weekends. It does not address purchasing or advertising, and this article does not extend it to buying behavior. What it supplies is a plain fact: a simulation where every person is in the same state all day is missing a variable that always exists in the real world.
How MiroFish Schedules Time
The open-source MiroFish splits its flow into five steps: graph building, environment setup, simulation, report generation, and deep interaction. Time is configured in the environment setup step, in simulation_config_generator.py. The social platform layer is built on OASIS.
The default is 72 simulated hours at 60 minutes per round, which makes 72 rounds. The day is divided by hour into periods, and each period has an activity coefficient. A code comment states that the coefficients follow Chinese daily routines, and a language model can adjust the periods to fit the data. When a hot topic breaks, for example, discussion continues late at night.
| Period | Activity coefficient | Setting in the code |
|---|---|---|
| 0–5 a.m. | 0.05 | Trough |
| 6–8 a.m. | 0.4 | Waking and commuting |
| 9 a.m.–6 p.m. | 0.7 | Daytime |
| 7–10 p.m. | 1.5 | Peak |
| 11 p.m. | 0.5 | Winding down |
Each role also has a few fields: overall activity, activity_level, from 0 to 1; the hours it may be online, active_hours, defaulting to 8 a.m. through 10 p.m.; and posts and comments per hour. The role settings decide when a person can appear, and the period coefficient decides how busy the whole world is during that hour.
The per-round flow at run time is in run_parallel_simulation.py. The script first works out which simulated hour the round falls on. A peak hour is multiplied by the peak coefficient and a small hour by the trough coefficient, with a random draw between the per-hour minimum and maximum, giving the number of roles to bring online. It then goes through the roles one by one. A role is skipped if the hour is outside its active_hours, and otherwise it comes online with a probability set by activity_level.
From MiroFish run_parallel_simulation.py; coefficients and headcount range are program defaults
The same config also defines stance, sentiment bias, and influence weight. By the source check, this simulation script does not read those fields, so a role's stance does not change how the run unfolds. The only time information this script actually uses is the period coefficient, active_hours, and activity_level.
For market rehearsal, the value of this design is that it shows time can be put into a simulation, and it demonstrates how to write the schedule. Ad testing needs something else: when a role sees the product, and what the role is doing at that moment.
Writing Usage Context into the Simulation
The question an ad test answers is in which context a segment sees the ad and opens it. The method starts by writing out, for each segment, the hours of phone use and what the person is doing then. An office worker uses a phone on the morning commute with attention often broken. A parent scrolls a community group in the evening after the children are asleep, with uninterrupted time.
The context of seeing the ad then goes into two places. One is the role profile, stating what this role is doing right now and how much spare time there is. The other is the question, written as "It is a weekday morning, on the train, and the following ad appears." The same roles and the same ad run once in each of the two contexts, with every other condition identical.
Each interview collects the same fields: click intent from 0 to 10, and the top two reasons for hesitating. Because the roles and the ad did not change, the gap between the two contexts is the gap the context itself made. This is a design method for planning a test before launch. It is not a completed experiment, and this article gives no result figures.
The time data does not have to be guessed. A client's own traffic dashboard usually has visits and devices by hour, which shows when each segment is most often online. Without dashboard data, a public survey of internet use can fill in the hours for each age group.
What the Two-Context Test Shows
After the two contexts run, three things can be read, all as direction and relative gap only.
- Which context gives higher click intent. The same roles in a new context, and the direction the score moves.
- How the reasons for hesitating differ. In a busy moment it may be no time to read it now, and before sleep it may be wanting to think about the price.
- Which sentence of the copy gets skipped when busy. The interview can ask the role where reading stopped and which line did not register.
- Same roles, same ad
- Run once per context, collect click intent and reasons for hesitating
- Click intent is clearly lower in the busy contextShorten the headline and first line, move the point forward
- Reasons for hesitating cluster on priceMove price information to the front of the ad
- The two contexts barely differTiming is not the main variable, so recheck the other conditions
The result is not a forecast of click rate for a given hour. A simulation gives direction: in which context the ad loses ground, and on which sentence. The actual placement hours still need to be calibrated against live data, and whether the simulated direction holds up can be checked in how simulated market research is validated by backtesting. How segments are sampled is in how simulated user segments are sampled.
Taiwan Routines Need Separate Settings
MiroFish's default coefficients follow Chinese routines. The 19:00 to 22:00 peak and the 0.7 for 9:00 to 18:00 are one way of writing that rhythm of life. Commute times, lunch habits, and the evening peak in Taiwan do not necessarily fall in the same windows, and the windows differ between segments as well.
A Taiwan test therefore cannot reuse the defaults. The online hours of each segment have to be set again from the client's traffic data or a public survey. A wrong schedule places the ad in a moment that does not exist.
When a Context Test Does Not Fit
- Forecasting the actual click rate or conversion for a given hour. A simulation gives direction only.
- A segment whose browsing hours have no data and cannot be estimated.
- Testing the ad platform's bidding and ranking, which has nothing to do with a role's context.
Handing a Context Test to the Development Team
P-Mo Test is a market rehearsal, and each simulated user carries a recent-mood note and a context setting, so one segment can see the same ad in different contexts. Product details are in P-Mo Test simulated users and interviews.
- The ad to test, with full copy and images.
- A description of the target segments, and when and while doing what the segments use a phone.
- The two contexts to compare, one sentence each.
- The client's own traffic data, if there is any.
Once these are ready, the segments and contexts to compare can be described through the contact page. How the simulated world is built from product data is in product data inside the simulated world. Price comparison before launch is in pricing tests before launch, and how discussion shapes opinion is in moving the focus group into a simulated board.
