Freso: not handling comments does make this easier to an extent. if you're sure then I can remove that. I will keep the structure in such a way that it still supports adding voter comments / other data, though
I'm still going to do some fixing-up of this nature
!startvote topic [hello, hello 123, hello world]
+hello some more comments
+hello 123 something
+hello world 123 something
it's going to add a vote for the option that has the longest continous containing in the string
However.
xyxyxyxyxyxyxyxyx +vote xyxyxyxy - no way to handle these cleanly IMO, so not going to
Leo_Verto: is there a way to change the regex of a command based on a config option? I want to have a config option for the abstain character ("\") but it doesn't seem like I can base my regexes on it since they can't access "self.config"
yeah, but the t-shirt is the only prize you're sure to get based on number of tasks alone
if you're a finalist you'll get a hoodie
SoumyaMakkar1234
Ohh
But how do i become a finalist
SoumyaMakkar1234 has quit
naiveai
finalists are decided by MetaBrainz themselves, and they base it on a variety of factors - quality of tasks, communication with the mentors and the wider community, general behaviour, etc. to be considered for a finalist position you need to be in the top 10 people who've completed the most tasks.
and gci have unofficial IRC channel #gci-students, you can ask and discuss there too. :D
naiveai
oh yes, but it's terribly inactive unfortunately
haruute[m]
yeah, just a spam bot there :D
with no student chat activities this week
naiveai
also, the op of the channel doesn't show up at all for some reason
haruute[m]
Freso, is "Attend Meeting" task claim-able this week?
Freso
haruute[m]: No.
haruute[m]
thanks
Freso
naiveai: I absolutely think comments should not be a concern at this point. I'd also say that whitespace shouldn't be allowed in voting options for now if it adds to code complexity. Longer vote options also introduce more room for typos etc., so the vote starter should be sure to keep vote options short and simple.
naiveai
Freso: actually I found a pretty elegant way to solve the whitespace issue.
basically, I'm greedily matching the voting string after the '+' or '-' to one of the options
so
!startvote topic [foo, foo bar, foo bar baz]
+foo something something
Freso
haruute[m]: You're welcome to attend the meeting anyway though. :)
naiveai
would vote for foo
+foo bar bazsomething
would wote for 'foo bar', since the baz is part of another word
and +foo bar baz something
would wote for "foo bar baz"
Freso
haruute[m]: I just don't think the meeting task is a good "final" task for GCI students, and since the meeting happens *after* the deadline for claiming new tasks, students wouldn't be able to claim another task after the meeting.
haruute[m]
Freso: will do
naiveai
it's a fast and very simple implementation, I think you'll agree: https://dpaste.de/m3Mt
Freso
naiveai: I think if you write "+something that isn't a vote option" it should be discarded, not try and guess what was meant (at least not silently). If you do "+foo bar bazsomething", maybe you meant to press newline after baz, but hit shift instead and just continued writing and then hit the enter key after the comment.
naiveai
Freso: I think personally it's pretty good. I can show a message if the vote was applied for something other than the option directly given
Freso
Maybe.
naiveai
with a !rescindvote or !cancelvote command, I think it's pretty reasonable, and useful
Freso
naiveai: I'm not sure we need a way to remove your vote entirely to begin with, so don't worry about that.
Just make sure any vote cast overrides any previous votes cast.
naiveai
Freso: oh yes, I wanted to talk about that
Freso
!startvote Something silly
-1
Err, I mean
\1
naiveai
yeah, that'll work
but does +red
followed by +green
ovverride the vote?
I think it should be that you can't do +red, -red (-red will override)
Freso
Maybe \red to nullify the red vote.
naiveai
but I think you should be able to vote for multiple things in a nonboolean vote
Freso: then why not have a cancelvote command
it's straightforward to do
just find votes by line.user and delete 'em
Freso
Okay. I just don't want you to spec yourself into hell and back so it won't be implementable in the next ~48 hours.
naiveai
it will be trust me
I have fingers of steel :D
Freso
Don't break your laptop/keyboard. :/
naiveai
Danskerne har tilsyneladende ingen sans for humor: D
Freso
None what-so-ever. We're practically German you know.
mzfr has quit
xps2 has quit
ruaok
Freso: can you *please* *please* *please* finally fill out the doodle for the board meeting?
what is the right interval for calculating stats? I imagined doing it on the first of every month, but I am not sure if that really makes sense. once a week?
Nyanko-sensei joined the channel
iliekcomputers
ruaok: tbh, I'd like to run it once and then see how much data it gobbles up.
D4RK-PH0ENiX has quit
ruaok
ok, let's do it weekly then, just to get this merged and deployed.
Nyanko-sensei has quit
ruaok leaves a comment
iliekcomputers
Cool, I'll update it in some time. Then get to LB-281