-
Notifications
You must be signed in to change notification settings - Fork 23
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Is there a way to calculate response times #2
Comments
Hello @nalbanders ! Thanks for your interest. I don't have a log file right now. Could you please refresh my memory and check if a log file contains a timestamp of the time that a message was sent/received? If so, a first step should be to parse this string as a timestamp structure in python. Python provides several libraries to work with date and time. You can have a glimpse of what can be done with other file of mine here: https://github.com/nmoya/glaucobot/blob/master/glaucobot/datelib.py My best suggestion is that you should not perform manual calculations over timestamps. Always use a well tested library to work with date and time. I am interested in working together to add this feature if you like. Cheers, PS. Also, if you are getting started with computing, check this video: https://www.youtube.com/watch?v=-5wpm-gesOY |
Hi Nikolas, Thanks for the reply. I will try to work it in as you suggest. It's actually a fun project I am working on which your script is helping a Here is my LinkedIn profile On Fri, Apr 24, 2015 at 3:37 PM, Nikolas Moya [email protected]
|
Hello @nalbanders , Sure! Let's schedule a call and discuss more about the project. Are you available on Wednesday? My Skype/Hangout is nikolasmoya. I also sent a connect invitation on Linkedin. |
Great, how about Wednesday at 5:30 EST? I am in Boston, what city are you?
|
I am in Curitiba (BRT). Let's try a little bit later, like, after work, how about [17, ..., 21h] EST? |
Sorry, I meant 5:30PM (17:30). I believe you are one hour ahead so that If not we can do 6:30PM EST (18:30) On Mon, Apr 27, 2015 at 5:22 PM, Nikolas Moya [email protected]
|
Oh, alright then. 5:30 PM EST is great for me. |
Ok, I will call you then tomorrow on Skype. I just sent you a contact Looking forward to it, On Mon, Apr 27, 2015 at 5:33 PM, Nikolas Moya [email protected]
|
Wednesday* On Mon, Apr 27, 2015 at 5:35 PM, Armen Nalband [email protected] wrote:
|
Hey, some context for our call tomorrow Attached the main.py file that I modified My goal is to be able to understand the relationships of the user based on On a separate note, I have other development projects going on, always open Here is a wireframe of an app I am creating. We can chat about it On Mon, Apr 27, 2015 at 5:36 PM, Armen Nalband [email protected] wrote:
|
Attachment On Wed, Apr 29, 2015 at 1:19 AM, Armen Nalband [email protected] wrote:
from future import division class Chat():
def printDict(dic, parent, depth): def main():
print "Median response time =%s\n\n" %(numpy.median(c.responseTimeList))
with open('names.csv', 'w') as csvfile:fieldnames = ['msgs_root', 'msgs_contact', 'chars_root', 'chars_contact', 'qmarks_root', 'qmarks_contact']writer = csv.DictWriter(csvfile, fieldnames=fieldnames)writer.writeheader()
main() |
Hello @nalbanders ! I will add you as a contributor to the repository so that you have write access. Could you please commit your adapted main file with a different name? Also, something came up tomorrow at 6:30 PM EST. Do you mind changing our call to 4:30 PM EST or 5 PM EST? If it is not possible, it's alright, but I will need to leave at 6:15PM EST and then we can reschedule a new call if 45 minutes are not enough. I will be on Skype tomorrow's afternoon, so if you arrive earlier, we can start earlier otherwise we keep the original schedule :-) Also, your graphs did not show up. I was looking forward to see them! :( |
Ok, will try to call at 5 instead. Will push to git tomorrow. Thanks,
|
Hi, I found this parser very useful, I am doing a school project to analyze chat data. Thank you for contributing.
One thing I'd like to do is see the difference in response time between the root and their contact (much in the same way you calculate messages, characters, etc.)
Is there a way you recommend to add this functionality?
The text was updated successfully, but these errors were encountered: