Skip to content
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

Search for multiple systems/formats #272

Open
dfabulich opened this issue Apr 4, 2021 · 1 comment
Open

Search for multiple systems/formats #272

dfabulich opened this issue Apr 4, 2021 · 1 comment
Labels
searches Improvements in IFDB's search functionality

Comments

@dfabulich
Copy link
Contributor

Frotz for iOS includes a button to search IFDB. It's currently set up to search for system:inform to find games that will be compatible with Frotz.

But that's not a great approach.

  • system:inform excludes TADS games, which do work in iOS Frotz
  • It excludes games written in non-Inform systems that compile to Z-code, including Dialog and ZIL
  • It includes Hadean Lands, but IFDB doesn't have a download link for it, so it can't be played in iOS Frotz

It would be preferable to search by multiple systems, e.g. system:inform|tads, or, perhaps even better for these purposes, format:glulx*|z*|tads*.

@dfabulich dfabulich added the searches Improvements in IFDB's search functionality label Apr 4, 2021
@dfabulich
Copy link
Contributor Author

dfabulich added a commit to dfabulich/iosfrotz that referenced this issue Apr 4, 2021
The previous search was searching for "system:inform rating:3- #ratings:2- language:english" i.e. games with a 3+ average based on at least 2 ratings, in English, written in Inform, and it forced the search to sort alphabetically.

That's not an ideal approach.

* `system:inform` excludes TADS games, which do work in iOS Frotz
* It excludes games written in non-Inform systems that compile to Z-code, including Dialog and ZIL
* It includes Hadean Lands, but IFDB doesn't have a download link for it, so it can't be played in iOS Frotz
* It excludes game listings that forgot to list a language.
* Sorting alphabetically is wrong; we want the highest rated games first.

The new search is simpler: "format:*blorb". This will return all games with a download link whose format type ends with "blorb," such as "Z Machine/Blorb" and "Glulx/Blorb." It will use the default sort order, sorting by Highest Rating.

This doesn't match TADS games, but it does include Dialog and ZIL games, and excludes Hadean Lands. It also misses some Inform games, due to IFDB's multiple overlapping format types. The highest ranking game that we miss this way is Suveh Nux, which should have appeared at position ifrotz#17, but doesn't, because its file format is "Z-machine" (`.z5`) instead of "Z Machine/Blorb". "format:*blorb" also includes a few ADRIFT 5 games, which don't work in Frotz, but they don't rank highly.

Finally, note that IFDB now uses Evan Miller's "starsort" to sort by highest rating. https://www.evanmiller.org/ranking-items-with-star-ratings.html

We used to sort by average rating, but this would tend to rank games with just one perfect 5-star rating above games with dozens of 5-star ratings and a few 4-star ratings. Evan Miller’s formula sorts by our confidence in the game, by adding five "fake" ratings to the average (one 1-star, one 2-star, one 3-star, one 4-star, and one 5-star rating) and subtracting the standard deviation from the average.

I've filed an issue on IFDB to support searching for multiple formats, which could allow searching for `format:glulx*|z*|tads* -system:adrift`, which I believe would be ideal. iftechfoundation/ifdb-suggestion-tracker#272
dfabulich added a commit to dfabulich/iosfrotz that referenced this issue Apr 4, 2021
The previous search was searching for `system:inform rating:3- #ratings:2- language:english` i.e. games with a 3+ average based on at least 2 ratings, in English, written in Inform, and it forced the search to sort alphabetically.

That's not an ideal approach.

* `system:inform` excludes TADS games, which do work in iOS Frotz
* It excludes games written in non-Inform systems that compile to Z-code, including Dialog and ZIL
* It includes Hadean Lands, but IFDB doesn't have a download link for it, so it can't be played in iOS Frotz
* It excludes game listings that forgot to list a language.
* Sorting alphabetically is wrong; we want the highest rated games first.

The new search is simpler: `format:*blorb`. This will return all games with a download link whose format type ends with "blorb," such as "Z Machine/Blorb" and "Glulx/Blorb." It will use the default sort order, sorting by Highest Rating.

This doesn't match TADS games, but it does include Dialog and ZIL games, and excludes Hadean Lands. It also misses some Inform games, due to IFDB's multiple overlapping format types. The highest ranking game that we miss this way is Suveh Nux, which should have appeared at position ifrotz#17, but doesn't, because its file format is "Z-machine" (`.z5`) instead of "Z Machine/Blorb". "format:*blorb" also includes a few ADRIFT 5 games, which don't work in Frotz, but they don't rank highly.

Finally, note that IFDB now uses Evan Miller's "starsort" to sort by highest rating. https://www.evanmiller.org/ranking-items-with-star-ratings.html

We used to sort by average rating, but this would tend to rank games with just one perfect 5-star rating above games with dozens of 5-star ratings and a few 4-star ratings. Evan Miller’s formula sorts by our confidence in the game, by adding five "fake" ratings to the average (one 1-star, one 2-star, one 3-star, one 4-star, and one 5-star rating) and subtracting the standard deviation from the average.

I've filed an issue on IFDB to support searching for multiple formats, which could allow searching for `format:glulx*|z*|tads* -system:adrift`, which I believe would be ideal. iftechfoundation/ifdb-suggestion-tracker#272
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
searches Improvements in IFDB's search functionality
Projects
None yet
Development

No branches or pull requests

1 participant