[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,242
  • Trades: 203
Re: What's up at Lestrade's?
« Reply #720,  »
NEW: Added an 'owners' field to game details. If there are less than 20k users it'll say so. Otherwise, it'll be an average of the estimates given by SteamSpy. (Which is where I'm getting the data from, obviously. I know BVG also does it but I'm not sure if it's using SS data or using their own technique which they devised at some point but somehow stopped talking about..?)

NEW: Very minor, but games with a rating lower than 50% now show it in bold red, and higher than 84% now show it in bold green. This is only on the game pages now, not on game lists. I'm not sure it's a 'great' addition, so for now this is just an experiment. I care about layout and style!
Re: What's up at Lestrade's?
« Reply #721,  »
Again, many changes these last few days, but I just can't bother to detail them all. It's mostly about game pages-- I'm fine-tuning them, trying to make them look better than before (and frankly, they already looked good enough, but...), also store icon CSS was rewritten for simplicity and fine-tuned, I hopefully didn't forget anything (if you see a store icon out of place, even by a pixel, please tell me.)

FIX(ES): the search engine had become slightly slower (returning its first results in a couple of seconds, instead of less than a second), not because I'm a lazy coder, but because I insisted on searching intros right after you started typing. There is, really, no point in returning all games that include the word, I don't know, "you", in your search results. I'm currently starting to search for intros with a minimum longest word of 4 characters, but I may increase that amount later. (Or also take total search term length, not just the longest word length.)

This is now much faster (pretty much as it used to be), and additionally I removed the limit of items retrieved internally when the word is long enough. This is to make sure you get results on very generic search terms that should exactly match a game, but it's not retrieved because Lestrade's found too many games using the same search word before even reaching it. For instance, I couldn't find "Project One", even when typing its name entirely. Again, that 'no limit' trigger should be when you type of 4-letter word or more. Please don't try that 4-letter word. Actually, do try it. It returns the game 'brainf*ck', with the star, and shows that the word 'fuck' is used in the description. It also returns 'Journey of Life', because it's has an alternative name of 'Journey of Fucker'. Don't ask me why! But it's shown as such, clearly pointing out it's in the alternative name.

Lestrade's is slowly but surely becoming the best search engine for video games, lol. (Kudos to BVG for letting me use their database; although I could switch at any time to my alternative work-only Steam database, it's important to keep connections with that database, if only because I keep sending fixes to it. Also kudos to Lilly for patiently listening to my fix suggestions for the past couple of years, and continuing.)

I can't believe it's still stuck in that upper right corner. It should have a big search box right in the middle of the page, ahah.

Akylen

  • Full Member
  • Posts: 181
  • Trades: 49
Re: What's up at Lestrade's?
« Reply #722,  »
If I may ask, what is the source of truth for the game search? lestrades db pulled from barter or steam?

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,242
  • Trades: 203
Re: What's up at Lestrade's?
« Reply #723,  »
Source of truth? What do you mean?
- game list is taken from barter (so that IDs can match easily when importing and exporting)
- tags, publishers and prices are taken from steamspy API iirc
- descriptions come from the steam API
- most of the remaining fields are either taken from barter or from steam, or figured out by Lestrade's (for instance there are many errors that barter won't fix in game relationships, so I fix them myself and Mark these games as 'do not bother with barter Satan). I'm currently moving some of my barter imports to use steam imports instead, but I'll keep taking barter data for the foreseeable future because I appreciate how the site is progressing and without scraping its data I can't cooperate with them. (I get hundreds of weekly logs from my scraper that I carefully analyze by hand, lol.)

Akylen

  • Full Member
  • Posts: 181
  • Trades: 49
Re: What's up at Lestrade's?
« Reply #724,  »
I meant if Barter or Steam data were to diverge, who would take precedence? Generally Barter is more structured and has a community behind it. Steam, specially with banned or removed games can be a bit frustrating to get the information.

You ended up giving a much better answer than the question asked. Taking each details from the best source possible :)

[Lestrades.com] Nao 尚

  • I'm Share-Locked
  • Administrator
  • Posts: 1,242
  • Trades: 203
Re: What's up at Lestrade's?
« Reply #725,  »
Yes, I see what you mean.
Barter data isn't always up to date. It's curated by humans (admin, theemu and Lilly, as far as I know), and sometimes they do things differently than I like. Sometimes they do things properly and I do it 'my way' (e.g. look at the Stanley Parable's demo, it's the only demo on the entire site you can actually add to your library, because I consider it a game on its own, rather than a demo of the base game), there is no "perfect" database for Steam, but I do my best to have one that's worthy of the tools I built around it.
Re: What's up at Lestrade's?
« Reply #726,  »
FIX/NEW: Can now search for exact expressions in the search engine. For instance, typing find your way would return too many entries from game descriptions (I tried to debug it, but it wasn't working well for me.) I figured it'd be simpler to simply allow you to type "find your way", with double quotes, and there you got, first result.

PS: as usual, I'm no longer documenting new features these days, unless it's something that can be useful and isn't self-explained, obvious or documented elsewhere.