Skip to content

[feature-audit] plot_features degenerates to (i,t) with no plot_id level — Niger, Mali, Malawi, GhanaLSS (split from #513) #536

Description

@ligon

Split from #513. The deep-dive found a SECOND, distinct duplicate-collapse class that was being conflated with #513's (t,i,plot_id) collapse.

Verified

Feature('plot_features')([C]) emits Canonical index over ['i','t'] had N duplicate tuple(s); collapsed via groupby().first() — i.e. the index has no plot_id level at all:

country (i,t) dups
Malawi 60 (in addition to its 23 on (t,i,plot_id))
Niger 59
Mali ~8
GhanaLSS 2

Distinct from #513

#513 is the (t,i,plot_id) collapse (a real plot index colliding under id_walk). This class has no plot dimension — plot_features for these countries is effectively household-grain, so the canonical (t,v,i,plot_id) degenerates to (i,t) and multiple plots per household collapse via first().

Next step (per-country)

Either populate a real plot_id from the source (if one exists) or document plot_features as HH-grain for these countries and reconcile the canonical index expectation. Relates to #469 (EthiopiaRHS plot-grain blocked).

Severity: B/C (silent loss vs modeling gap, varies by country). Found via the backlog-workflow deep-dive on #513.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions