Skip to content

Instantly share code, notes, and snippets.

@brittanydionigi
Created April 12, 2016 17:45
Show Gist options
  • Save brittanydionigi/f87f5aee18d8903d52267435855f0eb4 to your computer and use it in GitHub Desktop.
Save brittanydionigi/f87f5aee18d8903d52267435855f0eb4 to your computer and use it in GitHub Desktop.
feature rec

16:52 "if" means
16:52 inverse frequency
16:52 and the unit here is minute
16:53 e.g. if <20 means the user has exhibited that behavior (on average) more than once per 20 minutes
16:53 got it
16:54 and "c" means the number of times the behavior has been exhibited so far (since the installation of the addon)
16:54 so -c >10 -if <20 means the user has done something at least 10 times with a frequency of higher than once per 20 minutes
16:56 ok cool, so let me see if I’m getting this right
16:56 using """+"" button used at least 50 times and if <5 tabs newtab-button -c >50 -if <5” as an example...
16:57 + button used at least 50 times AND with a frequency higher than 5 times per minute
16:58 so when "if < 5", then "frequency > 1/5"
16:58 ahhh yea i was just about to correct myself
16:58 so it would be higher than once per 5 minutes!
16:58 got it
16:58 that's why im using inverese frequency, it's easier to write and understand
16:59 and then the line about ‘tabs newtab-button -c > 50 -if < 5'
16:59 is that a completely separate condition?
16:59 whats the difference between wording something as ‘used at least 50 times’ and ‘-c > 50’
17:00 like why say ‘used at least’ vs. using ‘c’ … does that not mean the same thing?
17:01 oops, the spreadhsheet needs a quick update, i'm not using the + button anymore
17:01 so
17:01 "tabs newtab-button -c >50 -if <5"
17:01 this is the exact rule that goes into the addon
17:01 this is addon's language
17:01 ok gotcha
17:01 and the line above it was more the plain-english explanation of that addon rule
17:02 yes! which is not doing its job well apparently !
17:02 it makes sense now! and the guide at the bottom is helpful!
17:02 there's also a "Recommendations List" sheet
17:02 in the same document
17:02 yes i noticed that as well but didn’t look too much at it yet
17:03 that one is directly converted into a json file
17:03 nice
17:03 that goes inside the addon

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment