ginatrapani/ThinkUp — pull request #2041 by gbrady92 (2014-07-23 12:19:50+00:00)
Title: Issue 1907 Twitter Ratios Insight.

Suggested changes have been made.

The version of the insight works like this:

All twitter posts and favorites from the last week,month,year are passed into the insight. Next the insight makes a count of the each type of post.

If a user has only made one type of post, such as only replying to other users. The insight text will inform the user of this and encourage the user to use Twitter's other features.

If the user has multiple types of post their 2 counts are selected randomly and switched to ensure no number is being compared to a 0 value or to itself (i.e no replies:replies ratios). Once this is done the ratio is calculated and the answer is passed into insight terms to make it more interesting for the user. I don't include any feedback here as I felt the insight became a bit wordy.

![screenshot from 2014-07-23 13 19 17](https://cloud.githubusercontent.com/assets/4369596/3672686/a2059c60-1263-11e4-88ec-fd6908b178a8.png)