Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat(generate tweets) #114

Merged
merged 3 commits into from
Apr 26, 2024
Merged

feat(generate tweets) #114

merged 3 commits into from
Apr 26, 2024

Conversation

gwenwindflower
Copy link
Contributor

@gwenwindflower gwenwindflower commented Apr 26, 2024

Adds Tweet type to jafgen. The way this is intended to work is:

  1. a random time window between 0 and 20 minutes after the order, a tweet is potentially generated
  2. different Personas have different fixed tweet propensities. These are simpler than the buying propensities because they're already dependent on the more complex behavior of the buying propensities, so they're just fixed probabilities. Students and Brunch Crowd are very tweet-happy, Commuters very much not so.
  3. Tweets are generated via simple rules that combine the items purchased with a randomly assigned fan_level Customers get upon instantiation, and some random selection of adjectives that correspond to the fan level (high fan levels select from positive adjectives, medium from neutral, low from negative).

This should enable some fun analysis like determining cohorts of fans via sentiment analysis.

@gwenwindflower gwenwindflower marked this pull request as ready for review April 26, 2024 14:08
@gwenwindflower gwenwindflower merged commit 4eb2b57 into main Apr 26, 2024
8 checks passed
@gwenwindflower gwenwindflower deleted the feat/add-tweets branch April 26, 2024 20:58
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

1 participant