This directory contains all test data files used by the Funnel Analytics Platform test suite.
test_50k.csv- Medium dataset with 50,000 events for performance testingtest_200k.csv- Large dataset with 200,000 events for scalability testing
demo_events.csv- Demo events used in the main application interfacesample_events.csv- Sample event data for testing basic scenariossample_funnel.csv- Sample funnel data for validation
ab_test_data.csv- A/B test scenario dataab_test_rates.csv- A/B test conversion ratessegment_data.csv- User segmentation test datatime_series_data.csv- Time-based analysis test datatime_to_convert_stats.csv- Conversion timing analysis data
All test files should reference data files using relative paths from the project root:
# ✅ Correct usage
df = pd.read_csv('test_data/demo_events.csv')
# ❌ Incorrect - old path
df = pd.read_csv('demo_events.csv')All CSV files follow the standard event schema:
user_id,event_name,timestamp,event_properties,user_properties
For programmatic test data generation, use the fixtures in tests/conftest.py:
small_linear_funnel_data- Small dataset (100 users)medium_linear_funnel_data- Medium dataset (1000 users)large_dataset- Large dataset (10000+ users)
| File | Events | Users | Purpose |
|---|---|---|---|
test_50k.csv |
50,000 | ~5,000 | Medium performance testing |
test_200k.csv |
200,000 | ~20,000 | Large scale performance testing |
When adding new test data files:
- Place in this
test_data/directory - Update this README.md
- Use appropriate naming convention:
test_<purpose>_<size>.csv - Update any tests to use
test_data/prefix