(Notes)

How to Build a Simulation World from Product Data

The simulated world is the data handed to the model when a run starts. Community simulations grow a knowledge graph from documents, while product testing uses a single structured set of product data.

Polish Design engineering team・2026-12-05

Contents

A simulated user's answer comes from only two places. One is the language model's own knowledge. The other is the data handed to the model when the simulation starts. That second part is called the simulated world. The model's knowledge is identical in every run, so the world is the only thing that can be adjusted, and how it is built decides where the answers come from.

This article first looks at how the open-source social-simulation project MiroFish grows a world from a document, then at the kind of world a product test uses instead, and ends with the data to prepare. For the overall method and the research behind simulated users, see What AI market research is.

How a social simulation world grows from data

MiroFish's README lists five steps: graph building, environment setup, simulation, report generation, and deep interaction. The world is built in the first step, by three programs in sequence.

The first is ontology_generator.py. It reads the text a user uploads and produces a set of entity and relationship types suited to social simulation, called the ontology. For an uploaded news story or report, the ontology first decides that the data contains people, organizations, and products, then decides which relationships can exist between those types. This step defines types only. No specific person exists yet.

The second is graph_builder.py. It writes the data into a knowledge graph according to the ontology, using the Zep graph service. A knowledge graph stores data as entities plus the relationships and facts between those types, so the names of people, institutions, and products in the document become nodes that can be queried.

The third is zep_entity_reader.py. It reads the entities out of the graph, and each entity can later become a simulated role. A role's fields include a bio, a persona description, age, gender, MBTI, country, profession, and topics of interest.

Fig. 1One document passes through three programs and becomes entities that can play roles
  1. Uploaded textNews or report
  2. OntologyEntity and relationship typesontology_generator
  3. Knowledge graphEntities and factsgraph_builder, Zep
  4. Simulated rolesOne per entityzep_entity_reader

Summarized from the graph-building steps in the MiroFish source. The figure shows order, not quantity.

One document therefore grows a world with people, relationships, and a timeline. The default run is 72 hours with each round standing for 60 minutes, and each role has an activity level, the hours it goes online, and a number of posts and comments per hour.

The platform sits on top of the world. MiroFish builds on OASIS and runs two platform environments at once. The Twitter-style actions are posting, liking, reposting, following, quote-reposting, and doing nothing. The Reddit-style set is larger: liking or disliking posts and comments, posting, commenting, searching posts, searching users, viewing trending, refreshing, following, and muting. After a run ends, the program can also put questions to a chosen role, which is the interview step.

The world updates during the simulation

MiroFish's world keeps changing during a run. zep_graph_memory_updater.py turns each action a role takes into one sentence of text and writes it back into the knowledge graph. The actions include posting, liking, disliking, reposting, quoting, following, commenting, searching, and muting.

Take one example. A role likes a post. The action becomes one sentence, the sentence is written into the graph, and the graph holds one more fact. When the run reaches the report stage, the report program queries the graph and can find who did what. The world therefore has two layers: the background grown from the document before the run, and the record built up from role behavior during it.

Social simulation observes people influencing each other, so the world has to change with the interaction. The underlying OASIS provides that environment, and Yang et al., 2024 reproduced information spread, group polarization, and herd effects on X-like and Reddit-like architectures, with up to one million users. Park et al., 2023 placed 25 generative agents in a sandbox town, where agents had memory, reflection, and planning and behavior built up through interaction. Both studies evaluate how believable the behavior is.

A glass snow globe holding a small city, with a stack of product manuals spread open beside it.

A product test uses a different world

A product test answers a different question. When comparing two pricing plans or two versions of ad copy, what matters is which wording makes the target segment more willing to buy. Spread and public opinion are outside the question.

This kind of test builds no graph. The product description, prices, and ad copy are organized into one structured document, and simulated users see only that document. The fields depend on the product, and common ones are product name, plan contents, price and billing method, rule explanations, and the original ad copy.

Structure keeps the boundary clear. What belongs to the world and what does not is visible at a glance. A product team can also check against this document whether a rule a simulated user cites actually appears in the source text.

The world stays fixed during a run to control variables. When two plans are compared, the only difference between the two sides is that document. Roles, model, and board rules are fixed, so any difference in results can be attributed to the data. When a world keeps growing new facts during a run, the two sides drift toward different states. A product comparison needs both sides to start from the same point, so the data stays fixed for the whole run.

How the two worlds are compared

The same set of roles runs once in data A and once in data B. The roles are sampled by program from the segment distribution, as described in how simulated users are generated, and one random seed gives the same people every time, so both sides have identical people. Each run is independent and memory carries over from neither, so experience in A never flows into B. Results are paired, and the same role's reactions in A and B are compared directly.

Fig. 2The only difference between the two sides is the data, so a difference can be attributed to the plan
Sampling
One run each
Pairing
Same roles
Plan A data
Plan B data
Program
1
Same rolesSampled by segmentOne random seed gives the same people
2
Plan A dataSees only plan A dataIndependent memory
3
Plan B dataSees only plan B dataIndependent memory
4
ProgramEach role's A and B reactions paired

Memory is not carried over, and pairing is per role

For how pricing plans are compared, see pricing tests before launch.

What data to prepare

Simulated users see only this data. Anything missing is filled in from the model's common sense, and what it fills in may differ from the actual rules, so the rules need to be written out clearly. The recommended set:

  • Product description: what the product is, who uses it, the main functions.
  • Plans and prices: what each plan includes, the price, and how billing works.
  • Original ad copy: supplied word for word, not rewritten or summarized.
  • Common rule explanations: refunds, transfers, deadlines, and usage limits, written as complete sentences.
  • Competitor comparison, if there is one: with source and date.

When organizing the data, numbers and conditions are copied as written, not rephrased. Examples are whether a price includes tax, how long a promotion lasts, and the conditions for a refund. Every sentence a simulated user reads becomes a basis for judgment.

The more specific the rules, the less simulated users have to guess from common sense, and the more a difference between two plans reflects the data itself.

When a data-only world is a poor fit

  • The product description, prices, or ad copy are not final. With incomplete data, simulated users lean heavily on the model's common sense.
  • The goal is to watch word of mouth spread layer by layer through interaction (see how word of mouth is measured). A fixed-data world grows no new facts during a run.
  • The goal is an absolute sales or conversion figure. A simulation shows direction and the relative gap between two plans.

Next step: build the simulated world from product data

Following the flow of MiroFish and OASIS, P-Mo Test market rehearsal replaces the graph-building step with organizing product data, and samples roles by segment. AI market research results are set jointly by that data, those roles and the model. Once the data is ready, the full flow is on the P-Mo Test page, and the plans to compare can be described through the contact page.

(Contact)

Start a project.

Three steps to a clear direction and budget range.

  1. 01Book the first meeting: choose a time. A full specification is not required.
  2. 02A 15 to 30 minute online consultation: direction, budget range, and draft timeline.
  3. 03After materials are reviewed, a quote and delivery specification follows in about 3 to 5 working days.
Email
hello@polish-design.com.tw
Mailing address
3F, No. 191-1, Zhifu Rd., Zhongshan Dist., Taipei 104, Taiwan

Book the first meeting

Monday to Friday, 16:00–18:0030 minutes online

Choose a time, then confirm with a Google account or an email address. A confirmed booking can be added to the calendar.

Choose a time

Or send the details first

Not ready to pick a time yet: leave the project details here and the team replies by email. A meeting can still be booked right after sending.

More details (optional): service, stage, links, source

Information is used only to evaluate this project.

ISO/IEC 27001:2022 certificate

(Certificate)

ISO/IEC 27001:2022

Certification body
ARES International Certification
Scope
The development process for interactive immersive 3D systems, and network and infrastructure operations and management.

Verify with ARES

Urbird

Urban renewal you can see.

Before construction begins, landowners can walk through their new homes. From consent forms to demolition notices, everything runs in one system.

More than 100 modules, AI features included, combined to each developer’s needs.