20
معياراً للتقييم
across three pollution types
منصّة · 2025 · دون ذكر اسم العميل
أداة رسمية لتقييم التلوّث تحوّلت إلى واجهة برمجية (API): حالات تلوّث في الماء والهواء والتربة، لكل حالة موقعها على الخريطة، وتُقيَّم وفق مجموعة محدّدة من المعايير.
20
معياراً للتقييم
across three pollution types
4 مراحل
مسار كل حالة
reviewed, not deleted
المشكلة
An environmental body assessed pollution incidents on paper using a structured scoring instrument with different criteria per contamination type. The instrument was well designed and entirely offline, so nothing could be aggregated, triaged or compared across cases.
الحلّ المعتمد
Transcribed the instrument faithfully rather than redesigning it. The assessment is polymorphic by pollution type with three mutually exclusive criteria blocks, twenty scored criteria in total, each carrying its original name inline so the mapping between the client form and the API is never lost. Four-state case workflow where a rejected case is a reviewed case rather than a deleted one.
بنية النظام
Polymorphic assessment document with three embedded value-object criteria blocks, discriminated by pollution type. The criteria counts are asymmetric because the three instruments were designed independently by the domain owner.
ومع كل قرار ثمنه
القرار الذي لا يُذكر ثمنه مجرّد تفضيل شخصي.
01
السبب
في أداة العميل تُقيَّم النفايات الغازية ضمن تلوّث الماء، لأنها تؤثّر في الماء. هذا تمييز يفرضه مجال العمل نفسه، وليس خطأً في تصميم البيانات. ولو دمجنا الأقسام الثلاثة في قائمة معايير موحّدة، لضاع المعنى الذي تحمله الأداة.
الثمن
جمع النتائج من ثلاثة أقسام غير متماثلة أصعب من جمعها من قائمة موحّدة. وهذا ثمن الحفاظ على منطق المجال كما هو.
النتيجة
The client scoring instrument works as a system: cases are filed with evidence photographs and location, then triaged through an explicit review workflow.