A humorous web app that generates fake correlations between absurd DevOps metrics. Perfect for demonstrating the dangers of spurious correlations in data science and the importance of proper statistical analysis.
- Random Correlation Generation: Creates fake correlations between completely unrelated DevOps metrics
- Seeded Randomness: Generate the same "correlation" using specific seeds for reproducible results
- Shareable URLs: Each correlation gets a unique URL that can be shared
- API Endpoints: RESTful API for programmatic access to correlation data
- Responsive Design: Works on desktop and mobile devices
- Click "Manufacture Correlation"
- The app generates two random DevOps metrics
- Creates a fake correlation between them with realistic-looking data
- Displays the correlation with charts and statistics
- Provides a shareable URL for the specific correlation
The app provides several API endpoints:
GET /api/words- Get random words for metric generationGET /api/metric/[seed]/[correlationId]- Get correlation data for specific seedsGET /api/caption/[correlationId]- Get a humorous caption for a correlation
Visit /api-docs for interactive API documentation.
- Node.js 18+
- npm or yarn
# Clone the repository
git clone https://github.com/causely-oss/correlation-factory
cd correlation-factory
# Copy .env.local.sample to .env.local & edit this file for your settings
cp .env.local.sample .env.local
# Install dependencies
npm install
# Run the development server
npm run devnpm run build
npm startThis is a fun project to demonstrate the importance of proper statistical analysis. We welcome contributions from the community!
Please see our Contributing Guidelines for detailed information on how to:
- Add more absurd DevOps metrics
- Improve the correlation algorithms
- Enhance the UI/UX
- Add more humorous captions
- Report bugs or suggest features
- Set up the development environment
Apache License 2.0 - feel free to use this for educational purposes or to demonstrate the dangers of spurious correlations!
See LICENSE file for full license terms.
This app is for educational and entertainment purposes only. The correlations generated are completely fake and should not be used for any real data analysis or decision-making.