Open simsausaurabh opened 6 years ago
@singhpratyush @sudheesh001 please provide your reviews about it.
If the issue is on the server, you should open it there. I think it should be quite easy to fix.
Yes, this issue is on the server part only, so I have created this issue here(on server). Yes I am looking into it for fixing.
Oh! I'm sorry. I confused this with the loklak search repo. Please continue with the issue and post in public chat if you face any issues. Thanks.
@singhpratyush I am working on it :+1:
Is this still reproducible for you? I am unable to see such behavior on my local instance.
@sudheesh001 Yes, I am able to reproduce it. Please see the screenshot below:
query: from:simsausaurabh
Actual source status: https://twitter.com/simsausaurabh/status/1000331996348997632
Result:
{
"provider_type": "SCRAPED",
"audio_count": 0,
"classifier_profanity_probability": 2.932073E-33,
"hashtags": [],
"hashtags_count": 0,
"favourites_count": 15,
"link": "https://twitter.com/simsausaurabh/status/1000331996348997632",
"created_at": "2018-05-26T11:05:07.000Z",
"videos": [],
"mentions_count": 19,
"classifier_emotion_probability": 4.0653516E-29,
"without_lu_len": 331,
"text_length": 331,
"retweet_count": 3,
"unshorten": {},
"without_l_len": 331,
"screen_name": "simsausaurabh",
"id_str": "1000331996348997632",
"links_count": 0,
"links": [],
"videos_count": 0,
"text": "Great meetup organised today! Thank you everyone for coming. I gave a brief introduction about Open Source and @fossasia, and how to start contributing for @gsoc with @fossasia. @mariobehling @hpdang @0rb1t3r @mielamvn @loklak_ @faevent @eventyay @fossasia @gsoc @mariobehling @hpdang @0rb1t3r @mielamvn @loklak_ @faevent @eventyay",
"audio": [],
"place_id": "",
"timestamp": "2018-06-01T06:03:18.985Z",
"classifier_language_probability": 1.1823488E-27,
"timestamp_id": 1527832998890,
"place_name": "",
"images": [
"https://pbs.twimg.com/media/DeHjpqXXcAAoZHq.jpg",
"https://pbs.twimg.com/media/DeHjfAXWkAEYjML.jpg",
"https://pbs.twimg.com/media/DeHj205WAAEzif4.jpg",
"https://pbs.twimg.com/media/DeHj-0aW4AEQ251.jpg"
],
"without_luh_len": 331,
"classifier_language": "english",
"hosts": [],
"images_count": 4,
"source_type": "TWITTER",
"hosts_count": 0,
"place_context": "ABOUT",
"classifier_emotion": "joy",
"classifier_profanity": "swear",
"mentions": [
"fossasia",
"gsoc",
"fossasia",
"mariobehling",
"hpdang",
"0rb1t3r",
"mielamvn",
"loklak_",
"faevent",
"eventyay",
"fossasia",
"gsoc",
"mariobehling",
"hpdang",
"0rb1t3r",
"mielamvn",
"loklak_",
"faevent",
"eventyay"
],
"user": {
"appearance_first": "2018-06-01T06:03:18.892Z",
"profile_image_url_https": "https://pbs.twimg.com/profile_images/899700314369957888/Md7JSIr6_bigger.jpg",
"screen_name": "simsausaurabh",
"user_id": "713763581964251136",
"name": "Saurabh Srivastava",
"appearance_latest": "2018-06-01T06:03:18.892Z"
}
}
I would like to work on the fix if this is still an issue.
@rmartinus Yes you can work on it, it is still an issue.
Short description
There is a discrepancy in
text
andmentions
data returned by api.loklak.query:
@wansapanahannah
returned result:
text
:31. i love @MarieliciousVIP since day one. @MarieliciousVIP
mentions
:["MarieliciousVIP", "MarieliciousVIP"]
images
:[]
images_count
:0
mentions_count
:2
actual tweet contains:
text
:31. i love @MarieliciousVIP since day one.
mentions
:@MarieliciousVIP
(only one mention) It contains one image and one mention.Link to tweet: https://twitter.com/wansapanahannah/status/998446061982175233
Output log for this particular status:
Environment
Steps to reproduce
@wansapanahannah
in api.loklak and look for the result of the tweet status.Expected behaviour
It should return the exact no of mentions and the original text of status.
Actual behaviour
Currently there is some discrepancy in the result returned. This is main problem related to the issue: #673