Skip to content

Instantly share code, notes, and snippets.

@patcon
Last active April 17, 2024 18:00
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save patcon/d0f8fec0f11c969a5cd9e0ab282f8cb1 to your computer and use it in GitHub Desktop.
Save patcon/d0f8fec0f11c969a5cd9e0ab282f8cb1 to your computer and use it in GitHub Desktop.
How to display the assigned cluster group ID to a user in the pol.is wrapper app

The browser knows the xid since we generate/assign it in the wrapper app (even if it's just stored in localstorage and never goes to a server).

Using the xid provided in url query param, we can get user details, including the conversation-specific participant ID in .ptpt.pid (see attached for full response)

https://pol.is/api/v3/participationInit?conversation_id=4kjz5rrrfe&pid=mypid&xid=12334552

https://gist.github.com/patcon/d0f8fec0f11c969a5cd9e0ab282f8cb1#file-02-4kjz5rrrfe-participationinit-xid-12334552-json-L23

// snip
    "user": {
        "uid": 613618,
        "email": null,
        "hname": null,
        "hasFacebook": false,
        "hasTwitter": false,
        "hasXid": true,
        "xInfo": {
            "xid": "12334552",
            "x_profile_image_url": "https://robohash.org/foobar2.png?set=set4",
            "x_name": null,
            "modified": "1700496985991",
            "x_email": null
        },
        "finishedTutorial": false,
        "site_ids": [
            "polis_site_id_6wQkTzYRCqapoccwi0"
        ],
        "created": 1700496985985
    },
    "ptpt": {
        "pid": 3,
        "uid": 613618,
        "created": "1700496986006",
        "vote_count": 38,
        "last_interaction": "1700584430935",
        "subscribed": 0,
        "last_notified": "0",
        "mod": 0,
        "nsli": 0
    },
// snip

(Normally, "user" and "ptpt" keys would each be {} without a provided and available xid.)

With the pid (the internal polis, per-converastion participant id), we can now fetch the math object from the API (which is unauthenticated), and find whether that pid is within any of the groups by checking in the .group-clusters[].members key:

https://pol.is/api/v3/math/pca2?conversation_id=4kjz5rrrfe

https://gist.github.com/patcon/d0f8fec0f11c969a5cd9e0ab282f8cb1#file-03-4kjz5rrrfe-math-pca2-json-L258

// snip
    "group-clusters": [
        {
            "id": 0,
            "members": [
                1,
                3,
                4,
                5,
                6,
                7
            ],
            "center": [
                -0.07410310065160781,
                -0.053486372012847894
            ]
        },
        {
            "id": 1,
            "members": [
                2
            ],
            "center": [
                2.679826451913637,
                0.7813415074811132
            ]
        }
    ],
// snip

We can see here that the xid resolves xid:12334552 to the pid: 3, which can then be used to resolve the group-cluster members with pid: 3 to "group 0" (which would be group A in the visualization, fwiw) 🎉

{
"user": {
"uid": 613618,
"email": null,
"hname": null,
"hasFacebook": false,
"hasTwitter": false,
"hasXid": true,
"xInfo": {
"xid": "12334552",
"x_profile_image_url": "https://robohash.org/foobar2.png?set=set4",
"x_name": null,
"modified": "1700496985991",
"x_email": null
},
"finishedTutorial": false,
"site_ids": [
"polis_site_id_6wQkTzYRCqapoccwi0"
],
"created": 1700496985985
},
"ptpt": {
"pid": 3,
"uid": 613618,
"created": "1700496986006",
"vote_count": 38,
"last_interaction": "1700584430935",
"subscribed": 0,
"last_notified": "0",
"mod": 0,
"nsli": 0
},
"nextComment": {
"txt": "thisi s a new statement to test again",
"tid": 29,
"created": "1700944454142",
"tweet_id": null,
"quote_src_url": null,
"is_seed": true,
"is_meta": false,
"lang": "en",
"pid": 0,
"randomN": 6.057982386702823,
"remaining": 2,
"total": 18,
"translations": [],
"currentPid": 3
},
"conversation": {
"topic": "How should we use open source tools in governmment?",
"description": "asdad, instructions suited to audience",
"is_anon": false,
"is_active": true,
"is_draft": true,
"is_public": true,
"email_domain": null,
"owner": 601399,
"participant_count": 11,
"created": "1697129377443",
"strict_moderation": true,
"profanity_filter": true,
"spam_filter": true,
"context": null,
"modified": "1702011954608",
"owner_sees_participation_stats": false,
"course_id": null,
"lti_users_only": false,
"link_url": null,
"upvotes": 1,
"parent_url": null,
"vis_type": 1,
"write_type": 1,
"bgcolor": null,
"help_type": 1,
"socialbtn_type": 0,
"style_btn": null,
"auth_needed_to_vote": true,
"auth_needed_to_write": true,
"auth_opt_fb": true,
"auth_opt_tw": true,
"auth_opt_allow_3rdparty": true,
"help_bgcolor": null,
"help_color": null,
"is_data_open": false,
"is_slack": false,
"is_curated": false,
"dataset_explanation": null,
"write_hint_type": 1,
"subscribe_type": 1,
"org_id": 601399,
"need_suzinvite": false,
"use_xid_whitelist": false,
"prioritize_seed": false,
"site_id": "polis_site_id_YWdybfwEg2TgYlsIBk",
"auth_opt_fb_computed": true,
"auth_opt_tw_computed": true,
"translations": [],
"ownername": "patcon",
"is_mod": false,
"is_owner": false,
"conversation_id": "4kjz5rrrfe"
},
"votes": [
{
"pid": 3,
"tid": 3,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700496986051"
},
{
"pid": 3,
"tid": 4,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569633283"
},
{
"pid": 3,
"tid": 5,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569708516"
},
{
"pid": 3,
"tid": 6,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569735841"
},
{
"pid": 3,
"tid": 7,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569771119"
},
{
"pid": 3,
"tid": 8,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569847433"
},
{
"pid": 3,
"tid": 9,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569876066"
},
{
"pid": 3,
"tid": 10,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569907565"
},
{
"pid": 3,
"tid": 11,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569942512"
},
{
"pid": 3,
"tid": 12,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700569954434"
},
{
"pid": 3,
"tid": 13,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570076185"
},
{
"pid": 3,
"tid": 14,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570088282"
},
{
"pid": 3,
"tid": 15,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570107284"
},
{
"pid": 3,
"tid": 16,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570362044"
},
{
"pid": 3,
"tid": 17,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570378042"
},
{
"pid": 3,
"tid": 18,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570400647"
},
{
"pid": 3,
"tid": 19,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570478024"
},
{
"pid": 3,
"tid": 20,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570491804"
},
{
"pid": 3,
"tid": 21,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700570914937"
},
{
"pid": 3,
"tid": 22,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700571212502"
},
{
"pid": 3,
"tid": 23,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700584429833"
},
{
"pid": 3,
"tid": 24,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700584430830"
},
{
"pid": 3,
"tid": 25,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700573368278"
},
{
"pid": 3,
"tid": 26,
"vote": -1,
"weight_x_32767": 0,
"modified": "1700581763528"
},
{
"pid": 3,
"tid": 27,
"vote": 1,
"weight_x_32767": 0,
"modified": "1700584428444"
}
],
"pca": "{\"comment-priorities\":{\"0\":1.008990241578474,\"1\":16.143843865255583,\"2\":12.529726250088048,\"3\":16.143843865255583,\"4\":12.529726250088048,\"5\":12.529726250088048,\"6\":12.529726250088048,\"7\":12.529726250088048,\"8\":12.529726250088048,\"9\":12.529726250088048,\"10\":12.529726250088048,\"11\":12.529726250088048,\"12\":12.529726250088048,\"13\":12.529726250088048,\"14\":12.529726250088048,\"15\":12.529726250088048,\"16\":12.529726250088048,\"17\":12.529726250088048,\"18\":12.529726250088048,\"19\":12.529726250088048,\"20\":12.529726250088048,\"21\":12.529726250088048,\"22\":16.143843865255583,\"23\":10.943448497503791,\"24\":76.67037873437913,\"25\":15.783634653324425,\"26\":130.94251709386788,\"27\":170.07532113008574,\"28\":3.132431562522011,\"29\":3.132431562522011,\"87\":12.529726250088048},\"user-vote-counts\":{\"0\":1,\"1\":4,\"2\":1,\"3\":25,\"4\":4,\"5\":1,\"6\":7,\"7\":2,\"8\":1,\"9\":3,\"10\":1},\"meta-tids\":[],\"pca\":{\"center\":[0,0,0,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-1,-0.5,-0.33333333333333337,-1,0.33333333333333337,-0.33333333333333337,1,1,-1],\"comps\":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.21492065224990217,0.5052850293074052,0,0.7569005931445685,-0.35439757969220365,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.2286118108935053,0.0909640811318761,0,-0.5112119492325167,-0.8234831624421451,0,0,0]],\"comment-projection\":[[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.5983137742165946,-1.8755386528328621,0,-5.618992198286978,1.3154681429889759,0,0,0],[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,-0.6364283468074474,-0.33764437948242565,0,3.795076897052902,3.056640136823961,0,0,0]],\"comment-extremity\":[0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0.8735103966395402,1.905688580347319,0,6.7805369978309695,3.327687689862447,0,0,0]},\"group-clusters\":[{\"id\":0,\"members\":[1,3,4,5,6,7],\"center\":[-0.07410310065160781,-0.053486372012847894]},{\"id\":1,\"members\":[2],\"center\":[2.679826451913637,0.7813415074811132]}],\"n\":11,\"consensus\":{\"agree\":[{\"tid\":3,\"n-success\":3,\"n-trials\":3,\"p-success\":0.8,\"p-test\":2},{\"tid\":22,\"n-success\":3,\"n-trials\":3,\"p-success\":0.8,\"p-test\":2},{\"tid\":25,\"n-success\":2,\"n-trials\":2,\"p-success\":0.75,\"p-test\":1.7320508075688772},{\"tid\":4,\"n-success\":1,\"n-trials\":1,\"p-success\":0.6666666666666667,\"p-test\":1.4142135623730951},{\"tid\":5,\"n-success\":1,\"n-trials\":1,\"p-success\":0.6666666666666667,\"p-test\":1.4142135623730951}],\"disagree\":[{\"tid\":28,\"n-success\":1,\"n-trials\":1,\"p-success\":0.6666666666666667,\"p-test\":1.4142135623730951},{\"tid\":29,\"n-success\":1,\"n-trials\":1,\"p-success\":0.6666666666666667,\"p-test\":1.4142135623730951}]},\"n-cmts\":31,\"repness\":{\"0\":[{\"tid\":24,\"n-agree\":2,\"p-test\":1.7320508075688772,\"repness-test\":1.3693064,\"n-success\":2,\"repful-for\":\"agree\",\"n-trials\":2,\"repness\":2.25,\"best-agree\":true,\"p-success\":0.75}],\"1\":[{\"tid\":3,\"n-agree\":1,\"p-test\":0,\"repness-test\":0.37267798,\"n-success\":0,\"repful-for\":\"disagree\",\"n-trials\":1,\"repness\":1.333333333333333,\"best-agree\":true,\"p-success\":0.3333333333333333},{\"tid\":24,\"n-success\":1,\"n-trials\":1,\"p-success\":0.6666666666666667,\"p-test\":1.4142135623730951,\"repness\":2.666666666666667,\"repness-test\":1.4907119,\"repful-for\":\"disagree\"}]},\"group-aware-consensus\":{\"0\":0.2,\"1\":0.4,\"2\":0.3333333333333333,\"3\":0.5,\"4\":0.3333333333333333,\"5\":0.3333333333333333,\"6\":0.3333333333333333,\"7\":0.3333333333333333,\"8\":0.3333333333333333,\"9\":0.3333333333333333,\"10\":0.3333333333333333,\"11\":0.3333333333333333,\"12\":0.3333333333333333,\"13\":0.3333333333333333,\"14\":0.3333333333333333,\"15\":0.3333333333333333,\"16\":0.3333333333333333,\"17\":0.3333333333333333,\"18\":0.3333333333333333,\"19\":0.3333333333333333,\"20\":0.3333333333333333,\"21\":0.3333333333333333,\"22\":0.5,\"23\":0.2222222222222222,\"24\":0.25,\"25\":0.4444444444444444,\"26\":0.14285714285714285,\"27\":0.3333333333333333,\"28\":0.16666666666666666,\"29\":0.16666666666666666,\"87\":0.3333333333333333},\"mod-in\":[20,27,24,15,21,13,22,29,28,25,17,3,23,19,14,26,16,18],\"votes-base\":{\"0\":{\"A\":[1,0,0,0,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[3,0,0,0,0,0,0]},\"1\":{\"A\":[2,0,1,0,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[2,0,1,0,0,0,0]},\"2\":{\"A\":[1,0,0,0,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[1,0,0,0,0,0,0]},\"3\":{\"A\":[1,1,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[1,1,0,1,0,0,0]},\"4\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"5\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"6\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"7\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"8\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"9\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"10\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"11\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"12\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"13\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"14\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"15\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"16\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"17\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"18\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"19\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"20\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"21\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,0,0,1,0,0,0]},\"22\":{\"A\":[0,1,0,1,1,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,1,0,1,1,0,0]},\"23\":{\"A\":[0,0,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,1,0,1,0,0,0]},\"24\":{\"A\":[0,0,0,1,0,0,1],\"D\":[0,1,0,0,0,0,0],\"S\":[0,1,0,1,0,0,1]},\"25\":{\"A\":[0,1,0,1,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[0,1,0,1,0,0,0]},\"26\":{\"A\":[0,0,0,1,0,0,1],\"D\":[0,1,1,0,1,1,0],\"S\":[0,1,1,1,1,1,1]},\"27\":{\"A\":[0,1,0,0,0,0,1],\"D\":[0,0,0,1,0,0,0],\"S\":[0,1,0,1,0,0,1]},\"28\":{\"A\":[0,0,0,0,0,0,0],\"D\":[0,0,1,0,0,0,0],\"S\":[0,0,1,0,0,0,0]},\"29\":{\"A\":[0,0,0,0,0,0,0],\"D\":[0,0,1,0,0,0,0],\"S\":[0,0,1,0,0,0,0]},\"87\":{\"A\":[1,0,0,0,0,0,0],\"D\":[0,0,0,0,0,0,0],\"S\":[1,0,0,0,0,0,0]}},\"base-clusters\":{\"id\":[1,2,3,4,5,6,7],\"members\":[[0,1,2,5,10],[6],[4],[3],[7],[8],[9]],\"x\":[0,2.679826451913637,1.1469719795402211,-2.0266041004056765,1.2564448520410658,1.4047480495717444,-2.522591787263433],\"y\":[0,0.7813415074811132,-0.7746668277003744,-0.6221817011138806,-0.8486049921649259,-0.9487692242632254,2.659359025113927],\"count\":[5,1,1,1,1,1,1]},\"mod-out\":[0,1,2],\"group-votes\":{\"0\":{\"n-members\":10,\"votes\":{\"0\":{\"A\":1,\"D\":0,\"S\":3},\"1\":{\"A\":3,\"D\":0,\"S\":3},\"2\":{\"A\":1,\"D\":0,\"S\":1},\"3\":{\"A\":2,\"D\":0,\"S\":2},\"4\":{\"A\":1,\"D\":0,\"S\":1},\"5\":{\"A\":1,\"D\":0,\"S\":1},\"6\":{\"A\":1,\"D\":0,\"S\":1},\"7\":{\"A\":1,\"D\":0,\"S\":1},\"8\":{\"A\":1,\"D\":0,\"S\":1},\"9\":{\"A\":1,\"D\":0,\"S\":1},\"10\":{\"A\":1,\"D\":0,\"S\":1},\"11\":{\"A\":1,\"D\":0,\"S\":1},\"12\":{\"A\":1,\"D\":0,\"S\":1},\"13\":{\"A\":1,\"D\":0,\"S\":1},\"14\":{\"A\":1,\"D\":0,\"S\":1},\"15\":{\"A\":1,\"D\":0,\"S\":1},\"16\":{\"A\":1,\"D\":0,\"S\":1},\"17\":{\"A\":1,\"D\":0,\"S\":1},\"18\":{\"A\":1,\"D\":0,\"S\":1},\"19\":{\"A\":1,\"D\":0,\"S\":1},\"20\":{\"A\":1,\"D\":0,\"S\":1},\"21\":{\"A\":1,\"D\":0,\"S\":1},\"22\":{\"A\":2,\"D\":0,\"S\":2},\"23\":{\"A\":1,\"D\":0,\"S\":1},\"24\":{\"A\":2,\"D\":0,\"S\":2},\"25\":{\"A\":1,\"D\":0,\"S\":1},\"26\":{\"A\":2,\"D\":3,\"S\":5},\"27\":{\"A\":1,\"D\":1,\"S\":2},\"28\":{\"A\":0,\"D\":1,\"S\":1},\"29\":{\"A\":0,\"D\":1,\"S\":1},\"87\":{\"A\":1,\"D\":0,\"S\":1}},\"id\":0},\"1\":{\"n-members\":1,\"votes\":{\"0\":{\"A\":0,\"D\":0,\"S\":0},\"1\":{\"A\":0,\"D\":0,\"S\":0},\"2\":{\"A\":0,\"D\":0,\"S\":0},\"3\":{\"A\":1,\"D\":0,\"S\":1},\"4\":{\"A\":0,\"D\":0,\"S\":0},\"5\":{\"A\":0,\"D\":0,\"S\":0},\"6\":{\"A\":0,\"D\":0,\"S\":0},\"7\":{\"A\":0,\"D\":0,\"S\":0},\"8\":{\"A\":0,\"D\":0,\"S\":0},\"9\":{\"A\":0,\"D\":0,\"S\":0},\"10\":{\"A\":0,\"D\":0,\"S\":0},\"11\":{\"A\":0,\"D\":0,\"S\":0},\"12\":{\"A\":0,\"D\":0,\"S\":0},\"13\":{\"A\":0,\"D\":0,\"S\":0},\"14\":{\"A\":0,\"D\":0,\"S\":0},\"15\":{\"A\":0,\"D\":0,\"S\":0},\"16\":{\"A\":0,\"D\":0,\"S\":0},\"17\":{\"A\":0,\"D\":0,\"S\":0},\"18\":{\"A\":0,\"D\":0,\"S\":0},\"19\":{\"A\":0,\"D\":0,\"S\":0},\"20\":{\"A\":0,\"D\":0,\"S\":0},\"21\":{\"A\":0,\"D\":0,\"S\":0},\"22\":{\"A\":1,\"D\":0,\"S\":1},\"23\":{\"A\":0,\"D\":0,\"S\":1},\"24\":{\"A\":0,\"D\":1,\"S\":1},\"25\":{\"A\":1,\"D\":0,\"S\":1},\"26\":{\"A\":0,\"D\":1,\"S\":1},\"27\":{\"A\":1,\"D\":0,\"S\":1},\"28\":{\"A\":0,\"D\":0,\"S\":0},\"29\":{\"A\":0,\"D\":0,\"S\":0},\"87\":{\"A\":0,\"D\":0,\"S\":0}},\"id\":1}},\"lastModTimestamp\":null,\"in-conv\":[0,7,1,4,6,3,2,9,5,10,8],\"tids\":[0,1,2,3,4,5,6,7,8,9,10,11,12,13,14,15,16,17,18,19,20,21,22,23,24,25,26,27,28,29,87],\"lastVoteTimestamp\":1702011954608,\"math_tick\":650}",
"famous": {
"1": {
"priority": 900,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 1,
"xInfo": {
"x_profile_image_url": "https://robohash.org/foobar.png?set=set4",
"xid": "12334554",
"x_name": "foo bar"
},
"votes": "paaauuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 1
},
"3": {
"priority": 1000,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 3,
"xInfo": {
"x_profile_image_url": "https://robohash.org/foobar2.png?set=set4",
"xid": "12334552",
"x_name": null
},
"isSelf": true,
"votes": "uuuaaaaaaaaaaaaaaaaaaaaaaaaduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 4
},
"5": {
"priority": 100,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 5,
"xInfo": {
"x_profile_image_url": "https://randomuser.me/api/portraits/thumb/women/20.jpg",
"xid": "02457C7E25C000r1",
"x_name": "Oneide Rodrigues"
},
"votes": "uauuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 1
},
"7": {
"priority": 100,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 7,
"xInfo": {
"x_profile_image_url": "https://randomuser.me/api/portraits/thumb/women/32.jpg",
"xid": "9FB3B709530104E0",
"x_name": "\u0645\u0644\u06cc\u0646\u0627 \u0627\u062d\u0645\u062f\u06cc"
},
"votes": "uuuuuuuuuuuuuuuuuuuuuuauuuduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 5
},
"8": {
"priority": 100,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 8,
"xInfo": {
"x_profile_image_url": "https://randomuser.me/api/portraits/thumb/men/70.jpg",
"xid": "DAB3B709530104E0",
"x_name": "Javier Ward"
},
"votes": "uuuuuuuuuuuuuuuuuuuuuuuuuuduuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 6
},
"9": {
"priority": 100,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 9,
"xInfo": {
"x_profile_image_url": "https://randomuser.me/api/portraits/thumb/women/62.jpg",
"xid": "foobar",
"x_name": "Britney Sims"
},
"votes": "uuuuuuuuuuuuuuuuuuuuuuuuauaauuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuu",
"bid": 7
},
"10": {
"priority": 100,
"tw__twitter_user_id": null,
"tw__screen_name": null,
"tw__name": null,
"tw__followers_count": null,
"tw__verified": null,
"tw__location": null,
"fb__fb_user_id": null,
"fb__fb_name": null,
"fb__fb_link": null,
"fb__fb_public_profile": null,
"fb__location": null,
"pid": 10,
"xInfo": {
"x_profile_image_url": "https://randomuser.me/api/portraits/thumb/women/6.jpg",
"xid": "andremolnar",
"x_name": "Isobel Li"
},
"votes": "uuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuuua",
"bid": 1
}
},
"acceptLanguage": "en-US,en;q=0.9,es;q=0.8"
}
{
"comment-priorities": {
"0": 1.008990241578474,
"1": 16.143843865255583,
"2": 12.529726250088048,
"3": 16.143843865255583,
"4": 12.529726250088048,
"5": 12.529726250088048,
"6": 12.529726250088048,
"7": 12.529726250088048,
"8": 12.529726250088048,
"9": 12.529726250088048,
"10": 12.529726250088048,
"11": 12.529726250088048,
"12": 12.529726250088048,
"13": 12.529726250088048,
"14": 12.529726250088048,
"15": 12.529726250088048,
"16": 12.529726250088048,
"17": 12.529726250088048,
"18": 12.529726250088048,
"19": 12.529726250088048,
"20": 12.529726250088048,
"21": 12.529726250088048,
"22": 16.143843865255583,
"23": 10.943448497503791,
"24": 76.67037873437913,
"25": 15.783634653324425,
"26": 130.94251709386788,
"27": 170.07532113008574,
"28": 3.132431562522011,
"29": 3.132431562522011,
"87": 12.529726250088048
},
"user-vote-counts": {
"0": 1,
"1": 4,
"2": 1,
"3": 25,
"4": 4,
"5": 1,
"6": 7,
"7": 2,
"8": 1,
"9": 3,
"10": 1
},
"meta-tids": [],
"pca": {
"center": [
0,
0,
0,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-1,
-0.5,
-0.33333333333333337,
-1,
0.33333333333333337,
-0.33333333333333337,
1,
1,
-1
],
"comps": [
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.21492065224990217,
0.5052850293074052,
0,
0.7569005931445685,
-0.35439757969220365,
0,
0,
0
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.2286118108935053,
0.0909640811318761,
0,
-0.5112119492325167,
-0.8234831624421451,
0,
0,
0
]
],
"comment-projection": [
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
-0.5983137742165946,
-1.8755386528328621,
0,
-5.618992198286978,
1.3154681429889759,
0,
0,
0
],
[
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
-0.6364283468074474,
-0.33764437948242565,
0,
3.795076897052902,
3.056640136823961,
0,
0,
0
]
],
"comment-extremity": [
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0,
0.8735103966395402,
1.905688580347319,
0,
6.7805369978309695,
3.327687689862447,
0,
0,
0
]
},
"group-clusters": [
{
"id": 0,
"members": [
1,
3,
4,
5,
6,
7
],
"center": [
-0.07410310065160781,
-0.053486372012847894
]
},
{
"id": 1,
"members": [
2
],
"center": [
2.679826451913637,
0.7813415074811132
]
}
],
"n": 11,
"consensus": {
"agree": [
{
"tid": 3,
"n-success": 3,
"n-trials": 3,
"p-success": 0.8,
"p-test": 2
},
{
"tid": 22,
"n-success": 3,
"n-trials": 3,
"p-success": 0.8,
"p-test": 2
},
{
"tid": 25,
"n-success": 2,
"n-trials": 2,
"p-success": 0.75,
"p-test": 1.7320508075688772
},
{
"tid": 4,
"n-success": 1,
"n-trials": 1,
"p-success": 0.6666666666666667,
"p-test": 1.4142135623730951
},
{
"tid": 5,
"n-success": 1,
"n-trials": 1,
"p-success": 0.6666666666666667,
"p-test": 1.4142135623730951
}
],
"disagree": [
{
"tid": 28,
"n-success": 1,
"n-trials": 1,
"p-success": 0.6666666666666667,
"p-test": 1.4142135623730951
},
{
"tid": 29,
"n-success": 1,
"n-trials": 1,
"p-success": 0.6666666666666667,
"p-test": 1.4142135623730951
}
]
},
"n-cmts": 31,
"repness": {
"0": [
{
"tid": 24,
"n-agree": 2,
"p-test": 1.7320508075688772,
"repness-test": 1.3693064,
"n-success": 2,
"repful-for": "agree",
"n-trials": 2,
"repness": 2.25,
"best-agree": true,
"p-success": 0.75
}
],
"1": [
{
"tid": 3,
"n-agree": 1,
"p-test": 0,
"repness-test": 0.37267798,
"n-success": 0,
"repful-for": "disagree",
"n-trials": 1,
"repness": 1.333333333333333,
"best-agree": true,
"p-success": 0.3333333333333333
},
{
"tid": 24,
"n-success": 1,
"n-trials": 1,
"p-success": 0.6666666666666667,
"p-test": 1.4142135623730951,
"repness": 2.666666666666667,
"repness-test": 1.4907119,
"repful-for": "disagree"
}
]
},
"group-aware-consensus": {
"0": 0.2,
"1": 0.4,
"2": 0.3333333333333333,
"3": 0.5,
"4": 0.3333333333333333,
"5": 0.3333333333333333,
"6": 0.3333333333333333,
"7": 0.3333333333333333,
"8": 0.3333333333333333,
"9": 0.3333333333333333,
"10": 0.3333333333333333,
"11": 0.3333333333333333,
"12": 0.3333333333333333,
"13": 0.3333333333333333,
"14": 0.3333333333333333,
"15": 0.3333333333333333,
"16": 0.3333333333333333,
"17": 0.3333333333333333,
"18": 0.3333333333333333,
"19": 0.3333333333333333,
"20": 0.3333333333333333,
"21": 0.3333333333333333,
"22": 0.5,
"23": 0.2222222222222222,
"24": 0.25,
"25": 0.4444444444444444,
"26": 0.14285714285714285,
"27": 0.3333333333333333,
"28": 0.16666666666666666,
"29": 0.16666666666666666,
"87": 0.3333333333333333
},
"mod-in": [
20,
27,
24,
15,
21,
13,
22,
29,
28,
25,
17,
3,
23,
19,
14,
26,
16,
18
],
"votes-base": {
"0": {
"A": [
1,
0,
0,
0,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
3,
0,
0,
0,
0,
0,
0
]
},
"1": {
"A": [
2,
0,
1,
0,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
2,
0,
1,
0,
0,
0,
0
]
},
"2": {
"A": [
1,
0,
0,
0,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
1,
0,
0,
0,
0,
0,
0
]
},
"3": {
"A": [
1,
1,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
1,
1,
0,
1,
0,
0,
0
]
},
"4": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"5": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"6": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"7": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"8": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"9": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"10": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"11": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"12": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"13": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"14": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"15": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"16": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"17": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"18": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"19": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"20": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"21": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
0,
0,
1,
0,
0,
0
]
},
"22": {
"A": [
0,
1,
0,
1,
1,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
1,
0,
1,
1,
0,
0
]
},
"23": {
"A": [
0,
0,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
1,
0,
1,
0,
0,
0
]
},
"24": {
"A": [
0,
0,
0,
1,
0,
0,
1
],
"D": [
0,
1,
0,
0,
0,
0,
0
],
"S": [
0,
1,
0,
1,
0,
0,
1
]
},
"25": {
"A": [
0,
1,
0,
1,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
0,
1,
0,
1,
0,
0,
0
]
},
"26": {
"A": [
0,
0,
0,
1,
0,
0,
1
],
"D": [
0,
1,
1,
0,
1,
1,
0
],
"S": [
0,
1,
1,
1,
1,
1,
1
]
},
"27": {
"A": [
0,
1,
0,
0,
0,
0,
1
],
"D": [
0,
0,
0,
1,
0,
0,
0
],
"S": [
0,
1,
0,
1,
0,
0,
1
]
},
"28": {
"A": [
0,
0,
0,
0,
0,
0,
0
],
"D": [
0,
0,
1,
0,
0,
0,
0
],
"S": [
0,
0,
1,
0,
0,
0,
0
]
},
"29": {
"A": [
0,
0,
0,
0,
0,
0,
0
],
"D": [
0,
0,
1,
0,
0,
0,
0
],
"S": [
0,
0,
1,
0,
0,
0,
0
]
},
"87": {
"A": [
1,
0,
0,
0,
0,
0,
0
],
"D": [
0,
0,
0,
0,
0,
0,
0
],
"S": [
1,
0,
0,
0,
0,
0,
0
]
}
},
"base-clusters": {
"id": [
1,
2,
3,
4,
5,
6,
7
],
"members": [
[
0,
1,
2,
5,
10
],
[
6
],
[
4
],
[
3
],
[
7
],
[
8
],
[
9
]
],
"x": [
0,
2.679826451913637,
1.1469719795402211,
-2.0266041004056765,
1.2564448520410658,
1.4047480495717444,
-2.522591787263433
],
"y": [
0,
0.7813415074811132,
-0.7746668277003744,
-0.6221817011138806,
-0.8486049921649259,
-0.9487692242632254,
2.659359025113927
],
"count": [
5,
1,
1,
1,
1,
1,
1
]
},
"mod-out": [
0,
1,
2
],
"group-votes": {
"0": {
"n-members": 10,
"votes": {
"0": {
"A": 1,
"D": 0,
"S": 3
},
"1": {
"A": 3,
"D": 0,
"S": 3
},
"2": {
"A": 1,
"D": 0,
"S": 1
},
"3": {
"A": 2,
"D": 0,
"S": 2
},
"4": {
"A": 1,
"D": 0,
"S": 1
},
"5": {
"A": 1,
"D": 0,
"S": 1
},
"6": {
"A": 1,
"D": 0,
"S": 1
},
"7": {
"A": 1,
"D": 0,
"S": 1
},
"8": {
"A": 1,
"D": 0,
"S": 1
},
"9": {
"A": 1,
"D": 0,
"S": 1
},
"10": {
"A": 1,
"D": 0,
"S": 1
},
"11": {
"A": 1,
"D": 0,
"S": 1
},
"12": {
"A": 1,
"D": 0,
"S": 1
},
"13": {
"A": 1,
"D": 0,
"S": 1
},
"14": {
"A": 1,
"D": 0,
"S": 1
},
"15": {
"A": 1,
"D": 0,
"S": 1
},
"16": {
"A": 1,
"D": 0,
"S": 1
},
"17": {
"A": 1,
"D": 0,
"S": 1
},
"18": {
"A": 1,
"D": 0,
"S": 1
},
"19": {
"A": 1,
"D": 0,
"S": 1
},
"20": {
"A": 1,
"D": 0,
"S": 1
},
"21": {
"A": 1,
"D": 0,
"S": 1
},
"22": {
"A": 2,
"D": 0,
"S": 2
},
"23": {
"A": 1,
"D": 0,
"S": 1
},
"24": {
"A": 2,
"D": 0,
"S": 2
},
"25": {
"A": 1,
"D": 0,
"S": 1
},
"26": {
"A": 2,
"D": 3,
"S": 5
},
"27": {
"A": 1,
"D": 1,
"S": 2
},
"28": {
"A": 0,
"D": 1,
"S": 1
},
"29": {
"A": 0,
"D": 1,
"S": 1
},
"87": {
"A": 1,
"D": 0,
"S": 1
}
},
"id": 0
},
"1": {
"n-members": 1,
"votes": {
"0": {
"A": 0,
"D": 0,
"S": 0
},
"1": {
"A": 0,
"D": 0,
"S": 0
},
"2": {
"A": 0,
"D": 0,
"S": 0
},
"3": {
"A": 1,
"D": 0,
"S": 1
},
"4": {
"A": 0,
"D": 0,
"S": 0
},
"5": {
"A": 0,
"D": 0,
"S": 0
},
"6": {
"A": 0,
"D": 0,
"S": 0
},
"7": {
"A": 0,
"D": 0,
"S": 0
},
"8": {
"A": 0,
"D": 0,
"S": 0
},
"9": {
"A": 0,
"D": 0,
"S": 0
},
"10": {
"A": 0,
"D": 0,
"S": 0
},
"11": {
"A": 0,
"D": 0,
"S": 0
},
"12": {
"A": 0,
"D": 0,
"S": 0
},
"13": {
"A": 0,
"D": 0,
"S": 0
},
"14": {
"A": 0,
"D": 0,
"S": 0
},
"15": {
"A": 0,
"D": 0,
"S": 0
},
"16": {
"A": 0,
"D": 0,
"S": 0
},
"17": {
"A": 0,
"D": 0,
"S": 0
},
"18": {
"A": 0,
"D": 0,
"S": 0
},
"19": {
"A": 0,
"D": 0,
"S": 0
},
"20": {
"A": 0,
"D": 0,
"S": 0
},
"21": {
"A": 0,
"D": 0,
"S": 0
},
"22": {
"A": 1,
"D": 0,
"S": 1
},
"23": {
"A": 0,
"D": 0,
"S": 1
},
"24": {
"A": 0,
"D": 1,
"S": 1
},
"25": {
"A": 1,
"D": 0,
"S": 1
},
"26": {
"A": 0,
"D": 1,
"S": 1
},
"27": {
"A": 1,
"D": 0,
"S": 1
},
"28": {
"A": 0,
"D": 0,
"S": 0
},
"29": {
"A": 0,
"D": 0,
"S": 0
},
"87": {
"A": 0,
"D": 0,
"S": 0
}
},
"id": 1
}
},
"lastModTimestamp": null,
"in-conv": [
0,
7,
1,
4,
6,
3,
2,
9,
5,
10,
8
],
"tids": [
0,
1,
2,
3,
4,
5,
6,
7,
8,
9,
10,
11,
12,
13,
14,
15,
16,
17,
18,
19,
20,
21,
22,
23,
24,
25,
26,
27,
28,
29,
87
],
"lastVoteTimestamp": 1702011954608,
"math_tick": 650
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment