benjaffe / chrome-okc-plugin

OkCupid Poly Plugin
MIT License
63 stars 32 forks source link

Dominant/submissive in bed vs. in life #126

Open instantgreen opened 9 years ago

instantgreen commented 9 years ago

I'm on A-List and got confused why so many women showed up as more submissive but in fact hadn't answered the sex questions accordingly. It turns out OkCupid really doesn't differentiate between "in bed" and "in life".

So here are the questions the support gave me that influence the submissive/dominant trait:

https://www.okcupid.com/questions?rqid=29 (sex) https://www.okcupid.com/questions?rqid=57 (life) https://www.okcupid.com/questions?rqid=308 (life) https://www.okcupid.com/questions?rqid=463 (sex) https://www.okcupid.com/questions?rqid=1028 (sex) https://www.okcupid.com/questions?rqid=9668 (life, although this one seems to correlate highly with sexual preference) https://www.okcupid.com/questions?rqid=19815 (life) https://www.okcupid.com/questions?rqid=45598 (life) https://www.okcupid.com/questions?rqid=313640 (life) https://www.okcupid.com/questions?rqid=344180 (sex) https://www.okcupid.com/questions?rqid=445141 (life)

I think the plugin already has all the sex questions included but my idea was to implement it for "in life".

I don't know whether I'll find the time to add this myself. Just wanted to let everybody know I'm trying to work on this. Maybe somebody has even more ideas or other questions that should be included.

instantgreen commented 9 years ago

I've tried my very best in adding those two new categories but something isn't working. The plugin doesn't recognize the new categories. The file is in the questions folder and I really tried to get all the indentations correctly but for some reason it doesn't work.

Here is the file:

_OKCP.fileQuestions.dom_sub_in_life =
    {
        "dominant_in_life": [
            {
                "qid":"57",
                "text":"Do you like to argue?",
                "answerText": ["Yes","No"],
                "score": [1, -1],
                "weight": [1, 1]
            },
            {
                "qid":"308",
                "text":"If you like someone a lot, do you usually ask them out?",
                "answerText": ["Yes","No"],
                "score": [1, -1],
                "weight": [1, 1]
            },
            {
                "qid":"19815",
                "text":" Your significant other is perfectly content with their minimum wage job and has no plans to look for more challenging/better paying work. Is this a problem? ",
                "answerText": ["Yes, I wouldn't be able to tolerate that.","Somewhat, but it's their life.","No, I don't mind."],
                "score": [1, 0.5, -1],
                "weight": [1, 1, 1]
            },
            {
                "qid":"45598",
                "text":" Do you enjoy provoking people just to get a response. ",
                "answerText": ["Often.","Sometimes.","Never."],
                "score": [1, 0.5, -1],
                "weight": [1, 1, 1]
            },
            {
                "qid":"313640",
                "text":" Were you picked on a lot in school? ",
                "answerText": ["Yes","No"],
                "score": [-1, 1],
                "weight": [1, 1]
            },
            {
                "qid":"445141",
                "text":" Which superpower would you rather have? ",
                "answerText":["Flight","Invisibility"],
                "score": [1, -1],
                "weight": [1, 1]
            }
        ],

        "submissive_in_life": [
            {
                "qid":"57",
                "text":" Do you like to argue? ",
                "answerText":["Yes","No"],
                "score":[-1, 1],
                "weight":[1, 1]
            },
            {
                "qid":"308",
                "text":" If you like someone a lot, do you usually ask them out? ",
                "answerText":["Yes","No"],
                "score":[-1, 1],
                "weight":[1, 1]
            },
            {
                "qid":"19815",
                "text":" Your significant other is perfectly content with their minimum wage job and has no plans to look for more challenging/better paying work. Is this a problem? ",
                "answerText":["Yes, I wouldn't be able to tolerate that.","Somewhat, but it's their life.","No, I don't mind."],
                "score":[-1, -0.5, 1],
                "weight":[1, 1, 1]
            },
            {
                "qid":"45598",
                "text":" Do you enjoy provoking people just to get a response. ",
                "answerText":["Often.","Sometimes.","Never."],
                "score":[-1, -0.5, 1],
                "weight":[1, 1, 1]
            },
            {
                "qid":"313640",
                "text":" Were you picked on a lot in school? ",
                "answerText":["Yes","No"],
                "score":[1, -1],
                "weight":[1, 1]
            },
            {
                "qid":"445141",
                "text":" Which superpower would you rather have? ",
                "answerText":["Flight","Invisibility"],
                "score":[-1, 1],
                "weight":[1, 1]
            }
        ]
    };
michaelpelletier commented 8 years ago

There are potentially two things that are preventing that from working.

  1. You need to add the new categories dominant_in_life and submissive_in_life to the plugin/-category-list.mdown file. Probably under a new grouping since I'm not sure what those would fit under. Maybe there should be a category that includes things like motivation / how career driven someone is / etc. Brainstorming.
  2. In plugin/manifest.json you need to include your new file. This is between roughly lines 50 and 60, because you want to make sure that it is included before questions-init.js
instantgreen commented 8 years ago

@michaelpelletier Thanks for helping me!

Unfortunately nothing helped. I tried both your suggestions but my categories still don't appear. Maybe I should add that I just edited the files and didn't rebuild the plugin.

I also tried to just add my two new categories in the already existing sex.js file. I also added the names of the categories in category-list.mdown. This didn't work either. Maybe something is still wrong with my new categories. If anybody wants to take a look, maybe this is the better way: http://pastebin.com/sSeSrFx2

michaelpelletier commented 8 years ago

Oh, you definitely need to rebuild the plugin, or at least be running it based off of your downloaded files - I should have specified that. If you're still running the version from the Chrome store, it definitely won't show any changes. Using the downloading version can definitely mess up your saved settings, though, I think.

instantgreen commented 8 years ago

Finally got this working. Gave it a second try and for some reason it now works. I put all those questions in a file called personality.js. I'm unsure, though, whether the category names are really that great.

I'll probably be adding some new questions soon, but the suggest mode doesn't seem to work right now. Is this still up to date: https://github.com/benjaffe/chrome-okc-plugin/wiki/Suggest-Questions ?

EDIT: Suggest mode suddenly does work... Sorry!