Normalize ریال→تومان pricing; stop exposing crawl source (medjobs/telegram)
- Parser now reads the currency: ریال amounts (incl. «میلیون ریال» and numbers with no تومان unit but ≥200M) are converted to تومان (÷10), so «۴۰۰٬۰۰۰٬۰۰۰ ریال» shows as ۴۰٬۰۰۰٬۰۰۰ تومان instead of 400M. - Aggregated facility fallback name no longer embeds the source («مرکز درمانی (از مدجابز)» → «مرکز درمانی (نامشخص)»). - Talent details only ever names Divar as a fallback source (when the number couldn't be extracted); medjobs/telegram are never shown publicly. Co-Authored-By: Claude Opus 4.8 <noreply@anthropic.com>
This commit is contained in:
@@ -198,9 +198,10 @@ public class IngestionService
|
||||
return;
|
||||
}
|
||||
|
||||
// Never surface the crawl source (e.g. «مدجابز») in a public facility name.
|
||||
var facilityName = !string.IsNullOrWhiteSpace(d?.FacilityName) ? d!.FacilityName!.Trim()
|
||||
: !string.IsNullOrWhiteSpace(parsed.FacilityName) ? parsed.FacilityName!.Trim()
|
||||
: $"مرکز درمانی (از {raw.SourceChannel})";
|
||||
: "مرکز درمانی (نامشخص)";
|
||||
// Reuse an existing facility (exact or Persian-aware fuzzy match) before creating a new one.
|
||||
var facility = FacilityMatcher.FindBest(facilities, facilityName, city.Id);
|
||||
if (facility is null)
|
||||
|
||||
Reference in New Issue
Block a user