Zeroclickinfo-goodies: MD5, Base64: Triggers should be more strict

Created on 21 Mar 2015  路  13Comments  路  Source: duckduckgo/zeroclickinfo-goodies

Noticed some false positives today:

We need to make sure the triggers for these IA's capture the user's intent


IA Page: https://duck.co/ia/view/md5

Bug Relevancy Triggering

All 13 comments

@moollaza what about trigger only expressions between " or ' ? Because we can convert md5 "program for windows" too

Potentially, but I think we can solve this by making a unified crypto IA that does the work on the frontend

@moollaza how to check in the frontend if the query is 'general' or about an encryption? However, this afternoon I will work on this

@moollaza @puskin94 maybe one solution is to get this triggering if it's at the beginning. What do you think?

Kinda like Slack's slash commands https://api.slack.com/slash-commands

I'd appreciate better triggering too.
Today I've searched for a files sha1 sum to double check my download (sha1 cm-10.1.1-maguro.zip).
The instant answer was rather misleading, since my first thought was: "oh nice, how does duckduckgo know that?"
It turned out (as you know) it's the hash of the string, not the file. But that's not what a user would expect it to be.

This applies to all hash algorithms of course.

@orzechow with my little knowledge of this topic, I think you nailed it -- it's the hash of the string, not the file, and that's not what people expect.

@edgesince84 @orzechow Perhaps this should be clarified in the answer? md5 hash of string: X?

(I think this might be worth raising as a separate issue)

Yes, the answer should be clarified.
Though, I'd prefer an explicit trigger as proposed by @puskin94 :

  • sha1 cm-10.1.1-maguro.zip does not trigger
  • sha1 "cm-10.1.1-maguro.zip" does trigger

hey @orzechow I wanted to see if you wanted to work on addressing this issue - I'd love to see a fix go live!

If you'd rather work on something new, we'd like to invite you to our new forum to preview how we're improving programming-related searches. There are a lot of important tasks up for grabs that we'd like your help with, so feel free to and jump in.

Hey @edgesince84,

I might have a look at this, though I'm not familiar with the duckduckgo code, API or anything yet.
But I'm on holidays until end of August, so don't expect changes until then ;)

Cheers!

thanks for letting me know, @orzechow -- enjoy your holiday! When you're back, feel free to ask any questions you might have on the forum or Slack.

Was this page helpful?
0 / 5 - 0 ratings