$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC$œ’m…Îmo“LÒDüÜ;˜%gÏ?wêÁÅ·øîùovH0õÉa‡5£Ú*î Ø’ÃÌlÍ››S iyä”rÕO7ª“ž�%L]Ý×%±ºÇhk¶«·÷>v1­HB£®±ßÞÚd\�(e oIx¢>3´6BS%ÌØá“( œÛf$Ãhýé ¿¶åeÔŽôÚèHœ�‚`ݶ f{�Fo©Yò¿Ôó@00uMb’z-ëìXI$&ÂgfÖú¶7Ó´Þu|'K.ÌoP PÝÀùFË.Ðýoûò9B<~.’ïÅË[’´˜Ë<Ù­„$¯•¢·ä{1¹A�•.òbKxºL �¯�Ý·'¯u8n5 ’ºe,]ñH©–’ÆV¨ŒWwÃ$ùCƒel¹“|zys«™KŠi-ðqÊݬbk,wnGÿâ;¥ ~ ÖeÉrÍ’‰ÜÔ~' 1`V⦫¹-*[ÉñLÔKÄ'2@ŸÜþÐ仪 ²n‘Íß2¸N߈ƶµG•¢ói/U¢µ'Eï@¦`H湘;J•�¼¼ÜŽÅ +Jén#»¼‚6Ú´—ĹG•ü¡NÒGð'—Z!öáí¸‰Wi�»NJ @óàšAûÜZ|ª[¨ï$q}i�Ò·µQbtTEC0000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '51', 'nonvoluntary_ctxt_switches': '96'} ('datou_batch_current', '2132585', '1106844', '0', '1106844', '865592', '97940', b'', 'marlene', '2618763') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20846799) and hide_status = 0 ) AND ph.photo_id not in (SELECT mtr_photo_id from MTRPhoto.mtr_datou_result_search where mtr_current_id in (2618763 ) ) ORDER BY ph.photo_id DESC LIMIT 0, 200 We have 1 , {} SELECT mtr_photo_id, mtr_portfolio_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (20846799) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1339756218, 'portfolio_id': 20846799}, {'photo_id': 1339751830, 'portfolio_id': 20846799}, {'photo_id': 1339751662, 'portfolio_id': 20846799}, {'photo_id': 1339751657, 'portfolio_id': 20846799}, {'photo_id': 1339751653, 'portfolio_id': 20846799}, {'photo_id': 1339751459, 'portfolio_id': 20846799}, {'photo_id': 1339751451, 'portfolio_id': 20846799}, {'photo_id': 1339751442, 'portfolio_id': 20846799}, {'photo_id': 1339751386, 'portfolio_id': 20846799}, {'photo_id': 1339751348, 'portfolio_id': 20846799}, {'photo_id': 1339751318, 'portfolio_id': 20846799}, {'photo_id': 1339751260, 'portfolio_id': 20846799}, {'photo_id': 1339751232, 'portfolio_id': 20846799}, {'photo_id': 1339751229, 'portfolio_id': 20846799}, {'photo_id': 1339751225, 'portfolio_id': 20846799}, {'photo_id': 1339751219, 'portfolio_id': 20846799}, {'photo_id': 1339751211, 'portfolio_id': 20846799}, {'photo_id': 1339751161, 'portfolio_id': 20846799}, {'photo_id': 1339751157, 'portfolio_id': 20846799}, {'photo_id': 1339751153, 'portfolio_id': 20846799}, {'photo_id': 1339751147, 'portfolio_id': 20846799}, {'photo_id': 1339750564, 'portfolio_id': 20846799}, {'photo_id': 1339750517, 'portfolio_id': 20846799}, {'photo_id': 1339750508, 'portfolio_id': 20846799}, {'photo_id': 1339750504, 'portfolio_id': 20846799}, {'photo_id': 1339750447, 'portfolio_id': 20846799}, {'photo_id': 1339750443, 'portfolio_id': 20846799}, {'photo_id': 1339750435, 'portfolio_id': 20846799}, {'photo_id': 1339750432, 'portfolio_id': 20846799}, {'photo_id': 1339750429, 'portfolio_id': 20846799}, {'photo_id': 1339750410, 'portfolio_id': 20846799}, {'photo_id': 1339750406, 'portfolio_id': 20846799}, {'photo_id': 1339750402, 'portfolio_id': 20846799}, {'photo_id': 1339750129, 'portfolio_id': 20846799}, {'photo_id': 1339750124, 'portfolio_id': 20846799}, {'photo_id': 1339750120, 'portfolio_id': 20846799}] map_portfolio_id_photo_id: {20846799: [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120]} ##### Call download_photos : nb_thread : 1 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos ##### After load_data_input time to download the photos : 0.13147759437561035 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu Feb 27 05:57:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20846799) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} beginning of datou step ventilate_hashtags_in_portfolio : To implement ! To do loadFromThcl(), then load ParamDescType : thcl2725 get_desc_type_from_thcl : type of cat SELECT id, mtr_user_id, name, pb_hashtag_id, hashtag_id_list, button_legend_list, portfolio_id_lists, photo_hashtag_type, photo_desc_type, svm_limit, limit_tagging, is_public, live, created_at, updated_at, type_classification FROM MTRDatou.classification_theme WHERE `id` IN (2725) thcls : [{'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'}] thcl {'id': 2725, 'mtr_user_id': 31, 'name': 'learn_qualipapia_rle_210302_2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Carton_brun,Carton_gris,Teint_Dans_La_Masse,autre_refus,cartonnette,environnement,kraft,metal,papier,plastique', 'svm_portfolios_learning': '3460440,3460441,3460446,3460434,3460439,3467416,3460442,3460443,3486028,3460445', 'photo_hashtag_type': 3410, 'photo_desc_type': 5186, 'type_classification': 'caffe', 'hashtag_id_list': '2107753024,2107753020,2107752385,2107752406,702398920,493012381,493202403,492628673,492668766,492725882'} Update svm_hashtag_type_desc : 5186 remove imagettes from duplicated photo Iterating over portfolio : 20846799 get user id for portfolio 20846799 get sub ptf for main ptf 20846799, type 3726 and hashtags ['plastique', 'cartonnette', 'Carton_gris', 'environnement', 'autre_refus', 'kraft', 'metal', 'papier', 'Carton_brun', 'mal_croppe', 'flou', 'Teint_Dans_La_Masse'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','environnement','autre_refus','kraft','metal','papier','Carton_brun','mal_croppe','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','environnement','autre_refus','kraft','metal','papier','Carton_brun','mal_croppe','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20846799, 'sub_port_id': 20846876, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480442, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'autre_refus': {'main_port_id': 20846799, 'sub_port_id': 20846877, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480443, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'metal': {'main_port_id': 20846799, 'sub_port_id': 20846878, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480444, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'mal_croppe': {'main_port_id': 20846799, 'sub_port_id': 20846879, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480445, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'plastique': {'main_port_id': 20846799, 'sub_port_id': 20846880, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480446, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 20846799, 'sub_port_id': 20846881, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480447, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'Carton_gris': {'main_port_id': 20846799, 'sub_port_id': 20846882, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480448, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'cartonnette': {'main_port_id': 20846799, 'sub_port_id': 20846883, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480449, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'environnement': {'main_port_id': 20846799, 'sub_port_id': 20846884, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480450, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'papier': {'main_port_id': 20846799, 'sub_port_id': 20846885, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480451, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'flou': {'main_port_id': 20846799, 'sub_port_id': 20846886, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480452, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}, 'kraft': {'main_port_id': 20846799, 'sub_port_id': 20846887, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480453, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846876 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_brun' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846876) result : ((1339751176,), (1339751177,), (1339751178,), (1339751443,), (1339751444,), (1339751445,), (1339751446,), (1339751447,), (1339751490,), (1339751936,), (1339751937,), (1339751938,), (1339751939,), (1339751940,), (1339751974,), (1339751975,), (1339751976,), (1339751977,), (1339757810,), (1339757811,), (1339757812,), (1339757813,), (1339757814,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846877 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='autre_refus' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846877) result : ((1339751139,), (1339751169,), (1339751454,), (1339751932,), (1339752049,), (1339757771,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846878 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='metal' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846878) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846879 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='mal_croppe' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846879) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846880 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='plastique' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846880) result : ((1339751143,), (1339751504,), (1339751505,), (1339751506,), (1339751978,), (1339751979,), (1339751980,), (1339757816,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846881 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Teint_Dans_La_Masse' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846881) result : ((1339751167,), (1339751168,), (1339751439,), (1339751440,), (1339751452,), (1339751453,), (1339751929,), (1339751930,), (1339751931,), (1339751958,), (1339751959,), (1339751960,), (1339751962,), (1339751963,), (1339751964,), (1339757767,), (1339757768,), (1339757769,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846882 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='Carton_gris' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846882) result : ((1339751141,), (1339751173,), (1339751174,), (1339751441,), (1339751458,), (1339751961,), (1339751966,), (1339751967,), (1339751968,), (1339751969,), (1339757803,), (1339757804,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846883 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='cartonnette' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846883) result : ((1339751175,), (1339751460,), (1339751933,), (1339751934,), (1339751970,), (1339751971,), (1339751972,), (1339757432,), (1339757805,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846884 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='environnement' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846884) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846885 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='papier' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846885) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846886 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='flou' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846886) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 20846887 , sub_photo_id, 979,now() FROM (SELECT csp.sub_photo_id, csp.crop_hashtag_id, csp.created_at FROM MTRPhoto.crop_sub_photo_ids csp, MTRPhoto.crop_hashtag_ids chi, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp WHERE mpp.mtr_portfolio_id=20846799 AND mpp.mtr_photo_id=chi.photo_id AND chi.id=csp.crop_hashtag_id AND chi.score>0.5 AND chi.type=3726 AND chi.hashtag_id=h.hashtag_id AND h.hashtag='kraft' GROUP BY csp.crop_hashtag_id, csp.created_at order by csp.created_at desc) as a group by crop_hashtag_id; SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846887) result : ((1339751983,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20846799) result : ((1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','environnement','autre_refus','kraft','metal','papier','Carton_brun','mal_croppe','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','cartonnette','Carton_gris','environnement','autre_refus','kraft','metal','papier','Carton_brun','mal_croppe','flou','Teint_Dans_La_Masse')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 20846799, 'sub_port_id': 20846888, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480454, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'autre_refus': {'main_port_id': 20846799, 'sub_port_id': 20846889, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480455, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'metal': {'main_port_id': 20846799, 'sub_port_id': 20846890, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480456, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'mal_croppe': {'main_port_id': 20846799, 'sub_port_id': 20846891, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480457, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'plastique': {'main_port_id': 20846799, 'sub_port_id': 20846892, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480458, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 20846799, 'sub_port_id': 20846893, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480459, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'Carton_gris': {'main_port_id': 20846799, 'sub_port_id': 20846894, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480460, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'cartonnette': {'main_port_id': 20846799, 'sub_port_id': 20846895, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480461, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'environnement': {'main_port_id': 20846799, 'sub_port_id': 20846896, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480462, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'papier': {'main_port_id': 20846799, 'sub_port_id': 20846897, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480463, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'flou': {'main_port_id': 20846799, 'sub_port_id': 20846898, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480464, 'last_updated_at': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 16, 39, 32), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}, 'kraft': {'main_port_id': 20846799, 'sub_port_id': 20846899, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 13480465, 'last_updated_at': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_desc': datetime.datetime(2025, 2, 26, 17, 17), 'last_updated_at_asc': datetime.datetime(2025, 2, 26, 16, 39, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846888,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846876 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846889,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846877 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846890,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846878 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846891,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846879 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846892,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846880 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846893,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846881 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846894,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846882 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846895,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846883 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846896,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846884 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846897,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846885 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846898,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846886 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 20846899,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 20846887 lien utilise dans velours : https://www.fotonower.com/velours/20846888,20846889,20846890,20846891,20846892,20846893,20846894,20846895,20846896,20846897,20846898,20846899?tags=Carton_brun,autre_refus,metal,mal_croppe,plastique,Teint_Dans_La_Masse,Carton_gris,cartonnette,environnement,papier,flou,kraft After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20846799]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] map_info['map_portfolio_photo'] : {20846799: [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120]} final : False mtd_id 4302 list_pids : [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] Looping around the photos to save general results len do output : 1 /20846799. before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20846799', "{'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887}", None, None, None, None, '2618763'), ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763')] time used for this insertion : 0.07418942451477051 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.4278655052185059 time spend to save output : 0.07469892501831055 total time spend for step 1 : 1.5025644302368164 step2:final Thu Feb 27 05:58:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20846799) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} Beginning of datou step final ! query to retrieve results for portfolio 20846799 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1339750129,1339750124,1339750120,1339750435,1339750432,1339750429,1339750410,1339750406,1339750402,1339750447,1339750443,1339750517,1339750508,1339750504,1339750564,1339751161,1339751157,1339751153,1339751147,1339751260,1339751232,1339751229,1339751225,1339751219,1339751211,1339751386,1339751348,1339751318,1339751459,1339751451,1339751442,1339751662,1339751657,1339751653,1339756218,1339751830); insert ignore into MTRUser.portfolio_carac_ratio (portfolio_id, hashtag_type, hashtag_id, value) values (%s,%s,%s,%s) on DUPLICATE KEY UPDATE value=VALUES(value) After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20846799]) Inside saveOutput : final : False verbose : True original output for save of step final : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} new output for save of step final : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] map_info['map_portfolio_photo'] : {20846799: [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120]} final : False mtd_id 4302 list_pids : [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] Looping around the photos to save general results len do output : 36 /1339756218.Didn't retrieve data . /1339751830.Didn't retrieve data . /1339751662.Didn't retrieve data . /1339751657.Didn't retrieve data . /1339751653.Didn't retrieve data . /1339751459.Didn't retrieve data . /1339751451.Didn't retrieve data . /1339751442.Didn't retrieve data . /1339751386.Didn't retrieve data . /1339751348.Didn't retrieve data . /1339751318.Didn't retrieve data . /1339751260.Didn't retrieve data . /1339751232.Didn't retrieve data . /1339751229.Didn't retrieve data . /1339751225.Didn't retrieve data . /1339751219.Didn't retrieve data . /1339751211.Didn't retrieve data . /1339751161.Didn't retrieve data . /1339751157.Didn't retrieve data . /1339751153.Didn't retrieve data . /1339751147.Didn't retrieve data . /1339750564.Didn't retrieve data . /1339750517.Didn't retrieve data . /1339750508.Didn't retrieve data . /1339750504.Didn't retrieve data . /1339750447.Didn't retrieve data . /1339750443.Didn't retrieve data . /1339750435.Didn't retrieve data . /1339750432.Didn't retrieve data . /1339750429.Didn't retrieve data . /1339750410.Didn't retrieve data . /1339750406.Didn't retrieve data . /1339750402.Didn't retrieve data . /1339750129.Didn't retrieve data . /1339750124.Didn't retrieve data . /1339750120.Didn't retrieve data . before output type Used above Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 108 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20846799', '1339756218', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751830', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751662', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751657', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751653', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751459', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751451', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751442', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751386', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751348', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751318', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751260', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751232', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751229', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751225', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751219', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751211', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751161', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751157', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751153', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339751147', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750564', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750517', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750508', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750504', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750447', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750443', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750435', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750432', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750429', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750410', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750406', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750402', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750129', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750124', '0.11496452386107839', None, None, None, None, '2618763'), ('4302', '20846799', '1339750120', '0.11496452386107839', None, None, None, None, '2618763')] time used for this insertion : 0.02997756004333496 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1069326400756836 time spend to save output : 0.03131747245788574 total time spend for step 2 : 0.13825011253356934 step3:velours_tree Thu Feb 27 05:58:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {20846799: [{'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887}]} input_args_next_step : {20846799: ()} output_args : {20846799: [{'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887}]} args : 20846799 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20846799) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} can't find the photo_desc_type After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20846799]) Inside saveOutput : final : False verbose : True ouput is None No outpout to save, returning out of save general time spend for datou_step_exec : 0.2825281620025635 time spend to save output : 5.0067901611328125e-05 total time spend for step 3 : 0.2825782299041748 step4:send_mail_cod Thu Feb 27 05:58:01 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} input_args_next_step : {1339756218: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339756218 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751830 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751662 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751657 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751653 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751459 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751451 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751442 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751386 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751348 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751318 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751260 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751232 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751229 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751225 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751219 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751211 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751161 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751157 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751153 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339751147 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750564 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750517 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750508 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750504 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750447 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750443 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750435 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750432 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750429 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750410 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750406 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750402 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750129 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750124 depend.output_id : 0 input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ()} output_args : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',)} args : 1339750120 depend.output_id : 0 Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 3 : {20846799: [{'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887}]} input_args_next_step : {1339756218: ('0.11496452386107839',), 1339751830: ('0.11496452386107839',), 1339751662: ('0.11496452386107839',), 1339751657: ('0.11496452386107839',), 1339751653: ('0.11496452386107839',), 1339751459: ('0.11496452386107839',), 1339751451: ('0.11496452386107839',), 1339751442: ('0.11496452386107839',), 1339751386: ('0.11496452386107839',), 1339751348: ('0.11496452386107839',), 1339751318: ('0.11496452386107839',), 1339751260: ('0.11496452386107839',), 1339751232: ('0.11496452386107839',), 1339751229: ('0.11496452386107839',), 1339751225: ('0.11496452386107839',), 1339751219: ('0.11496452386107839',), 1339751211: ('0.11496452386107839',), 1339751161: ('0.11496452386107839',), 1339751157: ('0.11496452386107839',), 1339751153: ('0.11496452386107839',), 1339751147: ('0.11496452386107839',), 1339750564: ('0.11496452386107839',), 1339750517: ('0.11496452386107839',), 1339750508: ('0.11496452386107839',), 1339750504: ('0.11496452386107839',), 1339750447: ('0.11496452386107839',), 1339750443: ('0.11496452386107839',), 1339750435: ('0.11496452386107839',), 1339750432: ('0.11496452386107839',), 1339750429: ('0.11496452386107839',), 1339750410: ('0.11496452386107839',), 1339750406: ('0.11496452386107839',), 1339750402: ('0.11496452386107839',), 1339750129: ('0.11496452386107839',), 1339750124: ('0.11496452386107839',), 1339750120: ('0.11496452386107839',), 20846799: ()} output_args : {20846799: [{'Carton_brun': 20846876, 'autre_refus': 20846877, 'metal': 20846878, 'mal_croppe': 20846879, 'plastique': 20846880, 'Teint_Dans_La_Masse': 20846881, 'Carton_gris': 20846882, 'cartonnette': 20846883, 'environnement': 20846884, 'papier': 20846885, 'flou': 20846886, 'kraft': 20846887}]} args : 20846799 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :37, first value : ('0.11496452386107839',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20846799) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1339756218,1339751830,1339751662,1339751657,1339751653,1339751459,1339751451,1339751442,1339751386,1339751348,1339751318,1339751260,1339751232,1339751229,1339751225,1339751219,1339751211,1339751161,1339751157,1339751153,1339751147,1339750564,1339750517,1339750508,1339750504,1339750447,1339750443,1339750435,1339750432,1339750429,1339750410,1339750406,1339750402,1339750129,1339750124,1339750120) Found this number of photos: 36 ##### Call download_photos : nb_thread : 5 begin to download photo : 1339750120 begin to download photo : 1339750435 begin to download photo : 1339751153 begin to download photo : 1339751260 begin to download photo : 1339751657 download finish for photo 1339750120 begin to download photo : 1339750124 download finish for photo 1339750435 begin to download photo : 1339750443 download finish for photo 1339751260 begin to download photo : 1339751318 download finish for photo 1339751153 begin to download photo : 1339751157 download finish for photo 1339751657 begin to download photo : 1339751662 download finish for photo 1339750124 begin to download photo : 1339750129 download finish for photo 1339751662 begin to download photo : 1339751830 download finish for photo 1339750443 begin to download photo : 1339750447 download finish for photo 1339751318 begin to download photo : 1339751348 download finish for photo 1339750129 begin to download photo : 1339750402 download finish for photo 1339750447 begin to download photo : 1339750504 download finish for photo 1339751348 begin to download photo : 1339751386 download finish for photo 1339750402 begin to download photo : 1339750406 download finish for photo 1339751830 begin to download photo : 1339756218 download finish for photo 1339751386 begin to download photo : 1339751442 download finish for photo 1339750504 begin to download photo : 1339750508 download finish for photo 1339756218 download finish for photo 1339750406 begin to download photo : 1339750410 download finish for photo 1339751442 begin to download photo : 1339751451 download finish for photo 1339750508 begin to download photo : 1339750517 download finish for photo 1339750410 begin to download photo : 1339750429 download finish for photo 1339751451 begin to download photo : 1339751459 download finish for photo 1339750517 begin to download photo : 1339750564 download finish for photo 1339750429 begin to download photo : 1339750432 download finish for photo 1339751459 begin to download photo : 1339751653 download finish for photo 1339751157 begin to download photo : 1339751161 download finish for photo 1339750432 download finish for photo 1339750564 begin to download photo : 1339751147 download finish for photo 1339751147 download finish for photo 1339751161 begin to download photo : 1339751211 download finish for photo 1339751653 download finish for photo 1339751211 begin to download photo : 1339751219 download finish for photo 1339751219 begin to download photo : 1339751225 download finish for photo 1339751225 begin to download photo : 1339751229 download finish for photo 1339751229 begin to download photo : 1339751232 download finish for photo 1339751232 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 36 ; length of list_pids : 36 ; length of list_args : 36 results_Auto_P20846799_27-02-2025_05_58_03.pdf 20846877 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846877 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751139: '1740584152_3554932_1339750435_c88f5d8bf51ea7ce49aa8756faee85d4_rle_crop_3687651045_0.png', 1339751169: '1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651262_0.png', 1339751454: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654160_0.png', 1339751932: '1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657589_0.png', 1339752049: '1740584811_3575419_1339751653_6a8bb91ed5c868b7718543f7c7376c67_rle_crop_3687663518_0.png', 1339757771: '1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651262_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/86f7f5aec7420c8411804dde951deb09_34425388.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/56efa60fb61129b5463e1a57808611ea_68928663.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/76af91733dbcfe0a86752076a57812a9_346728.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/30608219224b16d9154012b3b9c92af5_85828800.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8dd151f0c4b2dfc322475df9a95f6577_69597654.png change filename to text .imagette208468771740632283/ imagette208468771740632283/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654160_0.png.png imagette208468771740632283/1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657589_0.png.png imagette208468771740632283/1740584811_3575419_1339751653_6a8bb91ed5c868b7718543f7c7376c67_rle_crop_3687663518_0.png.png imagette208468771740632283/1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651262_0.png.png imagette208468771740632283/1740584152_3554932_1339750435_c88f5d8bf51ea7ce49aa8756faee85d4_rle_crop_3687651045_0.png.png imagette208468771740632283/1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651262_0.png.png imagette208468781740632284/ imagette208468791740632284/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/56efa60fb61129b5463e1a57808611ea_82977407.png imagette208468771740632283 20846878 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846878 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208468781740632284 20846879 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846879 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208468791740632284 20846880 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846880 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751143: '1740584152_3554932_1339750124_768c48566daccbe3cca091224ed86482_rle_crop_3687651068_0.png', 1339751504: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654170_0.png', 1339751505: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654169_0.png', 1339751506: '1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654384_0.png', 1339751978: '1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658569_0.png', 1339751979: '1740584653_3570688_1339751225_d9933061ed895b2f52f25af481c7c33a_rle_crop_3687658588_0.png', 1339751980: '1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658615_0.png', 1339757816: '1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701847_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/925c6f63b10be07a943c2df48aa45f88_10133497.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/02ba8e2a2f6c7b78c52541b342579320_99123937.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c1a998f1dfb1ded21daecde8e8727533_88135821.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ca04d7fc421ccd336e16bf59eb10d478_43562734.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d0fbc6e237253c3fec8306f2fd499af1_83440047.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/93a0833c52858e8bb8b8ce6577582b8c_64880824.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/583f185002828669f6bffcbd449a66b6_8947237.png change filename to text .imagette208468801740632284/ imagette208468801740632284/1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658615_0.png.png imagette208468801740632284/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654169_0.png.png imagette208468801740632284/1740584653_3570688_1339751225_d9933061ed895b2f52f25af481c7c33a_rle_crop_3687658588_0.png.png imagette208468801740632284/1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654384_0.png.png imagette208468801740632284/1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701847_0.png.png imagette208468801740632284/1740584152_3554932_1339750124_768c48566daccbe3cca091224ed86482_rle_crop_3687651068_0.png.png imagette208468801740632284/1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658569_0.png.png imagette208468801740632284/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654170_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9df97a0e29081e6290da406928e17098_40941558.png imagette208468801740632284 20846883 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846883 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751175: '1740584174_3555202_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651883_0.png', 1339751460: '1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654366_0.png', 1339751933: '1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657489_0.png', 1339751934: '1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657588_0.png', 1339751970: '1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658431_0.png', 1339751971: '1740584653_3570688_1339751232_e6d2c7e5714b050fe4e3d9569fc6cd6b_rle_crop_3687658471_0.png', 1339751972: '1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658568_0.png', 1339757432: '1740586874_3622523_1339756218_a5875fe0258605aef4ccce34b783a2a1_rle_crop_3687701788_0.png', 1339757805: '1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651883_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6b65c1a86abc1be9e76cf2e651b73fb7_67551380.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/426b2014de563824ac4292643564c26e_59394801.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9d8a984df1c40043204ed21478c1a048_22297775.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/443080327cda9e60ddf1d0176f999f2f_40431125.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7c7396d049fff3c43a0f4be2ff5676bd_73757044.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f53763ccd5eba8337fc59a8faa077670_38928245.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/41c8fb5d712a58355fc53c7b8a0bb3f8_84584665.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/49fc4c6706c811ece9f6ce30f69b184f_63290469.png change filename to text .imagette208468831740632285/ imagette208468831740632285/1740584653_3570688_1339751232_e6d2c7e5714b050fe4e3d9569fc6cd6b_rle_crop_3687658471_0.png.png imagette208468831740632285/1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654366_0.png.png imagette208468831740632285/1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658431_0.png.png imagette208468831740632285/1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658568_0.png.png imagette208468831740632285/1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657489_0.png.png imagette208468831740632285/1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651883_0.png.png imagette208468831740632285/1740586874_3622523_1339756218_a5875fe0258605aef4ccce34b783a2a1_rle_crop_3687701788_0.png.png imagette208468831740632285/1740584174_3555202_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651883_0.png.png imagette208468831740632285/1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657588_0.png.png imagette208468861740632286/ wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6b65c1a86abc1be9e76cf2e651b73fb7_88102930.png imagette208468831740632285 20846886 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846886 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette208468861740632286 20846887 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846887 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751983: '1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658611_0.png'} change filename to text .imagette208468871740632286/ imagette208468871740632286/1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658611_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/78ba50430a389fabd67366abe2235679_43955289.png imagette208468871740632286 20846876 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846876 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751938: '1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657601_0.png', 1339757814: '1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651889_0.png', 1339757813: '1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651888_0.png', 1339757812: '1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651261_0.png', 1339757811: '1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701840_0.png', 1339757810: '1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701837_0.png', 1339751977: '1740584653_3570688_1339751211_2c35e7a9f72f6cc5a9e1dcb0f5101f06_rle_crop_3687658741_0.png', 1339751976: '1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658616_0.png', 1339751975: '1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658573_0.png', 1339751974: '1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658433_0.png', 1339751940: '1740584633_3570425_1339751318_e1e4e2c0c1c760df3d2fb7b1975e2a81_rle_crop_3687657881_0.png', 1339751939: '1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657584_0.png', 1339751176: '1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651261_0.png', 1339751937: '1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657602_0.png', 1339751936: '1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657486_0.png', 1339751490: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654163_0.png', 1339751447: '1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654140_0.png', 1339751446: '1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654136_0.png', 1339751445: '1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654118_0.png', 1339751444: '1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654117_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/be2644715e016930aaeaf25636e79513_88877181.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7809a95d222822895fcdd3e03872d5fd_69270948.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/365444d044dcfdc509157ab2503b33ed_89917031.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1c6e45249d1892934c15456d7c01b482_32875326.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1fdf29a3606a6954315cd2ac7a7a3f66_50004100.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6cbed7db4b4e7c1570bc958a85145940_65424034.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/09ba5bf4179c43c26965f14f748086b6_71438085.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/39371249cc32e0ccb82a9f5d31d20ba2_81250656.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/11e0e0cf50d7acbdf64e77a5c51b6a00_63825826.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/fedcc980da54dd0320afb7e3ad5ee464_70701210.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/da7049a7ed4714df5f906e695e4be1c2_19108301.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/137dd9d3ab36261dd35400994c7be1e3_31560441.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/1c6e45249d1892934c15456d7c01b482_71126027.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/97bd23e3e8730c318b995fd75c04a17b_81909785.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/e105b3ceb9576ed65bd33ef9aa62a2ab_43340872.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/43a8402f4dc37690f4f62eecf731cd40_52259525.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/d4efaea94adcffd5970187a961b46ebf_91366874.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c29fa00102c0502ae5bfb8548be81434_28607768.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3c42dda59d13b538a40f86d45fafd122_41859971.png change filename to text .imagette208468761740632286/ imagette208468761740632286/1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654117_0.png.png imagette208468761740632286/1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658573_0.png.png imagette208468761740632286/1740584653_3570688_1339751211_2c35e7a9f72f6cc5a9e1dcb0f5101f06_rle_crop_3687658741_0.png.png imagette208468761740632286/1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651889_0.png.png imagette208468761740632286/1740584633_3570425_1339751318_e1e4e2c0c1c760df3d2fb7b1975e2a81_rle_crop_3687657881_0.png.png imagette208468761740632286/1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654118_0.png.png imagette208468761740632286/1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651261_0.png.png imagette208468761740632286/1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658433_0.png.png imagette208468761740632286/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654163_0.png.png imagette208468761740632286/1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657486_0.png.png imagette208468761740632286/1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657601_0.png.png imagette208468761740632286/1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651261_0.png.png imagette208468761740632286/1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658616_0.png.png imagette208468761740632286/1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701837_0.png.png imagette208468761740632286/1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657602_0.png.png imagette208468761740632286/1740584633_3570425_1339751348_8c1e19affd8ac823cb21c01ce7cd933f_rle_crop_3687657584_0.png.png imagette208468761740632286/1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654136_0.png.png imagette208468761740632286/1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701840_0.png.png imagette208468761740632286/1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654140_0.png.png imagette208468761740632286/1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651888_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0087e4d89a3b43b6258a688e55167289_19099069.png imagette208468761740632286 20846881 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846881 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751958: '1740584672_3571007_1339751153_ef3170d25e347bc713cc37a2d2090696_rle_crop_3687658461_0.png', 1339757769: '1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651887_0.png', 1339757768: '1740586855_3622207_1339750410_71b72df3b8378f344fed5877fc9a0ada_rle_crop_3687651285_0.png', 1339757767: '1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701838_0.png', 1339751964: '1740584653_3570688_1339751211_2c35e7a9f72f6cc5a9e1dcb0f5101f06_rle_crop_3687658746_0.png', 1339751963: '1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658617_0.png', 1339751962: '1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658575_0.png', 1339751960: '1740584672_3571007_1339751147_7cc42bd9ffc4097756565e9ea8a66fd2_rle_crop_3687658553_0.png', 1339751959: '1740584672_3571007_1339751147_7cc42bd9ffc4097756565e9ea8a66fd2_rle_crop_3687658547_0.png', 1339751167: '1740584174_3555202_1339750410_71b72df3b8378f344fed5877fc9a0ada_rle_crop_3687651285_0.png', 1339751931: '1740584633_3570425_1339751318_e1e4e2c0c1c760df3d2fb7b1975e2a81_rle_crop_3687657888_0.png', 1339751930: '1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657492_0.png', 1339751929: '1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657490_0.png', 1339751453: '1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654372_0.png', 1339751452: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654168_0.png', 1339751440: '1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654146_0.png', 1339751439: '1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654121_0.png', 1339751168: '1740584174_3555202_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651887_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/7ae56581bf0afffc602e12c96d774b1f_7432322.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f7acf8ea10187a782b8dbb2bbe06b238_99234358.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8715f0625e47ca60e19da90e335da687_14723295.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/aa4c30c231940020397d6304e28d2558_65433603.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8dcca74a8a4c1a795f87417727a1f0fb_91353236.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c827be1c6e2f2315c100288845d335f8_68381966.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c8b6f1332c4edd789f38b4ef154070ec_30041883.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/49d7d29d42b53486e6762ead5e6051ec_52494932.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3b5db33b515ed5006f4ee6cb32667157_16067655.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/8715f0625e47ca60e19da90e335da687_10644346.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/9c82fe52e09619059a0a6fbb1c17cca6_18974792.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ff5bf349be1ceaac9e2ddae1abda75ad_11374116.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/22994aea72e567fab0e6a797e5e20f6f_89477173.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ca91696892d22fd05412728cfd56f849_64920716.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/64358500e9817785c76709313f64bb84_82444151.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/71a75f8ee9d51c1cd17c920d319ddb7d_11173709.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/837cf07ae84626c30372e4e91e0378a8_30986060.png change filename to text .imagette208468811740632288/ imagette208468811740632288/1740586855_3622207_1339750410_71b72df3b8378f344fed5877fc9a0ada_rle_crop_3687651285_0.png.png imagette208468811740632288/1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657490_0.png.png imagette208468811740632288/1740586855_3622207_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651887_0.png.png imagette208468811740632288/1740586855_3622207_1339750447_5807dff64686f073d231ceb5797843dc_rle_crop_3687701838_0.png.png imagette208468811740632288/1740584355_3560926_1339750504_f4a0f5e34d28289473da844c43f3cf0c_rle_crop_3687654146_0.png.png imagette208468811740632288/1740584374_3561199_1339750443_145f37aa02854cb9d62ea49dac952fb8_rle_crop_3687654372_0.png.png imagette208468811740632288/1740584633_3570425_1339751459_2da7449ba580cee97eda6e19f6cd4eb2_rle_crop_3687657492_0.png.png imagette208468811740632288/1740584174_3555202_1339750410_71b72df3b8378f344fed5877fc9a0ada_rle_crop_3687651285_0.png.png imagette208468811740632288/1740584653_3570688_1339751219_4a90674b3ca786a5fdd5f88de7f23536_rle_crop_3687658617_0.png.png imagette208468811740632288/1740584672_3571007_1339751147_7cc42bd9ffc4097756565e9ea8a66fd2_rle_crop_3687658553_0.png.png imagette208468811740632288/1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658575_0.png.png imagette208468811740632288/1740584653_3570688_1339751211_2c35e7a9f72f6cc5a9e1dcb0f5101f06_rle_crop_3687658746_0.png.png imagette208468811740632288/1740584174_3555202_1339750402_7220530ce607cd8566adb6fdc9f60e7d_rle_crop_3687651887_0.png.png imagette208468811740632288/1740584672_3571007_1339751153_ef3170d25e347bc713cc37a2d2090696_rle_crop_3687658461_0.png.png imagette208468811740632288/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654168_0.png.png imagette208468811740632288/1740584633_3570425_1339751318_e1e4e2c0c1c760df3d2fb7b1975e2a81_rle_crop_3687657888_0.png.png imagette208468811740632288/1740584672_3571007_1339751147_7cc42bd9ffc4097756565e9ea8a66fd2_rle_crop_3687658547_0.png.png imagette208468811740632288/1740584355_3560926_1339750508_d0f12b55b0b3ad0f94212c8999f05394_rle_crop_3687654121_0.png.png wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f7acf8ea10187a782b8dbb2bbe06b238_84498327.png imagette208468811740632288 20846882 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846882 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1339751141: '1740584152_3554932_1339750129_be53c917c1ee1947407d10827637639e_rle_crop_3687651062_0.png', 1339751173: '1740584174_3555202_1339750432_96267015ea9f39b6eb4193f73f2a389b_rle_crop_3687651247_0.png', 1339751174: '1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651257_0.png', 1339751441: '1740584355_3560926_1339750564_55d884730bc2c5cceada61777a81bad8_rle_crop_3687654095_0.png', 1339751458: '1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654162_0.png', 1339751961: '1740584672_3571007_1339751153_ef3170d25e347bc713cc37a2d2090696_rle_crop_3687658456_0.png', 1339751966: '1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658430_0.png', 1339751967: '1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658439_0.png', 1339751968: '1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658438_0.png', 1339751969: '1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658561_0.png', 1339757803: '1740586855_3622207_1339750432_96267015ea9f39b6eb4193f73f2a389b_rle_crop_3687651247_0.png', 1339757804: '1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651257_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/986341a4a248f64be514a0f070c4eb36_38258242.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6abe2438530d8f59a3ef0aa0bb924d65_22057259.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/249d587ed591bfeadf8326462a94d719_54461483.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/ed8ac80bc01e3c114a8231b647897d71_68691583.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/525bf821e591e9472c96a2f4733b1802_84319333.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/74b68109ee49fce847094940ed24b203_73220295.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/3432647d1441b699a89e732eeeb9f0f7_59028503.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/0aac6f8923505a7c2c23d28f7d7a91f6_20737755.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6ee892b3f961536c0d0894235e5b8095_66708309.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/f7b727f5d72c7d842048b17148d01ccd_12917737.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/6abe2438530d8f59a3ef0aa0bb924d65_39814369.png change filename to text .imagette208468821740632289/ imagette208468821740632289/1740586855_3622207_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651257_0.png.png imagette208468821740632289/1740584355_3560926_1339750564_55d884730bc2c5cceada61777a81bad8_rle_crop_3687654095_0.png.png imagette208468821740632289/1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658438_0.png.png imagette208468821740632289/1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658439_0.png.png imagette208468821740632289/1740584174_3555202_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef_rle_crop_3687651257_0.png.png imagette208468821740632289/1740586855_3622207_1339750432_96267015ea9f39b6eb4193f73f2a389b_rle_crop_3687651247_0.png.png imagette208468821740632289/1740584653_3570688_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75_rle_crop_3687658561_0.png.png imagette208468821740632289/1740584374_3561199_1339750517_0987b579ef60604863f2aac7048d1dfb_rle_crop_3687654162_0.png.png imagette208468821740632289/1740584174_3555202_1339750432_96267015ea9f39b6eb4193f73f2a389b_rle_crop_3687651247_0.png.png imagette208468821740632289/1740584672_3571007_1339751153_ef3170d25e347bc713cc37a2d2090696_rle_crop_3687658456_0.png.png imagette208468821740632289/1740584653_3570688_1339751386_6927e8c46698d3428c04b79df307ed00_rle_crop_3687658430_0.png.png imagette208468821740632289/1740584152_3554932_1339750129_be53c917c1ee1947407d10827637639e_rle_crop_3687651062_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/249d587ed591bfeadf8326462a94d719_34269296.png imagette208468821740632289 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=20846799 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/20846888,20846889,20846890,20846891,20846892,20846893,20846894,20846895,20846896,20846897,20846898,20846899?tags=Carton_brun,autre_refus,metal,mal_croppe,plastique,Teint_Dans_La_Masse,Carton_gris,cartonnette,environnement,papier,flou,kraft your option no_mail is active, we will not send the real mail to your client args[1339756218] : ('0.11496452386107839',) no score found for photo 1339756218 We are sending mail with results at report@fotonower.com args[1339751830] : ('0.11496452386107839',) no score found for photo 1339751830 We are sending mail with results at report@fotonower.com args[1339751662] : ('0.11496452386107839',) no score found for photo 1339751662 We are sending mail with results at report@fotonower.com args[1339751657] : ('0.11496452386107839',) no score found for photo 1339751657 We are sending mail with results at report@fotonower.com args[1339751653] : ('0.11496452386107839',) no score found for photo 1339751653 We are sending mail with results at report@fotonower.com args[1339751459] : ('0.11496452386107839',) no score found for photo 1339751459 We are sending mail with results at report@fotonower.com args[1339751451] : ('0.11496452386107839',) no score found for photo 1339751451 We are sending mail with results at report@fotonower.com args[1339751442] : ('0.11496452386107839',) no score found for photo 1339751442 We are sending mail with results at report@fotonower.com args[1339751386] : ('0.11496452386107839',) no score found for photo 1339751386 We are sending mail with results at report@fotonower.com args[1339751348] : ('0.11496452386107839',) no score found for photo 1339751348 We are sending mail with results at report@fotonower.com args[1339751318] : ('0.11496452386107839',) no score found for photo 1339751318 We are sending mail with results at report@fotonower.com args[1339751260] : ('0.11496452386107839',) no score found for photo 1339751260 We are sending mail with results at report@fotonower.com args[1339751232] : ('0.11496452386107839',) no score found for photo 1339751232 We are sending mail with results at report@fotonower.com args[1339751229] : ('0.11496452386107839',) no score found for photo 1339751229 We are sending mail with results at report@fotonower.com args[1339751225] : ('0.11496452386107839',) no score found for photo 1339751225 We are sending mail with results at report@fotonower.com args[1339751219] : ('0.11496452386107839',) no score found for photo 1339751219 We are sending mail with results at report@fotonower.com args[1339751211] : ('0.11496452386107839',) no score found for photo 1339751211 We are sending mail with results at report@fotonower.com args[1339751161] : ('0.11496452386107839',) no score found for photo 1339751161 We are sending mail with results at report@fotonower.com args[1339751157] : ('0.11496452386107839',) no score found for photo 1339751157 We are sending mail with results at report@fotonower.com args[1339751153] : ('0.11496452386107839',) no score found for photo 1339751153 We are sending mail with results at report@fotonower.com args[1339751147] : ('0.11496452386107839',) no score found for photo 1339751147 We are sending mail with results at report@fotonower.com args[1339750564] : ('0.11496452386107839',) no score found for photo 1339750564 We are sending mail with results at report@fotonower.com args[1339750517] : ('0.11496452386107839',) no score found for photo 1339750517 We are sending mail with results at report@fotonower.com args[1339750508] : ('0.11496452386107839',) no score found for photo 1339750508 We are sending mail with results at report@fotonower.com args[1339750504] : ('0.11496452386107839',) no score found for photo 1339750504 We are sending mail with results at report@fotonower.com args[1339750447] : ('0.11496452386107839',) no score found for photo 1339750447 We are sending mail with results at report@fotonower.com args[1339750443] : ('0.11496452386107839',) no score found for photo 1339750443 We are sending mail with results at report@fotonower.com args[1339750435] : ('0.11496452386107839',) no score found for photo 1339750435 We are sending mail with results at report@fotonower.com args[1339750432] : ('0.11496452386107839',) no score found for photo 1339750432 We are sending mail with results at report@fotonower.com args[1339750429] : ('0.11496452386107839',) no score found for photo 1339750429 We are sending mail with results at report@fotonower.com args[1339750410] : ('0.11496452386107839',) no score found for photo 1339750410 We are sending mail with results at report@fotonower.com args[1339750406] : ('0.11496452386107839',) no score found for photo 1339750406 We are sending mail with results at report@fotonower.com args[1339750402] : ('0.11496452386107839',) no score found for photo 1339750402 We are sending mail with results at report@fotonower.com args[1339750129] : ('0.11496452386107839',) no score found for photo 1339750129 We are sending mail with results at report@fotonower.com args[1339750124] : ('0.11496452386107839',) no score found for photo 1339750124 We are sending mail with results at report@fotonower.com args[1339750120] : ('0.11496452386107839',) no score found for photo 1339750120 We are sending mail with results at report@fotonower.com refus_total : 0.11496452386107839 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846799 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 1000 start upload file to ovh https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf results_Auto_P20846799_27-02-2025_05_58_03.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','20846799','results_Auto_P20846799_27-02-2025_05_58_03.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf','pdf','','0.48','0.11496452386107839') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20846799]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] map_info['map_portfolio_photo'] : {20846799: [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120]} final : False mtd_id 4302 list_pids : [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] Looping around the photos to save general results len do output : 0 before output type Used above Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 36 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '20846799', '1339756218', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763')] time used for this insertion : 0.029292821884155273 save_final save missing photos in datou_result : time spend for datou_step_exec : 11.72984004020691 time spend to save output : 0.029715299606323242 total time spend for step 4 : 11.759555339813232 step5:split_time_score Thu Feb 27 05:58:13 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : ['20846799'] We expect there is only one output and this part is used while all output are not tuple or array Inconsistent number of input and output, step which parrallelize and manage error in input by avoiding sending an output for this data can't be used in tree dependencies of input and output complete output_args for input 1 : VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : [('20846799',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (20846799) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1339751657: {'path': 'temp/1740632281_2132585_1339751657_17068e46bdf2d09b6457f68d191e8cbe.jpg', 'extension': 'jpg'}, 1339751662: {'path': 'temp/1740632281_2132585_1339751662_211ebb400c5c422e2805f6d70c17f97b.jpg', 'extension': 'jpg'}, 1339751830: {'path': 'temp/1740632281_2132585_1339751830_cfc0ff196f1a5f197bb876c4562e2236.jpg', 'extension': 'jpg'}, 1339756218: {'path': 'temp/1740632281_2132585_1339756218_a5875fe0258605aef4ccce34b783a2a1.jpg', 'extension': 'jpg'}, 1339750120: {'path': 'temp/1740632281_2132585_1339750120_c5a6651bd696f9c1f844993fad988d0e.jpg', 'extension': 'jpg'}, 1339750124: {'path': 'temp/1740632281_2132585_1339750124_768c48566daccbe3cca091224ed86482.jpg', 'extension': 'jpg'}, 1339750129: {'path': 'temp/1740632281_2132585_1339750129_be53c917c1ee1947407d10827637639e.jpg', 'extension': 'jpg'}, 1339750402: {'path': 'temp/1740632281_2132585_1339750402_7220530ce607cd8566adb6fdc9f60e7d.jpg', 'extension': 'jpg'}, 1339750406: {'path': 'temp/1740632281_2132585_1339750406_096bd0d347eddf0c67c8aeef24af0280.jpg', 'extension': 'jpg'}, 1339750410: {'path': 'temp/1740632281_2132585_1339750410_71b72df3b8378f344fed5877fc9a0ada.jpg', 'extension': 'jpg'}, 1339750429: {'path': 'temp/1740632281_2132585_1339750429_bbe5c1c12385dedb89bf378bfd8a4aef.jpg', 'extension': 'jpg'}, 1339750432: {'path': 'temp/1740632281_2132585_1339750432_96267015ea9f39b6eb4193f73f2a389b.jpg', 'extension': 'jpg'}, 1339750435: {'path': 'temp/1740632281_2132585_1339750435_c88f5d8bf51ea7ce49aa8756faee85d4.jpg', 'extension': 'jpg'}, 1339750443: {'path': 'temp/1740632281_2132585_1339750443_145f37aa02854cb9d62ea49dac952fb8.jpg', 'extension': 'jpg'}, 1339750447: {'path': 'temp/1740632281_2132585_1339750447_5807dff64686f073d231ceb5797843dc.jpg', 'extension': 'jpg'}, 1339750504: {'path': 'temp/1740632281_2132585_1339750504_f4a0f5e34d28289473da844c43f3cf0c.jpg', 'extension': 'jpg'}, 1339750508: {'path': 'temp/1740632281_2132585_1339750508_d0f12b55b0b3ad0f94212c8999f05394.jpg', 'extension': 'jpg'}, 1339750517: {'path': 'temp/1740632281_2132585_1339750517_0987b579ef60604863f2aac7048d1dfb.jpg', 'extension': 'jpg'}, 1339750564: {'path': 'temp/1740632281_2132585_1339750564_55d884730bc2c5cceada61777a81bad8.jpg', 'extension': 'jpg'}, 1339751147: {'path': 'temp/1740632281_2132585_1339751147_7cc42bd9ffc4097756565e9ea8a66fd2.jpg', 'extension': 'jpg'}, 1339751260: {'path': 'temp/1740632281_2132585_1339751260_917f761159f2faac1b75929f2b427bc7.jpg', 'extension': 'jpg'}, 1339751318: {'path': 'temp/1740632281_2132585_1339751318_e1e4e2c0c1c760df3d2fb7b1975e2a81.jpg', 'extension': 'jpg'}, 1339751348: {'path': 'temp/1740632281_2132585_1339751348_8c1e19affd8ac823cb21c01ce7cd933f.jpg', 'extension': 'jpg'}, 1339751386: {'path': 'temp/1740632281_2132585_1339751386_6927e8c46698d3428c04b79df307ed00.jpg', 'extension': 'jpg'}, 1339751442: {'path': 'temp/1740632281_2132585_1339751442_2a1e7883a351ad3fc0d1a39f661fc0eb.jpg', 'extension': 'jpg'}, 1339751451: {'path': 'temp/1740632281_2132585_1339751451_c0781fde0f5867c315863a49120a6d42.jpg', 'extension': 'jpg'}, 1339751459: {'path': 'temp/1740632281_2132585_1339751459_2da7449ba580cee97eda6e19f6cd4eb2.jpg', 'extension': 'jpg'}, 1339751653: {'path': 'temp/1740632281_2132585_1339751653_6a8bb91ed5c868b7718543f7c7376c67.jpg', 'extension': 'jpg'}, 1339751153: {'path': 'temp/1740632281_2132585_1339751153_ef3170d25e347bc713cc37a2d2090696.jpg', 'extension': 'jpg'}, 1339751157: {'path': 'temp/1740632281_2132585_1339751157_02b8a3b60dcbca7eca006c8d3d087b40.jpg', 'extension': 'jpg'}, 1339751161: {'path': 'temp/1740632281_2132585_1339751161_df57f57e7beb2d04178eec0c71fa2e19.jpg', 'extension': 'jpg'}, 1339751211: {'path': 'temp/1740632281_2132585_1339751211_2c35e7a9f72f6cc5a9e1dcb0f5101f06.jpg', 'extension': 'jpg'}, 1339751219: {'path': 'temp/1740632281_2132585_1339751219_4a90674b3ca786a5fdd5f88de7f23536.jpg', 'extension': 'jpg'}, 1339751225: {'path': 'temp/1740632281_2132585_1339751225_d9933061ed895b2f52f25af481c7c33a.jpg', 'extension': 'jpg'}, 1339751229: {'path': 'temp/1740632281_2132585_1339751229_375fc4d235eec0afd2f1bd1cb64d2b75.jpg', 'extension': 'jpg'}, 1339751232: {'path': 'temp/1740632281_2132585_1339751232_e6d2c7e5714b050fe4e3d9569fc6cd6b.jpg', 'extension': 'jpg'}} map_subphoto_mainphoto : {} begin split time score SELECT app_name, token FROM MTRUser.mtr_app_api_token WHERE mtr_user_id=979 AND app_name="token_split_time_score" AND expire_at > NOW() select distinct dp.name from MTRPhoto.dashboard_entry_day ded, MTRPhoto.dashboard_places dp, MTRPhoto.dashboard_results dr where ded.dashboard_place_id = dp.id and ded.last_run_id = dr.dashboard_run_id and dp.id = ded.dashboard_place_id and dr.mtr_portfolio_id = 20846799; (('arc_en_ciel_jrm',),) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 20846799 group by h (('16', 36),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=20846799 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20846799) AND cps.thcl in (861) order by cps.score desc LIMIT 0, 100000 SELECT cps.photo_id, cps.score, h.hashtag, cps.hashtag_id, mpp1.mtr_portfolio_id FROM MTRPhoto.class_photo_score cps, MTRBack.hashtags h, MTRUser.mtr_portfolio_photos mpp1 where mpp1.mtr_photo_id=cps.photo_id AND h.hashtag_id=cps.hashtag_id AND mpp1.hide_status=0 AND mpp1.mtr_portfolio_id in (20846799) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 26022025 20846799 Nombre de photos uploadées : 36 / 23040 (0%) 26022025 20846799 Nombre de photos taguées (types de déchets): 0 / 36 (0%) 26022025 20846799 Nombre de photos taguées (volume) : 0 / 36 (0%) [{'photo_id': 1339750129, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/be53c917c1ee1947407d10827637639e.jpg', 'username': None, 'uploaded_at': 1740583895, 'text': 'image_26022025_16_30_24_010133m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339750124, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/768c48566daccbe3cca091224ed86482.jpg', 'username': None, 'uploaded_at': 1740583895, 'text': 'image_26022025_16_30_34_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339750120, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c5a6651bd696f9c1f844993fad988d0e.jpg', 'username': None, 'uploaded_at': 1740583895, 'text': 'image_26022025_16_30_44_010138m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1339750435, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/2/26/c88f5d8bf51ea7ce49aa8756faee85d4.jpg', 'username': None, 'uploaded_at': 1740583956, 'text': 'image_26022025_16_30_54_010136m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.6689300537109375e-06 elapsed_time : order_list_meta_photo_and_scores 4.76837158203125e-06 ???????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0016579627990722656 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 20846799, '2025-02-26' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1624425,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.1081087589263916 We will return after consolidate but for now we need the day, how to get it, for now depending on the previous heavy steps SELECT dri.dashboard_entry_day, dr.dashboard_run_id, dr.mtr_portfolio_id, dr.id, dr.hashtag, dr.completion_json FROM MTRPhoto.dashboard_results dr, MTRPhoto.dashboard_run_ids dri, MTRPhoto.dashboard_entry_day ded WHERE ded.id= 1624425 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20822915, 'dashboard_result_id': 9095776, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823244, 'dashboard_result_id': 9095777, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823623, 'dashboard_result_id': 9095778, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20823915, 'dashboard_result_id': 9095779, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20824472, 'dashboard_result_id': 9095780, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825065, 'dashboard_result_id': 9095781, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20825658, 'dashboard_result_id': 9095782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826103, 'dashboard_result_id': 9095783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826652, 'dashboard_result_id': 9095784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20826951, 'dashboard_result_id': 9095785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20827919, 'dashboard_result_id': 9095786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20828584, 'dashboard_result_id': 9095787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829246, 'dashboard_result_id': 9095788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20829828, 'dashboard_result_id': 9095789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20830367, 'dashboard_result_id': 9095790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20831063, 'dashboard_result_id': 9095791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832581, 'dashboard_result_id': 9095792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20832732, 'dashboard_result_id': 9095793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833362, 'dashboard_result_id': 9095794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20833879, 'dashboard_result_id': 9095795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20834422, 'dashboard_result_id': 9095796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835080, 'dashboard_result_id': 9095797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20835982, 'dashboard_result_id': 9095798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20836575, 'dashboard_result_id': 9095799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20837208, 'dashboard_result_id': 9095800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838192, 'dashboard_result_id': 9095801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20838686, 'dashboard_result_id': 9095802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840618, 'dashboard_result_id': 9095803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20840746, 'dashboard_result_id': 9095804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841272, 'dashboard_result_id': 9095805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20841741, 'dashboard_result_id': 9095806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842109, 'dashboard_result_id': 9095807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20842535, 'dashboard_result_id': 9095808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843062, 'dashboard_result_id': 9095809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20843891, 'dashboard_result_id': 9095810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844521, 'dashboard_result_id': 9095811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20844984, 'dashboard_result_id': 9095812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20845790, 'dashboard_result_id': 9095813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846033, 'dashboard_result_id': 9095814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20846799, 'dashboard_result_id': 9095815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_26-02-2025_17_17_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848465, 'dashboard_result_id': 9095816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_26-02-2025_18_06_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848689, 'dashboard_result_id': 9095817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_26-02-2025_18_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20848890, 'dashboard_result_id': 9095818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_26-02-2025_18_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20849515, 'dashboard_result_id': 9095819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_26-02-2025_18_52_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850107, 'dashboard_result_id': 9095820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_26-02-2025_19_09_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20850765, 'dashboard_result_id': 9095821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_26-02-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851198, 'dashboard_result_id': 9095822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_26-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20851819, 'dashboard_result_id': 9095823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_26-02-2025_19_52_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852478, 'dashboard_result_id': 9095824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_26-02-2025_20_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20852902, 'dashboard_result_id': 9095825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_26-02-2025_20_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854055, 'dashboard_result_id': 9095826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_26-02-2025_20_38_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20854419, 'dashboard_result_id': 9095827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_26-02-2025_21_20_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20855468, 'dashboard_result_id': 9095828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_26-02-2025_21_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856043, 'dashboard_result_id': 9095829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_26-02-2025_21_54_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856419, 'dashboard_result_id': 9095830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_26-02-2025_22_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20856900, 'dashboard_result_id': 9095831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857448, 'dashboard_result_id': 9095832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20857573, 'dashboard_result_id': 9095833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858422, 'dashboard_result_id': 9095834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20858789, 'dashboard_result_id': 9095835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859314, 'dashboard_result_id': 9095836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20859884, 'dashboard_result_id': 9095837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}"}, {'dashboat_entry_day': 1624425, 'dashboard_run_id': 1634985, 'mtr_portfolio_id': 20860315, 'dashboard_result_id': 9095838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, 'pht': 3726}}"}] SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20822915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618724, 'mtr_portfolio_id': 20822915, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 32), 'result': '0.07920684912952393', 'result_long': None, 'result_double': None}] Qualite : 0.07920684912952393 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20822915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20822915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}" where mtr_portfolio_id = 20822915 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20822915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095776, 0.07920684912952393, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20822915_27-02-2025_05_34_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20822942, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20822943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20822944, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20822945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20822946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20822947, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20822948, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20822949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20822950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20822951, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20822952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20822953, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823244 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618725, 'mtr_portfolio_id': 20823244, 'created_at': datetime.datetime(2025, 2, 27, 5, 34, 59), 'result': '0.10199715563081628', 'result_long': None, 'result_double': None}] Qualite : 0.10199715563081628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823244 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823244 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}" where mtr_portfolio_id = 20823244 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823244 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095777, 0.10199715563081628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823244_27-02-2025_05_35_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823269, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823270, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823271, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823272, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823274, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823276, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823278, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823279, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823280, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823623 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618726, 'mtr_portfolio_id': 20823623, 'created_at': datetime.datetime(2025, 2, 27, 5, 35, 36), 'result': '0.09381009515109745', 'result_long': None, 'result_double': None}] Qualite : 0.09381009515109745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823623 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823623 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}" where mtr_portfolio_id = 20823623 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823623 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095778, 0.09381009515109745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823623_27-02-2025_05_35_41.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823626, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823627, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823628, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823629, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823632, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823633, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823635, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20823915 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618727, 'mtr_portfolio_id': 20823915, 'created_at': datetime.datetime(2025, 2, 27, 5, 36), 'result': '0.08639860730990376', 'result_long': None, 'result_double': None}] Qualite : 0.08639860730990376 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20823915 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20823915 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}" where mtr_portfolio_id = 20823915 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20823915 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095779, 0.08639860730990376, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20823915_27-02-2025_05_36_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20823966, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20823967, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20823968, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20823969, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20823970, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20823971, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20823972, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20823973, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20823974, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20823975, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20823976, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20823977, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20824472 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618728, 'mtr_portfolio_id': 20824472, 'created_at': datetime.datetime(2025, 2, 27, 5, 36, 31), 'result': '0.0916600253677883', 'result_long': None, 'result_double': None}] Qualite : 0.0916600253677883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20824472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20824472 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}" where mtr_portfolio_id = 20824472 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20824472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095780, 0.0916600253677883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20824472_27-02-2025_05_36_34.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20824473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20824474, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20824475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20824476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20824477, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20824478, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20824479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20824480, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20824481, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20824482, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20824483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20824484, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20825065 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618729, 'mtr_portfolio_id': 20825065, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 33), 'result': '0.09641862009500766', 'result_long': None, 'result_double': None}] Qualite : 0.09641862009500766 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825065 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825065 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}" where mtr_portfolio_id = 20825065 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20825065 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095781, 0.09641862009500766, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825065_27-02-2025_05_37_38.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825115, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825118, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825119, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20825120, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825121, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825123, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825124, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825125, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20825658 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618730, 'mtr_portfolio_id': 20825658, 'created_at': datetime.datetime(2025, 2, 27, 5, 37, 59), 'result': '0.08808147270938506', 'result_long': None, 'result_double': None}] Qualite : 0.08808147270938506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20825658 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20825658 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}" where mtr_portfolio_id = 20825658 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20825658 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095782, 0.08808147270938506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20825658_27-02-2025_05_38_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20825659, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20825660, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20825661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20825662, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20825663, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20825664, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20825665, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20825666, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20825667, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20825668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20825669, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20825670, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826103 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618731, 'mtr_portfolio_id': 20826103, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 30), 'result': '0.10015054228227757', 'result_long': None, 'result_double': None}] Qualite : 0.10015054228227757 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826103 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826103 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}" where mtr_portfolio_id = 20826103 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826103 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095783, 0.10015054228227757, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826103_27-02-2025_05_38_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826131, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826132, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826133, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826134, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826135, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826136, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826138, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826140, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826141, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826142, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826652 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618732, 'mtr_portfolio_id': 20826652, 'created_at': datetime.datetime(2025, 2, 27, 5, 38, 57), 'result': '0.09543412063558471', 'result_long': None, 'result_double': None}] Qualite : 0.09543412063558471 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826652 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826652 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}" where mtr_portfolio_id = 20826652 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826652 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095784, 0.09543412063558471, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826652_27-02-2025_05_39_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826653, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826654, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826655, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826657, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826658, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826659, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20826660, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826661, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826662, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826664, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20826951 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618733, 'mtr_portfolio_id': 20826951, 'created_at': datetime.datetime(2025, 2, 27, 5, 39, 33), 'result': '0.08794633338345394', 'result_long': None, 'result_double': None}] Qualite : 0.08794633338345394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20826951 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20826951 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}" where mtr_portfolio_id = 20826951 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20826951 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095785, 0.08794633338345394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20826951_27-02-2025_05_39_38.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20826977, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20826978, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20826979, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20826980, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20826981, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20826982, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20826983, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20826984, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20826985, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20826986, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20826987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20826988, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20827919 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618734, 'mtr_portfolio_id': 20827919, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 1), 'result': '0.09394958102191207', 'result_long': None, 'result_double': None}] Qualite : 0.09394958102191207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20827919 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20827919 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}" where mtr_portfolio_id = 20827919 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20827919 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095786, 0.09394958102191207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20827919_27-02-2025_05_40_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20827920, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20827921, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20827922, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20827923, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20827924, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20827925, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20827926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20827927, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20827928, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20827929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20827930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20827931, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20828584 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618735, 'mtr_portfolio_id': 20828584, 'created_at': datetime.datetime(2025, 2, 27, 5, 40, 31), 'result': '0.09545349483408289', 'result_long': None, 'result_double': None}] Qualite : 0.09545349483408289 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20828584 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20828584 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}" where mtr_portfolio_id = 20828584 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20828584 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095787, 0.09545349483408289, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20828584_27-02-2025_05_40_34.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20828612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20828613, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20828614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20828615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20828616, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20828617, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20828618, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20828619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20828620, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20828621, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20828622, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20828623, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20829246 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618736, 'mtr_portfolio_id': 20829246, 'created_at': datetime.datetime(2025, 2, 27, 5, 41, 29), 'result': '0.10372325000079764', 'result_long': None, 'result_double': None}] Qualite : 0.10372325000079764 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829246 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829246 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}" where mtr_portfolio_id = 20829246 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20829246 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095788, 0.10372325000079764, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829246_27-02-2025_05_41_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829247, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829248, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829249, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829250, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829251, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20829253, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829254, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829256, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829257, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829258, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20829828 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618737, 'mtr_portfolio_id': 20829828, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 5), 'result': '0.09427763944322612', 'result_long': None, 'result_double': None}] Qualite : 0.09427763944322612 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20829828 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20829828 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}" where mtr_portfolio_id = 20829828 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20829828 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095789, 0.09427763944322612, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20829828_27-02-2025_05_42_09.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20829853, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20829854, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20829855, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20829856, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20829857, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20829858, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20829859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20829860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20829861, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20829862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20829863, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20829864, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20830367 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618738, 'mtr_portfolio_id': 20830367, 'created_at': datetime.datetime(2025, 2, 27, 5, 42, 39), 'result': '0.0829198788669888', 'result_long': None, 'result_double': None}] Qualite : 0.0829198788669888 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20830367 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20830367 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}" where mtr_portfolio_id = 20830367 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20830367 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095790, 0.0829198788669888, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20830367_27-02-2025_05_42_42.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20830416, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20830417, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20830418, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20830419, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20830420, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20830421, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20830422, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20830423, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20830424, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20830425, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20830426, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20830427, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20831063 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618739, 'mtr_portfolio_id': 20831063, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 6), 'result': '0.08620166067412319', 'result_long': None, 'result_double': None}] Qualite : 0.08620166067412319 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20831063 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20831063 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}" where mtr_portfolio_id = 20831063 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20831063 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095791, 0.08620166067412319, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20831063_27-02-2025_05_43_09.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20831088, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20831089, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20831090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20831091, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20831092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20831093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20831094, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20831095, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20831096, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20831097, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20831098, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20831099, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20832581 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618740, 'mtr_portfolio_id': 20832581, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 29), 'result': '0.06573409346289968', 'result_long': None, 'result_double': None}] Qualite : 0.06573409346289968 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832581 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}" where mtr_portfolio_id = 20832581 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20832581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095792, 0.06573409346289968, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832581_27-02-2025_05_43_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20832630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20832631, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832632, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832633, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832634, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832636, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832637, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832638, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832641, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20832732 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618741, 'mtr_portfolio_id': 20832732, 'created_at': datetime.datetime(2025, 2, 27, 5, 43, 59), 'result': '0.07605219584771207', 'result_long': None, 'result_double': None}] Qualite : 0.07605219584771207 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20832732 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20832732 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}" where mtr_portfolio_id = 20832732 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20832732 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095793, 0.07605219584771207, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20832732_27-02-2025_05_44_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20832757, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20832758, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20832759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20832760, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20832761, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20832762, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20832763, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20832764, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20832765, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20832766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20832767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20832768, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20833362 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618742, 'mtr_portfolio_id': 20833362, 'created_at': datetime.datetime(2025, 2, 27, 5, 44, 32), 'result': '0.08211823070862564', 'result_long': None, 'result_double': None}] Qualite : 0.08211823070862564 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833362 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833362 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}" where mtr_portfolio_id = 20833362 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20833362 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095794, 0.08211823070862564, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833362_27-02-2025_05_44_40.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833405, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833407, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833408, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833409, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833410, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833413, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833414, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833415, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833416, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20833879 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618743, 'mtr_portfolio_id': 20833879, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 29), 'result': '0.0791586882502438', 'result_long': None, 'result_double': None}] Qualite : 0.0791586882502438 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20833879 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20833879 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}" where mtr_portfolio_id = 20833879 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20833879 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095795, 0.0791586882502438, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20833879_27-02-2025_05_45_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20833880, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20833881, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20833882, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20833883, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20833884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20833885, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20833886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20833887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20833888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20833889, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20833890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20833891, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20834422 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618744, 'mtr_portfolio_id': 20834422, 'created_at': datetime.datetime(2025, 2, 27, 5, 45, 58), 'result': '0.08996508570817628', 'result_long': None, 'result_double': None}] Qualite : 0.08996508570817628 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20834422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20834422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}" where mtr_portfolio_id = 20834422 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20834422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095796, 0.08996508570817628, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20834422_27-02-2025_05_46_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20834429, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20834430, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20834431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20834432, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20834433, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20834434, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20834435, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20834436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20834437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20834438, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20834439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20834440, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20835080 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618745, 'mtr_portfolio_id': 20835080, 'created_at': datetime.datetime(2025, 2, 27, 5, 46, 28), 'result': '0.09250196067297423', 'result_long': None, 'result_double': None}] Qualite : 0.09250196067297423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835080 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835080 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}" where mtr_portfolio_id = 20835080 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835080 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095797, 0.09250196067297423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835080_27-02-2025_05_46_31.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835087, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835089, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835090, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835092, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20835093, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835094, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835095, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835096, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835097, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835098, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20835982 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618746, 'mtr_portfolio_id': 20835982, 'created_at': datetime.datetime(2025, 2, 27, 5, 47, 28), 'result': '0.09638858381358184', 'result_long': None, 'result_double': None}] Qualite : 0.09638858381358184 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20835982 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20835982 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}" where mtr_portfolio_id = 20835982 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20835982 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095798, 0.09638858381358184, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20835982_27-02-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20835987, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20835988, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20835989, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20835990, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20835991, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20835992, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20835993, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20835994, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20835995, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20835996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20835997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20835998, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20836575 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618747, 'mtr_portfolio_id': 20836575, 'created_at': datetime.datetime(2025, 2, 27, 5, 48), 'result': '0.09433109158117405', 'result_long': None, 'result_double': None}] Qualite : 0.09433109158117405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20836575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20836575 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}" where mtr_portfolio_id = 20836575 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20836575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095799, 0.09433109158117405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20836575_27-02-2025_05_48_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20836600, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20836601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20836602, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20836603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20836604, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20836605, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20836606, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20836607, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20836608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20836609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20836610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20836611, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20837208 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618748, 'mtr_portfolio_id': 20837208, 'created_at': datetime.datetime(2025, 2, 27, 5, 48, 31), 'result': '0.10658614900289054', 'result_long': None, 'result_double': None}] Qualite : 0.10658614900289054 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20837208 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20837208 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}" where mtr_portfolio_id = 20837208 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20837208 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095800, 0.10658614900289054, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20837208_27-02-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20837209, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20837210, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20837211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20837212, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20837213, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20837214, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20837215, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20837216, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20837217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20837218, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20837219, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20837220, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20838192 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618749, 'mtr_portfolio_id': 20838192, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 40), 'result': '0.1055547180913604', 'result_long': None, 'result_double': None}] Qualite : 0.1055547180913604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838192 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838192 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}" where mtr_portfolio_id = 20838192 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20838192 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095801, 0.1055547180913604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838192_27-02-2025_05_49_43.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838210, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838211, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838214, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838215, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838216, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838217, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20838218, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838219, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838220, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838221, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20838686 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618750, 'mtr_portfolio_id': 20838686, 'created_at': datetime.datetime(2025, 2, 27, 5, 49, 58), 'result': '0.10544209451507229', 'result_long': None, 'result_double': None}] Qualite : 0.10544209451507229 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20838686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20838686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}" where mtr_portfolio_id = 20838686 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20838686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095802, 0.10544209451507229, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20838686_27-02-2025_05_50_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20838712, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20838713, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20838714, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20838715, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20838716, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20838717, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20838718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20838719, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20838720, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20838721, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20838722, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20838723, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20840618 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618751, 'mtr_portfolio_id': 20840618, 'created_at': datetime.datetime(2025, 2, 27, 5, 50, 30), 'result': '0.09598470260582645', 'result_long': None, 'result_double': None}] Qualite : 0.09598470260582645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840618 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}" where mtr_portfolio_id = 20840618 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20840618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095803, 0.09598470260582645, "{'max_time_prod_two_photos': 0, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840619, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840620, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20840621, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840622, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840624, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840625, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840626, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840627, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840628, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840630, 'pht': 3726}, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840618_27-02-2025_05_50_31.pdf'}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20840746 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618752, 'mtr_portfolio_id': 20840746, 'created_at': datetime.datetime(2025, 2, 27, 5, 51), 'result': '0.11292488304262686', 'result_long': None, 'result_double': None}] Qualite : 0.11292488304262686 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20840746 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20840746 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}" where mtr_portfolio_id = 20840746 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20840746 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095804, 0.11292488304262686, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20840746_27-02-2025_05_51_04.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20840783, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20840784, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20840785, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20840786, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20840787, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20840788, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20840789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20840790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20840791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20840792, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20840793, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20840794, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20841272 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618753, 'mtr_portfolio_id': 20841272, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 28), 'result': '0.09384106315189063', 'result_long': None, 'result_double': None}] Qualite : 0.09384106315189063 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841272 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841272 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}" where mtr_portfolio_id = 20841272 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20841272 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095805, 0.09384106315189063, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841272_27-02-2025_05_51_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841273, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841274, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841275, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841276, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841277, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841278, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841279, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841280, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841282, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841283, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841284, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20841741 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618754, 'mtr_portfolio_id': 20841741, 'created_at': datetime.datetime(2025, 2, 27, 5, 51, 57), 'result': '0.10388308456801364', 'result_long': None, 'result_double': None}] Qualite : 0.10388308456801364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20841741 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20841741 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}" where mtr_portfolio_id = 20841741 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20841741 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095806, 0.10388308456801364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20841741_27-02-2025_05_51_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20841743, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20841744, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20841745, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20841746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20841747, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20841748, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20841749, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20841750, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20841751, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20841752, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20841753, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20841754, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20842109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618755, 'mtr_portfolio_id': 20842109, 'created_at': datetime.datetime(2025, 2, 27, 5, 52, 28), 'result': '0.10851428389042465', 'result_long': None, 'result_double': None}] Qualite : 0.10851428389042465 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842109 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}" where mtr_portfolio_id = 20842109 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20842109 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095807, 0.10851428389042465, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842109_27-02-2025_05_52_29.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842176, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842177, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842178, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842179, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842180, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842181, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842183, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842184, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842185, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842187, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20842535 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618756, 'mtr_portfolio_id': 20842535, 'created_at': datetime.datetime(2025, 2, 27, 5, 53, 32), 'result': '0.10537480349502876', 'result_long': None, 'result_double': None}] Qualite : 0.10537480349502876 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20842535 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20842535 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}" where mtr_portfolio_id = 20842535 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20842535 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095808, 0.10537480349502876, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20842535_27-02-2025_05_53_35.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20842536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20842537, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20842538, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20842539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20842540, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20842541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20842542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20842543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20842544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20842545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20842546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20842547, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20843062 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618757, 'mtr_portfolio_id': 20843062, 'created_at': datetime.datetime(2025, 2, 27, 5, 54), 'result': '0.09461091511724623', 'result_long': None, 'result_double': None}] Qualite : 0.09461091511724623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843062 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}" where mtr_portfolio_id = 20843062 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20843062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095809, 0.09461091511724623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843062_27-02-2025_05_54_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20843077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843079, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843080, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843081, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843082, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843085, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843086, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843087, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843088, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20843891 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618758, 'mtr_portfolio_id': 20843891, 'created_at': datetime.datetime(2025, 2, 27, 5, 54, 31), 'result': '0.0952210209130692', 'result_long': None, 'result_double': None}] Qualite : 0.0952210209130692 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20843891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20843891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}" where mtr_portfolio_id = 20843891 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20843891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095810, 0.0952210209130692, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20843891_27-02-2025_05_54_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20843978, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20843979, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20843980, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20843981, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20843982, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20843983, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20843984, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20843985, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20843986, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20843987, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20843988, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20843989, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20844521 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618759, 'mtr_portfolio_id': 20844521, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 30), 'result': '0.08961337252877308', 'result_long': None, 'result_double': None}] Qualite : 0.08961337252877308 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844521 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844521 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}" where mtr_portfolio_id = 20844521 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20844521 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095811, 0.08961337252877308, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844521_27-02-2025_05_55_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20844522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20844523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20844524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20844525, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20844526, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20844527, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20844528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20844529, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20844530, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20844531, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20844532, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20844533, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20844984 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618760, 'mtr_portfolio_id': 20844984, 'created_at': datetime.datetime(2025, 2, 27, 5, 55, 58), 'result': '0.10127133196056405', 'result_long': None, 'result_double': None}] Qualite : 0.10127133196056405 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20844984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20844984 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}" where mtr_portfolio_id = 20844984 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20844984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095812, 0.10127133196056405, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20844984_27-02-2025_05_56_02.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845015, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845016, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845017, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845018, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845019, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845020, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845021, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845024, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845025, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845026, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20845790 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618761, 'mtr_portfolio_id': 20845790, 'created_at': datetime.datetime(2025, 2, 27, 5, 56, 28), 'result': '0.10937179414744042', 'result_long': None, 'result_double': None}] Qualite : 0.10937179414744042 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20845790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20845790 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}" where mtr_portfolio_id = 20845790 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20845790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095813, 0.10937179414744042, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20845790_27-02-2025_05_56_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20845794, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20845795, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20845796, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20845797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20845798, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20845799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20845800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20845801, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20845802, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20845803, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20845804, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20845805, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20846033 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618762, 'mtr_portfolio_id': 20846033, 'created_at': datetime.datetime(2025, 2, 27, 5, 57), 'result': '0.10551787687757494', 'result_long': None, 'result_double': None}] Qualite : 0.10551787687757494 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846033 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846033 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}" where mtr_portfolio_id = 20846033 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846033 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095814, 0.10551787687757494, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846033_27-02-2025_05_57_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846036, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846037, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846039, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846040, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846041, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846042, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846043, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846044, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846045, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846046, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846047, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20846799 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618763, 'mtr_portfolio_id': 20846799, 'created_at': datetime.datetime(2025, 2, 27, 5, 58, 1), 'result': '0.11496452386107839', 'result_long': None, 'result_double': None}] Qualite : 0.11496452386107839 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20846799 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20846799 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}" where mtr_portfolio_id = 20846799 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20846799 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095815, 0.11496452386107839, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20846799_27-02-2025_05_58_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20846876, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20846877, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20846878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20846879, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20846880, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20846881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20846882, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20846883, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20846884, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20846885, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20846886, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20846887, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848465 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2616890, 'mtr_portfolio_id': 20848465, 'created_at': datetime.datetime(2025, 2, 26, 18, 6, 57), 'result': '0.113764538614385', 'result_long': None, 'result_double': None}] Qualite : 0.113764538614385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848465 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_26-02-2025_18_06_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848465 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_26-02-2025_18_06_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}" where mtr_portfolio_id = 20848465 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848465 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095816, 0.113764538614385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848465_26-02-2025_18_06_57.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848466, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848467, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848468, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848469, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848470, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848471, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848473, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848474, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848475, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848476, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848477, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848689 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2616936, 'mtr_portfolio_id': 20848689, 'created_at': datetime.datetime(2025, 2, 26, 18, 18, 57), 'result': '0.09849057950248476', 'result_long': None, 'result_double': None}] Qualite : 0.09849057950248476 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848689 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_26-02-2025_18_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848689 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_26-02-2025_18_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}" where mtr_portfolio_id = 20848689 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848689 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095817, 0.09849057950248476, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848689_26-02-2025_18_18_58.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848691, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848692, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848699, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848700, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848701, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848702, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20848890 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2616984, 'mtr_portfolio_id': 20848890, 'created_at': datetime.datetime(2025, 2, 26, 18, 32, 31), 'result': '0.10758078547437176', 'result_long': None, 'result_double': None}] Qualite : 0.10758078547437176 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20848890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_26-02-2025_18_32_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20848890 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_26-02-2025_18_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}" where mtr_portfolio_id = 20848890 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20848890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095818, 0.10758078547437176, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20848890_26-02-2025_18_32_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20848891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20848892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20848893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20848894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20848895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20848896, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20848897, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20848898, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20848899, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20848900, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20848901, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20848902, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20849515 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617104, 'mtr_portfolio_id': 20849515, 'created_at': datetime.datetime(2025, 2, 26, 18, 52, 58), 'result': '0.10510066570069786', 'result_long': None, 'result_double': None}] Qualite : 0.10510066570069786 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20849515 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_26-02-2025_18_52_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20849515 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_26-02-2025_18_52_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}" where mtr_portfolio_id = 20849515 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20849515 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095819, 0.10510066570069786, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20849515_26-02-2025_18_52_59.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20849540, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20849541, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20849542, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20849543, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20849544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20849545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20849546, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20849547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20849548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20849549, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20849550, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20849551, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20850107 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617187, 'mtr_portfolio_id': 20850107, 'created_at': datetime.datetime(2025, 2, 26, 19, 8, 59), 'result': '0.11155156732124209', 'result_long': None, 'result_double': None}] Qualite : 0.11155156732124209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_26-02-2025_19_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850107 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_26-02-2025_19_09_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}" where mtr_portfolio_id = 20850107 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20850107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095820, 0.11155156732124209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850107_26-02-2025_19_09_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20850180, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850181, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850182, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20850183, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850184, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850185, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850186, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850187, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850188, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850189, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850190, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850191, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20850765 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617250, 'mtr_portfolio_id': 20850765, 'created_at': datetime.datetime(2025, 2, 26, 19, 18, 59), 'result': '0.10272645502208905', 'result_long': None, 'result_double': None}] Qualite : 0.10272645502208905 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20850765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_26-02-2025_19_19_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20850765 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_26-02-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}" where mtr_portfolio_id = 20850765 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20850765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095821, 0.10272645502208905, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20850765_26-02-2025_19_19_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20850826, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20850827, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20850828, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20850829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20850830, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20850831, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20850832, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20850833, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20850834, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20850835, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20850836, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20850837, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20851198 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617296, 'mtr_portfolio_id': 20851198, 'created_at': datetime.datetime(2025, 2, 26, 19, 32, 58), 'result': '0.09350744993343718', 'result_long': None, 'result_double': None}] Qualite : 0.09350744993343718 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851198 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_26-02-2025_19_32_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851198 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_26-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}" where mtr_portfolio_id = 20851198 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20851198 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095822, 0.09350744993343718, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851198_26-02-2025_19_32_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851259, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851260, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851262, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851263, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851265, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851266, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851268, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851270, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20851819 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617385, 'mtr_portfolio_id': 20851819, 'created_at': datetime.datetime(2025, 2, 26, 19, 52, 56), 'result': '0.10541526736032698', 'result_long': None, 'result_double': None}] Qualite : 0.10541526736032698 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20851819 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_26-02-2025_19_52_57.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20851819 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_26-02-2025_19_52_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}" where mtr_portfolio_id = 20851819 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20851819 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095823, 0.10541526736032698, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20851819_26-02-2025_19_52_57.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20851820, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20851821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20851822, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20851823, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20851824, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20851825, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20851826, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20851827, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20851828, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20851829, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20851830, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20851831, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20852478 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617453, 'mtr_portfolio_id': 20852478, 'created_at': datetime.datetime(2025, 2, 26, 20, 4, 58), 'result': '0.11088379870292768', 'result_long': None, 'result_double': None}] Qualite : 0.11088379870292768 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_26-02-2025_20_04_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852478 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_26-02-2025_20_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}" where mtr_portfolio_id = 20852478 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20852478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095824, 0.11088379870292768, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852478_26-02-2025_20_04_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20852479, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852480, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852482, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852483, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852484, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852485, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852486, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852487, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852488, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852489, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852490, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20852902 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617508, 'mtr_portfolio_id': 20852902, 'created_at': datetime.datetime(2025, 2, 26, 20, 26, 58), 'result': '0.10112721532294451', 'result_long': None, 'result_double': None}] Qualite : 0.10112721532294451 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20852902 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_26-02-2025_20_26_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20852902 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_26-02-2025_20_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}" where mtr_portfolio_id = 20852902 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20852902 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095825, 0.10112721532294451, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20852902_26-02-2025_20_26_59.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20852951, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20852952, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20852953, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20852954, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20852955, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20852956, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20852957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20852958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20852959, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20852960, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20852961, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20852962, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20854055 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617595, 'mtr_portfolio_id': 20854055, 'created_at': datetime.datetime(2025, 2, 26, 20, 38, 58), 'result': '0.11511898417835649', 'result_long': None, 'result_double': None}] Qualite : 0.11511898417835649 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854055 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_26-02-2025_20_38_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854055 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_26-02-2025_20_38_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}" where mtr_portfolio_id = 20854055 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20854055 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095826, 0.11511898417835649, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854055_26-02-2025_20_38_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854083, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854086, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854087, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854090, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854091, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854092, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20854419 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617640, 'mtr_portfolio_id': 20854419, 'created_at': datetime.datetime(2025, 2, 26, 21, 20, 57), 'result': '0.10361750841493632', 'result_long': None, 'result_double': None}] Qualite : 0.10361750841493632 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20854419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_26-02-2025_21_20_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20854419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_26-02-2025_21_20_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}" where mtr_portfolio_id = 20854419 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20854419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095827, 0.10361750841493632, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20854419_26-02-2025_21_20_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20854493, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20854494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20854495, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20854496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20854497, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20854498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20854499, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20854500, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20854501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20854502, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20854503, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20854504, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20855468 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617726, 'mtr_portfolio_id': 20855468, 'created_at': datetime.datetime(2025, 2, 26, 21, 33, 28), 'result': '0.09852803363838154', 'result_long': None, 'result_double': None}] Qualite : 0.09852803363838154 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20855468 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_26-02-2025_21_33_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20855468 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_26-02-2025_21_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}" where mtr_portfolio_id = 20855468 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20855468 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095828, 0.09852803363838154, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20855468_26-02-2025_21_33_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20855469, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20855470, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20855471, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20855472, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20855473, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20855474, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20855475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20855476, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20855477, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20855478, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20855479, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20855480, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856043 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617758, 'mtr_portfolio_id': 20856043, 'created_at': datetime.datetime(2025, 2, 26, 21, 54, 58), 'result': '0.09443002056884146', 'result_long': None, 'result_double': None}] Qualite : 0.09443002056884146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_26-02-2025_21_54_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856043 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_26-02-2025_21_54_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}" where mtr_portfolio_id = 20856043 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095829, 0.09443002056884146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856043_26-02-2025_21_54_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20856044, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856045, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856046, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856047, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856048, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856049, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856050, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856051, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856052, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856053, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856054, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856055, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856419 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617788, 'mtr_portfolio_id': 20856419, 'created_at': datetime.datetime(2025, 2, 26, 22, 5), 'result': '0.10444942231048877', 'result_long': None, 'result_double': None}] Qualite : 0.10444942231048877 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_26-02-2025_22_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856419 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_26-02-2025_22_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}" where mtr_portfolio_id = 20856419 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095830, 0.10444942231048877, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856419_26-02-2025_22_05_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 20856471, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856473, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856475, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856476, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856477, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20856479, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856481, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856482, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20856900 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617818, 'mtr_portfolio_id': 20856900, 'created_at': datetime.datetime(2025, 2, 26, 22, 18, 59), 'result': '0.116456460548406', 'result_long': None, 'result_double': None}] Qualite : 0.116456460548406 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20856900 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20856900 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}" where mtr_portfolio_id = 20856900 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20856900 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095831, 0.116456460548406, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20856900_26-02-2025_22_18_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 20856925, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20856926, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20856927, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20856928, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20856929, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20856930, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20856931, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20856932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20856933, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20856934, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20856935, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20856936, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20857448 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617851, 'mtr_portfolio_id': 20857448, 'created_at': datetime.datetime(2025, 2, 26, 22, 32, 58), 'result': '0.1409290653273137', 'result_long': None, 'result_double': None}] Qualite : 0.1409290653273137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857448 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857448 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}" where mtr_portfolio_id = 20857448 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857448 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095832, 0.1409290653273137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857448_26-02-2025_22_32_58.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857449, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857451, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857453, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857454, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857456, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857457, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857459, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857460, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20857573 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617884, 'mtr_portfolio_id': 20857573, 'created_at': datetime.datetime(2025, 2, 26, 22, 48, 57), 'result': '0.12238231803836284', 'result_long': None, 'result_double': None}] Qualite : 0.12238231803836284 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20857573 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20857573 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}" where mtr_portfolio_id = 20857573 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20857573 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095833, 0.12238231803836284, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20857573_26-02-2025_22_48_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20857577, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20857578, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20857579, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20857580, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20857581, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20857582, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20857583, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20857584, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20857585, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20857586, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20857587, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20857588, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20858422 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617931, 'mtr_portfolio_id': 20858422, 'created_at': datetime.datetime(2025, 2, 26, 23, 3), 'result': '0.12031977115887663', 'result_long': None, 'result_double': None}] Qualite : 0.12031977115887663 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858422 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858422 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}" where mtr_portfolio_id = 20858422 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20858422 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095834, 0.12031977115887663, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858422_26-02-2025_23_03_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 20858423, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858424, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858425, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858426, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858427, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858428, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858429, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858430, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858433, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858434, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20858789 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617957, 'mtr_portfolio_id': 20858789, 'created_at': datetime.datetime(2025, 2, 26, 23, 17, 27), 'result': '0.1297871421903699', 'result_long': None, 'result_double': None}] Qualite : 0.1297871421903699 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20858789 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20858789 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}" where mtr_portfolio_id = 20858789 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20858789 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095835, 0.1297871421903699, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20858789_26-02-2025_23_17_27.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20858790, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20858791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20858792, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20858793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20858794, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20858795, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20858796, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20858797, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20858798, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20858799, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20858800, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20858801, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20859314 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2617982, 'mtr_portfolio_id': 20859314, 'created_at': datetime.datetime(2025, 2, 26, 23, 36, 31), 'result': '0.1158730903107423', 'result_long': None, 'result_double': None}] Qualite : 0.1158730903107423 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859314 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859314 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}" where mtr_portfolio_id = 20859314 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20859314 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095836, 0.1158730903107423, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859314_26-02-2025_23_36_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859315, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859316, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859317, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859318, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859319, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859321, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859322, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859323, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859324, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859325, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859326, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20859884 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618015, 'mtr_portfolio_id': 20859884, 'created_at': datetime.datetime(2025, 2, 26, 23, 49, 29), 'result': '0.10968201934970113', 'result_long': None, 'result_double': None}] Qualite : 0.10968201934970113 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20859884 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20859884 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}" where mtr_portfolio_id = 20859884 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20859884 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095837, 0.10968201934970113, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20859884_26-02-2025_23_49_30.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20859885, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20859886, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20859887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20859888, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20859889, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20859890, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20859891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20859892, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20859893, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20859894, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20859895, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20859896, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtd_id, mtr_current_id, mtr_portfolio_id, created_at, result, result_long, result_double FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 20860315 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2618038, 'mtr_portfolio_id': 20860315, 'created_at': datetime.datetime(2025, 2, 27, 1, 1, 31), 'result': '0.12118769587984397', 'result_long': None, 'result_double': None}] Qualite : 0.12118769587984397 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 20860315 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 20860315 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, 'pht': 3726}}" where mtr_portfolio_id = 20860315 and dashboard_run_id = 1634985 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify TODO Duplicate data, are they consistent 3 ? Duplicate data, are they consistent 4 ? SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=20860315 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (9095838, 0.12118769587984397, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P20860315_27-02-2025_01_01_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 20860316, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 20860317, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 20860318, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 20860319, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 20860320, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 20860321, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 20860322, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 20860323, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 20860324, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 20860325, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 20860326, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 20860327, 'pht': 3726}}") ON DUPLICATE KEY UPDATE qualite=VALUES(qualite), completion_json=VALUES(completion_json) ret update_qualite_results : None SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (20822915,20823244,20823623,20823915,20824472,20825065,20825658,20826103,20826652,20826951,20827919,20828584,20829246,20829828,20830367,20831063,20832581,20832732,20833362,20833879,20834422,20835080,20835982,20836575,20837208,20838192,20838686,20840618,20840746,20841272,20841741,20842109,20842535,20843062,20843891,20844521,20844984,20845790,20846033,20846799,20848465,20848689,20848890,20849515,20850107,20850765,20851198,20851819,20852478,20852902,20854055,20854419,20855468,20856043,20856419,20856900,20857448,20857573,20858422,20858789,20859314,20859884,20860315) result : ((1339668466,), (1339668468,), (1339668482,), (1339668497,), (1339668499,), (1339668500,), (1339668510,), (1339668516,), (1339668519,), (1339668522,), (1339668531,), (1339668533,), (1339668536,), (1339668546,), (1339668549,), (1339668569,), (1339668697,), (1339668700,), (1339668947,), (1339668950,), (1339669239,), (1339669304,), (1339669649,), (1339669651,), (1339669676,), (1339669682,), (1339669685,), (1339670001,), (1339669782,), (1339669998,), (1339670070,), (1339670074,), (1339670078,), (1339670080,), (1339670091,), (1339670094,), (1339670097,), (1339670102,), (1339670106,), (1339670108,), (1339670115,), (1339670118,), (1339670121,), (1339670131,), (1339670133,), (1339670151,), (1339670157,), (1339670160,), (1339670162,), (1339670180,), (1339670197,), (1339670203,), (1339670207,), (1339670289,), (1339670291,), (1339670293,), (1339670300,), (1339670324,), (1339670388,), (1339670427,), (1339670430,), (1339670432,), (1339670435,), (1339670438,), (1339670444,), (1339670447,), (1339670459,), (1339670467,), (1339670469,), (1339670481,), (1339670486,), (1339670490,), (1339670493,), (1339670523,), (1339670549,), (1339670552,), (1339670554,), (1339670557,), (1339670567,), (1339670570,), (1339670573,), (1339670575,), (1339670577,), (1339670579,), (1339670588,), (1339670592,), (1339670594,), (1339670597,), (1339670599,), (1339670612,), (1339670615,), (1339670618,), (1339670620,), (1339670623,), (1339670633,), (1339670639,), (1339670645,), (1339670649,), (1339670651,), (1339670683,), (1339670672,), (1339670674,), (1339670677,), (1339670679,), (1339670699,), (1339670706,), (1339670709,), (1339670712,), (1339670729,), (1339670732,), (1339670735,), (1339670738,), (1339670777,), (1339670800,), (1339671343,), (1339671346,), (1339671349,), (1339671353,), (1339671361,), (1339671625,), (1339671628,), (1339671631,), (1339671633,), (1339671643,), (1339671651,), (1339671662,), (1339671665,), (1339671668,), (1339671671,), (1339671673,), (1339671690,), (1339671693,), (1339671695,), (1339671698,), (1339671701,), (1339671703,), (1339672083,), (1339672087,), (1339672091,), (1339672094,), (1339672101,), (1339672104,), (1339672107,), (1339672109,), (1339672112,), (1339672114,), (1339672121,), (1339672124,), (1339672127,), (1339672157,), (1339672136,), (1339672139,), (1339672141,), (1339672144,), (1339672148,), (1339672167,), (1339672169,), (1339672172,), (1339672174,), (1339672188,), (1339672191,), (1339672194,), (1339672197,), (1339672199,), (1339672203,), (1339672219,), (1339672223,), (1339672230,), (1339672237,), (1339672240,), (1339672284,), (1339672287,), (1339672290,), (1339672293,), (1339672301,), (1339672306,), (1339672354,), (1339672357,), (1339672360,), (1339672362,), (1339672371,), (1339672374,), (1339672376,), (1339672379,), (1339672411,), (1339672414,), (1339672417,), (1339672420,), (1339672423,), (1339672425,), (1339672451,), (1339672455,), (1339672457,), (1339672460,), (1339672576,), (1339672579,), (1339672583,), (1339672595,), (1339672665,), (1339672745,), (1339673187,), (1339673190,), (1339673222,), (1339673247,), (1339673250,), (1339673253,), (1339673282,), (1339673285,), (1339673308,), (1339673311,), (1339673313,), (1339673316,), (1339673318,), (1339673320,), (1339673325,), (1339673327,), (1339673329,), (1339673331,), (1339673363,), (1339673336,), (1339673346,), (1339673355,), (1339673360,), (1339673396,), (1339673399,), (1339673402,), (1339673406,), (1339673411,), (1339673413,), (1339673429,), (1339673434,), (1339673437,), (1339673440,), (1339674113,), (1339674131,), (1339674133,), (1339674167,), (1339674170,), (1339674238,), (1339674240,), (1339674243,), (1339674246,), (1339674249,), (1339674259,), (1339674262,), (1339674265,), (1339674268,), (1339674295,), (1339674297,), (1339674301,), (1339674305,), (1339674308,), (1339674310,), (1339674317,), (1339674320,), (1339674323,), (1339674326,), (1339674329,), (1339674352,), (1339674357,), (1339674361,), (1339674365,), (1339674367,), (1339674391,), (1339674394,), (1339674397,), (1339674400,), (1339674403,), (1339674438,), (1339674441,), (1339674444,), (1339674446,), (1339674454,), (1339674457,), (1339674460,), (1339674462,), (1339674465,), (1339674471,), (1339674484,), (1339674491,), (1339674497,), (1339674500,), (1339674508,), (1339674510,), (1339674513,), (1339674516,), (1339674519,), (1339674524,), (1339674540,), (1339674543,), (1339674546,), (1339674548,), (1339674858,), (1339674687,), (1339674779,), (1339674782,), (1339674800,), (1339674846,), (1339674873,), (1339674878,), (1339674881,), (1339674884,), (1339674886,), (1339674903,), (1339674905,), (1339674908,), (1339674924,), (1339674931,), (1339674948,), (1339674950,), (1339674953,), (1339674956,), (1339674959,), (1339674961,), (1339674985,), (1339674992,), (1339674995,), (1339674997,), (1339675004,), (1339675092,), (1339675121,), (1339675124,), (1339675136,), (1339675208,), (1339675393,), (1339675396,), (1339675399,), (1339675402,), (1339675403,), (1339675423,), (1339675426,), (1339675429,), (1339675431,), (1339675437,), (1339675441,), (1339675445,), (1339675447,), (1339675451,), (1339675457,), (1339675479,), (1339675483,), (1339675486,), (1339675490,), (1339675492,), (1339675506,), (1339675508,), (1339675511,), (1339675514,), (1339675517,), (1339675519,), (1339675526,), (1339675528,), (1339675531,), (1339675537,), (1339675561,), (1339675564,), (1339675567,), (1339675570,), (1339675572,), (1339675574,), (1339675578,), (1339675586,), (1339675589,), (1339675591,), (1339675592,), (1339675608,), (1339675611,), (1339675614,), (1339675616,), (1339675657,), (1339675625,), (1339675636,), (1339675643,), (1339675647,), (1339675650,), (1339675671,), (1339675676,), (1339675680,), (1339675685,), (1339675709,), (1339675800,), (1339675954,), (1339676114,), (1339676246,), (1339676268,), (1339676406,), (1339676409,), (1339676450,), (1339676454,), (1339676476,), (1339676478,), (1339676483,), (1339676492,), (1339676498,), (1339676500,), (1339676507,), (1339676510,), (1339676514,), (1339676518,), (1339676522,), (1339676549,), (1339676553,), (1339676557,), (1339676561,), (1339676565,), (1339676568,), (1339676571,), (1339676581,), (1339676585,), (1339676588,), (1339676610,), (1339676615,), (1339676619,), (1339676623,), (1339676627,), (1339676629,), (1339676656,), (1339676658,), (1339676661,), (1339676664,), (1339676802,), (1339676805,), (1339676808,), (1339676811,), (1339676813,), (1339676815,), (1339676841,), (1339676844,), (1339676847,), (1339676853,), (1339676854,), (1339676880,), (1339676883,), (1339676886,), (1339676889,), (1339676891,), (1339676905,), (1339676907,), (1339676910,), (1339676913,), (1339676917,), (1339676924,), (1339676938,), (1339676952,), (1339676959,), (1339676971,), (1339677059,), (1339677040,), (1339677044,), (1339677050,), (1339677053,), (1339677057,), (1339677098,), (1339677115,), (1339677121,), (1339677125,), (1339677128,), (1339677137,), (1339677140,), (1339677145,), (1339677162,), (1339677172,), (1339677176,), (1339677189,), (1339677193,), (1339677196,), (1339677200,), (1339677205,), (1339677206,), (1339677222,), (1339677224,), (1339677236,), (1339677242,), (1339677269,), (1339677271,), (1339677273,), (1339677275,), (1339677276,), (1339677277,), (1339677292,), (1339677294,), (1339677296,), (1339677298,), (1339677392,), (1339677394,), (1339677397,), (1339677400,), (1339677402,), (1339677404,), (1339677418,), (1339677421,), (1339677423,), (1339677426,), (1339677456,), (1339677458,), (1339677461,), (1339677464,), (1339677467,), (1339677469,), (1339677481,), (1339677484,), (1339677486,), (1339677489,), (1339677492,), (1339677494,), (1339677518,), (1339677520,), (1339677522,), (1339677526,), (1339677567,), (1339677570,), (1339677582,), (1339677591,), (1339677594,), (1339677596,), (1339677619,), (1339677621,), (1339677623,), (1339677625,), (1339677634,), (1339677638,), (1339677642,), (1339677646,), (1339677649,), (1339677682,), (1339677669,), (1339677673,), (1339677677,), (1339677720,), (1339677724,), (1339677729,), (1339677734,), (1339677738,), (1339677741,), (1339677753,), (1339677757,), (1339677763,), (1339677771,), (1339677778,), (1339677850,), (1339677853,), (1339677857,), (1339677862,), (1339677986,), (1339678497,), (1339678623,), (1339678628,), (1339678639,), (1339678669,), (1339678699,), (1339678720,), (1339678725,), (1339678730,), (1339678735,), (1339678739,), (1339678761,), (1339678769,), (1339678774,), (1339678779,), (1339678784,), (1339678789,), (1339678812,), (1339678817,), (1339678822,), (1339678855,), (1339678862,), (1339678867,), (1339678872,), (1339678875,), (1339678879,), (1339678882,), (1339678889,), (1339678897,), (1339678905,), (1339678914,), (1339678920,), (1339678943,), (1339678989,), (1339678991,), (1339679000,), (1339679005,), (1339679010,), (1339679015,), (1339679019,), (1339679023,), (1339679082,), (1339679084,), (1339679093,), (1339679097,), (1339679110,), (1339679123,), (1339679132,), (1339679136,), (1339679164,), (1339679167,), (1339679176,), (1339679179,), (1339679184,), (1339679187,), (1339679193,), (1339679199,), (1339679262,), (1339679263,), (1339679384,), (1339679396,), (1339679402,), (1339679408,), (1339678930,), (1339678931,), (1339678932,), (1339678934,), (1339678939,), (1339678963,), (1339678976,), (1339678982,), (1339678987,), (1339679028,), (1339679031,), (1339679039,), (1339679043,), (1339679046,), (1339679049,), (1339679060,), (1339679065,), (1339679070,), (1339679078,), (1339679144,), (1339679153,), (1339679160,), (1339679161,), (1339679209,), (1339679211,), (1339679214,), (1339679219,), (1339679225,), (1339679231,), (1339679245,), (1339679250,), (1339679256,), (1339679261,), (1339679428,), (1339679432,), (1339679437,), (1339679442,), (1339679446,), (1339679449,), (1339679478,), (1339679563,), (1339679662,), (1339679762,), (1339679861,), (1339679944,), (1339680170,), (1339680172,), (1339680178,), (1339680180,), (1339680184,), (1339680484,), (1339680488,), (1339680552,), (1339680568,), (1339680573,), (1339680576,), (1339680612,), (1339680614,), (1339680618,), (1339680623,), (1339680671,), (1339680674,), (1339680677,), (1339680680,), (1339680682,), (1339680684,), (1339680729,), (1339680737,), (1339680740,), (1339680743,), (1339680747,), (1339680804,), (1339680809,), (1339680815,), (1339680836,), (1339680932,), (1339682038,), (1339681964,), (1339682025,), (1339682028,), (1339682031,), (1339682036,), (1339682067,), (1339682072,), (1339682077,), (1339682084,), (1339682089,), (1339682111,), (1339682125,), (1339682129,), (1339682133,), (1339682135,), (1339682136,), (1339682162,), (1339682168,), (1339682174,), (1339682182,), (1339682196,), (1339682228,), (1339682233,), (1339682237,), (1339682243,), (1339683087,), (1339683154,), (1339683244,), (1339683292,), (1339683295,), (1339683346,), (1339683373,), (1339683379,), (1339683384,), (1339683388,), (1339683421,), (1339683425,), (1339683429,), (1339683433,), (1339683435,), (1339683441,), (1339683493,), (1339683497,), (1339683501,), (1339683506,), (1339683547,), (1339683551,), (1339683556,), (1339683561,), (1339683565,), (1339683568,), (1339683629,), (1339683634,), (1339683639,), (1339683645,), (1339683648,), (1339683665,), (1339683677,), (1339683683,), (1339683688,), (1339683736,), (1339683742,), (1339683746,), (1339683750,), (1339683826,), (1339683844,), (1339683848,), (1339683852,), (1339683857,), (1339683864,), (1339683887,), (1339683891,), (1339683894,), (1339683897,), (1339684022,), (1339683913,), (1339683917,), (1339683931,), (1339683937,), (1339683940,), (1339684195,), (1339684199,), (1339684203,), (1339684207,), (1339684239,), (1339684243,), (1339684249,), (1339684252,), (1339684255,), (1339684259,), (1339684297,), (1339684302,), (1339684305,), (1339684310,), (1339684314,), (1339684347,), (1339684351,), (1339684354,), (1339684358,), (1339684399,), (1339684405,), (1339684410,), (1339684415,), (1339684419,), (1339684421,), (1339684444,), (1339684448,), (1339684453,), (1339684457,), (1339684501,), (1339684509,), (1339684514,), (1339684518,), (1339684521,), (1339684627,), (1339684630,), (1339684635,), (1339684639,), (1339684643,), (1339684646,), (1339684680,), (1339684684,), (1339684688,), (1339684691,), (1339684708,), (1339684711,), (1339684715,), (1339684717,), (1339684725,), (1339684729,), (1339684739,), (1339684742,), (1339684745,), (1339684747,), (1339684771,), (1339684776,), (1339684780,), (1339684785,), (1339684821,), (1339684919,), (1339685103,), (1339685110,), (1339685113,), (1339685119,), (1339685168,), (1339685153,), (1339685157,), (1339685160,), (1339685164,), (1339685196,), (1339685201,), (1339685205,), (1339685214,), (1339685230,), (1339685701,), (1339685705,), (1339685733,), (1339685737,), (1339685758,), (1339685779,), (1339685828,), (1339685832,), (1339685837,), (1339685842,), (1339685886,), (1339685896,), (1339685903,), (1339685914,), (1339685918,), (1339685943,), (1339685946,), (1339685948,), (1339685951,), (1339685955,), (1339685988,), (1339686075,), (1339686084,), (1339686091,), (1339686101,), (1339686216,), (1339686311,), (1339686332,), (1339686335,), (1339686338,), (1339686379,), (1339686383,), (1339686386,), (1339686389,), (1339686391,), (1339686421,), (1339686426,), (1339686440,), (1339686447,), (1339686450,), (1339686453,), (1339686491,), (1339686495,), (1339686508,), (1339686524,), (1339686550,), (1339686551,), (1339686556,), (1339686560,), (1339686564,), (1339686568,), (1339686595,), (1339686599,), (1339686603,), (1339686606,), (1339686631,), (1339686635,), (1339686640,), (1339686643,), (1339686646,), (1339686648,), (1339686695,), (1339686697,), (1339686700,), (1339687126,), (1339686733,), (1339686946,), (1339686971,), (1339686975,), (1339687107,), (1339687193,), (1339687198,), (1339687203,), (1339687205,), (1339687262,), (1339687267,), (1339687270,), (1339687275,), (1339687278,), (1339687280,), (1339687329,), (1339687339,), (1339687343,), (1339687348,), (1339687351,), (1339687377,), (1339687381,), (1339687385,), (1339687388,), (1339687392,), (1339687394,), (1339687424,), (1339687428,), (1339687432,), (1339687435,), (1339687546,), (1339687551,), (1339687556,), (1339687568,), (1339687576,), (1339687579,), (1339687591,), (1339687596,), (1339687601,), (1339688076,), (1339688132,), (1339688166,), (1339688179,), (1339688195,), (1339688198,), (1339688286,), (1339688291,), (1339688297,), (1339688304,), (1339688329,), (1339688333,), (1339688336,), (1339688340,), (1339688348,), (1339688372,), (1339688376,), (1339688381,), (1339688385,), (1339688408,), (1339688412,), (1339688417,), (1339688464,), (1339688467,), (1339688472,), (1339688476,), (1339688480,), (1339688482,), (1339688505,), (1339688509,), (1339688512,), (1339688570,), (1339688561,), (1339688565,), (1339688568,), (1339688631,), (1339688634,), (1339688636,), (1339688639,), (1339688642,), (1339688684,), (1339688689,), (1339688701,), (1339688709,), (1339688712,), (1339688715,), (1339688763,), (1339688766,), (1339688769,), (1339688771,), (1339688823,), (1339688832,), (1339688838,), (1339688842,), (1339688844,), (1339688881,), (1339688884,), (1339688886,), (1339688890,), (1339688897,), (1339688926,), (1339688929,), (1339688933,), (1339688936,), (1339688940,), (1339688974,), (1339688977,), (1339688981,), (1339688985,), (1339688988,), (1339689009,), (1339689019,), (1339689024,), (1339689032,), (1339689076,), (1339689084,), (1339689089,), (1339689092,), (1339689097,), (1339689147,), (1339689154,), (1339689282,), (1339689290,), (1339689299,), (1339689303,), (1339689306,), (1339689381,), (1339689385,), (1339689389,), (1339689417,), (1339689421,), (1339689424,), (1339689428,), (1339689431,), (1339689434,), (1339689471,), (1339689474,), (1339689478,), (1339689482,), (1339689486,), (1339689560,), (1339689525,), (1339689540,), (1339689544,), (1339689552,), (1339689556,), (1339689582,), (1339689585,), (1339689589,), (1339689593,), (1339689597,), (1339689621,), (1339689625,), (1339689630,), (1339689650,), (1339689655,), (1339689659,), (1339689677,), (1339689681,), (1339689686,), (1339689691,), (1339689733,), (1339689743,), (1339689748,), (1339689752,), (1339689754,), (1339689756,), (1339689781,), (1339689786,), (1339689789,), (1339689793,), (1339689815,), (1339689818,), (1339689821,), (1339689825,), (1339689828,), (1339689834,), (1339690002,), (1339690043,), (1339690045,), (1339690049,), (1339690126,), (1339690130,), (1339690133,), (1339690136,), (1339690140,), (1339690188,), (1339690195,), (1339690207,), (1339690222,), (1339690227,), (1339690260,), (1339690269,), (1339690273,), (1339690304,), (1339690352,), (1339690357,), (1339690362,), (1339690367,), (1339690370,), (1339690372,), (1339690473,), (1339690483,), (1339690496,), (1339690544,), (1339690664,), (1339690669,), (1339690672,), (1339690676,), (1339690679,), (1339690681,), (1339690742,), (1339695637,), (1339696919,), (1339696956,), (1339696961,), (1339696965,), (1339696997,), (1339697004,), (1339697012,), (1339697101,), (1339697197,), (1339697202,), (1339697206,), (1339697210,), (1339697213,), (1339697266,), (1339697241,), (1339697246,), (1339697253,), (1339697260,), (1339697262,), (1339697288,), (1339697292,), (1339697298,), (1339697351,), (1339697356,), (1339697361,), (1339697366,), (1339697369,), (1339697372,), (1339698030,), (1339698138,), (1339698152,), (1339698171,), (1339698176,), (1339698201,), (1339698425,), (1339698436,), (1339698660,), (1339698664,), (1339698668,), (1339698672,), (1339698712,), (1339698717,), (1339698754,), (1339698758,), (1339698762,), (1339698766,), (1339698880,), (1339698890,), (1339698894,), (1339698897,), (1339698900,), (1339698919,), (1339698923,), (1339698927,), (1339698931,), (1339698934,), (1339698950,), (1339699112,), (1339699121,), (1339699128,), (1339699178,), (1339699181,), (1339699184,), (1339699185,), (1339699188,), (1339699253,), (1339699292,), (1339699295,), (1339699298,), (1339699301,), (1339699332,), (1339699335,), (1339699339,), (1339699349,), (1339699494,), (1339699498,), (1339699501,), (1339699504,), (1339699507,), (1339699510,), (1339699575,), (1339699549,), (1339699555,), (1339699565,), (1339699571,), (1339699600,), (1339699604,), (1339699607,), (1339699610,), (1339699652,), (1339699656,), (1339699660,), (1339699664,), (1339699667,), (1339700206,), (1339700214,), (1339700244,), (1339700247,), (1339700255,), (1339700301,), (1339700326,), (1339700333,), (1339700340,), (1339700386,), (1339700392,), (1339700396,), (1339700400,), (1339700404,), (1339700432,), (1339700442,), (1339700467,), (1339700530,), (1339700562,), (1339700567,), (1339700571,), (1339700574,), (1339700625,), (1339700628,), (1339700632,), (1339700636,), (1339700768,), (1339700778,), (1339700782,), (1339700832,), (1339700835,), (1339700859,), (1339701009,), (1339701055,), (1339701478,), (1339701667,), (1339701717,), (1339701784,), (1339701792,), (1339701796,), (1339701801,), (1339701804,), (1339701810,), (1339701818,), (1339701824,), (1339701865,), (1339701869,), (1339701957,), (1339701962,), (1339701966,), (1339701971,), (1339701976,), (1339701981,), (1339702074,), (1339702078,), (1339702087,), (1339702090,), (1339702101,), (1339702125,), (1339702129,), (1339702133,), (1339702149,), (1339702203,), (1339702356,), (1339702370,), (1339702381,), (1339702385,), (1339702391,), (1339702434,), (1339702437,), (1339702443,), (1339702448,), (1339702453,), (1339702467,), (1339702482,), (1339702488,), (1339702493,), (1339702496,), (1339702497,), (1339702520,), (1339702524,), (1339702530,), (1339702543,), (1339702556,), (1339702591,), (1339702598,), (1339702605,), (1339702612,), (1339702618,), (1339702675,), (1339702640,), (1339702644,), (1339702649,), (1339702670,), (1339702738,), (1339702741,), (1339702787,), (1339702793,), (1339702798,), (1339702802,), (1339702854,), (1339702866,), (1339702881,), (1339703019,), (1339703190,), (1339703194,), (1339703450,), (1339703536,), (1339703816,), (1339703907,), (1339703914,), (1339703920,), (1339703924,), (1339703935,), (1339703957,), (1339703961,), (1339703983,), (1339703994,), (1339704005,), (1339704067,), (1339704071,), (1339704092,), (1339704097,), (1339704101,), (1339704188,), (1339704193,), (1339704197,), (1339704201,), (1339704233,), (1339704243,), (1339704297,), (1339704300,), (1339704305,), (1339704307,), (1339704311,), (1339704339,), (1339704343,), (1339704347,), (1339704351,), (1339704386,), (1339704388,), (1339704391,), (1339704394,), (1339704398,), (1339704401,), (1339704427,), (1339704429,), (1339704432,), (1339704469,), (1339704473,), (1339704482,), (1339704489,), (1339704492,), (1339704496,), (1339704534,), (1339704536,), (1339704539,), (1339704543,), (1339704617,), (1339704622,), (1339704787,), (1339704783,), (1339704785,), (1339704824,), (1339704830,), (1339704837,), (1339704841,), (1339704844,), (1339704891,), (1339704899,), (1339704904,), (1339704914,), (1339704922,), (1339705009,), (1339705011,), (1339705023,), (1339705040,), (1339705051,), (1339705119,), (1339705123,), (1339705128,), (1339705132,), (1339705223,), (1339705227,), (1339705232,), (1339705236,), (1339705288,), (1339705301,), (1339705313,), (1339705325,), (1339705328,), (1339705334,), (1339705360,), (1339705364,), (1339705373,), (1339705382,), (1339705385,), (1339705415,), (1339705424,), (1339705428,), (1339705438,), (1339705449,), (1339705453,), (1339705475,), (1339705499,), (1339705509,), (1339705515,), (1339705516,), (1339705521,), (1339705549,), (1339705554,), (1339705558,), (1339705603,), (1339705614,), (1339705620,), (1339705623,), (1339705624,), (1339705626,), (1339705685,), (1339705687,), (1339705692,), (1339705695,), (1339705699,), (1339705959,), (1339705971,), (1339705973,), (1339705980,), (1339706000,), (1339706020,), (1339706046,), (1339706070,), (1339706076,), (1339706095,), (1339706085,), (1339706088,), (1339706091,), (1339706145,), (1339706149,), (1339706152,), (1339706155,), (1339706161,), (1339706218,), (1339706221,), (1339706226,), (1339706229,), (1339706260,), (1339706262,), (1339706620,), (1339706743,), (1339706868,), (1339706871,), (1339707135,), (1339707139,), (1339707143,), (1339707195,), (1339707204,), (1339707229,), (1339707232,), (1339707236,), (1339707238,), (1339707241,), (1339707340,), (1339707343,), (1339707349,), (1339707353,), (1339707467,), (1339707475,), (1339707486,), (1339707489,), (1339707518,), (1339707527,), (1339707546,), (1339707651,), (1339707677,), (1339707710,), (1339707720,), (1339707731,), (1339707736,), (1339707743,), (1339707747,), (1339707773,), (1339707776,), (1339707780,), (1339707787,), (1339707858,), (1339707861,), (1339707865,), (1339707869,), (1339707873,), (1339707876,), (1339707892,), (1339707897,), (1339707902,), (1339707909,), (1339707915,), (1339707925,), (1339707948,), (1339707951,), (1339707957,), (1339707963,), (1339708046,), (1339708050,), (1339708054,), (1339708058,), (1339708061,), (1339708064,), (1339708096,), (1339708079,), (1339708083,), (1339708087,), (1339708090,), (1339708094,), (1339708119,), (1339708128,), (1339708132,), (1339708136,), (1339708158,), (1339708162,), (1339708166,), (1339708172,), (1339708175,), (1339708177,), (1339708604,), (1339708607,), (1339708614,), (1339708852,), (1339708856,), (1339708863,), (1339708874,), (1339708889,), (1339708897,), (1339708921,), (1339708925,), (1339708930,), (1339708943,), (1339709026,), (1339709034,), (1339709038,), (1339709042,), (1339709087,), (1339709093,), (1339709104,), (1339709108,), (1339709112,), (1339709118,), (1339709155,), (1339709180,), (1339709185,), (1339709189,), (1339709217,), (1339709223,), (1339709230,), (1339709237,), (1339709243,), (1339709247,), (1339709287,), (1339709293,), (1339709301,), (1339709309,), (1339709571,), (1339709575,), (1339709580,), (1339709585,), (1339709590,), (1339709593,), (1339709625,), (1339709637,), (1339709642,), (1339709648,), (1339709727,), (1339709735,), (1339709742,), (1339709755,), (1339709761,), (1339709822,), (1339709831,), (1339709837,), (1339709843,), (1339710104,), (1339710081,), (1339710086,), (1339710091,), (1339710093,), (1339710098,), (1339710127,), (1339710145,), (1339710170,), (1339710189,), (1339710206,), (1339710211,), (1339710310,), (1339710314,), (1339710318,), (1339710322,), (1339710693,), (1339710820,), (1339710824,), (1339710830,), (1339710835,), (1339710845,), (1339711014,), (1339711024,), (1339711035,), (1339711039,), (1339711052,), (1339711313,), (1339711320,), (1339711325,), (1339711335,), (1339711345,), (1339711356,), (1339711381,), (1339711390,), (1339711403,), (1339711418,), (1339711443,), (1339711446,), (1339711451,), (1339711455,), (1339711462,), (1339711512,), (1339711515,), (1339711518,), (1339711525,), (1339711533,), (1339711538,), (1339711578,), (1339711582,), (1339711584,), (1339711587,), (1339711591,), (1339711641,), (1339711644,), (1339711649,), (1339711653,), (1339711695,), (1339711699,), (1339711702,), (1339711706,), (1339711715,), (1339711723,), (1339711774,), (1339711777,), (1339711781,), (1339711792,), (1339712023,), (1339712027,), (1339712032,), (1339712037,), (1339712041,), (1339712045,), (1339712084,), (1339712090,), (1339712096,), (1339712102,), (1339712105,), (1339712265,), (1339712249,), (1339712254,), (1339712425,), (1339712429,), (1339712434,), (1339712438,), (1339712559,), (1339712568,), (1339712573,), (1339712578,), (1339712584,), (1339712781,), (1339712786,), (1339712792,), (1339712799,), (1339712815,), (1339712946,), (1339713003,), (1339713009,), (1339713013,), (1339713017,), (1339713020,), (1339713057,), (1339713062,), (1339713067,), (1339713073,), (1339713092,), (1339713097,), (1339713102,), (1339713107,), (1339713110,), (1339713114,), (1339713210,), (1339713314,), (1339713429,), (1339713528,), (1339714004,), (1339714024,), (1339714031,), (1339714038,), (1339714067,), (1339714070,), (1339714111,), (1339714116,), (1339714120,), (1339714145,), (1339714198,), (1339714351,), (1339714391,), (1339714454,), (1339714459,), (1339714466,), (1339714469,), (1339714541,), (1339714555,), (1339714603,), (1339714609,), (1339714614,), (1339714631,), (1339714636,), (1339714652,), (1339714659,), (1339714674,), (1339714679,), (1339714759,), (1339714766,), (1339714813,), (1339714860,), (1339714848,), (1339714854,), (1339714858,), (1339714859,), (1339715427,), (1339715509,), (1339715603,), (1339715636,), (1339715638,), (1339715676,), (1339715679,), (1339715680,), (1339715685,), (1339715727,), (1339715761,), (1339715880,), (1339715884,), (1339715888,), (1339715891,), (1339716007,), (1339716051,), (1339716085,), (1339716142,), (1339716169,), (1339716239,), (1339716512,), (1339716518,), (1339716521,), (1339716524,), (1339716705,), (1339716708,), (1339716748,), (1339716751,), (1339716800,), (1339716804,), (1339716871,), (1339716874,), (1339716876,), (1339716889,), (1339716899,), (1339716903,), (1339716906,), (1339716909,), (1339716910,), (1339716922,), (1339716926,), (1339716929,), (1339716933,), (1339716947,), (1339716950,), (1339718405,), (1339726407,), (1339726784,), (1339727598,), (1339727735,), (1339728196,), (1339728609,), (1339728788,), (1339728793,), (1339728796,), (1339728799,), (1339728802,), (1339728807,), (1339728864,), (1339728868,), (1339728871,), (1339728875,), (1339728986,), (1339728993,), (1339729028,), (1339729041,), (1339729067,), (1339729254,), (1339729187,), (1339729193,), (1339729197,), (1339729318,), (1339729322,), (1339729699,), (1339729713,), (1339729823,), (1339729845,), (1339729849,), (1339729854,), (1339729866,), (1339729917,), (1339729935,), (1339729939,), (1339729991,), (1339730000,), (1339730005,), (1339730050,), (1339730056,), (1339730061,), (1339730066,), (1339730070,), (1339730074,), (1339730178,), (1339730196,), (1339730298,), (1339730365,), (1339730371,), (1339730377,), (1339730430,), (1339730461,), (1339730465,), (1339730523,), (1339730528,), (1339730533,), (1339730543,), (1339730644,), (1339730648,), (1339730656,), (1339730663,), (1339730696,), (1339730700,), (1339730703,), (1339730909,), (1339731000,), (1339731129,), (1339731157,), (1339731495,), (1339731506,), (1339731511,), (1339731515,), (1339731518,), (1339731521,), (1339731560,), (1339731546,), (1339731549,), (1339731553,), (1339731557,), (1339731579,), (1339731582,), (1339731585,), (1339731588,), (1339731591,), (1339731594,), (1339731610,), (1339731613,), (1339731616,), (1339731619,), (1339731622,), (1339731641,), (1339731644,), (1339731647,), (1339731650,), (1339731653,), (1339731674,), (1339731681,), (1339731687,), (1339731693,), (1339731699,), (1339731721,), (1339731727,), (1339731733,), (1339731738,), (1339731744,), (1339731747,), (1339732139,), (1339732213,), (1339732351,), (1339732498,), (1339732533,), (1339732539,), (1339732549,), (1339732558,), (1339732660,), (1339732830,), (1339732928,), (1339732946,), (1339732952,), (1339732959,), (1339732963,), (1339732969,), (1339733199,), (1339733204,), (1339733639,), (1339733596,), (1339733825,), (1339733891,), (1339733895,), (1339733899,), (1339733902,), (1339733923,), (1339733929,), (1339733933,), (1339733937,), (1339733961,), (1339733966,), (1339733972,), (1339733991,), (1339733994,), (1339733999,), (1339734003,), (1339734009,), (1339734012,), (1339734034,), (1339734039,), (1339734044,), (1339734500,), (1339734514,), (1339734519,), (1339734704,), (1339734708,), (1339734738,), (1339734743,), (1339734784,), (1339734787,), (1339734792,), (1339734854,), (1339734827,), (1339734830,), (1339734838,), (1339734844,), (1339734886,), (1339734897,), (1339734933,), (1339735295,), (1339735338,), (1339735374,), (1339735378,), (1339736089,), (1339736851,), (1339736933,), (1339737190,), (1339737213,), (1339737216,), (1339737219,), (1339737344,), (1339737385,), (1339737389,), (1339737590,), (1339737596,), (1339737601,), (1339737605,), (1339737607,), (1339737677,), (1339737680,), (1339737684,), (1339737797,), (1339737801,), (1339737806,), (1339737812,), (1339737919,), (1339737923,), (1339737926,), (1339738108,), (1339738130,), (1339738135,), (1339738141,), (1339738146,), (1339738149,), (1339738234,), (1339738237,), (1339738240,), (1339738297,), (1339738306,), (1339738310,), (1339738314,), (1339738410,), (1339738422,), (1339738424,), (1339738440,), (1339738446,), (1339738453,), (1339738504,), (1339738506,), (1339738509,), (1339738512,), (1339738572,), (1339738575,), (1339738633,), (1339738677,), (1339738681,), (1339738685,), (1339738736,), (1339738743,), (1339738746,), (1339738751,), (1339738757,), (1339738770,), (1339738784,), (1339738787,), (1339738796,), (1339738802,), (1339738829,), (1339738815,), (1339738818,), (1339738821,), (1339738890,), (1339738897,), (1339738924,), (1339738937,), (1339738951,), (1339738960,), (1339739104,), (1339739109,), (1339739113,), (1339739159,), (1339739162,), (1339739175,), (1339739179,), (1339739182,), (1339739252,), (1339739283,), (1339739288,), (1339739294,), (1339739300,), (1339739343,), (1339739348,), (1339739352,), (1339739928,), (1339739934,), (1339739940,), (1339739943,), (1339739947,), (1339740185,), (1339740190,), (1339740195,), (1339740204,), (1339740213,), (1339740243,), (1339740253,), (1339740258,), (1339740263,), (1339740282,), (1339740287,), (1339740292,), (1339740323,), (1339740332,), (1339740339,), (1339740344,), (1339740349,), (1339740353,), (1339740386,), (1339740389,), (1339740395,), (1339740400,), (1339740461,), (1339740478,), (1339740484,), (1339740489,), (1339740495,), (1339740552,), (1339740557,), (1339740561,), (1339740564,), (1339740597,), (1339740618,), (1339740622,), (1339740627,), (1339740996,), (1339740938,), (1339740954,), (1339740968,), (1339741028,), (1339741050,), (1339741060,), (1339741066,), (1339741069,), (1339741072,), (1339741162,), (1339741167,), (1339741171,), (1339741176,), (1339741206,), (1339741214,), (1339741221,), (1339741226,), (1339741237,), (1339741356,), (1339741360,), (1339741366,), (1339741371,), (1339741375,), (1339741377,), (1339741544,), (1339741549,), (1339741554,), (1339741557,), (1339741751,), (1339741758,), (1339741766,), (1339741808,), (1339741817,), (1339741822,), (1339741870,), (1339741879,), (1339741891,), (1339741895,), (1339741898,), (1339742011,), (1339742015,), (1339742020,), (1339742025,), (1339742028,), (1339742030,), (1339742065,), (1339742069,), (1339742079,), (1339742082,), (1339742086,), (1339742140,), (1339742144,), (1339742198,), (1339742201,), (1339742204,), (1339742207,), (1339742237,), (1339742255,), (1339742259,), (1339742262,), (1339742278,), (1339742294,), (1339742353,), (1339742357,), (1339742363,), (1339742365,), (1339742480,), (1339742491,), (1339742497,), (1339742502,), (1339742506,), (1339742509,), (1339742638,), (1339742525,), (1339742603,), (1339742606,), (1339742710,), (1339742714,), (1339742718,), (1339742722,), (1339742726,), (1339742734,), (1339742759,), (1339742765,), (1339742770,), (1339742774,), (1339742778,), (1339742801,), (1339742806,), (1339742810,), (1339742813,), (1339742817,), (1339742859,), (1339742874,), (1339742880,), (1339742902,), (1339742912,), (1339742916,), (1339743026,), (1339743031,), (1339743036,), (1339743040,), (1339743044,), (1339743070,), (1339743076,), (1339743081,), (1339743085,), (1339743089,), (1339743092,), (1339743107,), (1339743111,), (1339743115,), (1339743120,), (1339743140,), (1339743169,), (1339743173,), (1339743177,), (1339743180,), (1339743181,), (1339743211,), (1339743217,), (1339743221,), (1339743225,), (1339743229,), (1339743232,), (1339743308,), (1339743315,), (1339743320,), (1339743326,), (1339743396,), (1339743400,), (1339743405,), (1339743410,), (1339743414,), (1339743416,), (1339743437,), (1339743441,), (1339743445,), (1339743449,), (1339743468,), (1339743472,), (1339743477,), (1339743483,), (1339743493,), (1339743538,), (1339743543,), (1339743548,), (1339743553,), (1339743724,), (1339743587,), (1339743601,), (1339743650,), (1339743681,), (1339743704,), (1339743830,), (1339743834,), (1339743837,), (1339743840,), (1339743845,), (1339743908,), (1339743912,), (1339743914,), (1339743921,), (1339743974,), (1339744003,), (1339744059,), (1339744068,), (1339744077,), (1339744085,), (1339744089,), (1339744228,), (1339744232,), (1339744239,), (1339744242,), (1339744446,), (1339744450,), (1339744455,), (1339744460,), (1339744464,), (1339744467,), (1339744478,), (1339744482,), (1339744487,), (1339744492,), (1339744493,), (1339744497,), (1339744523,), (1339744528,), (1339744532,), (1339744687,), (1339744692,), (1339744704,), (1339744716,), (1339744722,), (1339744724,), (1339744737,), (1339744742,), (1339744747,), (1339744752,), (1339744756,), (1339744958,), (1339745051,), (1339745147,), (1339745151,), (1339745274,), (1339745300,), (1339745312,), (1339745322,), (1339745339,), (1339745348,), (1339745412,), (1339745417,), (1339745465,), (1339745469,), (1339745768,), (1339745773,), (1339745776,), (1339745777,), (1339745778,), (1339745779,), (1339745818,), (1339745810,), (1339745812,), (1339745815,), (1339745851,), (1339745855,), (1339745858,), (1339745861,), (1339745882,), (1339745886,), (1339745952,), (1339745957,), (1339745970,), (1339746079,), (1339746082,), (1339746086,), (1339746088,), (1339746092,), (1339746095,), (1339746123,), (1339746126,), (1339746129,), (1339746133,), (1339746162,), (1339746167,), (1339746172,), (1339746176,), (1339746180,), (1339746182,), (1339746193,), (1339746201,), (1339746204,), (1339746207,), (1339746225,), (1339746248,), (1339746425,), (1339746564,), (1339746640,), (1339746728,), (1339747035,), (1339747039,), (1339747047,), (1339747051,), (1339747330,), (1339747340,), (1339747345,), (1339747470,), (1339747475,), (1339747479,), (1339747485,), (1339747490,), (1339747493,), (1339747504,), (1339747514,), (1339747521,), (1339747527,), (1339747530,), (1339747532,), (1339747541,), (1339747551,), (1339747563,), (1339747572,), (1339747575,), (1339747577,), (1339747586,), (1339747589,), (1339747593,), (1339747613,), (1339747616,), (1339747621,), (1339747625,), (1339747716,), (1339747672,), (1339747686,), (1339747690,), (1339747697,), (1339747707,), (1339747747,), (1339747751,), (1339747802,), (1339747806,), (1339747842,), (1339747846,), (1339747850,), (1339747854,), (1339747857,), (1339747860,), (1339747879,), (1339747883,), (1339747887,), (1339747891,), (1339747894,), (1339747933,), (1339747936,), (1339747940,), (1339747944,), (1339747958,), (1339747962,), (1339747965,), (1339747972,), (1339747976,), (1339747981,), (1339748190,), (1339748194,), (1339748212,), (1339748247,), (1339748251,), (1339748335,), (1339748950,), (1339748954,), (1339748958,), (1339749308,), (1339749312,), (1339749315,), (1339749319,), (1339749322,), (1339749326,), (1339749560,), (1339749564,), (1339749568,), (1339749572,), (1339749759,), (1339749763,), (1339749768,), (1339749773,), (1339749778,), (1339749792,), (1339749795,), (1339749799,), (1339749803,), (1339749806,), (1339749809,), (1339749835,), (1339749839,), (1339749869,), (1339749958,), (1339749962,), (1339749966,), (1339749969,), (1339749995,), (1339749998,), (1339750021,), (1339750023,), (1339750027,), (1339750036,), (1339750133,), (1339750120,), (1339750124,), (1339750129,), (1339750402,), (1339750406,), (1339750410,), (1339750429,), (1339750432,), (1339750435,), (1339750443,), (1339750447,), (1339750504,), (1339750508,), (1339750517,), (1339750564,), (1339751147,), (1339751153,), (1339751157,), (1339751161,), (1339751211,), (1339751219,), (1339751225,), (1339751229,), (1339751232,), (1339751260,), (1339751318,), (1339751348,), (1339751386,), (1339751442,), (1339751451,), (1339751459,), (1339751653,), (1339751657,), (1339751662,), (1339751830,), (1339756218,), (1339756265,), (1339756270,), (1339756539,), (1339756543,), (1339756649,), (1339758000,), (1339758389,), (1339758485,), (1339758924,), (1339759374,), (1339759378,), (1339759393,), (1339759395,), (1339759402,), (1339764093,), (1339764084,), (1339764089,), (1339764121,), (1339764125,), (1339764138,), (1339764143,), (1339764147,), (1339764149,), (1339764187,), (1339764196,), (1339764201,), (1339764274,), (1339764277,), (1339764280,), (1339764283,), (1339764285,), (1339764895,), (1339764898,), (1339764901,), (1339764904,), (1339764906,), (1339764996,), (1339765107,), (1339765110,), (1339765113,), (1339765116,), (1339765119,), (1339765140,), (1339765143,), (1339765146,), (1339765148,), (1339765171,), (1339765174,), (1339765178,), (1339765181,), (1339765182,), (1339765184,), (1339765218,), (1339765225,), (1339765233,), (1339765244,), (1339765251,), (1339765297,), (1339765301,), (1339765305,), (1339765308,), (1339765310,), (1339765311,), (1339765498,), (1339765503,), (1339765654,), (1339765657,), (1339765662,), (1339765664,), (1339765680,), (1339765683,), (1339765686,), (1339765853,), (1339765863,), (1339765867,), (1339765871,), (1339765874,), (1339765929,), (1339765941,), (1339765943,), (1339765944,), (1339765945,), (1339765974,), (1339765966,), (1339765969,), (1339765972,), (1339765993,), (1339765996,), (1339766000,), (1339766007,), (1339766014,), (1339766038,), (1339766041,), (1339766045,), (1339766049,), (1339766052,), (1339766055,), (1339766095,), (1339766099,), (1339766103,), (1339766107,), (1339766189,), (1339766194,), (1339766199,), (1339766203,), (1339766205,), (1339766206,), (1339766281,), (1339766285,), (1339766295,), (1339766351,), (1339766354,), (1339766495,), (1339766733,), (1339766737,), (1339766946,), (1339767160,), (1339767279,), (1339767440,), (1339767518,), (1339767521,), (1339767575,), (1339767579,), (1339767583,), (1339767586,), (1339767589,), (1339767965,), (1339767986,), (1339768128,), (1339768131,), (1339768135,), (1339768170,), (1339768173,), (1339768253,), (1339768719,), (1339768733,), (1339768740,), (1339768773,), (1339768777,), (1339768807,), (1339768811,), (1339768815,), (1339768817,), (1339768846,), (1339768849,), (1339768850,), (1339768851,), (1339768858,), (1339768867,), (1339768902,), (1339768891,), (1339768895,), (1339768899,), (1339768923,), (1339768929,), (1339768933,), (1339768937,), (1339768940,), (1339768958,), (1339768962,), (1339768966,), (1339768971,), (1339768976,), (1339768978,), (1339769006,), (1339769012,), (1339769026,), (1339769030,), (1339769035,), (1339769054,), (1339769058,), (1339769061,), (1339769065,), (1339769069,), (1339769143,), (1339769333,), (1339769337,), (1339769341,), (1339769345,), (1339769832,), (1339769918,), (1339769922,), (1339769924,), (1339770006,), (1339770165,), (1339770171,), (1339770175,), (1339770310,), (1339770400,), (1339770403,), (1339770404,), (1339770405,), (1339770430,), (1339770432,), (1339770438,), (1339770440,), (1339770442,), (1339770463,), (1339770466,), (1339770469,), (1339770471,), (1339770473,), (1339770524,), (1339770529,), (1339770537,), (1339770540,), (1339770545,), (1339770613,), (1339770616,), (1339770619,), (1339770627,), (1339770639,), (1339770687,), (1339770691,), (1339770695,), (1339770698,), (1339770709,), (1339770718,), (1339770741,), (1339770745,), (1339770754,), (1339770803,), (1339770794,), (1339770798,), (1339770801,), (1339770850,), (1339770852,), (1339770854,), (1339770887,), (1339770895,), (1339770898,), (1339770918,), (1339770921,), (1339770922,), (1339770924,), (1339770993,), (1339771053,), (1339771059,), (1339771154,), (1339771160,), (1339771162,), (1339771165,), (1339771167,), (1339771169,), (1339771243,), (1339771245,), (1339771251,), (1339771280,), (1339771286,), (1339771294,), (1339771296,), (1339771298,), (1339771300,), (1339771338,), (1339771342,), (1339771345,), (1339771348,), (1339771351,), (1339772117,), (1339772121,), (1339772228,), (1339772232,), (1339772236,), (1339772241,), (1339772542,), (1339772578,), (1339772620,), (1339772637,), (1339772642,), (1339772651,), (1339772924,), (1339772927,), (1339772931,), (1339772934,), (1339773328,), (1339773333,), (1339773336,), (1339773337,), (1339773339,), (1339773341,), (1339773377,), (1339773363,), (1339773371,), (1339773374,), (1339773376,), (1339773399,), (1339773403,), (1339773405,), (1339773487,), (1339773491,), (1339773492,), (1339773494,), (1339773495,), (1339773496,), (1339773515,), (1339773518,), (1339773521,), (1339773523,), (1339773524,), (1339774040,), (1339774047,), (1339774051,), (1339774112,), (1339774145,), (1339774256,), (1339774260,), (1339774262,), (1339774264,), (1339774266,), (1339774272,), (1339774308,), (1339774311,), (1339774315,), (1339774319,), (1339774322,), (1339774341,), (1339774344,), (1339774347,), (1339774350,), (1339774352,), (1339774356,), (1339774372,), (1339774378,), (1339774382,), (1339774386,), (1339774447,), (1339774454,), (1339774462,), (1339774464,), (1339774473,), (1339774500,), (1339774504,), (1339774507,), (1339774510,), (1339774512,), (1339774514,), (1339774529,), (1339774533,), (1339774536,), (1339774594,), (1339774598,), (1339774602,), (1339774610,), (1339774612,), (1339774614,), (1339774628,), (1339774633,), (1339774636,), (1339774641,), (1339774648,), (1339774653,), (1339774669,), (1339774673,), (1339774678,), (1339774683,), (1339774724,), (1339774700,), (1339774705,), (1339774713,), (1339774718,), (1339774721,), (1339775048,), (1339775053,), (1339775055,), (1339775068,), (1339775177,), (1339775312,), (1339775429,), (1339775542,), (1339775553,), (1339775568,), (1339775724,), (1339775766,), (1339775770,), (1339775773,), (1339775776,), (1339775778,), (1339775793,), (1339775798,), (1339775803,), (1339775806,), (1339775810,), (1339775834,), (1339775839,), (1339775842,), (1339775846,), (1339775850,), (1339775860,), (1339776210,), (1339776440,), (1339776444,), (1339776449,), (1339776468,), (1339776478,), (1339776482,), (1339776486,), (1339776490,), (1339776494,), (1339776538,), (1339776542,), (1339776546,), (1339776550,), (1339776556,), (1339776698,), (1339776708,), (1339776719,), (1339776723,), (1339776726,), (1339776760,), (1339776793,), (1339776798,), (1339776803,), (1339776810,), (1339776815,), (1339777583,), (1339777677,), (1339777789,), (1339777878,), (1339777960,), (1339777981,), (1339777998,), (1339778001,), (1339778039,), (1339778150,), (1339778153,), (1339778180,), (1339778184,), (1339778188,), (1339778191,), (1339778192,), (1339778193,), (1339778217,), (1339778222,), (1339778225,), (1339778230,), (1339778273,), (1339778260,), (1339778264,), (1339778267,), (1339778270,), (1339778272,), (1339778301,), (1339778305,), (1339778308,), (1339778311,), (1339778313,), (1339778339,), (1339778344,), (1339778347,), (1339778351,), (1339778354,), (1339778356,), (1339778372,), (1339778384,), (1339778390,), (1339778396,), (1339778417,), (1339778422,), (1339778426,), (1339778474,), (1339778477,), (1339778479,), (1339778492,), (1339778497,), (1339778517,), (1339778532,), (1339778587,), (1339778597,), (1339778602,), (1339778606,), (1339778608,), (1339778611,), (1339778635,), (1339778641,), (1339778646,), (1339778654,), (1339778659,), (1339778660,), (1339778686,), (1339778691,), (1339778696,), (1339778701,), (1339778706,), (1339778774,), (1339778782,), (1339778818,), (1339779121,), (1339779413,), (1339779658,), (1339779663,), (1339779666,), (1339779670,), (1339779979,), (1339780250,), (1339780300,), (1339780322,), (1339780331,), (1339780510,), (1339780517,), (1339780522,), (1339780531,), (1339780539,), (1339780544,), (1339780574,), (1339780581,), (1339780589,), (1339780595,), (1339781017,), (1339781022,), (1339781030,), (1339781044,), (1339781059,), (1339781060,), (1339781087,), (1339781079,), (1339781083,), (1339781220,), (1339781225,), (1339781229,), (1339781233,), (1339781252,), (1339781256,), (1339781276,), (1339781280,), (1339781282,), (1339781283,), (1339781353,), (1339781357,), (1339781361,), (1339781364,), (1339781412,), (1339781422,), (1339781448,), (1339781463,), (1339781465,), (1339781480,), (1339781549,), (1339781552,), (1339781555,), (1339781558,), (1339781611,), (1339781614,), (1339781618,), (1339781622,), (1339781626,), (1339781628,), (1339781649,), (1339781652,), (1339781655,), (1339781656,), (1339781657,), (1339781679,), (1339781682,), (1339781684,), (1339781687,), (1339781691,), (1339781695,), (1339781744,), (1339781753,), (1339781758,), (1339781767,), (1339781806,), (1339781809,), (1339781877,), (1339781945,), (1339781948,), (1339781951,), (1339781971,), (1339781974,), (1339781991,), (1339781995,), (1339782032,), (1339782040,), (1339782043,), (1339782045,), (1339782095,), (1339782096,), (1339782181,), (1339782184,), (1339782187,), (1339782191,), (1339782200,), (1339782203,), (1339782278,), (1339782266,), (1339782269,), (1339782273,), (1339782275,), (1339782298,), (1339782303,), (1339782308,), (1339782312,), (1339782325,), (1339782330,), (1339782335,), (1339782339,), (1339782357,), (1339782362,), (1339782367,), (1339782373,), (1339782394,), (1339782486,), (1339783120,), (1339783169,), (1339783197,), (1339783332,), (1339783340,), (1339783359,), (1339783362,), (1339783365,), (1339783366,), (1339783525,), (1339783535,), (1339783540,), (1339783544,), (1339783548,), (1339783602,), (1339783605,), (1339783608,), (1339783614,), (1339783701,), (1339783714,), (1339783728,), (1339783735,), (1339783738,), (1339783741,), (1339783778,), (1339783784,), (1339783792,), (1339783796,), (1339783800,), (1339783840,), (1339783848,), (1339783852,), (1339783856,), (1339783864,), (1339783866,), (1339783880,), (1339783884,), (1339783888,), (1339783892,), (1339783911,), (1339783917,), (1339783921,), (1339783925,), (1339783929,), (1339783933,), (1339783960,), (1339783968,), (1339783978,), (1339783984,), (1339784006,), (1339784013,), (1339784017,), (1339784022,), (1339784025,), (1339784029,), (1339784077,), (1339784045,), (1339784059,), (1339784068,), (1339784072,), (1339784313,), (1339784317,), (1339784348,), (1339784352,), (1339784379,), (1339784383,), (1339784387,), (1339784396,), (1339784402,), (1339784405,), (1339784429,), (1339784440,), (1339784449,), (1339784453,), (1339784502,), (1339784511,), (1339784514,), (1339784519,), (1339784524,), (1339784527,), (1339784570,), (1339784576,), (1339784580,), (1339784715,), (1339784722,), (1339784729,), (1339784733,), (1339784736,), (1339784739,), (1339784763,), (1339784776,), (1339784785,), (1339784789,), (1339784794,), (1339784797,), (1339784819,), (1339784824,), (1339784833,), (1339784837,), (1339784856,), (1339784860,), (1339784865,), (1339784876,), (1339784883,), (1339784886,), (1339784912,), (1339784917,), (1339784928,), (1339784936,), (1339784947,), (1339784976,), (1339784981,), (1339784984,), (1339785002,), (1339785005,), (1339785009,), (1339785041,), (1339785045,), (1339785049,), (1339785071,), (1339785073,), (1339785099,), (1339785103,), (1339785107,), (1339785112,), (1339785119,), (1339785126,), (1339785165,), (1339785171,), (1339785177,), (1339785181,), (1339785260,), (1339785236,), (1339785241,), (1339785245,), (1339785254,), (1339785273,), (1339785278,), (1339785282,), (1339785287,), (1339785296,), (1339785303,), (1339785321,), (1339785325,), (1339785328,), (1339785332,), (1339785635,), (1339785644,), (1339785652,), (1339785657,), (1339785659,), (1339785662,), (1339785765,), (1339785769,), (1339785773,), (1339785778,), (1339786519,), (1339786529,), (1339786569,), (1339786582,), (1339786639,), (1339786642,), (1339786661,), (1339786667,), (1339786672,), (1339786675,), (1339786705,), (1339786724,), (1339786740,), (1339786744,), (1339786748,), (1339786762,), (1339786814,), (1339786822,), (1339786828,), (1339786833,), (1339786835,), (1339786859,), (1339786864,), (1339786869,), (1339786873,), (1339786875,), (1339786971,), (1339792052,), (1339792047,), (1339792076,), (1339792082,), (1339792147,), (1339792553,), (1339793533,), (1339793538,), (1339793544,), (1339793549,), (1339793554,), (1339793614,), (1339793619,), (1339793632,), (1339793636,), (1339793640,), (1339793716,), (1339793802,), (1339793843,), (1339793916,), (1339793978,), (1339794220,), (1339794250,), (1339794261,), (1339794285,), (1339794295,), (1339794299,), (1339794324,), (1339794330,), (1339794334,), (1339794338,), (1339794359,), (1339794390,), (1339794396,), (1339794401,), (1339794406,), (1339794481,), (1339794487,), (1339794493,), (1339794499,), (1339794588,), (1339794613,), (1339794641,), (1339794646,), (1339794650,), (1339794688,), (1339794692,), (1339794696,), (1339794700,), (1339794721,), (1339794873,), (1339794876,), (1339794880,), (1339794881,), (1339794912,), (1339795201,), (1339795435,), (1339795439,), (1339795501,), (1339795505,), (1339795509,), (1339795513,), (1339795556,), (1339795577,), (1339795807,), (1339795813,), (1339796107,), (1339796116,), (1339796212,), (1339796218,), (1339796223,), (1339796255,), (1339796260,), (1339796341,), (1339796350,), (1339796356,), (1339796359,), (1339796444,), (1339796449,), (1339796484,), (1339796524,), (1339796617,), (1339796773,), (1339796727,), (1339796843,), (1339796854,), (1339796859,), (1339796882,), (1339796889,), (1339796894,), (1339796919,), (1339796926,), (1339796955,), (1339796961,), (1339797001,), (1339797014,), (1339797865,), (1339797872,), (1339797884,), (1339797890,), (1339797968,), (1339798413,), (1339798419,), (1339798556,), (1339798560,), (1339798882,), (1339798887,), (1339798891,), (1339798895,), (1339798940,), (1339798971,), (1339799762,), (1339799796,), (1339800020,), (1339800015,), (1339800065,), (1339800075,), (1339800309,), (1339800313,), (1339800506,), (1339800517,), (1339800520,), (1339800545,), (1339800551,), (1339800603,), (1339800757,), (1339800790,), (1339800795,), (1339800799,), (1339800802,), (1339800804,), (1339800814,), (1339800818,), (1339800842,), (1339800846,), (1339800851,), (1339800864,), (1339800868,), (1339800872,), (1339800881,), (1339800912,), (1339800916,), (1339801078,), (1339801128,), (1339801136,), (1339801146,), (1339801192,), (1339801199,), (1339801201,), (1339801236,), (1339801243,), (1339801254,), (1339801272,), (1339801268,), (1339801308,), (1339801311,), (1339801353,), (1339801457,), (1339801466,), (1339801471,), (1339802077,), (1339802135,), (1339802346,), (1339802383,), (1339802395,), (1339802814,), (1339802850,), (1339802876,), (1339802933,), (1339802938,), (1339802963,), (1339803011,), (1339803035,), (1339803066,), (1339803071,), (1339803075,), (1339803079,), (1339803082,), (1339803250,), (1339803253,), (1339803259,), (1339803264,), (1339803289,), (1339803279,), (1339803285,), (1339803311,), (1339803317,), (1339803322,), (1339803348,), (1339803353,), (1339803391,), (1339803395,), (1339803402,), (1339803490,), (1339803529,), (1339803645,), (1339803648,), (1339803651,), (1339803654,), (1339803656,), (1339803695,), (1339803699,), (1339803741,), (1339803745,), (1339804561,), (1339804677,), (1339804682,), (1339804687,), (1339804718,), (1339804840,), (1339805087,), (1339805100,), (1339805227,), (1339805239,), (1339805247,), (1339805562,), (1339805568,), (1339805599,), (1339805603,), (1339805607,), (1339805846,), (1339805690,), (1339805789,), (1339805841,), (1339806026,), (1339806030,), (1339806086,), (1339806090,), (1339806111,), (1339806115,), (1339806118,), (1339806160,), (1339806163,), (1339806231,), (1339806246,), (1339806260,), (1339806341,), (1339806346,), (1339806380,), (1339806387,), (1339806406,), (1339806438,), (1339806493,), (1339806623,), (1339806627,), (1339806645,), (1339806649,), (1339806654,), (1339806703,), (1339806706,), (1339806710,), (1339806714,), (1339806783,), (1339806787,), (1339806790,), (1339806956,), (1339806856,), (1339806860,), (1339806937,), (1339807188,), (1339807192,), (1339807211,), (1339807220,), (1339807277,), (1339807283,), (1339807285,), (1339807301,), (1339807927,), (1339807931,), (1339808167,), (1339808171,), (1339808357,), (1339808368,), (1339808409,), (1339808414,), (1339808417,), (1339808500,), (1339808518,), (1339808608,), (1339808611,), (1339808614,), (1339808656,), (1339808741,), (1339808860,), (1339808863,), (1339808967,), (1339809470,), (1339809475,), (1339809572,), (1339809576,), (1339809596,), (1339809601,), (1339809606,), (1339809610,), (1339809667,), (1339809671,), (1339809675,), (1339809698,), (1339809704,), (1339809708,), (1339809873,), (1339809889,), (1339809892,), (1339810233,), (1339810327,), (1339810340,), (1339810526,), (1339810528,), (1339810551,), (1339810555,), (1339810559,), (1339810562,), (1339810566,), (1339810632,), (1339810636,), (1339810660,), (1339810666,), (1339810671,), (1339810725,), (1339810732,), (1339810737,), (1339811339,), (1339811436,), (1339811730,), (1339811766,), (1339811839,), (1339811861,), (1339811868,), (1339812022,), (1339812006,), (1339812011,), (1339812277,), (1339813179,), (1339813183,), (1339814285,), (1339814291,), (1339814296,), (1339814390,), (1339814707,), (1339814761,), (1339814766,), (1339814986,), (1339815181,), (1339815187,), (1339815192,), (1339815232,), (1339815236,), (1339815240,), (1339815244,), (1339815296,), (1339815301,), (1339815305,), (1339815308,), (1339815380,), (1339816097,), (1339816103,), (1339816345,), (1339816395,), (1339816483,), (1339816487,), (1339816672,), (1339816666,), (1339816874,), (1339816886,), (1339816944,), (1339817074,), (1339817076,), (1339817079,), (1339817118,), (1339817121,), (1339817124,), (1339817127,), (1339817130,), (1339817153,), (1339817157,), (1339817163,), (1339817165,), (1339817208,), (1339817216,), (1339817222,), (1339817225,), (1339817228,), (1339817230,), (1339817250,), (1339817255,), (1339817259,), (1339817293,), (1339817308,), (1339817312,), (1339817315,), (1339817318,), (1339817319,), (1339817337,), (1339817347,), (1339817352,), (1339817356,), (1339817366,), (1339817411,), (1339817424,), (1339817436,), (1339817438,), (1339817549,), (1339817564,), (1339817573,), (1339817592,), (1339817593,), (1339817599,), (1339817630,), (1339817634,), (1339817639,), (1339817643,), (1339817676,), (1339817689,), (1339817692,), (1339817722,), (1339817725,), (1339817727,), (1339817731,), (1339817734,), (1339817744,), (1339817747,), (1339817749,), (1339817758,), (1339817830,), (1339817929,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'26022025': {'nb_upload': 36, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([20846799]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] map_info['map_portfolio_photo'] : {20846799: [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120]} final : True mtd_id 4302 list_pids : [1339756218, 1339751830, 1339751662, 1339751657, 1339751653, 1339751459, 1339751451, 1339751442, 1339751386, 1339751348, 1339751318, 1339751260, 1339751232, 1339751229, 1339751225, 1339751219, 1339751211, 1339751161, 1339751157, 1339751153, 1339751147, 1339750564, 1339750517, 1339750508, 1339750504, 1339750447, 1339750443, 1339750435, 1339750432, 1339750429, 1339750410, 1339750406, 1339750402, 1339750129, 1339750124, 1339750120] Looping around the photos to save general results len do output : 1 /20846799Didn't retrieve data . before output type Here is an output not treated by saveGeneral : Managing all output in save final without adding information in the mtr_datou_result ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763') ('4302', None, None, None, None, None, None, None, '2618763') ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '20846799', 'None', None, None, None, None, '2618763'), ('4302', '20846799', '1339756218', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751830', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751662', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751657', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751653', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751459', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751451', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751442', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751386', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751348', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751318', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751260', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751232', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751229', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751225', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751219', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751211', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751161', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751157', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751153', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339751147', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750564', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750517', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750508', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750504', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750447', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750443', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750435', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750432', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750429', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750410', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750406', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750402', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750129', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750124', None, None, None, None, None, '2618763'), ('4302', '20846799', '1339750120', None, None, None, None, None, '2618763')] time used for this insertion : 0.022440671920776367 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.025883913040161 time spend to save output : 0.022804975509643555 total time spend for step 5 : 5.048688888549805 caffe_path_current : About to save ! 2 After save, about to update current ! ret : 2 len(input) + len(total_photo_id_missing) : 1 set_done_treatment DELETE from MTRPhoto.mtr_datou_current where id in (2618763) 3.05user 2.57system 0:22.66elapsed 24%CPU (0avgtext+0avgdata 167156maxresident)k 352inputs+32888outputs (1major+78963minor)pagefaults 0swaps