Kesif sonuclarindan konut ve tipsiz kayitlari ele - #1
Open
kdrgny-dev wants to merge 1 commit into
Open
Conversation
Ayvalik merkezde 3 km taramada donen 20 sonucun ikisi satilabilir bir isletme degildi: bir apartman girisi (apartment_building) ve hic primaryType'i olmayan bir kayit. - DEFAULT_EXCLUDED_TYPES'a konut tipleri eklendi (apartment_building, apartment_complex, condominium_complex, housing_complex). Dordu de Table A'da, excludedTypes degeri olarak canli API'de tek tek dogrulandi (hepsi HTTP 200). - Ayni sekilde bus_stop ve transit_depot eklendi; listedeki mevcut toplu tasima niyetini tamamliyor, bus_station tek basina duraklari kacirıyordu. - primaryType'i olmayan kayitlar post-filter'da eleniyor. Google'in destekledigi hicbir kategoriye girmeyen bu kayitlar pratikte yarim kalmis harita girdileri oluyor. Ayni koordinatta once/sonra: 20 sonuc (2 cop) -> 19 sonuc (0 cop), mesru kategorilerin hepsi yerinde. Co-Authored-By: Claude Opus 5 <noreply@anthropic.com>
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
Ayvalık'ta aracı denerken merkezde 3 km'lik bir tarama yaptım. Dönen 20 sonucun ikisi satılabilir bir işletme değildi:
apartment_buildingBiri apartman girişi, diğeri Google'ın hiçbir kategoriye oturtamadığı yarım kalmış bir harita kaydı. İkisi de pitch üretilecek bir muhatap değil, ama listede yer kaplıyor ve yanlışlıkla üretim yapılırsa Gemini kotası boşa gidiyor.
Değişiklik
1. Konut tipleri
DEFAULT_EXCLUDED_TYPES'a eklendi —apartment_building,apartment_complex,condominium_complex,housing_complex.Koddaki uyarıyı dikkate aldım (geçersiz bir tip tüm isteği 400'lüyor), o yüzden dördünü de canlı API'de tek tek denedim:
Dördü de Table A'da,
excludedTypesdeğeri olarak kabul ediliyor.2.
bus_stopvetransit_depoteklendi — listedeki mevcut toplu taşıma niyetini tamamlıyor.bus_stationtek başına durakları kaçırıyordu.3.
primaryType'ı olmayan kayıtlar post-filter'da eleniyor — bunlar Google'ın desteklediği hiçbir kategoriye girmeyen kayıtlar.excludedTypesile engellenemiyor çünkü ortada engellenecek bir tip yok.Sonuç
Aynı koordinatta önce/sonra:
Meşru kategorilerin hepsi yerinde:
cafe, restaurant, store, sports_activity_location, fast_food_restaurant, bakery, tour_agency, supermarket, home_goods_store, hotel, bar, grocery_store, food_store, service, department_storeNot
primaryType'ı olmayan her kaydı eliyorum. Teorik olarak tipi olmayan meşru bir işletme de elenebilir. Bu aracın amacı düşünüldüğünde (kategoriye özel fikir üretmek) tipsiz bir kayıttan zaten anlamlı çıktı alınamıyor, o yüzden elemeyi tercih ettim — ama sen tersini düşünüyorsan o kısmı çıkarabilirim, diğer iki madde tek başına da duruyor.Araç iyi iş çıkarıyor bu arada, Ayvalık'ta gerçekten kullanılabilir çıktılar verdi. Eline sağlık.