python /home/admin/mtr/script_for_cron.py -j datou_current3 -m 20 -a ' -a 4302 -v ' -s datou_current_4302 -M 0 -S 0 -U 95,95,120 import MySQLdb succeeded Import error (python version) ['/Users/moilerat/Documents/Fotonower/install/caffe/distribute/python', '/home/admin/workarea/git/Velours/python/prod', '/home/admin/workarea/install/caffe_cuda8_python3/python', '/home/admin/workarea/install/darknet', '/home/admin/workarea/git/Velours/python', '/home/admin/workarea/install/caffe_frcnn_python3/py-faster-rcnn/caffe-fast-rcnn/python', '/home/admin/mtr/.credentials', '/home/admin/workarea/install/caffe/python', '/home/admin/workarea/install/caffe_frcnn/py-faster-rcnn/tools', '/home/admin/workarea/git/fotonowerpip', '/home/admin/workarea/install/segment-anything', '/home/admin/workarea/git/pyfvs', '/usr/lib/python38.zip', '/usr/lib/python3.8', '/usr/lib/python3.8/lib-dynload', '/home/admin/.local/lib/python3.8/site-packages', '/usr/local/lib/python3.8/dist-packages', '/usr/lib/python3/dist-packages'] Namespace(auto=False, cert_args='/home/fotonower/https/cert.pem', contextDataFile='', custom_size=0, database='', datou_id='4302', datou_id_excluded='', fifo=False, host='', is_cpu_mode=False, job='batch_current', json_args='', key_args='/home/fotonower/https/vision.fotonower.com.key', limit=1000, list_photo_ids='', local='', mtr_current_id=0, mtr_portfolio_ids='', nb_thread=1, no_current=False, offset=0, only_client=False, output_file='', password='', port=5100, rand=0, save=2, use_client=False, user_id=440, username='', verbose=True) process id : 2976867 load datou : 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 ! Unexpected type seems boolean for variable list_input_json ERROR or WARNING : can't parse json string Expecting value: line 1 column 1 (char 0) Tried to parse : None was removed should we ? donnée sous forme de texte was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? id de la photo (peut être local ou global) was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de nombre was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? (photo_id, hashtag_id, score_max) was removed should we ? donnée sous forme de texte was removed should we ? None was removed should we ? donnée sous forme de texte was removed should we ? [ptf_id0,ptf_id1...] was removed should we ? load thcls load pdts Running datou job : batch_current 4302 [] TODO datou_current to load to do maybe to take outside batchDatouExec SELECT * from MTRPhoto.mtr_datou_current where state = 0 AND mtr_portfolio_id is not NULL AND mtd_id = 4302 order by created_at desc LIMIT 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4233575) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (4233575) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449917 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['4233575'] with mtr_portfolio_ids : ['29449917'] and first list_photo_ids : [] new path : /proc/2976867/ Name: python3 Umask: 0002 State: R (running) Tgid: 2976867 Ngid: 0 Pid: 2976867 PPid: 2976866 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2976867 NSpid: 2976867 NSpgid: 2976368 NSsid: 2976368 VmPeak: 1113372 kB VmSize: 1113372 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 105224 kB VmRSS: 105224 kB RssAnon: 66308 kB RssFile: 38916 kB RssShmem: 0 kB VmData: 872100 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130476 kB VmPTE: 608 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 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: 130 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2976867', 'Ngid': '0', 'Pid': '2976867', 'PPid': '2976866', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2976867', 'NSpid': '2976867', 'NSpgid': '2976368', 'NSsid': '2976368', 'VmPeak': '1113372 kB', 'VmSize': '1113372 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '105224 kB', 'VmRSS': '105224 kB', 'RssAnon': '66308 kB', 'RssFile': '38916 kB', 'RssShmem': '0 kB', 'VmData': '872100 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130476 kB', 'VmPTE': '608 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', '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': '130'} ('datou_batch_current', '2976867', '1113372', '0', '1113372', '872100', '105224', b'', 'marlene', '4233575') 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_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (29449917) 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 (4233575 ) ) 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 (29449917) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1399570077, 'portfolio_id': 29449917}, {'photo_id': 1399569457, 'portfolio_id': 29449917}, {'photo_id': 1399569391, 'portfolio_id': 29449917}, {'photo_id': 1399569321, 'portfolio_id': 29449917}, {'photo_id': 1399569256, 'portfolio_id': 29449917}, {'photo_id': 1399569051, 'portfolio_id': 29449917}, {'photo_id': 1399569008, 'portfolio_id': 29449917}, {'photo_id': 1399568978, 'portfolio_id': 29449917}, {'photo_id': 1399568678, 'portfolio_id': 29449917}, {'photo_id': 1399568649, 'portfolio_id': 29449917}, {'photo_id': 1399567888, 'portfolio_id': 29449917}, {'photo_id': 1399567886, 'portfolio_id': 29449917}, {'photo_id': 1399567871, 'portfolio_id': 29449917}, {'photo_id': 1399567870, 'portfolio_id': 29449917}, {'photo_id': 1399567867, 'portfolio_id': 29449917}, {'photo_id': 1399567846, 'portfolio_id': 29449917}, {'photo_id': 1399567845, 'portfolio_id': 29449917}, {'photo_id': 1399567716, 'portfolio_id': 29449917}, {'photo_id': 1399567684, 'portfolio_id': 29449917}, {'photo_id': 1399567653, 'portfolio_id': 29449917}, {'photo_id': 1399567621, 'portfolio_id': 29449917}, {'photo_id': 1399567606, 'portfolio_id': 29449917}, {'photo_id': 1399567603, 'portfolio_id': 29449917}, {'photo_id': 1399567602, 'portfolio_id': 29449917}, {'photo_id': 1399567601, 'portfolio_id': 29449917}, {'photo_id': 1399567600, 'portfolio_id': 29449917}, {'photo_id': 1399567599, 'portfolio_id': 29449917}, {'photo_id': 1399567581, 'portfolio_id': 29449917}, {'photo_id': 1399567580, 'portfolio_id': 29449917}, {'photo_id': 1399567579, 'portfolio_id': 29449917}, {'photo_id': 1399567446, 'portfolio_id': 29449917}, {'photo_id': 1399567406, 'portfolio_id': 29449917}, {'photo_id': 1399567373, 'portfolio_id': 29449917}, {'photo_id': 1399567336, 'portfolio_id': 29449917}, {'photo_id': 1399567187, 'portfolio_id': 29449917}, {'photo_id': 1399567156, 'portfolio_id': 29449917}, {'photo_id': 1399567125, 'portfolio_id': 29449917}, {'photo_id': 1399567088, 'portfolio_id': 29449917}] map_portfolio_id_photo_id: {29449917: [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088]} ##### 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.01917123794555664 #### 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 Tue Dec 16 06:09:28 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 (29449917) 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 : 29449917 get user id for portfolio 29449917 get sub ptf for main ptf 29449917, type 3726 and hashtags ['Carton_brun', 'papier', 'autre_refus', 'Teint_Dans_La_Masse', 'kraft', 'environnement', 'plastique', 'flou', 'Carton_gris', 'mal_croppe', 'metal', 'cartonnette'] 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`=29449917 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','autre_refus','Teint_Dans_La_Masse','kraft','environnement','plastique','flou','Carton_gris','mal_croppe','metal','cartonnette')) 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`=29449917 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','autre_refus','Teint_Dans_La_Masse','kraft','environnement','plastique','flou','Carton_gris','mal_croppe','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29449917, 'sub_port_id': 29449925, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072924, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'Carton_brun': {'main_port_id': 29449917, 'sub_port_id': 29449926, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072925, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'environnement': {'main_port_id': 29449917, 'sub_port_id': 29449927, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072926, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'metal': {'main_port_id': 29449917, 'sub_port_id': 29449928, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072927, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'plastique': {'main_port_id': 29449917, 'sub_port_id': 29449930, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072928, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'cartonnette': {'main_port_id': 29449917, 'sub_port_id': 29449931, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072929, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'flou': {'main_port_id': 29449917, 'sub_port_id': 29449932, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072930, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'Teint_Dans_La_Masse': {'main_port_id': 29449917, 'sub_port_id': 29449933, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072931, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'mal_croppe': {'main_port_id': 29449917, 'sub_port_id': 29449934, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072932, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'papier': {'main_port_id': 29449917, 'sub_port_id': 29449935, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072933, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'autre_refus': {'main_port_id': 29449917, 'sub_port_id': 29449936, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072934, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}, 'Carton_gris': {'main_port_id': 29449917, 'sub_port_id': 29449937, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072935, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 29)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449925 , 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=29449917 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 (29449925) result : ((1399567860,), (1399568883,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449926 , 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=29449917 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 (29449926) result : ((1399567856,), (1399567857,), (1399567866,), (1399568974,), (1399581243,), (1399581532,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449927 , 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=29449917 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 (29449927) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449928 , 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=29449917 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 (29449928) result : ((1399568977,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449930 , 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=29449917 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 (29449930) result : ((1399567858,), (1399568975,), (1399568976,), (1399581245,), (1399581246,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449931 , 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=29449917 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 (29449931) result : ((1399567855,), (1399567865,), (1399581242,), (1399581529,), (1399581530,), (1399581531,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449932 , 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=29449917 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 (29449932) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449933 , 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=29449917 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 (29449933) result : ((1399567841,), (1399567863,), (1399568966,), (1399568967,), (1399568968,), (1399568969,), (1399568970,), (1399581238,), (1399581512,), (1399581513,), (1399581567,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449934 , 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=29449917 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 (29449934) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449935 , 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=29449917 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 (29449935) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449936 , 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=29449917 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 (29449936) result : ((1399567854,), (1399568876,), (1399568878,), (1399568971,), (1399581515,), (1399581516,), (1399581517,), (1399581518,), (1399581519,), (1399581520,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 29449937 , 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=29449917 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 (29449937) result : ((1399567864,), (1399568972,), (1399568973,), (1399581240,), (1399581241,), (1399581524,), (1399581525,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (29449917) result : ((1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) 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 (1399567600) and cspi.crop_hashtag_id = chi.id; 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`=29449917 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','autre_refus','Teint_Dans_La_Masse','kraft','environnement','plastique','flou','Carton_gris','mal_croppe','metal','cartonnette')) 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`=29449917 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('Carton_brun','papier','autre_refus','Teint_Dans_La_Masse','kraft','environnement','plastique','flou','Carton_gris','mal_croppe','metal','cartonnette')) AND mptpi.`min_score`=0.5 To do returned map {'kraft': {'main_port_id': 29449917, 'sub_port_id': 29449950, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072948, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'Carton_brun': {'main_port_id': 29449917, 'sub_port_id': 29449951, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072949, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'environnement': {'main_port_id': 29449917, 'sub_port_id': 29449952, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072950, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'metal': {'main_port_id': 29449917, 'sub_port_id': 29449953, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072951, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'plastique': {'main_port_id': 29449917, 'sub_port_id': 29449954, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072952, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'cartonnette': {'main_port_id': 29449917, 'sub_port_id': 29449955, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072953, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'flou': {'main_port_id': 29449917, 'sub_port_id': 29449956, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072954, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'Teint_Dans_La_Masse': {'main_port_id': 29449917, 'sub_port_id': 29449957, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072955, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'mal_croppe': {'main_port_id': 29449917, 'sub_port_id': 29449958, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072956, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'papier': {'main_port_id': 29449917, 'sub_port_id': 29449959, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072957, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'autre_refus': {'main_port_id': 29449917, 'sub_port_id': 29449961, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072958, 'last_updated_at': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_desc': datetime.datetime(2025, 12, 15, 23, 49, 35), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}, 'Carton_gris': {'main_port_id': 29449917, 'sub_port_id': 29449962, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 20072959, 'last_updated_at': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_desc': datetime.datetime(2025, 12, 16, 1, 0, 59), 'last_updated_at_asc': datetime.datetime(2025, 12, 15, 23, 49, 35)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449950,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449925 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449951,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449926 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449952,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449927 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449953,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449928 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449954,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449930 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449955,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449931 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449956,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449932 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449957,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449933 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449958,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449934 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449959,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449935 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449961,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449936 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 29449962,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 29449937 lien utilise dans velours : https://marlene.fotonower.com/velours/29449950,29449951,29449952,29449953,29449954,29449955,29449956,29449957,29449958,29449959,29449961,29449962?tags=kraft,Carton_brun,environnement,metal,plastique,cartonnette,flou,Teint_Dans_La_Masse,mal_croppe,papier,autre_refus,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29449917]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] map_info['map_portfolio_photo'] : {29449917: [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088]} final : False mtd_id 4302 list_pids : [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] Looping around the photos to save general results len do output : 1 /29449917. 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, '4233575') ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29449917', "{'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937}", None, None, None, None, '4233575'), ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575')] time used for this insertion : 0.020527124404907227 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.5774075984954834 time spend to save output : 0.02101445198059082 total time spend for step 1 : 0.5984220504760742 step2:final Tue Dec 16 06:09:29 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 (29449917) 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 29449917 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1399567187,1399567156,1399567125,1399567088,1399567446,1399567406,1399567373,1399567336,1399567581,1399567580,1399567579,1399567606,1399567603,1399567602,1399567601,1399567600,1399567599,1399567716,1399567684,1399567653,1399567621,1399567846,1399567845,1399567871,1399567888,1399567870,1399567886,1399568678,1399567867,1399568649,1399569051,1399569008,1399568978,1399569457,1399569391,1399569321,1399569256,1399570077); 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([29449917]) Inside saveOutput : final : False verbose : True original output for save of step final : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} new output for save of step final : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] map_info['map_portfolio_photo'] : {29449917: [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088]} final : False mtd_id 4302 list_pids : [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] Looping around the photos to save general results len do output : 38 /1399570077.Didn't retrieve data . /1399569457.Didn't retrieve data . /1399569391.Didn't retrieve data . /1399569321.Didn't retrieve data . /1399569256.Didn't retrieve data . /1399569051.Didn't retrieve data . /1399569008.Didn't retrieve data . /1399568978.Didn't retrieve data . /1399568678.Didn't retrieve data . /1399568649.Didn't retrieve data . /1399567888.Didn't retrieve data . /1399567886.Didn't retrieve data . /1399567871.Didn't retrieve data . /1399567870.Didn't retrieve data . /1399567867.Didn't retrieve data . /1399567846.Didn't retrieve data . /1399567845.Didn't retrieve data . /1399567716.Didn't retrieve data . /1399567684.Didn't retrieve data . /1399567653.Didn't retrieve data . /1399567621.Didn't retrieve data . /1399567606.Didn't retrieve data . /1399567603.Didn't retrieve data . /1399567602.Didn't retrieve data . /1399567601.Didn't retrieve data . /1399567600.Didn't retrieve data . /1399567599.Didn't retrieve data . /1399567581.Didn't retrieve data . /1399567580.Didn't retrieve data . /1399567579.Didn't retrieve data . /1399567446.Didn't retrieve data . /1399567406.Didn't retrieve data . /1399567373.Didn't retrieve data . /1399567336.Didn't retrieve data . /1399567187.Didn't retrieve data . /1399567156.Didn't retrieve data . /1399567125.Didn't retrieve data . /1399567088.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, '4233575') ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 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', '29449917', '1399570077', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569457', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569391', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569321', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569256', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569051', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399569008', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399568978', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399568678', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399568649', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567888', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567886', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567871', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567870', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567867', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567846', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567845', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567716', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567684', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567653', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567621', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567606', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567603', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567602', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567601', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567600', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567599', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567581', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567580', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567579', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567446', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567406', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567373', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567336', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567187', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567156', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567125', '0.052290533523158836', None, None, None, None, '4233575'), ('4302', '29449917', '1399567088', '0.052290533523158836', None, None, None, None, '4233575')] time used for this insertion : 0.019475936889648438 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.08002543449401855 time spend to save output : 0.020934581756591797 total time spend for step 2 : 0.10096001625061035 step3:velours_tree Tue Dec 16 06:09:29 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 : {29449917: [{'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937}]} input_args_next_step : {29449917: ()} output_args : {29449917: [{'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937}]} args : 29449917 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 : ({'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29449917) 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([29449917]) 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.24134087562561035 time spend to save output : 3.933906555175781e-05 total time spend for step 3 : 0.2413802146911621 step4:send_mail_cod Tue Dec 16 06:09:29 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 : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} input_args_next_step : {1399570077: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399570077 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569457 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569391 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569321 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569256 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569051 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399569008 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399568978 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399568678 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399568649 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567888 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567886 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567871 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567870 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567867 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567846 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567845 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567716 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567684 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567653 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567621 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567606 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567603 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567602 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567601 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567600 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567599 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567581 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567580 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567579 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567446 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567406 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567373 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567336 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567187 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567156 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567125 depend.output_id : 0 input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ()} output_args : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',)} args : 1399567088 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 : {29449917: [{'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937}]} input_args_next_step : {1399570077: ('0.052290533523158836',), 1399569457: ('0.052290533523158836',), 1399569391: ('0.052290533523158836',), 1399569321: ('0.052290533523158836',), 1399569256: ('0.052290533523158836',), 1399569051: ('0.052290533523158836',), 1399569008: ('0.052290533523158836',), 1399568978: ('0.052290533523158836',), 1399568678: ('0.052290533523158836',), 1399568649: ('0.052290533523158836',), 1399567888: ('0.052290533523158836',), 1399567886: ('0.052290533523158836',), 1399567871: ('0.052290533523158836',), 1399567870: ('0.052290533523158836',), 1399567867: ('0.052290533523158836',), 1399567846: ('0.052290533523158836',), 1399567845: ('0.052290533523158836',), 1399567716: ('0.052290533523158836',), 1399567684: ('0.052290533523158836',), 1399567653: ('0.052290533523158836',), 1399567621: ('0.052290533523158836',), 1399567606: ('0.052290533523158836',), 1399567603: ('0.052290533523158836',), 1399567602: ('0.052290533523158836',), 1399567601: ('0.052290533523158836',), 1399567600: ('0.052290533523158836',), 1399567599: ('0.052290533523158836',), 1399567581: ('0.052290533523158836',), 1399567580: ('0.052290533523158836',), 1399567579: ('0.052290533523158836',), 1399567446: ('0.052290533523158836',), 1399567406: ('0.052290533523158836',), 1399567373: ('0.052290533523158836',), 1399567336: ('0.052290533523158836',), 1399567187: ('0.052290533523158836',), 1399567156: ('0.052290533523158836',), 1399567125: ('0.052290533523158836',), 1399567088: ('0.052290533523158836',), 29449917: ()} output_args : {29449917: [{'kraft': 29449925, 'Carton_brun': 29449926, 'environnement': 29449927, 'metal': 29449928, 'plastique': 29449930, 'cartonnette': 29449931, 'flou': 29449932, 'Teint_Dans_La_Masse': 29449933, 'mal_croppe': 29449934, 'papier': 29449935, 'autre_refus': 29449936, 'Carton_gris': 29449937}]} args : 29449917 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 :39, first value : ('0.052290533523158836',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29449917) 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_view ph WHERE photo_id IN (1399570077,1399569457,1399569391,1399569321,1399569256,1399569051,1399569008,1399568978,1399568678,1399568649,1399567888,1399567886,1399567871,1399567870,1399567867,1399567846,1399567845,1399567716,1399567684,1399567653,1399567621,1399567606,1399567603,1399567602,1399567601,1399567600,1399567599,1399567581,1399567580,1399567579,1399567446,1399567406,1399567373,1399567336,1399567187,1399567156,1399567125,1399567088) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1399567088 begin to download photo : 1399567579 begin to download photo : 1399567606 begin to download photo : 1399567870 begin to download photo : 1399569051 download finish for photo 1399567088 begin to download photo : 1399567125 download finish for photo 1399569051 begin to download photo : 1399569256 download finish for photo 1399567606 begin to download photo : 1399567621 download finish for photo 1399567579 begin to download photo : 1399567580 download finish for photo 1399567870 begin to download photo : 1399567871 download finish for photo 1399567125 begin to download photo : 1399567156 download finish for photo 1399567871 begin to download photo : 1399567886 download finish for photo 1399569256 begin to download photo : 1399569321 download finish for photo 1399567580 begin to download photo : 1399567581 download finish for photo 1399567621 begin to download photo : 1399567653 download finish for photo 1399567156 begin to download photo : 1399567187 download finish for photo 1399567886 begin to download photo : 1399567888 download finish for photo 1399569321 begin to download photo : 1399569391 download finish for photo 1399567581 begin to download photo : 1399567599 download finish for photo 1399567653 begin to download photo : 1399567684 download finish for photo 1399567187 begin to download photo : 1399567336 download finish for photo 1399567888 begin to download photo : 1399568649 download finish for photo 1399569391 begin to download photo : 1399569457 download finish for photo 1399567599 begin to download photo : 1399567600 download finish for photo 1399567684 begin to download photo : 1399567716 download finish for photo 1399567336 begin to download photo : 1399567373 download finish for photo 1399568649 begin to download photo : 1399568678 download finish for photo 1399569457 begin to download photo : 1399570077 download finish for photo 1399567600 begin to download photo : 1399567601 download finish for photo 1399567373 begin to download photo : 1399567406 download finish for photo 1399568678 begin to download photo : 1399568978 download finish for photo 1399570077 download finish for photo 1399567716 begin to download photo : 1399567845 download finish for photo 1399567601 begin to download photo : 1399567602 download finish for photo 1399567406 begin to download photo : 1399567446 download finish for photo 1399567845 begin to download photo : 1399567846 download finish for photo 1399568978 begin to download photo : 1399569008 download finish for photo 1399567602 begin to download photo : 1399567603 download finish for photo 1399567446 download finish for photo 1399569008 download finish for photo 1399567603 download finish for photo 1399567846 begin to download photo : 1399567867 download finish for photo 1399567867 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 : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P29449917_16-12-2025_06_09_31.pdf 29449925 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449925 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567860: '1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335174_0.png', 1399568883: '1765839425_2847611_1399567845_5e5040f83beac71616beae78ccd20483_rle_crop_4071342800_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/04d0bbcf27396d91a8dd75ef0e47a129_87928964.png change filename to text .imagette294499251765861771/ imagette294499251765861771/1765839425_2847611_1399567845_5e5040f83beac71616beae78ccd20483_rle_crop_4071342800_0.png.png imagette294499251765861771/1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335174_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e9897a78d095d67e2f85e6fb18b96ba2_25213475.png imagette294499251765861771 29449928 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449928 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399568977: '1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351872_0.png'} change filename to text .imagette294499281765861771/ imagette294499281765861771/1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351872_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/264aa5ed288b37f8efe388fa0de61250_60269072.png imagette294499281765861771 29449930 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449930 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567858: '1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335183_0.png', 1399568975: '1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351851_0.png', 1399568976: '1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351863_0.png', 1399581245: '1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468275_0.png', 1399581246: '1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468267_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/99a3d3808c45189d6b8290e0c7375d39_67065329.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/785f6f97ed06b08f22189a70e32d331d_52301088.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/021c85cf9182b5d1809aab569dc3b42d_49350394.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/3299ba2d3fcc1fdb19938425b3853d8c_10948499.png change filename to text .imagette294499301765861771/ imagette294499301765861771/1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335183_0.png.png imagette294499301765861771/1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351863_0.png.png imagette294499301765861771/1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351851_0.png.png imagette294499301765861771/1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468275_0.png.png imagette294499301765861771/1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468267_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/ade05eb644b4352d8f66a2a0d14462b6_87702444.png imagette294499301765861771 29449931 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449931 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567855: '1765839066_2830296_1399567406_f9d5e4fb401837cd82ff8c9a880b41f0_rle_crop_4071335156_0.png', 1399567865: '1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335352_0.png', 1399581242: '1765844245_3101050_1399567603_f350b8aa0ee24e335716ccd543153636_rle_crop_4071468284_0.png', 1399581529: '1765845177_3117386_1399568678_ff0b06ae9ab19868c3ef4f48e238339e_rle_crop_4071469380_0.png', 1399581530: '1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469395_0.png', 1399581531: '1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469409_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/de1e4e9a248a3d620a4432789585c6f7_30544331.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/ba2f95813138418fe38d85840f6d4614_94795541.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2ba9aa9016de59eb47519d1f141338ae_83938719.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d222ce1a3126b4a3c4a7775c1ef08900_50515373.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f56beea69f17aa8a642b4c98dd81792_76252892.png change filename to text .imagette294499311765861771/ imagette294499311765861771/1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469409_0.png.png imagette294499311765861771/1765844245_3101050_1399567603_f350b8aa0ee24e335716ccd543153636_rle_crop_4071468284_0.png.png imagette294499311765861771/1765845177_3117386_1399568678_ff0b06ae9ab19868c3ef4f48e238339e_rle_crop_4071469380_0.png.png imagette294499311765861771/1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469395_0.png.png imagette294499311765861771/1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335352_0.png.png imagette294499311765861771/1765839066_2830296_1399567406_f9d5e4fb401837cd82ff8c9a880b41f0_rle_crop_4071335156_0.png.png imagette294499321765861772/ imagette294499341765861772/ wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/0f56beea69f17aa8a642b4c98dd81792_42001626.png imagette294499311765861771 29449932 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449932 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294499321765861772 29449934 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449934 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette294499341765861772 29449936 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449936 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567854: '1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335181_0.png', 1399568876: '1765839425_2847611_1399567888_024347ca88d97839da8e68e1c5749e4f_rle_crop_4071342778_0.png', 1399568878: '1765839425_2847611_1399567871_cf64940702328a71316a8c65689d1e46_rle_crop_4071342789_0.png', 1399568971: '1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351876_0.png', 1399581515: '1765845177_3117386_1399568678_ff0b06ae9ab19868c3ef4f48e238339e_rle_crop_4071469376_0.png', 1399581516: '1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469397_0.png', 1399581517: '1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469387_0.png', 1399581518: '1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469411_0.png', 1399581519: '1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469401_0.png', 1399581520: '1765845177_3117386_1399567867_20d6ae1adf61f31d1fb15a066a464364_rle_crop_4071469416_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e359dbbb0e38fae2e0c1b08ce5732e7_35635395.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f68262d28194069a710b440b25588e7_28842984.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2f68262d28194069a710b440b25588e7_3899482.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/5e0ad4d2f29b43aba73114ef1e26b1d0_98066330.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/85ccb22e9bff2e7c56d238792d469490_48387853.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09ff6d604668d83c53db188e2d35f0ec_68003095.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb63b48745feff14c22fe2ca029d794d_44843520.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/09ff6d604668d83c53db188e2d35f0ec_46427323.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/fb63b48745feff14c22fe2ca029d794d_23422916.png change filename to text .imagette294499361765861772/ imagette294499361765861772/1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335181_0.png.png imagette294499361765861772/1765839425_2847611_1399567871_cf64940702328a71316a8c65689d1e46_rle_crop_4071342789_0.png.png imagette294499361765861772/1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469397_0.png.png imagette294499361765861772/1765845177_3117386_1399567867_20d6ae1adf61f31d1fb15a066a464364_rle_crop_4071469416_0.png.png imagette294499361765861772/1765845177_3117386_1399568678_ff0b06ae9ab19868c3ef4f48e238339e_rle_crop_4071469376_0.png.png imagette294499361765861772/1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469411_0.png.png imagette294499361765861772/1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351876_0.png.png imagette294499361765861772/1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469387_0.png.png imagette294499361765861772/1765839425_2847611_1399567888_024347ca88d97839da8e68e1c5749e4f_rle_crop_4071342778_0.png.png imagette294499361765861772/1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469401_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/de79a82a531b379ec4bcf87546eaac56_32244168.png imagette294499361765861772 29449926 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449926 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567856: '1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335184_0.png', 1399567857: '1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335191_0.png', 1399567866: '1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335355_0.png', 1399568974: '1765839547_2851501_1399567846_41db26d955c20b3f049888c3a697fdb7_rle_crop_4071351835_0.png', 1399581243: '1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468274_0.png', 1399581532: '1765845177_3117386_1399567867_20d6ae1adf61f31d1fb15a066a464364_rle_crop_4071469418_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7b4038b52898ac06f0bcf6c4153a5a05_20984893.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7a2e669974873a572729df6f176d432e_63043736.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9d67189c6a23f317862e236887e8fd2f_26261578.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/4e1a61445d5fe91c4c2ac86a0e96be73_64463339.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e3081637d54375322792f940c858b02d_88833745.png change filename to text .imagette294499261765861773/ imagette294499261765861773/1765845177_3117386_1399567867_20d6ae1adf61f31d1fb15a066a464364_rle_crop_4071469418_0.png.png imagette294499261765861773/1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468274_0.png.png imagette294499261765861773/1765839547_2851501_1399567846_41db26d955c20b3f049888c3a697fdb7_rle_crop_4071351835_0.png.png imagette294499261765861773/1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335191_0.png.png imagette294499261765861773/1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335355_0.png.png imagette294499261765861773/1765839066_2830296_1399567336_3c084f4e40f67692ce6540e03cf874d8_rle_crop_4071335184_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/2286fad63b905cb478a6a2076f5f447e_76977258.png imagette294499261765861773 29449933 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449933 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567841: '1765839027_2829487_1399567579_a24265e6d418d573f3b8358d71458fff_rle_crop_4071335040_0.png', 1399567863: '1765839087_2832624_1399567125_dc4788ed32bb3e29ff2c010ba2bd419f_rle_crop_4071335380_0.png', 1399568966: '1765839547_2851501_1399567846_41db26d955c20b3f049888c3a697fdb7_rle_crop_4071351837_0.png', 1399568967: '1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351853_0.png', 1399568968: '1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351848_0.png', 1399568969: '1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351862_0.png', 1399568970: '1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351878_0.png', 1399581238: '1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468280_0.png', 1399581512: '1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469392_0.png', 1399581513: '1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469406_0.png', 1399581567: '1765845307_3125596_1399567606_5c1eed3e326037abf50ad81b5beaf973_rle_crop_4071469537_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/1d1a771d35f39f0e5292961ac262d79e_86165202.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/7f9afd0cab1e4de6af8b407be36fc046_13230157.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/69cdb2b90a043844e86d98e11fa33f64_27587075.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3482632792e613de6b17895f4ec2bfdf_19119393.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/9b50530b606cd41df1acf506a7c232e4_20189788.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/0d673a432a3c91269e35966a60a9422d_86507632.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/3e38183f2ca77df54a5010cfe21fe6a8_37177710.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/d486f106a0abba634828e54cdd47e244_12793513.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4ded39b4f2a33e727001c39be3e8531_43916233.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/a4ded39b4f2a33e727001c39be3e8531_73700245.png change filename to text .imagette294499331765861773/ imagette294499331765861773/1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351862_0.png.png imagette294499331765861773/1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468280_0.png.png imagette294499331765861773/1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469392_0.png.png imagette294499331765861773/1765839027_2829487_1399567579_a24265e6d418d573f3b8358d71458fff_rle_crop_4071335040_0.png.png imagette294499331765861773/1765839087_2832624_1399567125_dc4788ed32bb3e29ff2c010ba2bd419f_rle_crop_4071335380_0.png.png imagette294499331765861773/1765845307_3125596_1399567606_5c1eed3e326037abf50ad81b5beaf973_rle_crop_4071469537_0.png.png imagette294499331765861773/1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469406_0.png.png imagette294499331765861773/1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351853_0.png.png imagette294499331765861773/1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351848_0.png.png imagette294499331765861773/1765839547_2851501_1399567846_41db26d955c20b3f049888c3a697fdb7_rle_crop_4071351837_0.png.png imagette294499331765861773/1765839547_2851501_1399567621_e1d982df44012942ddd1e1bc9aa0d84a_rle_crop_4071351878_0.png.png wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/481540fe89304e5c9b4e23582189dc4c_27036457.png imagette294499331765861773 29449937 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449937 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1399567864: '1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335360_0.png', 1399568972: '1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351846_0.png', 1399568973: '1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351859_0.png', 1399581240: '1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468272_0.png', 1399581241: '1765844245_3101050_1399567600_575c435271d4ddfdea9b1e2cb5eb5eef_rle_crop_4071468319_0.png', 1399581524: '1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469393_0.png', 1399581525: '1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469407_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/214956eedde7945facb658dd94ae1298_68462376.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/2ea572ed0d568da2bc0a562a384d069b_24742191.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/f2b06fbfb46f92daea255744f3355bdb_99281099.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/402feb320752f56ad189a12f7a542321_24295122.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/5669f09deb82f8057d4ac4afeb00372e_65042626.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6f42957e034c630c6d5fba357d8a73d_85118582.png change filename to text .imagette294499371765861774/ imagette294499371765861774/1765839547_2851501_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd_rle_crop_4071351859_0.png.png imagette294499371765861774/1765844245_3101050_1399567600_575c435271d4ddfdea9b1e2cb5eb5eef_rle_crop_4071468319_0.png.png imagette294499371765861774/1765844245_3101050_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0_rle_crop_4071468272_0.png.png imagette294499371765861774/1765839087_2832624_1399567187_29fffceed7f63cf5209ccd406fb43fa3_rle_crop_4071335360_0.png.png imagette294499371765861774/1765839547_2851501_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9_rle_crop_4071351846_0.png.png imagette294499371765861774/1765845177_3117386_1399567870_f6fe4b53bd347d358da6898f54482638_rle_crop_4071469407_0.png.png imagette294499371765861774/1765845177_3117386_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e_rle_crop_4071469393_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/16/e6f42957e034c630c6d5fba357d8a73d_59904743.png imagette294499371765861774 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=29449917 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/29449950,29449951,29449952,29449953,29449954,29449955,29449956,29449957,29449958,29449959,29449961,29449962?tags=kraft,Carton_brun,environnement,metal,plastique,cartonnette,flou,Teint_Dans_La_Masse,mal_croppe,papier,autre_refus,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1399570077] : ('0.052290533523158836',) no score found for photo 1399570077 We are sending mail with results at report@fotonower.com args[1399569457] : ('0.052290533523158836',) no score found for photo 1399569457 We are sending mail with results at report@fotonower.com args[1399569391] : ('0.052290533523158836',) no score found for photo 1399569391 We are sending mail with results at report@fotonower.com args[1399569321] : ('0.052290533523158836',) no score found for photo 1399569321 We are sending mail with results at report@fotonower.com args[1399569256] : ('0.052290533523158836',) no score found for photo 1399569256 We are sending mail with results at report@fotonower.com args[1399569051] : ('0.052290533523158836',) no score found for photo 1399569051 We are sending mail with results at report@fotonower.com args[1399569008] : ('0.052290533523158836',) no score found for photo 1399569008 We are sending mail with results at report@fotonower.com args[1399568978] : ('0.052290533523158836',) no score found for photo 1399568978 We are sending mail with results at report@fotonower.com args[1399568678] : ('0.052290533523158836',) no score found for photo 1399568678 We are sending mail with results at report@fotonower.com args[1399568649] : ('0.052290533523158836',) no score found for photo 1399568649 We are sending mail with results at report@fotonower.com args[1399567888] : ('0.052290533523158836',) no score found for photo 1399567888 We are sending mail with results at report@fotonower.com args[1399567886] : ('0.052290533523158836',) no score found for photo 1399567886 We are sending mail with results at report@fotonower.com args[1399567871] : ('0.052290533523158836',) no score found for photo 1399567871 We are sending mail with results at report@fotonower.com args[1399567870] : ('0.052290533523158836',) no score found for photo 1399567870 We are sending mail with results at report@fotonower.com args[1399567867] : ('0.052290533523158836',) no score found for photo 1399567867 We are sending mail with results at report@fotonower.com args[1399567846] : ('0.052290533523158836',) no score found for photo 1399567846 We are sending mail with results at report@fotonower.com args[1399567845] : ('0.052290533523158836',) no score found for photo 1399567845 We are sending mail with results at report@fotonower.com args[1399567716] : ('0.052290533523158836',) no score found for photo 1399567716 We are sending mail with results at report@fotonower.com args[1399567684] : ('0.052290533523158836',) no score found for photo 1399567684 We are sending mail with results at report@fotonower.com args[1399567653] : ('0.052290533523158836',) no score found for photo 1399567653 We are sending mail with results at report@fotonower.com args[1399567621] : ('0.052290533523158836',) no score found for photo 1399567621 We are sending mail with results at report@fotonower.com args[1399567606] : ('0.052290533523158836',) no score found for photo 1399567606 We are sending mail with results at report@fotonower.com args[1399567603] : ('0.052290533523158836',) no score found for photo 1399567603 We are sending mail with results at report@fotonower.com args[1399567602] : ('0.052290533523158836',) no score found for photo 1399567602 We are sending mail with results at report@fotonower.com args[1399567601] : ('0.052290533523158836',) no score found for photo 1399567601 We are sending mail with results at report@fotonower.com args[1399567600] : ('0.052290533523158836',) no score found for photo 1399567600 We are sending mail with results at report@fotonower.com args[1399567599] : ('0.052290533523158836',) no score found for photo 1399567599 We are sending mail with results at report@fotonower.com args[1399567581] : ('0.052290533523158836',) no score found for photo 1399567581 We are sending mail with results at report@fotonower.com args[1399567580] : ('0.052290533523158836',) no score found for photo 1399567580 We are sending mail with results at report@fotonower.com args[1399567579] : ('0.052290533523158836',) no score found for photo 1399567579 We are sending mail with results at report@fotonower.com args[1399567446] : ('0.052290533523158836',) no score found for photo 1399567446 We are sending mail with results at report@fotonower.com args[1399567406] : ('0.052290533523158836',) no score found for photo 1399567406 We are sending mail with results at report@fotonower.com args[1399567373] : ('0.052290533523158836',) no score found for photo 1399567373 We are sending mail with results at report@fotonower.com args[1399567336] : ('0.052290533523158836',) no score found for photo 1399567336 We are sending mail with results at report@fotonower.com args[1399567187] : ('0.052290533523158836',) no score found for photo 1399567187 We are sending mail with results at report@fotonower.com args[1399567156] : ('0.052290533523158836',) no score found for photo 1399567156 We are sending mail with results at report@fotonower.com args[1399567125] : ('0.052290533523158836',) no score found for photo 1399567125 We are sending mail with results at report@fotonower.com args[1399567088] : ('0.052290533523158836',) no score found for photo 1399567088 We are sending mail with results at report@fotonower.com refus_total : 0.052290533523158836 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449917 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_P29449917_16-12-2025_06_09_31.pdf results_Auto_P29449917_16-12-2025_06_09_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_06_09_31.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','29449917','results_Auto_P29449917_16-12-2025_06_09_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_06_09_31.pdf','pdf','','0.42','0.052290533523158836') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29449917]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] map_info['map_portfolio_photo'] : {29449917: [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088]} final : False mtd_id 4302 list_pids : [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] 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, '4233575') ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 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', '29449917', '1399570077', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575')] time used for this insertion : 0.023629426956176758 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.032796621322632 time spend to save output : 0.02400517463684082 total time spend for step 4 : 8.056801795959473 step5:split_time_score Tue Dec 16 06:09:37 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 : ['29449917'] 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 : [('29449917',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (29449917) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1399569051: {'path': 'temp/1765861769_2976867_1399569051_72004671c55187afdef3302f08cceba3.jpg', 'extension': 'jpg'}, 1399569256: {'path': 'temp/1765861769_2976867_1399569256_1d14551dea50bd29e4dccf5d857a808f.jpg', 'extension': 'jpg'}, 1399569321: {'path': 'temp/1765861769_2976867_1399569321_1667a1100e40cb623886f2ade8e82beb.jpg', 'extension': 'jpg'}, 1399569391: {'path': 'temp/1765861769_2976867_1399569391_adb67793d67ea53ed8a126fb6ab307dc.jpg', 'extension': 'jpg'}, 1399569457: {'path': 'temp/1765861769_2976867_1399569457_617df164288cdb32dae6d3f7a3dcd2cd.jpg', 'extension': 'jpg'}, 1399570077: {'path': 'temp/1765861769_2976867_1399570077_fc34c3820144a97769cbb5a7d7e13e96.jpg', 'extension': 'jpg'}, 1399567088: {'path': 'temp/1765861769_2976867_1399567088_b3015b209e071a4757a1eeae7f92093f.jpg', 'extension': 'jpg'}, 1399567125: {'path': 'temp/1765861769_2976867_1399567125_dc4788ed32bb3e29ff2c010ba2bd419f.jpg', 'extension': 'jpg'}, 1399567156: {'path': 'temp/1765861769_2976867_1399567156_e72366c4b3267c1da6f654f41989a42b.jpg', 'extension': 'jpg'}, 1399567187: {'path': 'temp/1765861769_2976867_1399567187_29fffceed7f63cf5209ccd406fb43fa3.jpg', 'extension': 'jpg'}, 1399567336: {'path': 'temp/1765861769_2976867_1399567336_3c084f4e40f67692ce6540e03cf874d8.jpg', 'extension': 'jpg'}, 1399567373: {'path': 'temp/1765861769_2976867_1399567373_639146d4107612797bcc1d290ba9961e.jpg', 'extension': 'jpg'}, 1399567406: {'path': 'temp/1765861769_2976867_1399567406_f9d5e4fb401837cd82ff8c9a880b41f0.jpg', 'extension': 'jpg'}, 1399567446: {'path': 'temp/1765861769_2976867_1399567446_08ea45b7d713989e0e2747a87be768b0.jpg', 'extension': 'jpg'}, 1399567870: {'path': 'temp/1765861769_2976867_1399567870_f6fe4b53bd347d358da6898f54482638.jpg', 'extension': 'jpg'}, 1399567871: {'path': 'temp/1765861769_2976867_1399567871_cf64940702328a71316a8c65689d1e46.jpg', 'extension': 'jpg'}, 1399567886: {'path': 'temp/1765861769_2976867_1399567886_6825d9cc1b91f1e5506293ba9a0aa45e.jpg', 'extension': 'jpg'}, 1399567888: {'path': 'temp/1765861769_2976867_1399567888_024347ca88d97839da8e68e1c5749e4f.jpg', 'extension': 'jpg'}, 1399568649: {'path': 'temp/1765861769_2976867_1399568649_fcb79fcc3ce05580019da2f8fe075d79.jpg', 'extension': 'jpg'}, 1399568678: {'path': 'temp/1765861769_2976867_1399568678_ff0b06ae9ab19868c3ef4f48e238339e.jpg', 'extension': 'jpg'}, 1399568978: {'path': 'temp/1765861769_2976867_1399568978_81cb1e62da1c643fa86efe5cd1f80066.jpg', 'extension': 'jpg'}, 1399569008: {'path': 'temp/1765861769_2976867_1399569008_013a177ec5654a536b1ccdd66741d9cb.jpg', 'extension': 'jpg'}, 1399567579: {'path': 'temp/1765861769_2976867_1399567579_a24265e6d418d573f3b8358d71458fff.jpg', 'extension': 'jpg'}, 1399567580: {'path': 'temp/1765861769_2976867_1399567580_fce06370843cdc9934a4afe06784b4ab.jpg', 'extension': 'jpg'}, 1399567581: {'path': 'temp/1765861769_2976867_1399567581_d50fcd504733d0465dc15d0f93b97938.jpg', 'extension': 'jpg'}, 1399567599: {'path': 'temp/1765861769_2976867_1399567599_5ef1e79c1196ec6ec93b73e447f8a7b8.jpg', 'extension': 'jpg'}, 1399567600: {'path': 'temp/1765861769_2976867_1399567600_575c435271d4ddfdea9b1e2cb5eb5eef.jpg', 'extension': 'jpg'}, 1399567601: {'path': 'temp/1765861769_2976867_1399567601_009b3720fd2518f971fdeaf0b939e573.jpg', 'extension': 'jpg'}, 1399567602: {'path': 'temp/1765861769_2976867_1399567602_da764ab2b516970bed029e23bd4e02a0.jpg', 'extension': 'jpg'}, 1399567603: {'path': 'temp/1765861769_2976867_1399567603_f350b8aa0ee24e335716ccd543153636.jpg', 'extension': 'jpg'}, 1399567606: {'path': 'temp/1765861769_2976867_1399567606_5c1eed3e326037abf50ad81b5beaf973.jpg', 'extension': 'jpg'}, 1399567621: {'path': 'temp/1765861769_2976867_1399567621_e1d982df44012942ddd1e1bc9aa0d84a.jpg', 'extension': 'jpg'}, 1399567653: {'path': 'temp/1765861769_2976867_1399567653_7fcd0ad659c2a1a81cb1359416a18bfd.jpg', 'extension': 'jpg'}, 1399567684: {'path': 'temp/1765861769_2976867_1399567684_a7b1d932da84a5f3c5c89f9d23c336b9.jpg', 'extension': 'jpg'}, 1399567716: {'path': 'temp/1765861769_2976867_1399567716_d3fdc3b5d97a4760d4cfe6ad21ad8df0.jpg', 'extension': 'jpg'}, 1399567845: {'path': 'temp/1765861769_2976867_1399567845_5e5040f83beac71616beae78ccd20483.jpg', 'extension': 'jpg'}, 1399567846: {'path': 'temp/1765861769_2976867_1399567846_41db26d955c20b3f049888c3a697fdb7.jpg', 'extension': 'jpg'}, 1399567867: {'path': 'temp/1765861769_2976867_1399567867_20d6ae1adf61f31d1fb15a066a464364.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 = 29449917; (('arc_en_ciel_jrm_live',), ('arc_en_ciel_jrm_bis',), ('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 29449917 group by h (('23', 38),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=29449917 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 (29449917) 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 (29449917) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 15122025 29449917 Nombre de photos uploadées : 38 / 23040 (0%) 15122025 29449917 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 15122025 29449917 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1399567187, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/29fffceed7f63cf5209ccd406fb43fa3.jpg', 'username': None, 'uploaded_at': 1765838768, 'text': 'image_15122025_23_45_14_010137m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399567156, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/e72366c4b3267c1da6f654f41989a42b.jpg', 'username': None, 'uploaded_at': 1765838768, 'text': 'image_15122025_23_45_24_010148m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399567125, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/dc4788ed32bb3e29ff2c010ba2bd419f.jpg', 'username': None, 'uploaded_at': 1765838768, 'text': 'image_15122025_23_45_34_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1399567088, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/12/15/b3015b209e071a4757a1eeae7f92093f.jpg', 'username': None, 'uploaded_at': 1765838768, 'text': 'image_15122025_23_45_44_010138m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 9.5367431640625e-07 elapsed_time : order_list_meta_photo_and_scores 3.814697265625e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0015666484832763672 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 29449917, '2025-12-15' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-12-15' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2736782,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.24709725379943848 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= 2736782 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29417280, 'dashboard_result_id': 18409246, '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_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29417539, 'dashboard_result_id': 18409248, '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_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29417857, 'dashboard_result_id': 18409249, '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_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29418257, 'dashboard_result_id': 18409250, '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_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29418780, 'dashboard_result_id': 18409251, '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_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29419219, 'dashboard_result_id': 18409253, '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_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29419682, 'dashboard_result_id': 18409254, '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_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29420083, 'dashboard_result_id': 18409255, '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_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29420617, 'dashboard_result_id': 18409257, '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_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29421087, 'dashboard_result_id': 18409258, '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_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29421545, 'dashboard_result_id': 18409259, '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_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29422017, 'dashboard_result_id': 18409260, '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_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29422537, 'dashboard_result_id': 18409262, '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_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29422986, 'dashboard_result_id': 18409263, '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_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29423463, 'dashboard_result_id': 18409264, '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_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29424399, 'dashboard_result_id': 18409265, '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_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29424626, 'dashboard_result_id': 18409267, '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_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29424984, 'dashboard_result_id': 18409268, '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_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29425574, 'dashboard_result_id': 18409269, '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_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29426150, 'dashboard_result_id': 18409271, '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_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29426847, 'dashboard_result_id': 18409272, '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_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29427202, 'dashboard_result_id': 18409273, '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_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29427865, 'dashboard_result_id': 18409275, '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_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29428659, 'dashboard_result_id': 18409276, '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_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29429470, 'dashboard_result_id': 18409277, '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_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29430268, 'dashboard_result_id': 18409278, '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_P29430268_16-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29432889, 'dashboard_result_id': 18409280, '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_P29432889_16-12-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29433153, 'dashboard_result_id': 18409281, '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_P29433153_16-12-2025_05_50_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29433905, 'dashboard_result_id': 18409282, '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_P29433905_16-12-2025_05_51_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29434385, 'dashboard_result_id': 18409283, '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_P29434385_16-12-2025_05_51_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29434903, 'dashboard_result_id': 18409285, '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_P29434903_16-12-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29435551, 'dashboard_result_id': 18409286, '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_P29435551_16-12-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29436113, 'dashboard_result_id': 18409287, '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_P29436113_16-12-2025_05_53_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29437436, 'dashboard_result_id': 18409289, '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_P29437436_16-12-2025_05_54_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29437655, 'dashboard_result_id': 18409290, '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_P29437655_16-12-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29438148, 'dashboard_result_id': 18409291, '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_P29438148_16-12-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29438540, 'dashboard_result_id': 18409292, '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_P29438540_16-12-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29439224, 'dashboard_result_id': 18409294, '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_P29439224_16-12-2025_05_56_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29439596, 'dashboard_result_id': 18409295, '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_P29439596_16-12-2025_05_56_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29440007, 'dashboard_result_id': 18409296, '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_P29440007_16-12-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29440533, 'dashboard_result_id': 18409297, '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_P29440533_16-12-2025_05_58_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29441116, 'dashboard_result_id': 18409299, '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_P29441116_16-12-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29441499, 'dashboard_result_id': 18409300, '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_P29441499_16-12-2025_05_59_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29442030, 'dashboard_result_id': 18409301, '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_P29442030_16-12-2025_06_01_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29442683, 'dashboard_result_id': 18409302, '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_P29442683_16-12-2025_06_01_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29442991, 'dashboard_result_id': 18409304, '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_P29442991_16-12-2025_06_01_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29443452, 'dashboard_result_id': 18409305, '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_P29443452_16-12-2025_06_02_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29444399, 'dashboard_result_id': 18409306, '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_P29444399_16-12-2025_06_03_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29444596, 'dashboard_result_id': 18409308, '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_P29444596_16-12-2025_06_04_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29444993, 'dashboard_result_id': 18409309, '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_P29444993_16-12-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29445360, 'dashboard_result_id': 18409310, '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_P29445360_16-12-2025_06_05_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29446145, 'dashboard_result_id': 18409311, '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_P29446145_16-12-2025_06_06_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29446581, 'dashboard_result_id': 18409313, '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_P29446581_16-12-2025_06_06_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29447171, 'dashboard_result_id': 18409314, '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_P29447171_16-12-2025_06_06_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29447888, 'dashboard_result_id': 18409315, '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_P29447888_16-12-2025_06_07_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29448575, 'dashboard_result_id': 18409316, '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_P29448575_16-12-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29449370, 'dashboard_result_id': 18409318, '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_P29449370_16-12-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, 'pht': 3726}}"}, {'dashboat_entry_day': 2736782, 'dashboard_run_id': 2750119, 'mtr_portfolio_id': 29449917, 'dashboard_result_id': 18409319, '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_P29449917_16-12-2025_01_00_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, '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 = 29417280 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': 4233518, 'mtr_portfolio_id': 29417280, 'created_at': datetime.datetime(2025, 12, 16, 5, 34, 30), 'result': '0.08095185877014659', 'result_long': None, 'result_double': None}] Qualite : 0.08095185877014659 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417280 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417280 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_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, 'pht': 3726}}" where mtr_portfolio_id = 29417280 and dashboard_run_id = 2750119 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`=29417280 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409246, 0.08095185877014659, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417280_16-12-2025_05_34_31.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417281, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417283, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417284, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417285, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417286, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417288, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417289, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417290, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417292, '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 = 29417539 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': 4233519, 'mtr_portfolio_id': 29417539, 'created_at': datetime.datetime(2025, 12, 16, 5, 35, 29), 'result': '0.059027184305423246', 'result_long': None, 'result_double': None}] Qualite : 0.059027184305423246 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417539 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417539 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_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, 'pht': 3726}}" where mtr_portfolio_id = 29417539 and dashboard_run_id = 2750119 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`=29417539 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409248, 0.059027184305423246, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417539_16-12-2025_05_35_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417544, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417545, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417547, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417548, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417549, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417551, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417552, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417553, '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 = 29417857 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': 4233520, 'mtr_portfolio_id': 29417857, 'created_at': datetime.datetime(2025, 12, 16, 5, 35, 58), 'result': '0.055318831638025964', 'result_long': None, 'result_double': None}] Qualite : 0.055318831638025964 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29417857 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29417857 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_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, 'pht': 3726}}" where mtr_portfolio_id = 29417857 and dashboard_run_id = 2750119 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`=29417857 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409249, 0.055318831638025964, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29417857_16-12-2025_05_36_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29417863, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29417864, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29417865, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29417866, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29417867, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29417868, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29417869, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29417870, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29417871, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29417872, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29417873, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29417874, '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 = 29418257 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': 4233521, 'mtr_portfolio_id': 29418257, 'created_at': datetime.datetime(2025, 12, 16, 5, 36, 7), 'result': '0.03755653016487691', 'result_long': None, 'result_double': None}] Qualite : 0.03755653016487691 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29418257 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29418257 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_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, 'pht': 3726}}" where mtr_portfolio_id = 29418257 and dashboard_run_id = 2750119 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`=29418257 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409250, 0.03755653016487691, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418257_16-12-2025_05_36_11.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418264, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29418265, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418266, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418267, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418268, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418269, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418270, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418271, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418272, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418273, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418275, '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 = 29418780 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': 4233522, 'mtr_portfolio_id': 29418780, 'created_at': datetime.datetime(2025, 12, 16, 5, 36, 59), 'result': '0.04541410002051624', 'result_long': None, 'result_double': None}] Qualite : 0.04541410002051624 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29418780 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29418780 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_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, 'pht': 3726}}" where mtr_portfolio_id = 29418780 and dashboard_run_id = 2750119 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`=29418780 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409251, 0.04541410002051624, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29418780_16-12-2025_05_37_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29418785, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29418786, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29418787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29418788, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29418789, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29418790, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29418791, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29418792, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29418793, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29418794, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29418795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29418796, '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 = 29419219 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': 4233523, 'mtr_portfolio_id': 29419219, 'created_at': datetime.datetime(2025, 12, 16, 5, 37, 28), 'result': '0.06921501297178902', 'result_long': None, 'result_double': None}] Qualite : 0.06921501297178902 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29419219 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29419219 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_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, 'pht': 3726}}" where mtr_portfolio_id = 29419219 and dashboard_run_id = 2750119 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`=29419219 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409253, 0.06921501297178902, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419219_16-12-2025_05_37_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29419252, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419253, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419255, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419256, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419257, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419258, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419259, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419260, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419261, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419263, '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 = 29419682 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': 4233524, 'mtr_portfolio_id': 29419682, 'created_at': datetime.datetime(2025, 12, 16, 5, 38), 'result': '0.06029692093700118', 'result_long': None, 'result_double': None}] Qualite : 0.06029692093700118 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29419682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29419682 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_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, 'pht': 3726}}" where mtr_portfolio_id = 29419682 and dashboard_run_id = 2750119 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`=29419682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409254, 0.06029692093700118, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29419682_16-12-2025_05_38_04.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29419708, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29419709, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29419710, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29419711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29419712, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29419713, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29419714, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29419715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29419716, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29419717, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29419718, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29419719, '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 = 29420083 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': 4233525, 'mtr_portfolio_id': 29420083, 'created_at': datetime.datetime(2025, 12, 16, 5, 38, 30), 'result': '0.05355868786795753', 'result_long': None, 'result_double': None}] Qualite : 0.05355868786795753 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29420083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29420083 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_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, 'pht': 3726}}" where mtr_portfolio_id = 29420083 and dashboard_run_id = 2750119 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`=29420083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409255, 0.05355868786795753, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420083_16-12-2025_05_38_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420109, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420110, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420111, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29420112, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420114, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420116, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420117, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420119, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420120, '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 = 29420617 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': 4233526, 'mtr_portfolio_id': 29420617, 'created_at': datetime.datetime(2025, 12, 16, 5, 39, 30), 'result': '0.04938812409421566', 'result_long': None, 'result_double': None}] Qualite : 0.04938812409421566 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29420617 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29420617 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_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, 'pht': 3726}}" where mtr_portfolio_id = 29420617 and dashboard_run_id = 2750119 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`=29420617 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409257, 0.04938812409421566, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29420617_16-12-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29420626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29420627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29420628, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29420629, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29420630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29420631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29420632, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29420633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29420634, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29420635, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29420636, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29420637, '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 = 29421087 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': 4233527, 'mtr_portfolio_id': 29421087, 'created_at': datetime.datetime(2025, 12, 16, 5, 40), 'result': '0.04290610390840642', 'result_long': None, 'result_double': None}] Qualite : 0.04290610390840642 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29421087 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29421087 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_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, 'pht': 3726}}" where mtr_portfolio_id = 29421087 and dashboard_run_id = 2750119 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`=29421087 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409258, 0.04290610390840642, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421087_16-12-2025_05_40_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421094, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421095, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421097, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421099, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421100, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29421101, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421102, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421103, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421104, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421105, '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 = 29421545 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': 4233528, 'mtr_portfolio_id': 29421545, 'created_at': datetime.datetime(2025, 12, 16, 5, 40, 58), 'result': '0.04801309240932604', 'result_long': None, 'result_double': None}] Qualite : 0.04801309240932604 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29421545 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29421545 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_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, 'pht': 3726}}" where mtr_portfolio_id = 29421545 and dashboard_run_id = 2750119 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`=29421545 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409259, 0.04801309240932604, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29421545_16-12-2025_05_41_01.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29421546, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29421547, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29421548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29421549, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29421550, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29421551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29421552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29421553, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29421554, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29421555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29421556, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29421557, '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 = 29422017 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': 4233529, 'mtr_portfolio_id': 29422017, 'created_at': datetime.datetime(2025, 12, 16, 5, 41, 10), 'result': '0.06779782872789862', 'result_long': None, 'result_double': None}] Qualite : 0.06779782872789862 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422017 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422017 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_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, 'pht': 3726}}" where mtr_portfolio_id = 29422017 and dashboard_run_id = 2750119 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`=29422017 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409260, 0.06779782872789862, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422017_16-12-2025_05_41_12.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29422023, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422024, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422026, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422027, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422028, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422030, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422031, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422032, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422033, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422034, '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 = 29422537 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': 4233530, 'mtr_portfolio_id': 29422537, 'created_at': datetime.datetime(2025, 12, 16, 5, 41, 29), 'result': '0.04055899571148343', 'result_long': None, 'result_double': None}] Qualite : 0.04055899571148343 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422537 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_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, 'pht': 3726}}" where mtr_portfolio_id = 29422537 and dashboard_run_id = 2750119 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`=29422537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409262, 0.04055899571148343, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422537_16-12-2025_05_41_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29422542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29422544, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29422546, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422549, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29422551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422552, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29422553, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29422555, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29422556, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29422558, '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 = 29422986 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': 4233531, 'mtr_portfolio_id': 29422986, 'created_at': datetime.datetime(2025, 12, 16, 5, 42, 1), 'result': '0.04694578481244342', 'result_long': None, 'result_double': None}] Qualite : 0.04694578481244342 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29422986 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29422986 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_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, 'pht': 3726}}" where mtr_portfolio_id = 29422986 and dashboard_run_id = 2750119 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`=29422986 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409263, 0.04694578481244342, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29422986_16-12-2025_05_42_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29422996, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29422997, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29422998, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29422999, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423003, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423004, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423005, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423006, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423007, '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 = 29423463 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': 4233532, 'mtr_portfolio_id': 29423463, 'created_at': datetime.datetime(2025, 12, 16, 5, 42, 58), 'result': '0.04124339822580909', 'result_long': None, 'result_double': None}] Qualite : 0.04124339822580909 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29423463 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29423463 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_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, 'pht': 3726}}" where mtr_portfolio_id = 29423463 and dashboard_run_id = 2750119 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`=29423463 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409264, 0.04124339822580909, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29423463_16-12-2025_05_43_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29423472, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29423473, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29423474, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29423475, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29423476, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29423477, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29423478, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29423479, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29423480, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29423481, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29423482, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29423483, '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 = 29424399 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': 4233533, 'mtr_portfolio_id': 29424399, 'created_at': datetime.datetime(2025, 12, 16, 5, 43, 28), 'result': '0.02512365035755094', 'result_long': None, 'result_double': None}] Qualite : 0.02512365035755094 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424399 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_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, 'pht': 3726}}" where mtr_portfolio_id = 29424399 and dashboard_run_id = 2750119 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`=29424399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409265, 0.02512365035755094, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424399_16-12-2025_05_43_29.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424417, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424418, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424419, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424420, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424421, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424422, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424423, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424424, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424425, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424426, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424427, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424428, '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 = 29424626 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': 4233534, 'mtr_portfolio_id': 29424626, 'created_at': datetime.datetime(2025, 12, 16, 5, 43, 58), 'result': '0.05394380372095798', 'result_long': None, 'result_double': None}] Qualite : 0.05394380372095798 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424626 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424626 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_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, 'pht': 3726}}" where mtr_portfolio_id = 29424626 and dashboard_run_id = 2750119 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`=29424626 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409267, 0.05394380372095798, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424626_16-12-2025_05_44_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29424631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29424632, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29424633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29424634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29424635, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29424636, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29424637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29424638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29424639, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29424640, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29424641, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29424642, '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 = 29424984 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': 4233535, 'mtr_portfolio_id': 29424984, 'created_at': datetime.datetime(2025, 12, 16, 5, 44, 29), 'result': '0.05034559648329349', 'result_long': None, 'result_double': None}] Qualite : 0.05034559648329349 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29424984 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29424984 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_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, 'pht': 3726}}" where mtr_portfolio_id = 29424984 and dashboard_run_id = 2750119 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`=29424984 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409268, 0.05034559648329349, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29424984_16-12-2025_05_44_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29425000, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425001, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425002, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425005, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425006, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425007, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29425008, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425009, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425010, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425011, '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 = 29425574 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': 4233536, 'mtr_portfolio_id': 29425574, 'created_at': datetime.datetime(2025, 12, 16, 5, 45, 30), 'result': '0.046036208370044046', 'result_long': None, 'result_double': None}] Qualite : 0.046036208370044046 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29425574 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29425574 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_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, 'pht': 3726}}" where mtr_portfolio_id = 29425574 and dashboard_run_id = 2750119 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`=29425574 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409269, 0.046036208370044046, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29425574_16-12-2025_05_45_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29425583, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29425584, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29425585, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29425586, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29425587, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29425588, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29425589, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29425590, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29425591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29425592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29425593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29425594, '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 = 29426150 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': 4233537, 'mtr_portfolio_id': 29426150, 'created_at': datetime.datetime(2025, 12, 16, 5, 45, 59), 'result': '0.041762366355385015', 'result_long': None, 'result_double': None}] Qualite : 0.041762366355385015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29426150 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29426150 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_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, 'pht': 3726}}" where mtr_portfolio_id = 29426150 and dashboard_run_id = 2750119 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`=29426150 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409271, 0.041762366355385015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426150_16-12-2025_05_46_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426158, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426160, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426162, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426163, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426164, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426165, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426166, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426167, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426168, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426169, '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 = 29426847 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': 4233538, 'mtr_portfolio_id': 29426847, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 9), 'result': '0.04218885281843253', 'result_long': None, 'result_double': None}] Qualite : 0.04218885281843253 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29426847 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29426847 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_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, 'pht': 3726}}" where mtr_portfolio_id = 29426847 and dashboard_run_id = 2750119 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`=29426847 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409272, 0.04218885281843253, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29426847_16-12-2025_05_46_13.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29426855, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29426856, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29426857, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29426858, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29426859, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29426860, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29426861, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29426862, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29426863, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29426864, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29426865, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29426866, '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 = 29427202 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': 4233539, 'mtr_portfolio_id': 29427202, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 28), 'result': '0.05119309412145792', 'result_long': None, 'result_double': None}] Qualite : 0.05119309412145792 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29427202 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29427202 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_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, 'pht': 3726}}" where mtr_portfolio_id = 29427202 and dashboard_run_id = 2750119 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`=29427202 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409273, 0.05119309412145792, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427202_16-12-2025_05_46_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427207, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427208, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427209, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427210, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427212, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427213, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427214, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427215, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427216, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427217, '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 = 29427865 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': 4233540, 'mtr_portfolio_id': 29427865, 'created_at': datetime.datetime(2025, 12, 16, 5, 46, 59), 'result': '0.058493927355012215', 'result_long': None, 'result_double': None}] Qualite : 0.058493927355012215 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29427865 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29427865 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_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, 'pht': 3726}}" where mtr_portfolio_id = 29427865 and dashboard_run_id = 2750119 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`=29427865 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409275, 0.058493927355012215, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29427865_16-12-2025_05_47_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29427874, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29427875, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29427876, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29427877, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29427878, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29427880, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29427882, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29427884, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29427887, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29427890, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29427892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29427894, '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 = 29428659 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': 4233541, 'mtr_portfolio_id': 29428659, 'created_at': datetime.datetime(2025, 12, 16, 5, 47, 29), 'result': '0.05469185611713295', 'result_long': None, 'result_double': None}] Qualite : 0.05469185611713295 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29428659 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29428659 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_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, 'pht': 3726}}" where mtr_portfolio_id = 29428659 and dashboard_run_id = 2750119 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`=29428659 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409276, 0.05469185611713295, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29428659_16-12-2025_05_47_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29428713, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29428714, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29428715, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29428716, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29428717, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29428718, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29428719, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29428720, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29428721, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29428722, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29428723, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29428724, '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 = 29429470 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': 4233542, 'mtr_portfolio_id': 29429470, 'created_at': datetime.datetime(2025, 12, 16, 5, 47, 56), 'result': '0.05959943670477109', 'result_long': None, 'result_double': None}] Qualite : 0.05959943670477109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29429470 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29429470 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_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, 'pht': 3726}}" where mtr_portfolio_id = 29429470 and dashboard_run_id = 2750119 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`=29429470 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409277, 0.05959943670477109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29429470_16-12-2025_05_48_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29429477, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29429478, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29429479, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29429480, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29429481, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29429482, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29429483, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29429484, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29429485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29429486, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29429487, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29429488, '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 = 29430268 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': 4233543, 'mtr_portfolio_id': 29430268, 'created_at': datetime.datetime(2025, 12, 16, 5, 48, 30), 'result': '0.051451681152082505', 'result_long': None, 'result_double': None}] Qualite : 0.051451681152082505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29430268 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29430268 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_P29430268_16-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, 'pht': 3726}}" where mtr_portfolio_id = 29430268 and dashboard_run_id = 2750119 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`=29430268 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409278, 0.051451681152082505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29430268_16-12-2025_05_48_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29430343, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29430344, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29430345, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29430346, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29430347, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29430348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29430349, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29430350, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29430351, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29430352, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29430353, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29430354, '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 = 29432889 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': 4233544, 'mtr_portfolio_id': 29432889, 'created_at': datetime.datetime(2025, 12, 16, 5, 50), 'result': '0.049269932742528146', 'result_long': None, 'result_double': None}] Qualite : 0.049269932742528146 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29432889 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_16-12-2025_05_50_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29432889 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_P29432889_16-12-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, 'pht': 3726}}" where mtr_portfolio_id = 29432889 and dashboard_run_id = 2750119 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`=29432889 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409280, 0.049269932742528146, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29432889_16-12-2025_05_50_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29432891, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29432892, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29432893, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29432894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29432895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29432896, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29432897, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29432898, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29432899, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29432900, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29432901, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29432902, '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 = 29433153 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': 4233545, 'mtr_portfolio_id': 29433153, 'created_at': datetime.datetime(2025, 12, 16, 5, 50, 29), 'result': '0.04894507569100011', 'result_long': None, 'result_double': None}] Qualite : 0.04894507569100011 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29433153 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_16-12-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29433153 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_P29433153_16-12-2025_05_50_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, 'pht': 3726}}" where mtr_portfolio_id = 29433153 and dashboard_run_id = 2750119 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`=29433153 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409281, 0.04894507569100011, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433153_16-12-2025_05_50_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433162, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433163, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29433164, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433165, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433167, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433169, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433171, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433172, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433173, '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 = 29433905 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': 4233546, 'mtr_portfolio_id': 29433905, 'created_at': datetime.datetime(2025, 12, 16, 5, 51, 12), 'result': '0.06993955080653919', 'result_long': None, 'result_double': None}] Qualite : 0.06993955080653919 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29433905 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_16-12-2025_05_51_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29433905 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_P29433905_16-12-2025_05_51_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, 'pht': 3726}}" where mtr_portfolio_id = 29433905 and dashboard_run_id = 2750119 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`=29433905 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409282, 0.06993955080653919, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29433905_16-12-2025_05_51_16.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29433943, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29433944, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29433945, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29433946, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29433947, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29433948, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29433949, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29433950, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29433951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29433952, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29433953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29433954, '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 = 29434385 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': 4233547, 'mtr_portfolio_id': 29434385, 'created_at': datetime.datetime(2025, 12, 16, 5, 51, 29), 'result': '0.05724893269390545', 'result_long': None, 'result_double': None}] Qualite : 0.05724893269390545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29434385 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_16-12-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29434385 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_P29434385_16-12-2025_05_51_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, 'pht': 3726}}" where mtr_portfolio_id = 29434385 and dashboard_run_id = 2750119 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`=29434385 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409283, 0.05724893269390545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434385_16-12-2025_05_51_33.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434405, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434406, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434407, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29434409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434410, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434412, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434413, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434415, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434416, '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 = 29434903 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': 4233548, 'mtr_portfolio_id': 29434903, 'created_at': datetime.datetime(2025, 12, 16, 5, 51, 59), 'result': '0.05899815932303719', 'result_long': None, 'result_double': None}] Qualite : 0.05899815932303719 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29434903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_16-12-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29434903 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_P29434903_16-12-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, 'pht': 3726}}" where mtr_portfolio_id = 29434903 and dashboard_run_id = 2750119 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`=29434903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409285, 0.05899815932303719, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29434903_16-12-2025_05_52_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29434945, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29434946, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29434947, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29434948, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29434949, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29434950, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29434951, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29434952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29434953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29434954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29434955, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29434956, '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 = 29435551 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': 4233549, 'mtr_portfolio_id': 29435551, 'created_at': datetime.datetime(2025, 12, 16, 5, 52, 29), 'result': '0.062421019506191555', 'result_long': None, 'result_double': None}] Qualite : 0.062421019506191555 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29435551 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_16-12-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29435551 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_P29435551_16-12-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, 'pht': 3726}}" where mtr_portfolio_id = 29435551 and dashboard_run_id = 2750119 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`=29435551 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409286, 0.062421019506191555, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29435551_16-12-2025_05_52_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29435586, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29435587, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29435588, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29435589, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29435590, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29435591, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29435592, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29435593, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29435594, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29435595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29435596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29435597, '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 = 29436113 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': 4233550, 'mtr_portfolio_id': 29436113, 'created_at': datetime.datetime(2025, 12, 16, 5, 53, 32), 'result': '0.07659178525822109', 'result_long': None, 'result_double': None}] Qualite : 0.07659178525822109 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29436113 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_16-12-2025_05_53_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29436113 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_P29436113_16-12-2025_05_53_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, 'pht': 3726}}" where mtr_portfolio_id = 29436113 and dashboard_run_id = 2750119 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`=29436113 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409287, 0.07659178525822109, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29436113_16-12-2025_05_53_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29436117, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29436118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29436119, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29436120, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29436121, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29436122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29436123, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29436124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29436125, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29436126, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29436127, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29436128, '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 = 29437436 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': 4233551, 'mtr_portfolio_id': 29437436, 'created_at': datetime.datetime(2025, 12, 16, 5, 54, 1), 'result': '0.05812200697082693', 'result_long': None, 'result_double': None}] Qualite : 0.05812200697082693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29437436 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_16-12-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29437436 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_P29437436_16-12-2025_05_54_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, 'pht': 3726}}" where mtr_portfolio_id = 29437436 and dashboard_run_id = 2750119 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`=29437436 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409289, 0.05812200697082693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437436_16-12-2025_05_54_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437437, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437438, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437439, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437440, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437441, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437442, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437443, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437444, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437445, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437448, '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 = 29437655 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': 4233552, 'mtr_portfolio_id': 29437655, 'created_at': datetime.datetime(2025, 12, 16, 5, 54, 29), 'result': '0.05734789577549617', 'result_long': None, 'result_double': None}] Qualite : 0.05734789577549617 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29437655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_16-12-2025_05_54_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29437655 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_P29437655_16-12-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, 'pht': 3726}}" where mtr_portfolio_id = 29437655 and dashboard_run_id = 2750119 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`=29437655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409290, 0.05734789577549617, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29437655_16-12-2025_05_54_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29437671, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29437672, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29437673, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29437674, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29437675, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29437676, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29437677, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29437678, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29437679, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29437680, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29437681, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29437682, '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 = 29438148 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': 4233553, 'mtr_portfolio_id': 29438148, 'created_at': datetime.datetime(2025, 12, 16, 5, 55, 30), 'result': '0.03030915350825703', 'result_long': None, 'result_double': None}] Qualite : 0.03030915350825703 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29438148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_16-12-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29438148 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_P29438148_16-12-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, 'pht': 3726}}" where mtr_portfolio_id = 29438148 and dashboard_run_id = 2750119 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`=29438148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409291, 0.03030915350825703, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438148_16-12-2025_05_55_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438150, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438151, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438152, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438153, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438155, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438156, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438157, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438158, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438159, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438160, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438161, '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 = 29438540 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': 4233554, 'mtr_portfolio_id': 29438540, 'created_at': datetime.datetime(2025, 12, 16, 5, 55, 57), 'result': '0.050841114018755504', 'result_long': None, 'result_double': None}] Qualite : 0.050841114018755504 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29438540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_16-12-2025_05_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29438540 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_P29438540_16-12-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, 'pht': 3726}}" where mtr_portfolio_id = 29438540 and dashboard_run_id = 2750119 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`=29438540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409292, 0.050841114018755504, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29438540_16-12-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29438544, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29438545, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29438546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29438547, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29438548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29438550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29438551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29438552, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29438553, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29438554, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29438555, '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 = 29439224 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': 4233555, 'mtr_portfolio_id': 29439224, 'created_at': datetime.datetime(2025, 12, 16, 5, 56, 13), 'result': '0.0546021953577179', 'result_long': None, 'result_double': None}] Qualite : 0.0546021953577179 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29439224 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_16-12-2025_05_56_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29439224 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_P29439224_16-12-2025_05_56_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, 'pht': 3726}}" where mtr_portfolio_id = 29439224 and dashboard_run_id = 2750119 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`=29439224 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409294, 0.0546021953577179, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439224_16-12-2025_05_56_16.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439228, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439229, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439231, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439235, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439236, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439237, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439238, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439239, '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 = 29439596 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': 4233556, 'mtr_portfolio_id': 29439596, 'created_at': datetime.datetime(2025, 12, 16, 5, 56, 29), 'result': '0.05076267624795852', 'result_long': None, 'result_double': None}] Qualite : 0.05076267624795852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29439596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_16-12-2025_05_56_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29439596 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_P29439596_16-12-2025_05_56_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, 'pht': 3726}}" where mtr_portfolio_id = 29439596 and dashboard_run_id = 2750119 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`=29439596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409295, 0.05076267624795852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29439596_16-12-2025_05_56_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29439610, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29439611, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29439612, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29439613, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29439614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29439615, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29439616, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29439617, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29439618, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29439619, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29439620, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29439621, '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 = 29440007 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': 4233557, 'mtr_portfolio_id': 29440007, 'created_at': datetime.datetime(2025, 12, 16, 5, 57, 29), 'result': '0.05614065946077951', 'result_long': None, 'result_double': None}] Qualite : 0.05614065946077951 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29440007 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_16-12-2025_05_57_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29440007 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_P29440007_16-12-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, 'pht': 3726}}" where mtr_portfolio_id = 29440007 and dashboard_run_id = 2750119 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`=29440007 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409296, 0.05614065946077951, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440007_16-12-2025_05_57_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440012, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440013, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440014, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440015, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440016, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29440017, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440018, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440020, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440022, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440023, '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 = 29440533 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': 4233558, 'mtr_portfolio_id': 29440533, 'created_at': datetime.datetime(2025, 12, 16, 5, 57, 59), 'result': '0.04995303800243053', 'result_long': None, 'result_double': None}] Qualite : 0.04995303800243053 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29440533 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_16-12-2025_05_58_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29440533 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_P29440533_16-12-2025_05_58_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, 'pht': 3726}}" where mtr_portfolio_id = 29440533 and dashboard_run_id = 2750119 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`=29440533 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409297, 0.04995303800243053, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29440533_16-12-2025_05_58_02.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29440560, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29440561, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29440562, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29440563, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29440564, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29440565, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29440566, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29440567, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29440568, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29440569, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29440570, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29440571, '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 = 29441116 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': 4233559, 'mtr_portfolio_id': 29441116, 'created_at': datetime.datetime(2025, 12, 16, 5, 58, 31), 'result': '0.03126372261859507', 'result_long': None, 'result_double': None}] Qualite : 0.03126372261859507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29441116 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_16-12-2025_05_58_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29441116 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_P29441116_16-12-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, 'pht': 3726}}" where mtr_portfolio_id = 29441116 and dashboard_run_id = 2750119 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`=29441116 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409299, 0.03126372261859507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441116_16-12-2025_05_58_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441142, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441143, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441144, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441145, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441146, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441147, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441148, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441149, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441150, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441152, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441153, '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 = 29441499 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': 4233560, 'mtr_portfolio_id': 29441499, 'created_at': datetime.datetime(2025, 12, 16, 5, 59, 30), 'result': '0.05761972379478545', 'result_long': None, 'result_double': None}] Qualite : 0.05761972379478545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29441499 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_16-12-2025_05_59_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29441499 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_P29441499_16-12-2025_05_59_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, 'pht': 3726}}" where mtr_portfolio_id = 29441499 and dashboard_run_id = 2750119 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`=29441499 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409300, 0.05761972379478545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29441499_16-12-2025_05_59_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29441542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29441543, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29441544, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29441545, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29441546, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29441547, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29441548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29441549, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29441550, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29441551, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29441552, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29441553, '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 = 29442030 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': 4233561, 'mtr_portfolio_id': 29442030, 'created_at': datetime.datetime(2025, 12, 16, 6, 1, 11), 'result': '0.05626650106585137', 'result_long': None, 'result_double': None}] Qualite : 0.05626650106585137 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442030 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_16-12-2025_06_01_14.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442030 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_P29442030_16-12-2025_06_01_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, 'pht': 3726}}" where mtr_portfolio_id = 29442030 and dashboard_run_id = 2750119 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`=29442030 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409301, 0.05626650106585137, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442030_16-12-2025_06_01_14.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442071, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442072, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442073, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29442074, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442075, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442076, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442077, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442078, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442080, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442081, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442082, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442083, '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 = 29442683 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': 4233562, 'mtr_portfolio_id': 29442683, 'created_at': datetime.datetime(2025, 12, 16, 6, 1, 28), 'result': '0.032265613698058734', 'result_long': None, 'result_double': None}] Qualite : 0.032265613698058734 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442683 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_16-12-2025_06_01_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442683 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_P29442683_16-12-2025_06_01_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, 'pht': 3726}}" where mtr_portfolio_id = 29442683 and dashboard_run_id = 2750119 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`=29442683 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409302, 0.032265613698058734, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442683_16-12-2025_06_01_30.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29442692, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29442693, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29442694, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29442695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29442696, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29442697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29442698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29442699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29442700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29442701, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29442702, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29442703, '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 = 29442991 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': 4233563, 'mtr_portfolio_id': 29442991, 'created_at': datetime.datetime(2025, 12, 16, 6, 1, 56), 'result': '0.0497942858466674', 'result_long': None, 'result_double': None}] Qualite : 0.0497942858466674 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29442991 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_16-12-2025_06_01_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29442991 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_P29442991_16-12-2025_06_01_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, 'pht': 3726}}" where mtr_portfolio_id = 29442991 and dashboard_run_id = 2750119 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`=29442991 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409304, 0.0497942858466674, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29442991_16-12-2025_06_01_59.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443017, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443019, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443020, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443022, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443024, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443025, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443026, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443027, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443028, '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 = 29443452 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': 4233564, 'mtr_portfolio_id': 29443452, 'created_at': datetime.datetime(2025, 12, 16, 6, 2, 30), 'result': '0.04007758218031249', 'result_long': None, 'result_double': None}] Qualite : 0.04007758218031249 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29443452 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_16-12-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29443452 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_P29443452_16-12-2025_06_02_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, 'pht': 3726}}" where mtr_portfolio_id = 29443452 and dashboard_run_id = 2750119 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`=29443452 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409305, 0.04007758218031249, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29443452_16-12-2025_06_02_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29443478, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29443479, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29443480, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29443481, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29443482, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29443483, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29443484, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29443485, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29443486, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29443487, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29443488, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29443489, '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 = 29444399 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': 4233565, 'mtr_portfolio_id': 29444399, 'created_at': datetime.datetime(2025, 12, 16, 6, 3, 30), 'result': '0.036830715804405306', 'result_long': None, 'result_double': None}] Qualite : 0.036830715804405306 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444399 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_16-12-2025_06_03_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444399 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_P29444399_16-12-2025_06_03_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, 'pht': 3726}}" where mtr_portfolio_id = 29444399 and dashboard_run_id = 2750119 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`=29444399 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409306, 0.036830715804405306, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444399_16-12-2025_06_03_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29444402, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444403, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444404, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29444405, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444406, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444407, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444408, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444409, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444410, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444411, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444412, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444413, '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 = 29444596 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': 4233566, 'mtr_portfolio_id': 29444596, 'created_at': datetime.datetime(2025, 12, 16, 6, 3, 59), 'result': '0.055377277999269114', 'result_long': None, 'result_double': None}] Qualite : 0.055377277999269114 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444596 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_16-12-2025_06_04_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444596 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_P29444596_16-12-2025_06_04_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, 'pht': 3726}}" where mtr_portfolio_id = 29444596 and dashboard_run_id = 2750119 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`=29444596 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409308, 0.055377277999269114, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444596_16-12-2025_06_04_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29444607, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29444608, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29444609, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29444610, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29444611, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29444612, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29444613, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444614, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444615, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29444616, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29444617, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29444618, '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 = 29444993 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': 4233567, 'mtr_portfolio_id': 29444993, 'created_at': datetime.datetime(2025, 12, 16, 6, 4, 30), 'result': '0.03008871565570794', 'result_long': None, 'result_double': None}] Qualite : 0.03008871565570794 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29444993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_16-12-2025_06_04_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29444993 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_P29444993_16-12-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, 'pht': 3726}}" where mtr_portfolio_id = 29444993 and dashboard_run_id = 2750119 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`=29444993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409309, 0.03008871565570794, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29444993_16-12-2025_06_04_31.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 29444997, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29444998, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29444999, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445000, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445007, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445008, '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 = 29445360 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': 4233568, 'mtr_portfolio_id': 29445360, 'created_at': datetime.datetime(2025, 12, 16, 6, 5, 29), 'result': '0.043846000100437384', 'result_long': None, 'result_double': None}] Qualite : 0.043846000100437384 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29445360 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_16-12-2025_06_05_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29445360 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_P29445360_16-12-2025_06_05_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, 'pht': 3726}}" where mtr_portfolio_id = 29445360 and dashboard_run_id = 2750119 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`=29445360 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409310, 0.043846000100437384, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29445360_16-12-2025_06_05_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29445364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29445365, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29445366, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29445367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29445368, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29445369, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29445370, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29445371, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29445372, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29445373, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29445374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29445375, '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 = 29446145 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': 4233569, 'mtr_portfolio_id': 29446145, 'created_at': datetime.datetime(2025, 12, 16, 6, 6), 'result': '0.05192565218786587', 'result_long': None, 'result_double': None}] Qualite : 0.05192565218786587 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29446145 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_16-12-2025_06_06_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29446145 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_P29446145_16-12-2025_06_06_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, 'pht': 3726}}" where mtr_portfolio_id = 29446145 and dashboard_run_id = 2750119 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`=29446145 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409311, 0.05192565218786587, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446145_16-12-2025_06_06_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446148, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446149, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446150, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446151, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446152, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446153, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446154, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446155, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446156, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29446157, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446159, '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 = 29446581 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': 4233570, 'mtr_portfolio_id': 29446581, 'created_at': datetime.datetime(2025, 12, 16, 6, 6, 8), 'result': '0.044603593039012346', 'result_long': None, 'result_double': None}] Qualite : 0.044603593039012346 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29446581 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_16-12-2025_06_06_12.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29446581 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_P29446581_16-12-2025_06_06_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, 'pht': 3726}}" where mtr_portfolio_id = 29446581 and dashboard_run_id = 2750119 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`=29446581 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409313, 0.044603593039012346, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29446581_16-12-2025_06_06_12.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29446595, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29446596, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29446597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29446598, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29446599, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29446601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29446602, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29446603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29446604, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29446606, '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 = 29447171 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': 4233571, 'mtr_portfolio_id': 29447171, 'created_at': datetime.datetime(2025, 12, 16, 6, 6, 31), 'result': '0.049276686735166705', 'result_long': None, 'result_double': None}] Qualite : 0.049276686735166705 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29447171 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_16-12-2025_06_06_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29447171 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_P29447171_16-12-2025_06_06_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, 'pht': 3726}}" where mtr_portfolio_id = 29447171 and dashboard_run_id = 2750119 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`=29447171 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409314, 0.049276686735166705, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447171_16-12-2025_06_06_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 29447194, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447195, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447196, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447197, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447198, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447201, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447202, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447203, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447206, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447208, '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 = 29447888 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': 4233572, 'mtr_portfolio_id': 29447888, 'created_at': datetime.datetime(2025, 12, 16, 6, 7, 29), 'result': '0.045270937502597565', 'result_long': None, 'result_double': None}] Qualite : 0.045270937502597565 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29447888 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_16-12-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29447888 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_P29447888_16-12-2025_06_07_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, 'pht': 3726}}" where mtr_portfolio_id = 29447888 and dashboard_run_id = 2750119 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`=29447888 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409315, 0.045270937502597565, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29447888_16-12-2025_06_07_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29447956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29447957, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29447958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29447959, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29447960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29447961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29447962, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29447963, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29447964, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29447965, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29447966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29447967, '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 = 29448575 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': 4233573, 'mtr_portfolio_id': 29448575, 'created_at': datetime.datetime(2025, 12, 16, 6, 7, 58), 'result': '0.04629788868299357', 'result_long': None, 'result_double': None}] Qualite : 0.04629788868299357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29448575 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_16-12-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29448575 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_P29448575_16-12-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, 'pht': 3726}}" where mtr_portfolio_id = 29448575 and dashboard_run_id = 2750119 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`=29448575 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409316, 0.04629788868299357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29448575_16-12-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 29448600, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29448601, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29448602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29448603, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29448604, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29448605, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29448606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29448607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29448608, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29448609, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29448610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29448611, '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 = 29449370 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': 4233574, 'mtr_portfolio_id': 29449370, 'created_at': datetime.datetime(2025, 12, 16, 6, 8, 31), 'result': '0.05439472918483889', 'result_long': None, 'result_double': None}] Qualite : 0.05439472918483889 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29449370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_16-12-2025_06_08_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29449370 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_P29449370_16-12-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, 'pht': 3726}}" where mtr_portfolio_id = 29449370 and dashboard_run_id = 2750119 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`=29449370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409318, 0.05439472918483889, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449370_16-12-2025_06_08_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449373, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449374, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449375, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449376, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449377, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449378, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449379, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449380, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449381, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449382, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449384, '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 = 29449917 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': 4233575, 'mtr_portfolio_id': 29449917, 'created_at': datetime.datetime(2025, 12, 16, 6, 9, 29), 'result': '0.052290533523158836', 'result_long': None, 'result_double': None}] Qualite : 0.052290533523158836 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 29449917 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_06_09_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 29449917 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_P29449917_16-12-2025_06_09_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, 'pht': 3726}}" where mtr_portfolio_id = 29449917 and dashboard_run_id = 2750119 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`=29449917 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (18409319, 0.052290533523158836, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P29449917_16-12-2025_06_09_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 29449925, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 29449926, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 29449927, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 29449928, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 29449930, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 29449931, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 29449932, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 29449933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 29449934, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 29449935, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 29449936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 29449937, '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 (29417280,29417539,29417857,29418257,29418780,29419219,29419682,29420083,29420617,29421087,29421545,29422017,29422537,29422986,29423463,29424399,29424626,29424984,29425574,29426150,29426847,29427202,29427865,29428659,29429470,29430268,29432889,29433153,29433905,29434385,29434903,29435551,29436113,29437436,29437655,29438148,29438540,29439224,29439596,29440007,29440533,29441116,29441499,29442030,29442683,29442991,29443452,29444399,29444596,29444993,29445360,29446145,29446581,29447171,29447888,29448575,29449370,29449917) result : ((1399431985,), (1399432443,), (1399432911,), (1399432913,), (1399432950,), (1399432963,), (1399432964,), (1399432965,), (1399432976,), (1399433319,), (1399433313,), (1399433324,), (1399433326,), (1399433328,), (1399433339,), (1399433340,), (1399433341,), (1399433342,), (1399433344,), (1399433358,), (1399433360,), (1399433362,), (1399433373,), (1399433374,), (1399433375,), (1399433376,), (1399433395,), (1399433397,), (1399433399,), (1399433401,), (1399433418,), (1399433419,), (1399433420,), (1399433422,), (1399433424,), (1399433427,), (1399433434,), (1399433436,), (1399433438,), (1399433446,), (1399433451,), (1399433452,), (1399433454,), (1399433456,), (1399433465,), (1399433467,), (1399433469,), (1399433471,), (1399433473,), (1399433503,), (1399433505,), (1399433506,), (1399433507,), (1399433519,), (1399433521,), (1399433523,), (1399433526,), (1399433529,), (1399433550,), (1399433552,), (1399433554,), (1399433557,), (1399433567,), (1399433569,), (1399433570,), (1399433572,), (1399433574,), (1399433599,), (1399433601,), (1399433603,), (1399433605,), (1399433607,), (1399433609,), (1399433616,), (1399433617,), (1399433619,), (1399433620,), (1399433653,), (1399433688,), (1399433643,), (1399433645,), (1399433647,), (1399433649,), (1399433651,), (1399433662,), (1399433663,), (1399433664,), (1399433665,), (1399433666,), (1399433667,), (1399433675,), (1399433683,), (1399433686,), (1399433694,), (1399433696,), (1399433698,), (1399433699,), (1399433700,), (1399433701,), (1399433715,), (1399433717,), (1399433718,), (1399433719,), (1399433721,), (1399433723,), (1399433742,), (1399433744,), (1399433746,), (1399433748,), (1399433759,), (1399433760,), (1399433761,), (1399433762,), (1399433764,), (1399433766,), (1399433787,), (1399433789,), (1399433791,), (1399433793,), (1399433795,), (1399433803,), (1399433804,), (1399433805,), (1399433806,), (1399433830,), (1399433832,), (1399433834,), (1399433836,), (1399433838,), (1399433847,), (1399433849,), (1399433851,), (1399433854,), (1399433857,), (1399433860,), (1399433874,), (1399433875,), (1399433881,), (1399433887,), (1399433903,), (1399433904,), (1399433905,), (1399433906,), (1399433907,), (1399433928,), (1399433929,), (1399433930,), (1399433931,), (1399433933,), (1399433934,), (1399434155,), (1399434167,), (1399434200,), (1399434339,), (1399434376,), (1399434413,), (1399434445,), (1399434481,), (1399434723,), (1399434651,), (1399434690,), (1399434957,), (1399435741,), (1399435759,), (1399435761,), (1399435762,), (1399435763,), (1399435795,), (1399435800,), (1399435802,), (1399435804,), (1399435807,), (1399435823,), (1399435824,), (1399435825,), (1399435828,), (1399435831,), (1399435833,), (1399435854,), (1399435857,), (1399435858,), (1399435859,), (1399435860,), (1399435864,), (1399435866,), (1399435882,), (1399435883,), (1399435884,), (1399435885,), (1399435888,), (1399435891,), (1399435912,), (1399435914,), (1399435916,), (1399435918,), (1399435921,), (1399435924,), (1399435935,), (1399435937,), (1399435938,), (1399435941,), (1399435944,), (1399435947,), (1399435964,), (1399435968,), (1399435975,), (1399435984,), (1399435987,), (1399435988,), (1399436006,), (1399436008,), (1399436010,), (1399436014,), (1399436018,), (1399436032,), (1399436034,), (1399436036,), (1399436039,), (1399436053,), (1399436055,), (1399436058,), (1399436062,), (1399436067,), (1399436069,), (1399436097,), (1399436090,), (1399436112,), (1399436114,), (1399436115,), (1399436116,), (1399436118,), (1399436121,), (1399436142,), (1399436143,), (1399436144,), (1399436145,), (1399436147,), (1399436150,), (1399436165,), (1399436167,), (1399436168,), (1399436169,), (1399436199,), (1399436200,), (1399436201,), (1399436214,), (1399436216,), (1399436218,), (1399436237,), (1399436238,), (1399436239,), (1399436240,), (1399436243,), (1399436261,), (1399436263,), (1399436265,), (1399436267,), (1399436293,), (1399436295,), (1399436296,), (1399436297,), (1399436299,), (1399436313,), (1399436314,), (1399436315,), (1399436316,), (1399436318,), (1399436321,), (1399436348,), (1399436351,), (1399436353,), (1399436355,), (1399436358,), (1399436376,), (1399436378,), (1399436381,), (1399436384,), (1399436387,), (1399436393,), (1399436402,), (1399436404,), (1399436406,), (1399436416,), (1399436417,), (1399436419,), (1399436422,), (1399436425,), (1399436428,), (1399436438,), (1399436444,), (1399436446,), (1399436448,), (1399436470,), (1399436471,), (1399436473,), (1399436501,), (1399436489,), (1399436491,), (1399436493,), (1399436495,), (1399436498,), (1399436521,), (1399436528,), (1399436529,), (1399436530,), (1399436533,), (1399436536,), (1399436553,), (1399436561,), (1399436563,), (1399436565,), (1399436568,), (1399436570,), (1399436590,), (1399436592,), (1399436594,), (1399436596,), (1399436598,), (1399436622,), (1399436623,), (1399436624,), (1399436625,), (1399436627,), (1399436656,), (1399436661,), (1399436663,), (1399436665,), (1399436668,), (1399436671,), (1399436684,), (1399436685,), (1399436686,), (1399436689,), (1399436692,), (1399436695,), (1399436714,), (1399436716,), (1399436724,), (1399436729,), (1399436732,), (1399436734,), (1399436736,), (1399436738,), (1399436741,), (1399436749,), (1399436750,), (1399436757,), (1399436762,), (1399436765,), (1399436768,), (1399436794,), (1399436796,), (1399436812,), (1399436815,), (1399436817,), (1399436821,), (1399436824,), (1399436831,), (1399436840,), (1399436842,), (1399436844,), (1399436893,), (1399436898,), (1399436899,), (1399436900,), (1399436935,), (1399436947,), (1399436951,), (1399436967,), (1399436969,), (1399436971,), (1399436973,), (1399436976,), (1399437024,), (1399437013,), (1399437022,), (1399437044,), (1399437046,), (1399437048,), (1399437051,), (1399437078,), (1399437079,), (1399437080,), (1399437081,), (1399437084,), (1399437086,), (1399437099,), (1399437101,), (1399437103,), (1399437134,), (1399437135,), (1399437136,), (1399437137,), (1399437139,), (1399437142,), (1399437165,), (1399437166,), (1399437168,), (1399437170,), (1399437172,), (1399437173,), (1399437182,), (1399437184,), (1399437187,), (1399437190,), (1399437199,), (1399437201,), (1399437204,), (1399437219,), (1399437221,), (1399437222,), (1399437224,), (1399437227,), (1399437230,), (1399437257,), (1399437258,), (1399437259,), (1399437260,), (1399437263,), (1399437265,), (1399437281,), (1399437284,), (1399437286,), (1399437325,), (1399437326,), (1399437327,), (1399437328,), (1399437331,), (1399437333,), (1399437347,), (1399437350,), (1399437353,), (1399437358,), (1399437361,), (1399437364,), (1399437372,), (1399437374,), (1399437375,), (1399437377,), (1399437379,), (1399437436,), (1399437472,), (1399437506,), (1399437543,), (1399437625,), (1399437629,), (1399437633,), (1399437636,), (1399437639,), (1399437643,), (1399437872,), (1399437743,), (1399437776,), (1399437807,), (1399437840,), (1399438224,), (1399438247,), (1399438249,), (1399438421,), (1399438430,), (1399438451,), (1399438452,), (1399438455,), (1399438486,), (1399438815,), (1399438845,), (1399438877,), (1399439303,), (1399439336,), (1399439342,), (1399439344,), (1399439347,), (1399439350,), (1399439379,), (1399439413,), (1399439444,), (1399439476,), (1399439737,), (1399439743,), (1399439745,), (1399439761,), (1399439794,), (1399439838,), (1399439842,), (1399439843,), (1399439870,), (1399439872,), (1399439874,), (1399439898,), (1399439922,), (1399439924,), (1399439926,), (1399439961,), (1399439963,), (1399439965,), (1399439967,), (1399439985,), (1399439986,), (1399439987,), (1399439988,), (1399440009,), (1399440011,), (1399440013,), (1399440015,), (1399440040,), (1399440044,), (1399440046,), (1399440047,), (1399440050,), (1399440054,), (1399440084,), (1399440078,), (1399440080,), (1399440082,), (1399440102,), (1399440103,), (1399440104,), (1399440105,), (1399440108,), (1399440111,), (1399440124,), (1399440125,), (1399440127,), (1399440129,), (1399440132,), (1399440135,), (1399440149,), (1399440151,), (1399440153,), (1399440180,), (1399440182,), (1399440184,), (1399440186,), (1399440189,), (1399440191,), (1399440201,), (1399440203,), (1399440205,), (1399440207,), (1399440226,), (1399440227,), (1399440228,), (1399440229,), (1399440253,), (1399440259,), (1399440261,), (1399440263,), (1399440266,), (1399440271,), (1399440288,), (1399440290,), (1399440292,), (1399440294,), (1399440297,), (1399440300,), (1399440311,), (1399440312,), (1399440313,), (1399440314,), (1399440341,), (1399440344,), (1399440346,), (1399440369,), (1399440371,), (1399440373,), (1399440377,), (1399440397,), (1399440399,), (1399440401,), (1399440403,), (1399440420,), (1399440421,), (1399440441,), (1399440443,), (1399440445,), (1399440447,), (1399440450,), (1399440482,), (1399440479,), (1399440480,), (1399440520,), (1399440521,), (1399440522,), (1399440536,), (1399440538,), (1399440540,), (1399440542,), (1399440545,), (1399440546,), (1399440572,), (1399440573,), (1399440574,), (1399440575,), (1399440578,), (1399440581,), (1399440596,), (1399440598,), (1399440600,), (1399440626,), (1399440628,), (1399440630,), (1399440632,), (1399440635,), (1399440638,), (1399440649,), (1399440651,), (1399440655,), (1399440659,), (1399440667,), (1399440671,), (1399440676,), (1399440677,), (1399440678,), (1399440685,), (1399440688,), (1399440692,), (1399440694,), (1399440697,), (1399440710,), (1399440711,), (1399440713,), (1399440714,), (1399440717,), (1399440749,), (1399440751,), (1399440753,), (1399440755,), (1399440758,), (1399440773,), (1399440775,), (1399440777,), (1399440798,), (1399440799,), (1399440800,), (1399440809,), (1399440847,), (1399440855,), (1399440857,), (1399440859,), (1399440891,), (1399440894,), (1399440895,), (1399440914,), (1399440916,), (1399440918,), (1399440922,), (1399440926,), (1399440963,), (1399440983,), (1399440984,), (1399440986,), (1399440988,), (1399441012,), (1399441014,), (1399441016,), (1399441018,), (1399441021,), (1399441041,), (1399441042,), (1399441043,), (1399441044,), (1399441066,), (1399441068,), (1399441070,), (1399441072,), (1399441090,), (1399441091,), (1399441092,), (1399441118,), (1399441122,), (1399441124,), (1399441146,), (1399441148,), (1399441150,), (1399441155,), (1399441159,), (1399441163,), (1399441177,), (1399441179,), (1399441181,), (1399441183,), (1399441186,), (1399441202,), (1399441205,), (1399441210,), (1399441214,), (1399441221,), (1399441227,), (1399441234,), (1399441237,), (1399441240,), (1399441242,), (1399441247,), (1399441249,), (1399441251,), (1399441274,), (1399441275,), (1399441278,), (1399441283,), (1399441288,), (1399441293,), (1399441297,), (1399441299,), (1399441300,), (1399441304,), (1399441306,), (1399441309,), (1399441312,), (1399441337,), (1399441339,), (1399441342,), (1399441344,), (1399441704,), (1399441572,), (1399441605,), (1399441637,), (1399441668,), (1399442096,), (1399442124,), (1399442171,), (1399442225,), (1399442286,), (1399442825,), (1399442858,), (1399442890,), (1399443000,), (1399443002,), (1399443004,), (1399443006,), (1399443375,), (1399443381,), (1399443389,), (1399443390,), (1399443415,), (1399443573,), (1399443579,), (1399443580,), (1399443596,), (1399443598,), (1399443599,), (1399443601,), (1399443621,), (1399443622,), (1399443623,), (1399443646,), (1399443670,), (1399443691,), (1399443696,), (1399443954,), (1399443969,), (1399444076,), (1399444074,), (1399444075,), (1399444295,), (1399444329,), (1399444335,), (1399444337,), (1399444355,), (1399444470,), (1399444473,), (1399444475,), (1399444477,), (1399444480,), (1399444497,), (1399444500,), (1399444503,), (1399444506,), (1399444510,), (1399444528,), (1399444541,), (1399444629,), (1399444649,), (1399444652,), (1399444654,), (1399444665,), (1399444667,), (1399444670,), (1399444841,), (1399444842,), (1399444843,), (1399444844,), (1399444858,), (1399444860,), (1399444862,), (1399444898,), (1399444899,), (1399444900,), (1399444914,), (1399444916,), (1399444919,), (1399444921,), (1399444924,), (1399444951,), (1399444953,), (1399444955,), (1399444957,), (1399444972,), (1399444973,), (1399444974,), (1399444975,), (1399444996,), (1399444999,), (1399445001,), (1399445003,), (1399445006,), (1399445031,), (1399445023,), (1399445024,), (1399445026,), (1399445028,), (1399445056,), (1399445058,), (1399445060,), (1399445076,), (1399445078,), (1399445079,), (1399445080,), (1399445102,), (1399445103,), (1399445104,), (1399445105,), (1399445108,), (1399445111,), (1399445122,), (1399445124,), (1399445126,), (1399445128,), (1399445131,), (1399445153,), (1399445154,), (1399445155,), (1399445182,), (1399445184,), (1399445186,), (1399445188,), (1399445228,), (1399445247,), (1399445251,), (1399445254,), (1399445264,), (1399445267,), (1399445320,), (1399445323,), (1399445327,), (1399445332,), (1399445336,), (1399445343,), (1399445370,), (1399445374,), (1399445375,), (1399445602,), (1399445628,), (1399445664,), (1399445697,), (1399445731,), (1399445739,), (1399445759,), (1399445760,), (1399445761,), (1399445762,), (1399445765,), (1399445788,), (1399445789,), (1399445790,), (1399445791,), (1399445794,), (1399445797,), (1399445844,), (1399445853,), (1399445855,), (1399446035,), (1399446038,), (1399446040,), (1399446065,), (1399446252,), (1399446229,), (1399446248,), (1399446250,), (1399446278,), (1399446289,), (1399446329,), (1399446356,), (1399446359,), (1399446363,), (1399446379,), (1399446381,), (1399446383,), (1399446385,), (1399446388,), (1399446406,), (1399446408,), (1399446410,), (1399446414,), (1399446418,), (1399446421,), (1399446644,), (1399446680,), (1399446713,), (1399446747,), (1399446776,), (1399446787,), (1399446790,), (1399446793,), (1399446797,), (1399446801,), (1399446827,), (1399446829,), (1399446831,), (1399446833,), (1399446836,), (1399446838,), (1399446876,), (1399446884,), (1399446885,), (1399446886,), (1399446944,), (1399446951,), (1399446953,), (1399446955,), (1399446975,), (1399446977,), (1399446979,), (1399446981,), (1399446984,), (1399446987,), (1399447007,), (1399447008,), (1399447009,), (1399447012,), (1399447015,), (1399447018,), (1399447035,), (1399447037,), (1399447039,), (1399447042,), (1399447048,), (1399447050,), (1399447064,), (1399447065,), (1399447067,), (1399447069,), (1399447070,), (1399447071,), (1399447078,), (1399447079,), (1399447081,), (1399447082,), (1399447085,), (1399447086,), (1399447089,), (1399447090,), (1399447093,), (1399447094,), (1399452528,), (1399452527,), (1399452545,), (1399452546,), (1399452548,), (1399452550,), (1399452695,), (1399452697,), (1399452699,), (1399452701,), (1399452704,), (1399452743,), (1399452746,), (1399452757,), (1399452766,), (1399452774,), (1399452778,), (1399452881,), (1399452945,), (1399453013,), (1399453110,), (1399453396,), (1399453429,), (1399453440,), (1399453783,), (1399453824,), (1399453772,), (1399453774,), (1399453777,), (1399453780,), (1399453798,), (1399453799,), (1399453800,), (1399453803,), (1399453806,), (1399453809,), (1399453817,), (1399453819,), (1399453821,), (1399453829,), (1399453831,), (1399453834,), (1399453836,), (1399453857,), (1399453859,), (1399453861,), (1399454199,), (1399454203,), (1399454208,), (1399454224,), (1399454226,), (1399454228,), (1399454232,), (1399454236,), (1399454259,), (1399454261,), (1399454263,), (1399454265,), (1399454268,), (1399454282,), (1399454284,), (1399454285,), (1399454287,), (1399454326,), (1399454328,), (1399454329,), (1399454330,), (1399454352,), (1399454353,), (1399454354,), (1399454355,), (1399454372,), (1399454374,), (1399454381,), (1399454458,), (1399454459,), (1399454460,), (1399454461,), (1399454464,), (1399454465,), (1399454561,), (1399454595,), (1399454633,), (1399454929,), (1399454934,), (1399454939,), (1399454943,), (1399455355,), (1399455327,), (1399455349,), (1399455352,), (1399455523,), (1399455547,), (1399455571,), (1399455604,), (1399455934,), (1399455937,), (1399455941,), (1399455945,), (1399455949,), (1399455954,), (1399455971,), (1399455972,), (1399456006,), (1399456040,), (1399456077,), (1399456114,), (1399456212,), (1399456214,), (1399456216,), (1399456270,), (1399456272,), (1399456273,), (1399456274,), (1399456442,), (1399456443,), (1399456444,), (1399456445,), (1399456447,), (1399456449,), (1399456481,), (1399456483,), (1399456485,), (1399456487,), (1399456490,), (1399456504,), (1399456505,), (1399456507,), (1399456514,), (1399456519,), (1399456522,), (1399456591,), (1399456613,), (1399456615,), (1399456617,), (1399456620,), (1399456858,), (1399456859,), (1399456860,), (1399457001,), (1399457003,), (1399457010,), (1399457012,), (1399457015,), (1399457018,), (1399457109,), (1399457110,), (1399457113,), (1399457203,), (1399457287,), (1399457378,), (1399457458,), (1399457462,), (1399457472,), (1399457496,), (1399457498,), (1399457499,), (1399457500,), (1399457502,), (1399457504,), (1399457543,), (1399457538,), (1399457541,), (1399457586,), (1399457587,), (1399457610,), (1399457650,), (1399457693,), (1399457728,), (1399458077,), (1399458100,), (1399458102,), (1399458104,), (1399458107,), (1399458194,), (1399458214,), (1399458262,), (1399458285,), (1399458316,), (1399458330,), (1399458339,), (1399458340,), (1399458343,), (1399458356,), (1399458366,), (1399458399,), (1399458430,), (1399458462,), (1399458495,), (1399458764,), (1399458807,), (1399458816,), (1399458822,), (1399459076,), (1399459077,), (1399459078,), (1399459079,), (1399459082,), (1399459085,), (1399459109,), (1399459110,), (1399459111,), (1399459112,), (1399459156,), (1399459157,), (1399459159,), (1399459192,), (1399459193,), (1399459194,), (1399459195,), (1399459215,), (1399459217,), (1399459219,), (1399459221,), (1399459223,), (1399459266,), (1399459267,), (1399459282,), (1399459284,), (1399459286,), (1399459288,), (1399459347,), (1399459357,), (1399459360,), (1399459362,), (1399459365,), (1399459368,), (1399459396,), (1399459387,), (1399459389,), (1399459391,), (1399459394,), (1399459412,), (1399459414,), (1399459416,), (1399459417,), (1399459435,), (1399459437,), (1399459439,), (1399459441,), (1399459444,), (1399459447,), (1399459467,), (1399459468,), (1399459469,), (1399459470,), (1399459472,), (1399459488,), (1399459535,), (1399459536,), (1399459537,), (1399459538,), (1399459540,), (1399459561,), (1399459563,), (1399459564,), (1399459566,), (1399459569,), (1399459572,), (1399459587,), (1399459589,), (1399459594,), (1399459597,), (1399459600,), (1399459603,), (1399459612,), (1399459613,), (1399459614,), (1399459615,), (1399459693,), (1399459725,), (1399459755,), (1399459769,), (1399459783,), (1399459789,), (1399459830,), (1399459832,), (1399459834,), (1399459838,), (1399459841,), (1399459845,), (1399459877,), (1399459879,), (1399459881,), (1399459883,), (1399459986,), (1399459992,), (1399460001,), (1399460002,), (1399460005,), (1399460008,), (1399460020,), (1399460022,), (1399460024,), (1399460026,), (1399460028,), (1399460031,), (1399460103,), (1399460104,), (1399460105,), (1399460213,), (1399460218,), (1399460239,), (1399460242,), (1399460251,), (1399460258,), (1399460277,), (1399460278,), (1399460280,), (1399460282,), (1399460285,), (1399460383,), (1399460736,), (1399460372,), (1399460374,), (1399460376,), (1399460378,), (1399460381,), (1399460396,), (1399460397,), (1399460398,), (1399460401,), (1399460404,), (1399460407,), (1399460455,), (1399460545,), (1399460636,), (1399460729,), (1399460733,), (1399460808,), (1399460810,), (1399460863,), (1399460867,), (1399460936,), (1399460937,), (1399460938,), (1399460973,), (1399460975,), (1399460977,), (1399460979,), (1399460982,), (1399460996,), (1399461001,), (1399461009,), (1399461012,), (1399461049,), (1399461050,), (1399461070,), (1399461072,), (1399461074,), (1399461076,), (1399461079,), (1399461098,), (1399461099,), (1399461100,), (1399461101,), (1399461102,), (1399461105,), (1399461123,), (1399461125,), (1399461127,), (1399461129,), (1399461132,), (1399461151,), (1399461152,), (1399461154,), (1399461170,), (1399461171,), (1399461172,), (1399461173,), (1399461176,), (1399461179,), (1399461193,), (1399461195,), (1399461197,), (1399461199,), (1399461202,), (1399461545,), (1399461579,), (1399461613,), (1399461646,), (1399461680,), (1399461831,), (1399461832,), (1399461838,), (1399461996,), (1399461851,), (1399461887,), (1399461919,), (1399461955,), (1399462595,), (1399462665,), (1399462725,), (1399462789,), (1399462858,), (1399463633,), (1399463696,), (1399463758,), (1399463831,), (1399464668,), (1399464867,), (1399464917,), (1399464933,), (1399464943,), (1399464976,), (1399465186,), (1399465246,), (1399465309,), (1399465368,), (1399465752,), (1399465765,), (1399465780,), (1399465788,), (1399465792,), (1399465812,), (1399465834,), (1399465837,), (1399465838,), (1399465841,), (1399465844,), (1399465847,), (1399465856,), (1399465857,), (1399465860,), (1399465864,), (1399466011,), (1399466074,), (1399466302,), (1399466304,), (1399466306,), (1399466307,), (1399466310,), (1399466341,), (1399466342,), (1399466343,), (1399466411,), (1399466444,), (1399466499,), (1399466551,), (1399466553,), (1399466571,), (1399466626,), (1399466738,), (1399466742,), (1399466744,), (1399466871,), (1399466890,), (1399466898,), (1399466900,), (1399466902,), (1399466967,), (1399466984,), (1399466986,), (1399466987,), (1399466990,), (1399467027,), (1399467089,), (1399467018,), (1399467020,), (1399467022,), (1399467024,), (1399467041,), (1399467043,), (1399467046,), (1399467053,), (1399467058,), (1399467059,), (1399467067,), (1399467070,), (1399467085,), (1399467096,), (1399467136,), (1399467176,), (1399467240,), (1399467304,), (1399467695,), (1399467758,), (1399467829,), (1399467916,), (1399468028,), (1399469020,), (1399469114,), (1399469209,), (1399470213,), (1399470289,), (1399470344,), (1399470363,), (1399470367,), (1399470370,), (1399470428,), (1399470476,), (1399470514,), (1399470552,), (1399470588,), (1399470654,), (1399471445,), (1399471506,), (1399471599,), (1399472193,), (1399472273,), (1399472331,), (1399472371,), (1399472408,), (1399472441,), (1399472772,), (1399472805,), (1399472837,), (1399472872,), (1399472905,), (1399472942,), (1399473257,), (1399473291,), (1399473332,), (1399473342,), (1399473422,), (1399473458,), (1399473491,), (1399473572,), (1399473661,), (1399473783,), (1399474092,), (1399474162,), (1399474246,), (1399474315,), (1399474403,), (1399474816,), (1399474844,), (1399474863,), (1399474899,), (1399474903,), (1399474913,), (1399474953,), (1399474987,), (1399475025,), (1399475437,), (1399475318,), (1399475353,), (1399475394,), (1399475412,), (1399475451,), (1399475452,), (1399475453,), (1399475454,), (1399475471,), (1399475472,), (1399475474,), (1399475476,), (1399475516,), (1399475622,), (1399476381,), (1399476434,), (1399476435,), (1399476436,), (1399476438,), (1399476743,), (1399476789,), (1399476820,), (1399477634,), (1399477689,), (1399477847,), (1399477931,), (1399477967,), (1399478002,), (1399478427,), (1399478459,), (1399478473,), (1399478476,), (1399478487,), (1399478537,), (1399478760,), (1399478821,), (1399478874,), (1399479006,), (1399479129,), (1399479568,), (1399479569,), (1399479678,), (1399479693,), (1399479795,), (1399479804,), (1399479901,), (1399479917,), (1399480352,), (1399480390,), (1399480426,), (1399480456,), (1399480491,), (1399480922,), (1399481062,), (1399481172,), (1399481294,), (1399481350,), (1399481613,), (1399481614,), (1399481615,), (1399481616,), (1399481650,), (1399481651,), (1399481652,), (1399481653,), (1399481655,), (1399482532,), (1399482548,), (1399482551,), (1399482553,), (1399482555,), (1399482575,), (1399482580,), (1399482585,), (1399482644,), (1399482741,), (1399482828,), (1399482970,), (1399483008,), (1399483076,), (1399483287,), (1399483322,), (1399483360,), (1399483399,), (1399483435,), (1399483848,), (1399483736,), (1399483773,), (1399483809,), (1399483989,), (1399483991,), (1399483993,), (1399484089,), (1399484131,), (1399484173,), (1399484222,), (1399484256,), (1399484655,), (1399484695,), (1399484729,), (1399484791,), (1399484827,), (1399485331,), (1399485369,), (1399485401,), (1399485435,), (1399485468,), (1399486466,), (1399486611,), (1399486764,), (1399486917,), (1399487035,), (1399487810,), (1399487857,), (1399487892,), (1399487915,), (1399487917,), (1399487919,), (1399487941,), (1399487943,), (1399487971,), (1399488024,), (1399488091,), (1399489224,), (1399489352,), (1399489500,), (1399490144,), (1399490146,), (1399490148,), (1399490285,), (1399490379,), (1399490406,), (1399490439,), (1399490441,), (1399490443,), (1399490445,), (1399490448,), (1399490450,), (1399490459,), (1399490461,), (1399490463,), (1399490466,), (1399490469,), (1399490473,), (1399490481,), (1399490482,), (1399490484,), (1399490488,), (1399490543,), (1399490579,), (1399491791,), (1399491826,), (1399491861,), (1399491896,), (1399491931,), (1399492282,), (1399492370,), (1399492439,), (1399492527,), (1399492659,), (1399492648,), (1399492656,), (1399492736,), (1399492739,), (1399492746,), (1399492756,), (1399492764,), (1399492768,), (1399492772,), (1399492776,), (1399492784,), (1399492846,), (1399492882,), (1399492923,), (1399492956,), (1399492992,), (1399493324,), (1399493327,), (1399493329,), (1399493555,), (1399493573,), (1399493577,), (1399493590,), (1399493593,), (1399494769,), (1399494820,), (1399494852,), (1399495589,), (1399495618,), (1399496411,), (1399496432,), (1399496435,), (1399506887,), (1399507486,), (1399507524,), (1399507526,), (1399507527,), (1399507528,), (1399507544,), (1399507545,), (1399507547,), (1399507549,), (1399507552,), (1399507555,), (1399507569,), (1399507570,), (1399507571,), (1399507572,), (1399507593,), (1399507594,), (1399507595,), (1399507596,), (1399507599,), (1399507602,), (1399507614,), (1399507616,), (1399507618,), (1399507620,), (1399507622,), (1399507640,), (1399507642,), (1399507644,), (1399507646,), (1399507667,), (1399507687,), (1399507720,), (1399507755,), (1399507788,), (1399507815,), (1399507817,), (1399507821,), (1399507856,), (1399507896,), (1399508332,), (1399508337,), (1399508342,), (1399508345,), (1399508348,), (1399508354,), (1399508355,), (1399508359,), (1399508362,), (1399508666,), (1399508495,), (1399508530,), (1399508563,), (1399508596,), (1399508631,), (1399508968,), (1399509057,), (1399509352,), (1399509354,), (1399509356,), (1399509358,), (1399509361,), (1399509457,), (1399509488,), (1399509518,), (1399509551,), (1399509586,), (1399509620,), (1399509963,), (1399509983,), (1399509985,), (1399510100,), (1399510134,), (1399510164,), (1399510195,), (1399510227,), (1399510366,), (1399510367,), (1399510369,), (1399510372,), (1399510375,), (1399510377,), (1399510388,), (1399510397,), (1399510401,), (1399510405,), (1399510532,), (1399510591,), (1399510664,), (1399510722,), (1399510903,), (1399510939,), (1399510978,), (1399511194,), (1399511196,), (1399511198,), (1399511293,), (1399511313,), (1399511315,), (1399511366,), (1399511368,), (1399511384,), (1399511421,), (1399511425,), (1399511518,), (1399511617,), (1399511658,), (1399511857,), (1399511859,), (1399511885,), (1399511879,), (1399511881,), (1399511883,), (1399512010,), (1399512012,), (1399512014,), (1399512018,), (1399512026,), (1399512044,), (1399512051,), (1399512053,), (1399512055,), (1399512059,), (1399512084,), (1399512085,), (1399512086,), (1399512087,), (1399512119,), (1399512122,), (1399512124,), (1399512131,), (1399512406,), (1399512408,), (1399512410,), (1399512412,), (1399512415,), (1399512417,), (1399512449,), (1399512451,), (1399512453,), (1399512455,), (1399512466,), (1399512468,), (1399512470,), (1399512472,), (1399512475,), (1399512492,), (1399512493,), (1399512494,), (1399512495,), (1399512498,), (1399512514,), (1399512517,), (1399512520,), (1399512523,), (1399512525,), (1399512573,), (1399512575,), (1399512577,), (1399512579,), (1399512601,), (1399512636,), (1399512788,), (1399512789,), (1399512790,), (1399512792,), (1399512820,), (1399512822,), (1399512850,), (1399512854,), (1399512856,), (1399512863,), (1399512864,), (1399512867,), (1399512964,), (1399512969,), (1399512971,), (1399512981,), (1399512982,), (1399512983,), (1399513015,), (1399513018,), (1399513020,), (1399513022,), (1399513045,), (1399513034,), (1399513035,), (1399513036,), (1399513038,), (1399513042,), (1399513070,), (1399513072,), (1399513074,), (1399513076,), (1399513116,), (1399513117,), (1399513118,), (1399513119,), (1399513150,), (1399513152,), (1399513154,), (1399513156,), (1399513174,), (1399513178,), (1399513238,), (1399513273,), (1399513308,), (1399513317,), (1399513338,), (1399513345,), (1399513426,), (1399513428,), (1399513430,), (1399513431,), (1399513488,), (1399513489,), (1399513491,), (1399513493,), (1399513495,), (1399513498,), (1399513520,), (1399513526,), (1399513538,), (1399513539,), (1399513746,), (1399513765,), (1399513766,), (1399513767,), (1399513770,), (1399513795,), (1399513798,), (1399513800,), (1399513802,), (1399513805,), (1399513830,), (1399513831,), (1399513832,), (1399513854,), (1399513856,), (1399513858,), (1399513860,), (1399513863,), (1399513898,), (1399513899,), (1399513900,), (1399513901,), (1399513904,), (1399513906,), (1399514000,), (1399514010,), (1399514020,), (1399514023,), (1399514202,), (1399514205,), (1399514207,), (1399514603,), (1399514458,), (1399514490,), (1399514552,), (1399514723,), (1399514732,), (1399514747,), (1399514779,), (1399514815,), (1399515038,), (1399515039,), (1399515040,), (1399515041,), (1399515043,), (1399515075,), (1399515076,), (1399515077,), (1399515127,), (1399515132,), (1399515134,), (1399515136,), (1399515139,), (1399515142,), (1399515173,), (1399515175,), (1399515177,), (1399515210,), (1399515261,), (1399515282,), (1399515317,), (1399515318,), (1399515319,), (1399515360,), (1399515365,), (1399515367,), (1399515370,), (1399515373,), (1399515376,), (1399515412,), (1399515415,), (1399515416,), (1399515417,), (1399515420,), (1399515423,), (1399515437,), (1399515448,), (1399515453,), (1399515481,), (1399515490,), (1399515492,), (1399515494,), (1399515497,), (1399515582,), (1399515584,), (1399515599,), (1399515602,), (1399515605,), (1399515608,), (1399515622,), (1399515623,), (1399515627,), (1399515633,), (1399515635,), (1399515640,), (1399515643,), (1399515645,), (1399515665,), (1399515668,), (1399515672,), (1399515677,), (1399515680,), (1399515686,), (1399515687,), (1399515692,), (1399515701,), (1399515703,), (1399515732,), (1399515720,), (1399515731,), (1399515746,), (1399515769,), (1399515836,), (1399515900,), (1399515965,), (1399516002,), (1399516148,), (1399516150,), (1399516153,), (1399516156,), (1399516177,), (1399516178,), (1399516179,), (1399516180,), (1399516183,), (1399516229,), (1399516231,), (1399516233,), (1399516235,), (1399516239,), (1399516275,), (1399516277,), (1399516279,), (1399516281,), (1399516312,), (1399516314,), (1399516348,), (1399516350,), (1399516352,), (1399516354,), (1399516357,), (1399516378,), (1399516379,), (1399516380,), (1399516381,), (1399516384,), (1399516387,), (1399516413,), (1399516415,), (1399516417,), (1399516419,), (1399516437,), (1399516438,), (1399516439,), (1399516440,), (1399516442,), (1399516472,), (1399516475,), (1399516478,), (1399516480,), (1399516484,), (1399516487,), (1399516534,), (1399516536,), (1399516538,), (1399516540,), (1399516566,), (1399516567,), (1399516568,), (1399516569,), (1399516572,), (1399516575,), (1399516593,), (1399516595,), (1399516598,), (1399516600,), (1399516604,), (1399516608,), (1399516672,), (1399516663,), (1399516668,), (1399516670,), (1399516683,), (1399516684,), (1399516686,), (1399516688,), (1399516691,), (1399516701,), (1399516704,), (1399516790,), (1399517145,), (1399526276,), (1399526273,), (1399526292,), (1399526293,), (1399526294,), (1399526295,), (1399526298,), (1399526311,), (1399526317,), (1399526319,), (1399526320,), (1399526337,), (1399526350,), (1399526353,), (1399526386,), (1399526388,), (1399526389,), (1399526420,), (1399526422,), (1399526424,), (1399526427,), (1399526430,), (1399526440,), (1399526442,), (1399526444,), (1399526446,), (1399526450,), (1399526453,), (1399526487,), (1399526525,), (1399526532,), (1399526533,), (1399526534,), (1399526563,), (1399526567,), (1399526571,), (1399526574,), (1399526580,), (1399526581,), (1399526582,), (1399526586,), (1399526590,), (1399526601,), (1399526599,), (1399526600,), (1399526630,), (1399526632,), (1399526634,), (1399526651,), (1399526652,), (1399526653,), (1399526654,), (1399526657,), (1399526674,), (1399526676,), (1399526678,), (1399526680,), (1399526682,), (1399526692,), (1399526694,), (1399526696,), (1399526720,), (1399526721,), (1399526728,), (1399526734,), (1399526742,), (1399526758,), (1399526759,), (1399526762,), (1399526765,), (1399526768,), (1399526771,), (1399526791,), (1399526792,), (1399526797,), (1399526829,), (1399528304,), (1399528342,), (1399528343,), (1399528344,), (1399528345,), (1399528640,), (1399528641,), (1399528642,), (1399528643,), (1399528646,), (1399528647,), (1399528663,), (1399528665,), (1399528668,), (1399528672,), (1399528676,), (1399528689,), (1399528691,), (1399528705,), (1399528707,), (1399528708,), (1399528710,), (1399528741,), (1399528744,), (1399528745,), (1399528746,), (1399528749,), (1399528752,), (1399528765,), (1399528766,), (1399528768,), (1399528770,), (1399530780,), (1399530656,), (1399530714,), (1399531389,), (1399531400,), (1399531424,), (1399531490,), (1399531556,), (1399531821,), (1399531823,), (1399532242,), (1399532275,), (1399532311,), (1399532344,), (1399532533,), (1399532563,), (1399532588,), (1399532591,), (1399532616,), (1399532620,), (1399532665,), (1399532671,), (1399532679,), (1399532689,), (1399532691,), (1399532692,), (1399532972,), (1399533014,), (1399533048,), (1399533083,), (1399533455,), (1399533488,), (1399533519,), (1399533543,), (1399533548,), (1399533551,), (1399533651,), (1399533653,), (1399533654,), (1399533656,), (1399533659,), (1399533684,), (1399533686,), (1399533688,), (1399533690,), (1399533803,), (1399533813,), (1399533903,), (1399533977,), (1399534012,), (1399534045,), (1399534077,), (1399534110,), (1399534270,), (1399534315,), (1399534356,), (1399534393,), (1399534433,), (1399534619,), (1399534652,), (1399534687,), (1399535156,), (1399535216,), (1399535286,), (1399535351,), (1399535833,), (1399535977,), (1399536030,), (1399536213,), (1399536214,), (1399536215,), (1399536216,), (1399536219,), (1399536612,), (1399536808,), (1399536888,), (1399536889,), (1399536890,), (1399536891,), (1399536893,), (1399536915,), (1399536916,), (1399536917,), (1399536918,), (1399536921,), (1399536933,), (1399536935,), (1399536937,), (1399536939,), (1399536942,), (1399536964,), (1399536966,), (1399536968,), (1399536984,), (1399536980,), (1399536981,), (1399536982,), (1399537006,), (1399537007,), (1399537008,), (1399537009,), (1399537012,), (1399537025,), (1399537027,), (1399537029,), (1399537031,), (1399537034,), (1399537037,), (1399537075,), (1399537076,), (1399537077,), (1399537078,), (1399537081,), (1399537108,), (1399537265,), (1399537267,), (1399537269,), (1399537371,), (1399537373,), (1399537375,), (1399537377,), (1399537380,), (1399537404,), (1399537410,), (1399537411,), (1399537418,), (1399537427,), (1399537432,), (1399537449,), (1399537450,), (1399537452,), (1399537459,), (1399537475,), (1399537477,), (1399537480,), (1399537482,), (1399537484,), (1399537495,), (1399537496,), (1399537497,), (1399537498,), (1399537501,), (1399537714,), (1399537746,), (1399537782,), (1399537805,), (1399537808,), (1399537904,), (1399537906,), (1399537924,), (1399537927,), (1399537929,), (1399537932,), (1399537936,), (1399537972,), (1399538019,), (1399537964,), (1399537966,), (1399537968,), (1399537990,), (1399537993,), (1399537996,), (1399537999,), (1399538006,), (1399538010,), (1399538017,), (1399538021,), (1399538022,), (1399538025,), (1399538028,), (1399538045,), (1399538047,), (1399538049,), (1399538165,), (1399538179,), (1399538193,), (1399538203,), (1399538219,), (1399538220,), (1399538221,), (1399538222,), (1399538225,), (1399538244,), (1399538245,), (1399538246,), (1399538247,), (1399538249,), (1399538251,), (1399538358,), (1399538360,), (1399538378,), (1399538382,), (1399538400,), (1399538401,), (1399538402,), (1399538403,), (1399538406,), (1399538409,), (1399538421,), (1399538422,), (1399538423,), (1399538424,), (1399538427,), (1399538430,), (1399538489,), (1399538521,), (1399538550,), (1399538625,), (1399538626,), (1399538627,), (1399538650,), (1399538684,), (1399538720,), (1399538837,), (1399540084,), (1399539837,), (1399539878,), (1399539944,), (1399540005,), (1399540532,), (1399540563,), (1399540627,), (1399540666,), (1399540673,), (1399540778,), (1399540779,), (1399540780,), (1399540781,), (1399540794,), (1399540825,), (1399540857,), (1399540887,), (1399540920,), (1399541022,), (1399541024,), (1399541025,), (1399541027,), (1399541038,), (1399541040,), (1399541042,), (1399541044,), (1399541048,), (1399541051,), (1399541072,), (1399541150,), (1399541184,), (1399541217,), (1399541299,), (1399541301,), (1399541303,), (1399541307,), (1399541311,), (1399541316,), (1399541339,), (1399541341,), (1399541343,), (1399541345,), (1399541360,), (1399541361,), (1399541362,), (1399541363,), (1399541366,), (1399541368,), (1399541399,), (1399541403,), (1399541405,), (1399541407,), (1399541428,), (1399541429,), (1399541430,), (1399541431,), (1399541433,), (1399541458,), (1399541460,), (1399541461,), (1399541462,), (1399541492,), (1399541498,), (1399541499,), (1399541501,), (1399541504,), (1399541508,), (1399541532,), (1399541570,), (1399541522,), (1399541524,), (1399541525,), (1399541526,), (1399541529,), (1399541544,), (1399541546,), (1399541548,), (1399541551,), (1399541554,), (1399541556,), (1399541567,), (1399541568,), (1399541578,), (1399541579,), (1399541580,), (1399541583,), (1399541602,), (1399541604,), (1399541606,), (1399541608,), (1399541611,), (1399541613,), (1399541626,), (1399541628,), (1399541630,), (1399541632,), (1399541648,), (1399541650,), (1399541652,), (1399541655,), (1399541657,), (1399541677,), (1399541678,), (1399541679,), (1399541680,), (1399541698,), (1399541701,), (1399541746,), (1399541747,), (1399541771,), (1399541773,), (1399541775,), (1399541777,), (1399541780,), (1399541783,), (1399541799,), (1399541802,), (1399541806,), (1399541809,), (1399541812,), (1399541821,), (1399541837,), (1399541838,), (1399541841,), (1399541842,), (1399541845,), (1399541848,), (1399541862,), (1399541865,), (1399541868,), (1399541875,), (1399541878,), (1399541882,), (1399541886,), (1399541907,), (1399541915,), (1399541926,), (1399541930,), (1399541932,), (1399541947,), (1399541942,), (1399541944,), (1399541970,), (1399541972,), (1399541974,), (1399541976,), (1399541979,), (1399541981,), (1399541997,), (1399541999,), (1399542001,), (1399542003,), (1399542006,), (1399542009,), (1399542027,), (1399542029,), (1399542031,), (1399542033,), (1399542036,), (1399542050,), (1399542051,), (1399542052,), (1399542053,), (1399542056,), (1399542059,), (1399542073,), (1399542075,), (1399542077,), (1399542079,), (1399542082,), (1399542107,), (1399542112,), (1399542124,), (1399542130,), (1399542134,), (1399542138,), (1399542145,), (1399542146,), (1399542147,), (1399542190,), (1399542236,), (1399542238,), (1399542241,), (1399542244,), (1399542248,), (1399542251,), (1399542254,), (1399542256,), (1399542257,), (1399542270,), (1399542303,), (1399542304,), (1399542305,), (1399542310,), (1399542313,), (1399542316,), (1399542435,), (1399542468,), (1399542501,), (1399542553,), (1399542561,), (1399542568,), (1399542585,), (1399542587,), (1399542589,), (1399542593,), (1399542597,), (1399542601,), (1399542651,), (1399542653,), (1399542664,), (1399542674,), (1399542709,), (1399542710,), (1399542712,), (1399542713,), (1399542972,), (1399542930,), (1399542943,), (1399543331,), (1399543333,), (1399543335,), (1399543358,), (1399543359,), (1399543360,), (1399543361,), (1399543363,), (1399543366,), (1399543385,), (1399543386,), (1399543387,), (1399543388,), (1399543410,), (1399543412,), (1399543414,), (1399543416,), (1399543433,), (1399543434,), (1399543435,), (1399543436,), (1399543439,), (1399543442,), (1399543462,), (1399543483,), (1399543516,), (1399543818,), (1399543821,), (1399543823,), (1399543825,), (1399543828,), (1399543841,), (1399543842,), (1399543843,), (1399543844,), (1399543847,), (1399543850,), (1399544148,), (1399544151,), (1399544153,), (1399544169,), (1399544170,), (1399544171,), (1399544172,), (1399544175,), (1399544178,), (1399544207,), (1399544242,), (1399544274,), (1399544983,), (1399544981,), (1399545003,), (1399545004,), (1399545005,), (1399545006,), (1399545025,), (1399545026,), (1399545027,), (1399545043,), (1399545045,), (1399545046,), (1399545060,), (1399545061,), (1399545062,), (1399545078,), (1399545080,), (1399545082,), (1399545084,), (1399545086,), (1399545089,), (1399545104,), (1399545106,), (1399545108,), (1399545112,), (1399545116,), (1399545120,), (1399545136,), (1399545138,), (1399545140,), (1399545142,), (1399545158,), (1399545159,), (1399545160,), (1399545161,), (1399545183,), (1399545185,), (1399545186,), (1399545187,), (1399545189,), (1399545191,), (1399545213,), (1399545214,), (1399545215,), (1399545216,), (1399545218,), (1399545220,), (1399545244,), (1399545262,), (1399545271,), (1399545272,), (1399545286,), (1399545288,), (1399545291,), (1399545293,), (1399545296,), (1399545322,), (1399545316,), (1399545317,), (1399545318,), (1399545319,), (1399545338,), (1399545340,), (1399545342,), (1399545344,), (1399545373,), (1399545375,), (1399545377,), (1399545379,), (1399545382,), (1399545385,), (1399545396,), (1399545398,), (1399545400,), (1399545404,), (1399545408,), (1399545412,), (1399545435,), (1399545437,), (1399545439,), (1399545455,), (1399545456,), (1399545458,), (1399545460,), (1399545462,), (1399545465,), (1399545489,), (1399545491,), (1399545493,), (1399545495,), (1399545498,), (1399545512,), (1399545513,), (1399545514,), (1399545515,), (1399545548,), (1399545551,), (1399545553,), (1399545555,), (1399545558,), (1399545581,), (1399545588,), (1399545596,), (1399545598,), (1399545601,), (1399545604,), (1399545625,), (1399545627,), (1399545629,), (1399545631,), (1399545647,), (1399545648,), (1399545649,), (1399545650,), (1399545653,), (1399545656,), (1399545673,), (1399545675,), (1399545677,), (1399545679,), (1399545703,), (1399545704,), (1399545705,), (1399545706,), (1399545709,), (1399545712,), (1399545738,), (1399545741,), (1399545742,), (1399545771,), (1399545762,), (1399545764,), (1399545766,), (1399545768,), (1399545791,), (1399545793,), (1399545794,), (1399545795,), (1399545798,), (1399545801,), (1399545812,), (1399545814,), (1399545816,), (1399545846,), (1399545848,), (1399545850,), (1399545852,), (1399545855,), (1399545858,), (1399545877,), (1399545878,), (1399545879,), (1399545880,), (1399546118,), (1399546120,), (1399546148,), (1399546154,), (1399546170,), (1399546171,), (1399546172,), (1399546173,), (1399546176,), (1399546189,), (1399546190,), (1399546191,), (1399546192,), (1399546195,), (1399546218,), (1399546220,), (1399546222,), (1399546224,), (1399546226,), (1399546311,), (1399546331,), (1399546336,), (1399549656,), (1399549857,), (1399550139,), (1399550140,), (1399550141,), (1399550142,), (1399550151,), (1399550152,), (1399550153,), (1399550407,), (1399550433,), (1399550434,), (1399550466,), (1399550467,), (1399550468,), (1399550469,), (1399550486,), (1399550487,), (1399550503,), (1399550504,), (1399550505,), (1399550506,), (1399550508,), (1399550509,), (1399550528,), (1399550530,), (1399550531,), (1399550532,), (1399550535,), (1399550539,), (1399550555,), (1399550549,), (1399550550,), (1399550551,), (1399550552,), (1399550571,), (1399550572,), (1399550573,), (1399550574,), (1399550577,), (1399550589,), (1399550590,), (1399550591,), (1399550592,), (1399550618,), (1399550619,), (1399550620,), (1399550621,), (1399550624,), (1399550627,), (1399550637,), (1399550639,), (1399550641,), (1399550645,), (1399550658,), (1399550659,), (1399550660,), (1399550661,), (1399550664,), (1399550666,), (1399550677,), (1399550678,), (1399550679,), (1399550708,), (1399550709,), (1399550710,), (1399550711,), (1399550713,), (1399550716,), (1399550733,), (1399550734,), (1399550735,), (1399550736,), (1399550737,), (1399550740,), (1399550763,), (1399550771,), (1399550775,), (1399550793,), (1399550795,), (1399550796,), (1399550797,), (1399550799,), (1399550816,), (1399550817,), (1399550818,), (1399550819,), (1399550822,), (1399550836,), (1399550838,), (1399550840,), (1399550878,), (1399550879,), (1399550930,), (1399550929,), (1399550950,), (1399550973,), (1399550974,), (1399551008,), (1399551009,), (1399551024,), (1399551061,), (1399551099,), (1399551115,), (1399551117,), (1399551119,), (1399551123,), (1399551127,), (1399551140,), (1399551142,), (1399551144,), (1399551148,), (1399551152,), (1399551160,), (1399551161,), (1399551162,), (1399551178,), (1399551180,), (1399551182,), (1399551183,), (1399551185,), (1399551210,), (1399551214,), (1399551217,), (1399551221,), (1399551293,), (1399551239,), (1399551240,), (1399551262,), (1399551735,), (1399551796,), (1399551860,), (1399551928,), (1399551997,), (1399552516,), (1399552550,), (1399552582,), (1399552616,), (1399552651,), (1399552836,), (1399552903,), (1399553422,), (1399553423,), (1399553451,), (1399553481,), (1399553484,), (1399553572,), (1399553573,), (1399553574,), (1399553838,), (1399553870,), (1399553904,), (1399553937,), (1399553971,), (1399554184,), (1399554200,), (1399554204,), (1399554207,), (1399554210,), (1399554224,), (1399554225,), (1399554226,), (1399554227,), (1399554230,), (1399554255,), (1399554256,), (1399554257,), (1399554258,), (1399554274,), (1399554278,), (1399554292,), (1399554414,), (1399555639,), (1399555733,), (1399555765,), (1399555796,), (1399556178,), (1399556184,), (1399556187,), (1399556334,), (1399556335,), (1399556336,), (1399556337,), (1399556360,), (1399556361,), (1399556362,), (1399556374,), (1399556375,), (1399556376,), (1399556377,), (1399556380,), (1399556391,), (1399556394,), (1399556395,), (1399556396,), (1399556398,), (1399556413,), (1399556414,), (1399556441,), (1399556442,), (1399556443,), (1399556444,), (1399556455,), (1399556457,), (1399556459,), (1399556463,), (1399556467,), (1399556486,), (1399556487,), (1399556488,), (1399556489,), (1399556492,), (1399556495,), (1399556507,), (1399556508,), (1399556509,), (1399556510,), (1399556726,), (1399556759,), (1399556794,), (1399556826,), (1399556858,), (1399556892,), (1399557528,), (1399557391,), (1399557427,), (1399557461,), (1399557499,), (1399557525,), (1399557536,), (1399557539,), (1399557540,), (1399557800,), (1399557801,), (1399557802,), (1399557805,), (1399557808,), (1399557818,), (1399557902,), (1399557917,), (1399557951,), (1399557952,), (1399557953,), (1399557954,), (1399557964,), (1399557965,), (1399557966,), (1399557967,), (1399557970,), (1399557982,), (1399557983,), (1399557984,), (1399557985,), (1399557988,), (1399558002,), (1399558004,), (1399558006,), (1399558008,), (1399558029,), (1399558030,), (1399558031,), (1399558032,), (1399558042,), (1399558055,), (1399558414,), (1399558447,), (1399558479,), (1399558514,), (1399558851,), (1399558881,), (1399558917,), (1399558948,), (1399558972,), (1399558973,), (1399558974,), (1399558982,), (1399559014,), (1399559048,), (1399559290,), (1399559311,), (1399559321,), (1399559509,), (1399559542,), (1399559573,), (1399559607,), (1399559619,), (1399559622,), (1399559748,), (1399559757,), (1399559758,), (1399559763,), (1399559766,), (1399559769,), (1399559775,), (1399559777,), (1399559781,), (1399559819,), (1399559816,), (1399559817,), (1399559818,), (1399559983,), (1399560016,), (1399560046,), (1399560079,), (1399560110,), (1399560395,), (1399560661,), (1399560663,), (1399560665,), (1399560669,), (1399560690,), (1399560725,), (1399560848,), (1399560880,), (1399560914,), (1399560977,), (1399561036,), (1399561081,), (1399561118,), (1399561532,), (1399561564,), (1399561594,), (1399561925,), (1399561926,), (1399561927,), (1399561928,), (1399561931,), (1399562097,), (1399562129,), (1399562160,), (1399562192,), (1399562223,), (1399562240,), (1399562387,), (1399562390,), (1399562401,), (1399562402,), (1399562405,), (1399562423,), (1399562424,), (1399562426,), (1399562428,), (1399562443,), (1399562444,), (1399562446,), (1399562448,), (1399562451,), (1399562461,), (1399562462,), (1399562463,), (1399562464,), (1399562467,), (1399562501,), (1399562502,), (1399562503,), (1399562504,), (1399562507,), (1399562510,), (1399562661,), (1399562698,), (1399563543,), (1399563403,), (1399563435,), (1399563471,), (1399563506,), (1399563803,), (1399563804,), (1399563810,), (1399563812,), (1399563999,), (1399564063,), (1399564129,), (1399564193,), (1399564264,), (1399564309,), (1399564622,), (1399564658,), (1399564667,), (1399564668,), (1399564674,), (1399564709,), (1399564745,), (1399564746,), (1399564747,), (1399564767,), (1399564768,), (1399564769,), (1399564770,), (1399564773,), (1399564776,), (1399564792,), (1399564794,), (1399564796,), (1399564800,), (1399564804,), (1399564826,), (1399564828,), (1399564830,), (1399564834,), (1399564848,), (1399564849,), (1399564850,), (1399564851,), (1399564853,), (1399564855,), (1399564891,), (1399564892,), (1399564893,), (1399564895,), (1399564897,), (1399564898,), (1399564905,), (1399564908,), (1399564910,), (1399564916,), (1399564917,), (1399564918,), (1399564921,), (1399564924,), (1399564927,), (1399564936,), (1399564937,), (1399564938,), (1399564939,), (1399564942,), (1399564968,), (1399564971,), (1399564972,), (1399564994,), (1399564995,), (1399564996,), (1399564997,), (1399565000,), (1399565003,), (1399565011,), (1399565013,), (1399565014,), (1399565017,), (1399565019,), (1399565045,), (1399565040,), (1399565041,), (1399565042,), (1399565043,), (1399565071,), (1399565072,), (1399565073,), (1399565074,), (1399565076,), (1399565078,), (1399565093,), (1399565094,), (1399565095,), (1399565096,), (1399565118,), (1399565119,), (1399565120,), (1399565121,), (1399565122,), (1399565124,), (1399565156,), (1399565157,), (1399565158,), (1399565159,), (1399565176,), (1399565183,), (1399565184,), (1399565185,), (1399565188,), (1399565191,), (1399565208,), (1399565209,), (1399565210,), (1399565211,), (1399565214,), (1399565216,), (1399565234,), (1399565236,), (1399565237,), (1399565265,), (1399565273,), (1399565285,), (1399565286,), (1399565289,), (1399565292,), (1399565310,), (1399565314,), (1399565317,), (1399565321,), (1399565325,), (1399565331,), (1399565333,), (1399565334,), (1399565372,), (1399565373,), (1399565374,), (1399565375,), (1399565377,), (1399565380,), (1399565424,), (1399565425,), (1399565426,), (1399565445,), (1399565448,), (1399565450,), (1399565451,), (1399565453,), (1399565454,), (1399565479,), (1399565480,), (1399565482,), (1399565500,), (1399565555,), (1399565556,), (1399565557,), (1399565558,), (1399565581,), (1399565583,), (1399565584,), (1399565585,), (1399565587,), (1399565601,), (1399565624,), (1399565625,), (1399565626,), (1399565627,), (1399565630,), (1399565633,), (1399565649,), (1399565650,), (1399565651,), (1399565667,), (1399565702,), (1399565737,), (1399566048,), (1399566077,), (1399566109,), (1399566140,), (1399566310,), (1399566312,), (1399566313,), (1399566339,), (1399566372,), (1399566591,), (1399566592,), (1399566609,), (1399566633,), (1399566640,), (1399566642,), (1399566654,), (1399566658,), (1399566660,), (1399566697,), (1399566699,), (1399566701,), (1399566705,), (1399566709,), (1399566723,), (1399566726,), (1399566730,), (1399566734,), (1399566736,), (1399566764,), (1399566765,), (1399566766,), (1399566767,), (1399566770,), (1399566784,), (1399566786,), (1399566788,), (1399566792,), (1399567219,), (1399567088,), (1399567125,), (1399567156,), (1399567187,), (1399567336,), (1399567373,), (1399567406,), (1399567446,), (1399567579,), (1399567580,), (1399567581,), (1399567599,), (1399567600,), (1399567601,), (1399567602,), (1399567603,), (1399567606,), (1399567621,), (1399567653,), (1399567684,), (1399567716,), (1399567845,), (1399567846,), (1399567867,), (1399567870,), (1399567871,), (1399567886,), (1399567888,), (1399568649,), (1399568678,), (1399568978,), (1399569008,), (1399569051,), (1399569256,), (1399569321,), (1399569391,), (1399569457,), (1399570077,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'15122025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([29449917]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] map_info['map_portfolio_photo'] : {29449917: [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088]} final : True mtd_id 4302 list_pids : [1399570077, 1399569457, 1399569391, 1399569321, 1399569256, 1399569051, 1399569008, 1399568978, 1399568678, 1399568649, 1399567888, 1399567886, 1399567871, 1399567870, 1399567867, 1399567846, 1399567845, 1399567716, 1399567684, 1399567653, 1399567621, 1399567606, 1399567603, 1399567602, 1399567601, 1399567600, 1399567599, 1399567581, 1399567580, 1399567579, 1399567446, 1399567406, 1399567373, 1399567336, 1399567187, 1399567156, 1399567125, 1399567088] Looping around the photos to save general results len do output : 1 /29449917Didn'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, '4233575') ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575') ('4302', None, None, None, None, None, None, None, '4233575') ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 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, '29449917', 'None', None, None, None, None, '4233575'), ('4302', '29449917', '1399570077', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569457', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569391', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569321', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569256', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569051', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399569008', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568978', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568678', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399568649', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567888', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567886', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567871', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567870', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567867', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567846', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567845', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567716', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567684', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567653', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567621', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567606', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567603', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567602', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567601', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567600', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567599', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567581', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567580', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567579', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567446', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567406', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567373', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567336', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567187', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567156', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567125', None, None, None, None, None, '4233575'), ('4302', '29449917', '1399567088', None, None, None, None, None, '4233575')] time used for this insertion : 0.022341251373291016 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.786953926086426 time spend to save output : 0.0227658748626709 total time spend for step 5 : 4.809719800949097 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 (4233575) 3.14user 2.39system 0:17.86elapsed 30%CPU (0avgtext+0avgdata 169504maxresident)k 272inputs+32160outputs (12major+89443minor)pagefaults 0swaps