Verified Capabilities of BehaviourSim 1.0.1
Every feature listed below is verified against the official behaviorsim==1.0.1 PyPI package release. BehaviourSim delivers dependable, mathematically grounded behavioral simulation tools.
Core Engine Capabilities
Comprehensive tooling for constructing, executing, and exporting sequential behavioral datasets.
Sequential Behavioral Trajectories
Generates ordered temporal interaction sequences indexed by sequence_id and interaction_id rather than independent rows.
Discrete State Machine
Define custom discrete states with stationary Markov transition matrices, absorbing states, and custom priors.
8 Parametric Emission Distributions
Supports Normal, Lognormal, Exponential, Poisson, Uniform, Uniform Discrete, Bernoulli, and Categorical distributions.
Dynamic Condition Rules
Modulate state transitions using threshold expressions evaluated on historical aggregations (last, sum, max, mean, min).
4 Domain Presets
Ready-to-use domain generators for finance, healthcare, education, and mobile application behavioral modeling.
Multi-Profile Heterogeneity
Assign multiple agent archetypes with custom mixture weights to model diverse population segments in a single run.
Deterministic Seed Control
Guarantees exact, reproducible sequence and feature outputs across all operating systems and environments.
Native Pandas DataFrame Export
Returns rich, tabular data structures ready for immediate analysis, visualization, or machine learning training.
Command-Line Interface (CLI)
Standardized behaviorsim CLI with validate and run subcommands exporting to CSV, JSON, or Apache Parquet formats.
Declarative YAML / JSON Configs
Version-control simulation parameters outside of Python source code with schema-validated YAML and JSON files.
Zero Heavy ML Runtime
Lightweight NumPy and Pandas core dependencies ensure fast installation and zero GPU hardware requirements.
REST Cloud API Integration
Integrates with the BehaviourSim cloud simulation API for remote execution, quota tracking, and team collaboration.
Declarative Workflows: CLI & Configuration
Run simulations directly from the shell or orchestrate complex configurations with version-controlled YAML files.
# Validate a YAML simulation configuration
behaviorsim validate simulation.yaml
# Execute a simulation and export directly to Parquet or CSV
behaviorsim run simulation.yaml \
--output ./traces.parquet \
--seed 42 \
--interactions 100 \
--sequences 25The CLI supports output formatting in CSV, JSON, and Apache Parquet with optional seed and interaction overrides. See the CLI documentation.
# simulation.yaml - Declarative Configuration
version: "1.0"
states:
- name: "Active"
description: "Engaged session state"
- name: "Idle"
description: "Passive browsing state"
transition_matrix:
- [0.75, 0.25]
- [0.30, 0.70]
profiles:
- name: "standard_user"
state_emissions:
Active:
action_count:
distribution: "poisson"
params: { lam: 8 }
session_duration:
distribution: "lognormal"
params: { mean: 4.2, sigma: 0.8 }
Idle:
action_count:
distribution: "poisson"
params: { lam: 1 }
session_duration:
distribution: "normal"
params: { loc: 30.0, scale: 10.0 }
simulation:
num_interactions: 50
num_sequences: 10
seed: 42
initial_state: "Active"Define state graphs, parametric distributions, and transition conditions without writing repetitive Python boilerplate.
Scope & Functional Boundaries
Clear delineation of what BehaviourSim does and does not do, ensuring scientific honesty and integrity.
What BehaviourSim IS:
- A stochastic sequential behavioral trajectory synthesizer.
- A reproducible testing and machine learning benchmarking utility.
- A parameterizable Markov state engine with configurable feature emissions.
- A lightweight Python library and CLI tool.
What BehaviourSim IS NOT:
- Not a causal inference or counterfactual reasoning engine.
- Not a pre-trained predictive AI model for real-world individuals.
- Not clinically or financially certified decision software.
- Not a privacy-preserving differential privacy synthesizer.