python-mapswipe-workers
python-mapswipe-workers copied to clipboard
use _share instead of _count attributes
https://github.com/mapswipe/python-mapswipe-workers/blame/5a95c28498ee519ccc4298f421ed60c3560144cb/mapswipe_workers/mapswipe_workers/generate_stats/tasking_manager_geometries.py#L49-L57
it should be:
"no_share": float(column_index_map.get("0_share", 0)),
"yes_share": float(column_index_map.get("1_share", 0)),
"maybe_share": float(column_index_map.get("2_share", 0)),
"bad_imagery_share": float(column_index_map.get("3_share", 0)),
Thanks, @benni I have pushed the changes to both dev/prod.
I have also re-run the stat's calculation for these projects. (List generated by using https://apps.mapswipe.org/api/hot_tm/ modified date from Jul)
-NBOheVRXDK3CW5xudNm
-NTDjELAWPxhsR6RSAzy
-NTIlqM_v_Il3MnjJv5Y
-NVEEKvS8y_9hzv8h8EI
-NWHpfmPVI8vi9HP6h1q
-NXGRRHZDqmxHGffuP3Z
-NXOlvyjXwYDKc4ipQt9
-NXQ3s3QU_85iNE-DllJ
-NXnw1bgqqL8OyUPEyuf
-NXnwg6Lc2F1xEmjYo3t
-NXt4tJOGH7IS6_1bWJt
-NYNh0bo9y4p-Oux0pMa
-NYTA-9hXsxbMBhpkT4O
-NYbg1FQiUhXAxCgAZ56
-NYc_G9AdoG4AsLSok2U
-NZ24Jz8qvNNAA61wGyD
-NXG2zC7XcsgJig9riQD
-NYccDrnd6kLOxyEdsbU
-NYccODx17qe0erz61zD
-NZB_KTRBpsHLqXWnAX2
-NZPpJFdahFpzDYcCk6L
-NZPqP4fOwZsdN50IoBH
-N_cmJsdED1mAx_MmOIx
-NaLEUiDj5FhN8KBNAm1
-NBOhmWgEO8zhdKt6cNi
-NBOhuMEpLHijX6xq4zg
-NZPqqAEqhOLuUIuDYb3
-N_bsPO3852oG4_KdEQq
-N_bwpIRG0KsNo9guUbU
-N_hfAB4q2kyL7hu53Wq
-Nal83ay1xeKct_9a2UI
-Nal8hfPaqw6pD40HyFD
-Nal9Fwt9mFrGlgVW7T2
-Nal9ZH7YL6XbLe4l7C8
-Nal9txvBan_5-ytQo2a
-NalAFH7g9M-hoRExWBu
-Nap50BCrZYrPHihdEth
-Ncbda3PBiZEiUu61KNZ
-NchJmHCZ94EqX_FDngl