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 : 4176215 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 (2943554) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2943554) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283810 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2943554'] with mtr_portfolio_ids : ['23283810'] and first list_photo_ids : [] new path : /proc/4176215/ Name: python3 Umask: 0002 State: R (running) Tgid: 4176215 Ngid: 0 Pid: 4176215 PPid: 4176214 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 4176215 NSpid: 4176215 NSpgid: 4173057 NSsid: 4173057 VmPeak: 1107208 kB VmSize: 1107208 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98504 kB VmRSS: 98504 kB RssAnon: 60212 kB RssFile: 38292 kB RssShmem: 0 kB VmData: 865956 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 604 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 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: 60 nonvoluntary_ctxt_switches: 163 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '4176215', 'Ngid': '0', 'Pid': '4176215', 'PPid': '4176214', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '4176215', 'NSpid': '4176215', 'NSpgid': '4173057', 'NSsid': '4173057', 'VmPeak': '1107208 kB', 'VmSize': '1107208 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98504 kB', 'VmRSS': '98504 kB', 'RssAnon': '60212 kB', 'RssFile': '38292 kB', 'RssShmem': '0 kB', 'VmData': '865956 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '604 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', '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': '60', 'nonvoluntary_ctxt_switches': '163'} ('datou_batch_current', '4176215', '1107208', '0', '1107208', '865956', '98504', b'', 'marlene', '2943554') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (23283810) 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 (2943554 ) ) 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 (23283810) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1360686131, 'portfolio_id': 23283810}, {'photo_id': 1360685794, 'portfolio_id': 23283810}, {'photo_id': 1360685792, 'portfolio_id': 23283810}, {'photo_id': 1360685790, 'portfolio_id': 23283810}, {'photo_id': 1360685766, 'portfolio_id': 23283810}, {'photo_id': 1360685764, 'portfolio_id': 23283810}, {'photo_id': 1360685720, 'portfolio_id': 23283810}, {'photo_id': 1360685717, 'portfolio_id': 23283810}, {'photo_id': 1360685713, 'portfolio_id': 23283810}, {'photo_id': 1360685709, 'portfolio_id': 23283810}, {'photo_id': 1360685705, 'portfolio_id': 23283810}, {'photo_id': 1360685687, 'portfolio_id': 23283810}, {'photo_id': 1360685685, 'portfolio_id': 23283810}, {'photo_id': 1360685681, 'portfolio_id': 23283810}, {'photo_id': 1360685678, 'portfolio_id': 23283810}, {'photo_id': 1360685675, 'portfolio_id': 23283810}, {'photo_id': 1360685656, 'portfolio_id': 23283810}, {'photo_id': 1360685654, 'portfolio_id': 23283810}, {'photo_id': 1360685614, 'portfolio_id': 23283810}, {'photo_id': 1360685611, 'portfolio_id': 23283810}, {'photo_id': 1360685609, 'portfolio_id': 23283810}, {'photo_id': 1360685594, 'portfolio_id': 23283810}, {'photo_id': 1360685591, 'portfolio_id': 23283810}, {'photo_id': 1360685589, 'portfolio_id': 23283810}, {'photo_id': 1360685588, 'portfolio_id': 23283810}, {'photo_id': 1360685566, 'portfolio_id': 23283810}, {'photo_id': 1360685563, 'portfolio_id': 23283810}, {'photo_id': 1360685561, 'portfolio_id': 23283810}, {'photo_id': 1360685558, 'portfolio_id': 23283810}, {'photo_id': 1360685555, 'portfolio_id': 23283810}, {'photo_id': 1360685552, 'portfolio_id': 23283810}, {'photo_id': 1360685529, 'portfolio_id': 23283810}, {'photo_id': 1360685526, 'portfolio_id': 23283810}, {'photo_id': 1360685524, 'portfolio_id': 23283810}, {'photo_id': 1360685522, 'portfolio_id': 23283810}, {'photo_id': 1360685500, 'portfolio_id': 23283810}, {'photo_id': 1360685480, 'portfolio_id': 23283810}, {'photo_id': 1360685477, 'portfolio_id': 23283810}, {'photo_id': 1360685474, 'portfolio_id': 23283810}, {'photo_id': 1360685471, 'portfolio_id': 23283810}, {'photo_id': 1360685445, 'portfolio_id': 23283810}, {'photo_id': 1360685442, 'portfolio_id': 23283810}] map_portfolio_id_photo_id: {23283810: [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442]} ##### 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.017752885818481445 #### 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 Mon May 26 15:04:57 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 (23283810) 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 : 23283810 get user id for portfolio 23283810 get sub ptf for main ptf 23283810, type 3726 and hashtags ['flou', 'autre_refus', 'papier', 'cartonnette', 'Carton_gris', 'mal_croppe', 'metal', 'Carton_brun', 'environnement', 'plastique', 'Teint_Dans_La_Masse', 'kraft'] 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`=23283810 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','cartonnette','Carton_gris','mal_croppe','metal','Carton_brun','environnement','plastique','Teint_Dans_La_Masse','kraft')) 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`=23283810 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','cartonnette','Carton_gris','mal_croppe','metal','Carton_brun','environnement','plastique','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 23283810, 'sub_port_id': 23283819, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531267, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'flou': {'main_port_id': 23283810, 'sub_port_id': 23283820, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531268, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 23283810, 'sub_port_id': 23283821, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531269, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'papier': {'main_port_id': 23283810, 'sub_port_id': 23283822, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531270, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'plastique': {'main_port_id': 23283810, 'sub_port_id': 23283823, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531271, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'metal': {'main_port_id': 23283810, 'sub_port_id': 23283824, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531272, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'Carton_gris': {'main_port_id': 23283810, 'sub_port_id': 23283825, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531273, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'autre_refus': {'main_port_id': 23283810, 'sub_port_id': 23283826, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531274, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'kraft': {'main_port_id': 23283810, 'sub_port_id': 23283827, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531275, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'cartonnette': {'main_port_id': 23283810, 'sub_port_id': 23283828, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531276, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'mal_croppe': {'main_port_id': 23283810, 'sub_port_id': 23283829, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531277, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}, 'environnement': {'main_port_id': 23283810, 'sub_port_id': 23283830, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531278, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 27), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23283819 , 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=23283810 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 (23283819) result : ((1360685644,), (1360685647,), (1360685648,), (1360685787,), (1360685803,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283820 , 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=23283810 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 (23283820) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283821 , 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=23283810 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 (23283821) result : ((1360685630,), (1360685633,), (1360685634,), (1360685635,), (1360685780,), (1360686074,), (1360686077,), (1360686078,), (1360686079,), (1360686080,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283822 , 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=23283810 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 (23283822) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283823 , 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=23283810 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 (23283823) result : ((1360685650,), (1360686088,), (1360686160,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283824 , 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=23283810 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 (23283824) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283825 , 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=23283810 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 (23283825) result : ((1360685636,), (1360685637,), (1360685638,), (1360685640,), (1360685641,), (1360685642,), (1360685643,), (1360685782,), (1360685784,), (1360685785,), (1360685786,), (1360686085,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283826 , 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=23283810 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 (23283826) result : ((1360685984,), (1360686083,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283827 , 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=23283810 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 (23283827) result : ((1360685649,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283828 , 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=23283810 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 (23283828) result : ((1360685639,), (1360686086,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283829 , 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=23283810 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 (23283829) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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 23283830 , 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=23283810 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 (23283830) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23283810) result : ((1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,)) 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 (1360685500) 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`=23283810 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','cartonnette','Carton_gris','mal_croppe','metal','Carton_brun','environnement','plastique','Teint_Dans_La_Masse','kraft')) 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`=23283810 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('flou','autre_refus','papier','cartonnette','Carton_gris','mal_croppe','metal','Carton_brun','environnement','plastique','Teint_Dans_La_Masse','kraft')) AND mptpi.`min_score`=0.5 To do returned map {'Carton_brun': {'main_port_id': 23283810, 'sub_port_id': 23283832, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531279, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'flou': {'main_port_id': 23283810, 'sub_port_id': 23283833, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531280, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'Teint_Dans_La_Masse': {'main_port_id': 23283810, 'sub_port_id': 23283834, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531281, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'papier': {'main_port_id': 23283810, 'sub_port_id': 23283835, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531282, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'plastique': {'main_port_id': 23283810, 'sub_port_id': 23283836, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531283, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'metal': {'main_port_id': 23283810, 'sub_port_id': 23283837, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531284, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'Carton_gris': {'main_port_id': 23283810, 'sub_port_id': 23283838, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531285, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'autre_refus': {'main_port_id': 23283810, 'sub_port_id': 23283839, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531286, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'kraft': {'main_port_id': 23283810, 'sub_port_id': 23283840, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531287, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'cartonnette': {'main_port_id': 23283810, 'sub_port_id': 23283841, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531288, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'mal_croppe': {'main_port_id': 23283810, 'sub_port_id': 23283842, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531289, 'last_updated_at': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 1, 47, 33), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}, 'environnement': {'main_port_id': 23283810, 'sub_port_id': 23283843, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15531290, 'last_updated_at': datetime.datetime(2025, 5, 23, 2, 3, 28), 'last_updated_at_desc': datetime.datetime(2025, 5, 23, 2, 3, 28), 'last_updated_at_asc': datetime.datetime(2025, 5, 23, 1, 47, 33)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283832,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283819 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283833,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283820 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283834,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283821 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283835,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283822 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283836,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283823 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283837,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283824 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283838,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283825 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283839,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283826 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283840,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283827 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283841,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283828 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283842,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283829 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23283843,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23283830 lien utilise dans velours : https://www.fotonower.com/velours/23283832,23283833,23283834,23283835,23283836,23283837,23283838,23283839,23283840,23283841,23283842,23283843?tags=Carton_brun,flou,Teint_Dans_La_Masse,papier,plastique,metal,Carton_gris,autre_refus,kraft,cartonnette,mal_croppe,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23283810]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] map_info['map_portfolio_photo'] : {23283810: [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442]} final : False mtd_id 4302 list_pids : [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] Looping around the photos to save general results len do output : 1 /23283810. 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, '2943554') ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '23283810', "{'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830}", None, None, None, None, '2943554'), ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554')] time used for this insertion : 0.01947164535522461 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4146616458892822 time spend to save output : 0.020340681076049805 total time spend for step 1 : 0.43500232696533203 step2:final Mon May 26 15:04:58 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 (23283810) 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 23283810 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1360685445,1360685442,1360685480,1360685477,1360685474,1360685471,1360685500,1360685529,1360685526,1360685524,1360685522,1360685566,1360685563,1360685561,1360685558,1360685555,1360685552,1360685594,1360685591,1360685589,1360685588,1360685614,1360685611,1360685609,1360685656,1360685654,1360685687,1360685685,1360685681,1360685678,1360685675,1360685720,1360685717,1360685713,1360685709,1360685705,1360685766,1360685764,1360685794,1360685792,1360685790,1360686131); 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([23283810]) Inside saveOutput : final : False verbose : True original output for save of step final : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} new output for save of step final : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] map_info['map_portfolio_photo'] : {23283810: [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442]} final : False mtd_id 4302 list_pids : [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] Looping around the photos to save general results len do output : 42 /1360686131.Didn't retrieve data . /1360685794.Didn't retrieve data . /1360685792.Didn't retrieve data . /1360685790.Didn't retrieve data . /1360685766.Didn't retrieve data . /1360685764.Didn't retrieve data . /1360685720.Didn't retrieve data . /1360685717.Didn't retrieve data . /1360685713.Didn't retrieve data . /1360685709.Didn't retrieve data . /1360685705.Didn't retrieve data . /1360685687.Didn't retrieve data . /1360685685.Didn't retrieve data . /1360685681.Didn't retrieve data . /1360685678.Didn't retrieve data . /1360685675.Didn't retrieve data . /1360685656.Didn't retrieve data . /1360685654.Didn't retrieve data . /1360685614.Didn't retrieve data . /1360685611.Didn't retrieve data . /1360685609.Didn't retrieve data . /1360685594.Didn't retrieve data . /1360685591.Didn't retrieve data . /1360685589.Didn't retrieve data . /1360685588.Didn't retrieve data . /1360685566.Didn't retrieve data . /1360685563.Didn't retrieve data . /1360685561.Didn't retrieve data . /1360685558.Didn't retrieve data . /1360685555.Didn't retrieve data . /1360685552.Didn't retrieve data . /1360685529.Didn't retrieve data . /1360685526.Didn't retrieve data . /1360685524.Didn't retrieve data . /1360685522.Didn't retrieve data . /1360685500.Didn't retrieve data . /1360685480.Didn't retrieve data . /1360685477.Didn't retrieve data . /1360685474.Didn't retrieve data . /1360685471.Didn't retrieve data . /1360685445.Didn't retrieve data . /1360685442.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, '2943554') ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 126 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', '23283810', '1360686131', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685794', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685792', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685790', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685766', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685764', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685720', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685717', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685713', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685709', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685705', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685687', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685685', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685681', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685678', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685675', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685656', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685654', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685614', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685611', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685609', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685594', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685591', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685589', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685588', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685566', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685563', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685561', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685558', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685555', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685552', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685529', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685526', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685524', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685522', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685500', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685480', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685477', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685474', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685471', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685445', '0.03903763175748807', None, None, None, None, '2943554'), ('4302', '23283810', '1360685442', '0.03903763175748807', None, None, None, None, '2943554')] time used for this insertion : 0.017221450805664062 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.06465601921081543 time spend to save output : 0.018968582153320312 total time spend for step 2 : 0.08362460136413574 step3:velours_tree Mon May 26 15:04:58 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 : {23283810: [{'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830}]} input_args_next_step : {23283810: ()} output_args : {23283810: [{'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830}]} args : 23283810 depend.output_id : 0 VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :1, first value : ({'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23283810) 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([23283810]) 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.3337388038635254 time spend to save output : 4.3392181396484375e-05 total time spend for step 3 : 0.3337821960449219 step4:send_mail_cod Mon May 26 15:04:58 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 : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} input_args_next_step : {1360686131: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360686131 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685794 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685792 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685790 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685766 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685764 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685720 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685717 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685713 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685709 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685705 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685687 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685685 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685681 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685678 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685675 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685656 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685654 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685614 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685611 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685609 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685594 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685591 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685589 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685588 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685566 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685563 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685561 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685558 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685555 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685552 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685529 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685526 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685524 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685522 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685500 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685480 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685477 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685474 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685471 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685445 depend.output_id : 0 input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ()} output_args : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',)} args : 1360685442 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 : {23283810: [{'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830}]} input_args_next_step : {1360686131: ('0.03903763175748807',), 1360685794: ('0.03903763175748807',), 1360685792: ('0.03903763175748807',), 1360685790: ('0.03903763175748807',), 1360685766: ('0.03903763175748807',), 1360685764: ('0.03903763175748807',), 1360685720: ('0.03903763175748807',), 1360685717: ('0.03903763175748807',), 1360685713: ('0.03903763175748807',), 1360685709: ('0.03903763175748807',), 1360685705: ('0.03903763175748807',), 1360685687: ('0.03903763175748807',), 1360685685: ('0.03903763175748807',), 1360685681: ('0.03903763175748807',), 1360685678: ('0.03903763175748807',), 1360685675: ('0.03903763175748807',), 1360685656: ('0.03903763175748807',), 1360685654: ('0.03903763175748807',), 1360685614: ('0.03903763175748807',), 1360685611: ('0.03903763175748807',), 1360685609: ('0.03903763175748807',), 1360685594: ('0.03903763175748807',), 1360685591: ('0.03903763175748807',), 1360685589: ('0.03903763175748807',), 1360685588: ('0.03903763175748807',), 1360685566: ('0.03903763175748807',), 1360685563: ('0.03903763175748807',), 1360685561: ('0.03903763175748807',), 1360685558: ('0.03903763175748807',), 1360685555: ('0.03903763175748807',), 1360685552: ('0.03903763175748807',), 1360685529: ('0.03903763175748807',), 1360685526: ('0.03903763175748807',), 1360685524: ('0.03903763175748807',), 1360685522: ('0.03903763175748807',), 1360685500: ('0.03903763175748807',), 1360685480: ('0.03903763175748807',), 1360685477: ('0.03903763175748807',), 1360685474: ('0.03903763175748807',), 1360685471: ('0.03903763175748807',), 1360685445: ('0.03903763175748807',), 1360685442: ('0.03903763175748807',), 23283810: ()} output_args : {23283810: [{'Carton_brun': 23283819, 'flou': 23283820, 'Teint_Dans_La_Masse': 23283821, 'papier': 23283822, 'plastique': 23283823, 'metal': 23283824, 'Carton_gris': 23283825, 'autre_refus': 23283826, 'kraft': 23283827, 'cartonnette': 23283828, 'mal_croppe': 23283829, 'environnement': 23283830}]} args : 23283810 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 :43, first value : ('0.03903763175748807',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23283810) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1360686131,1360685794,1360685792,1360685790,1360685766,1360685764,1360685720,1360685717,1360685713,1360685709,1360685705,1360685687,1360685685,1360685681,1360685678,1360685675,1360685656,1360685654,1360685614,1360685611,1360685609,1360685594,1360685591,1360685589,1360685588,1360685566,1360685563,1360685561,1360685558,1360685555,1360685552,1360685529,1360685526,1360685524,1360685522,1360685500,1360685480,1360685477,1360685474,1360685471,1360685445,1360685442) Found this number of photos: 42 ##### Call download_photos : nb_thread : 5 begin to download photo : 1360685442 begin to download photo : 1360685526 begin to download photo : 1360685589 begin to download photo : 1360685678 begin to download photo : 1360685764 download finish for photo 1360685442 begin to download photo : 1360685445 download finish for photo 1360685589 begin to download photo : 1360685591 download finish for photo 1360685678 begin to download photo : 1360685681 download finish for photo 1360685526 begin to download photo : 1360685529 download finish for photo 1360685764 begin to download photo : 1360685766 download finish for photo 1360685591 begin to download photo : 1360685594 download finish for photo 1360685529 begin to download photo : 1360685552 download finish for photo 1360685445 begin to download photo : 1360685471 download finish for photo 1360685681 begin to download photo : 1360685685 download finish for photo 1360685766 begin to download photo : 1360685790 download finish for photo 1360685594 begin to download photo : 1360685609 download finish for photo 1360685790 begin to download photo : 1360685792 download finish for photo 1360685685 begin to download photo : 1360685687 download finish for photo 1360685552 begin to download photo : 1360685555 download finish for photo 1360685471 begin to download photo : 1360685474 download finish for photo 1360685609 begin to download photo : 1360685611 download finish for photo 1360685792 begin to download photo : 1360685794 download finish for photo 1360685474 begin to download photo : 1360685477 download finish for photo 1360685555 begin to download photo : 1360685558 download finish for photo 1360685687 begin to download photo : 1360685705 download finish for photo 1360685611 download finish for photo 1360685558 download finish for photo 1360685705 download finish for photo 1360685477 begin to download photo : 1360685561 begin to download photo : 1360685709 download finish for photo 1360685794 begin to download photo : 1360685480 begin to download photo : 1360685614 begin to download photo : 1360686131 download finish for photo 1360685614 begin to download photo : 1360685654 download finish for photo 1360685561 begin to download photo : 1360685563 download finish for photo 1360685480 begin to download photo : 1360685500 download finish for photo 1360686131 download finish for photo 1360685709 begin to download photo : 1360685713 download finish for photo 1360685654 begin to download photo : 1360685656 download finish for photo 1360685500 begin to download photo : 1360685522 download finish for photo 1360685563 begin to download photo : 1360685566 download finish for photo 1360685713 begin to download photo : 1360685717 download finish for photo 1360685656 begin to download photo : 1360685675 download finish for photo 1360685566 begin to download photo : 1360685588 download finish for photo 1360685522 begin to download photo : 1360685524 download finish for photo 1360685717 begin to download photo : 1360685720 download finish for photo 1360685675 download finish for photo 1360685524 download finish for photo 1360685588 download finish for photo 1360685720 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette232838201748264700/ length of list_filenames : 42 ; length of list_pids : 42 ; length of list_args : 42 results_Auto_P23283810_26-05-2025_15_05_00.pdf 23283820 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283820 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232838201748264700 23283823 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283823 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685650: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906964_0.png', 1360686088: '1747958125_2653913_1360685766_2611681026e128483ed952a6f0356b31_rle_crop_3810907490_0.png', 1360686160: '1747958366_2656821_1360686131_776b39bb33a1f454e870779903ee7a4b_rle_crop_3810907568_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/aa2823f956fd88880472d7706c404d2e_52576662.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/e5054716e85f52754ee3c9e0276fbf97_20792510.png change filename to text .imagette232838231748264700/ imagette232838231748264700/1747958366_2656821_1360686131_776b39bb33a1f454e870779903ee7a4b_rle_crop_3810907568_0.png.png imagette232838231748264700/1747958125_2653913_1360685766_2611681026e128483ed952a6f0356b31_rle_crop_3810907490_0.png.png imagette232838231748264700/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906964_0.png.png imagette232838241748264700/ wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/04e0146bdf39bff2de9dce636f29377e_93163601.png imagette232838231748264700 23283824 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283824 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232838241748264700 23283826 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283826 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685984: '1747957888_2650895_1360685792_08bda9079863a4c47121324ba7b1f7c2_rle_crop_3810907326_0.png', 1360686083: '1747958125_2653913_1360685717_ec150d464c961456786b5626d3ba2d5c_rle_crop_3810907511_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/b0453408b892c95bf9020f28f8b8aeec_6615392.png change filename to text .imagette232838261748264700/ imagette232838261748264700/1747957888_2650895_1360685792_08bda9079863a4c47121324ba7b1f7c2_rle_crop_3810907326_0.png.png imagette232838261748264700/1747958125_2653913_1360685717_ec150d464c961456786b5626d3ba2d5c_rle_crop_3810907511_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/9542297a528f2660fb75dfe650820747_63470490.png imagette232838261748264700 23283827 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283827 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685649: '1747957046_2641446_1360685474_32c297c9acd28820c9f786f26e91acea_rle_crop_3810906978_0.png'} change filename to text .imagette232838271748264701/ imagette232838271748264701/1747957046_2641446_1360685474_32c297c9acd28820c9f786f26e91acea_rle_crop_3810906978_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/d5ff6dfebc2eee6e03d99faa8fe02681_92908571.png imagette232838271748264701 23283828 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283828 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685639: '1747957046_2641446_1360685477_fd168017dc6a36424fa68f3a4438b6f8_rle_crop_3810906939_0.png', 1360686086: '1747958125_2653913_1360685713_7d7d18557a6aded903aed57897279277_rle_crop_3810907520_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/47b98db3d2ce7ab89ec3914fcb45f8a9_7255783.png change filename to text .imagette232838281748264701/ imagette232838281748264701/1747957046_2641446_1360685477_fd168017dc6a36424fa68f3a4438b6f8_rle_crop_3810906939_0.png.png imagette232838281748264701/1747958125_2653913_1360685713_7d7d18557a6aded903aed57897279277_rle_crop_3810907520_0.png.png imagette232838291748264701/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/f438b0d8eed848a9d6a2efa9a5b38b3a_16004934.png imagette232838281748264701 23283829 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283829 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette232838291748264701 23283819 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283819 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685644: '1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810907000_0.png', 1360685647: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906955_0.png', 1360685648: '1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907016_0.png', 1360685787: '1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907166_0.png', 1360685803: '1747957405_2645604_1360685687_73a6aeadbae8875a6b92423573c99f51_rle_crop_3810907271_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/ab672a44ed745589f7ae6895c585a777_88758243.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fa0697f1b4ce37eafbe3f133e9068dfa_9686555.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/d63543423cbe649c938635eb2a419c7a_99358164.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/17292563021c3784b74b584b5e1b3c8c_89524259.png change filename to text .imagette232838191748264701/ imagette232838191748264701/1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907166_0.png.png imagette232838191748264701/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906955_0.png.png imagette232838191748264701/1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907016_0.png.png imagette232838191748264701/1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810907000_0.png.png imagette232838191748264701/1747957405_2645604_1360685687_73a6aeadbae8875a6b92423573c99f51_rle_crop_3810907271_0.png.png wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/7b0899ec7bb0c7eb1435a4669e449391_70180585.png imagette232838191748264701 23283821 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283821 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685630: '1747957046_2641446_1360685474_32c297c9acd28820c9f786f26e91acea_rle_crop_3810906973_0.png', 1360685633: '1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810907005_0.png', 1360685634: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906958_0.png', 1360685635: '1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907017_0.png', 1360685780: '1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907162_0.png', 1360686074: '1747958126_3844172_1360685764_2484d4df2f395e13240b682c6e22ea7e_rle_crop_3810907504_0.png', 1360686077: '1747958125_2653913_1360685766_2611681026e128483ed952a6f0356b31_rle_crop_3810907492_0.png', 1360686078: '1747958125_2653913_1360685709_f305e1d92a7e1f5ddbb906820b2c272c_rle_crop_3810907534_0.png', 1360686079: '1747958125_2653913_1360685705_537b9091d7af1eea053fb5cde627d4eb_rle_crop_3810907547_0.png', 1360686080: '1747958125_2653913_1360685705_537b9091d7af1eea053fb5cde627d4eb_rle_crop_3810907554_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/ace1435c6a5e7d12dda4ac02db946ecf_78130658.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/63ee8a3aca512a0f608597e52054acf0_52723029.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/e14fd4d8b76029741703ef45bacccd74_35223581.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/9624314c253334c438f97ac179de1b64_73617173.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/246579d59ad0bb902ef1062b67211bae_6598415.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fd0038092d63ed3d5207b2f087afb530_43004034.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/57d4f892041bd7e1f62314b05e82ea3b_4498916.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/4c89ba8776cc2c13a4f6b425a12ef07b_98692705.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/8af7f4d85a8d0beb8daf1ad3b45fca22_60112971.png change filename to text .imagette232838211748264702/ imagette232838211748264702/1747957046_2641446_1360685474_32c297c9acd28820c9f786f26e91acea_rle_crop_3810906973_0.png.png imagette232838211748264702/1747958125_2653913_1360685705_537b9091d7af1eea053fb5cde627d4eb_rle_crop_3810907547_0.png.png imagette232838211748264702/1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907162_0.png.png imagette232838211748264702/1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907017_0.png.png imagette232838211748264702/1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810907005_0.png.png imagette232838211748264702/1747958125_2653913_1360685766_2611681026e128483ed952a6f0356b31_rle_crop_3810907492_0.png.png imagette232838211748264702/1747958126_3844172_1360685764_2484d4df2f395e13240b682c6e22ea7e_rle_crop_3810907504_0.png.png imagette232838211748264702/1747958125_2653913_1360685705_537b9091d7af1eea053fb5cde627d4eb_rle_crop_3810907554_0.png.png imagette232838211748264702/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906958_0.png.png imagette232838211748264702/1747958125_2653913_1360685709_f305e1d92a7e1f5ddbb906820b2c272c_rle_crop_3810907534_0.png.png wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/474df0fbcd4560a277a4e2d3108329b9_98832519.png imagette232838211748264702 23283825 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283825 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1360685636: '1747957046_2641446_1360685477_fd168017dc6a36424fa68f3a4438b6f8_rle_crop_3810906941_0.png', 1360685637: '1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810906995_0.png', 1360685638: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906959_0.png', 1360685640: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906957_0.png', 1360685641: '1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906951_0.png', 1360685642: '1747957045_3816195_1360685524_48051918ddb3d00f52220e8c186f44b4_rle_crop_3810906986_0.png', 1360685643: '1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907013_0.png', 1360685782: '1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907160_0.png', 1360685784: '1747957347_2644579_1360685681_ccefbac7faa637e9e177902d365167a7_rle_crop_3810907178_0.png', 1360685785: '1747957347_2644579_1360685681_ccefbac7faa637e9e177902d365167a7_rle_crop_3810907174_0.png', 1360685786: '1747957347_2644579_1360685678_4ae532a41a3fee1b8b2683f90e713b96_rle_crop_3810907192_0.png', 1360686085: '1747958125_2653913_1360685717_ec150d464c961456786b5626d3ba2d5c_rle_crop_3810907510_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/aadb8c65cc17d7bbd68e1979397e42ff_42674809.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/8f7bbddeb8643fc0b6f56e585950026e_2144302.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/167a006ff9b75994d7464eca84afc747_80317618.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/e8d6d9d44c59a68ed50defe14ceca434_92356097.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/94847f27ada1e840e91d7df9f127a23c_79064362.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fb18134ab4bd59434d5b3444a82897f7_50976019.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/0b495a94bc272388105ae1de6705bb19_33379144.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/d85f779270f1963be3e1fcdbca1b2251_20950074.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/88b8b123eb16c72e9e25bb86c9088305_18896079.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/2d9a30391f8edd716c082563b234bf38_84985150.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/8ee791586f890a7c53aa8a0e67a4e12a_6548048.png change filename to text .imagette232838251748264704/ imagette232838251748264704/1747957347_2644579_1360685681_ccefbac7faa637e9e177902d365167a7_rle_crop_3810907174_0.png.png imagette232838251748264704/1747957045_3816195_1360685522_51ee287c4f58d0027974539c3811654d_rle_crop_3810907013_0.png.png imagette232838251748264704/1747957045_3816195_1360685524_48051918ddb3d00f52220e8c186f44b4_rle_crop_3810906986_0.png.png imagette232838251748264704/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906957_0.png.png imagette232838251748264704/1747958125_2653913_1360685717_ec150d464c961456786b5626d3ba2d5c_rle_crop_3810907510_0.png.png imagette232838251748264704/1747957046_2641446_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080_rle_crop_3810906995_0.png.png imagette232838251748264704/1747957046_2641446_1360685477_fd168017dc6a36424fa68f3a4438b6f8_rle_crop_3810906941_0.png.png imagette232838251748264704/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906959_0.png.png imagette232838251748264704/1747957347_2644579_1360685681_ccefbac7faa637e9e177902d365167a7_rle_crop_3810907178_0.png.png imagette232838251748264704/1747957045_3816195_1360685526_ede438321b3bb5a41f052ef60ba39f90_rle_crop_3810906951_0.png.png imagette232838251748264704/1747957347_2644579_1360685678_4ae532a41a3fee1b8b2683f90e713b96_rle_crop_3810907192_0.png.png imagette232838251748264704/1747957347_2644579_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a_rle_crop_3810907160_0.png.png wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/12ef538256bdcede863262f3794d41e4_7266297.png imagette232838251748264704 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23283810 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23283832,23283833,23283834,23283835,23283836,23283837,23283838,23283839,23283840,23283841,23283842,23283843?tags=Carton_brun,flou,Teint_Dans_La_Masse,papier,plastique,metal,Carton_gris,autre_refus,kraft,cartonnette,mal_croppe,environnement your option no_mail is active, we will not send the real mail to your client args[1360686131] : ('0.03903763175748807',) no score found for photo 1360686131 We are sending mail with results at report@fotonower.com args[1360685794] : ('0.03903763175748807',) no score found for photo 1360685794 We are sending mail with results at report@fotonower.com args[1360685792] : ('0.03903763175748807',) no score found for photo 1360685792 We are sending mail with results at report@fotonower.com args[1360685790] : ('0.03903763175748807',) no score found for photo 1360685790 We are sending mail with results at report@fotonower.com args[1360685766] : ('0.03903763175748807',) no score found for photo 1360685766 We are sending mail with results at report@fotonower.com args[1360685764] : ('0.03903763175748807',) no score found for photo 1360685764 We are sending mail with results at report@fotonower.com args[1360685720] : ('0.03903763175748807',) no score found for photo 1360685720 We are sending mail with results at report@fotonower.com args[1360685717] : ('0.03903763175748807',) no score found for photo 1360685717 We are sending mail with results at report@fotonower.com args[1360685713] : ('0.03903763175748807',) no score found for photo 1360685713 We are sending mail with results at report@fotonower.com args[1360685709] : ('0.03903763175748807',) no score found for photo 1360685709 We are sending mail with results at report@fotonower.com args[1360685705] : ('0.03903763175748807',) no score found for photo 1360685705 We are sending mail with results at report@fotonower.com args[1360685687] : ('0.03903763175748807',) no score found for photo 1360685687 We are sending mail with results at report@fotonower.com args[1360685685] : ('0.03903763175748807',) no score found for photo 1360685685 We are sending mail with results at report@fotonower.com args[1360685681] : ('0.03903763175748807',) no score found for photo 1360685681 We are sending mail with results at report@fotonower.com args[1360685678] : ('0.03903763175748807',) no score found for photo 1360685678 We are sending mail with results at report@fotonower.com args[1360685675] : ('0.03903763175748807',) no score found for photo 1360685675 We are sending mail with results at report@fotonower.com args[1360685656] : ('0.03903763175748807',) no score found for photo 1360685656 We are sending mail with results at report@fotonower.com args[1360685654] : ('0.03903763175748807',) no score found for photo 1360685654 We are sending mail with results at report@fotonower.com args[1360685614] : ('0.03903763175748807',) no score found for photo 1360685614 We are sending mail with results at report@fotonower.com args[1360685611] : ('0.03903763175748807',) no score found for photo 1360685611 We are sending mail with results at report@fotonower.com args[1360685609] : ('0.03903763175748807',) no score found for photo 1360685609 We are sending mail with results at report@fotonower.com args[1360685594] : ('0.03903763175748807',) no score found for photo 1360685594 We are sending mail with results at report@fotonower.com args[1360685591] : ('0.03903763175748807',) no score found for photo 1360685591 We are sending mail with results at report@fotonower.com args[1360685589] : ('0.03903763175748807',) no score found for photo 1360685589 We are sending mail with results at report@fotonower.com args[1360685588] : ('0.03903763175748807',) no score found for photo 1360685588 We are sending mail with results at report@fotonower.com args[1360685566] : ('0.03903763175748807',) no score found for photo 1360685566 We are sending mail with results at report@fotonower.com args[1360685563] : ('0.03903763175748807',) no score found for photo 1360685563 We are sending mail with results at report@fotonower.com args[1360685561] : ('0.03903763175748807',) no score found for photo 1360685561 We are sending mail with results at report@fotonower.com args[1360685558] : ('0.03903763175748807',) no score found for photo 1360685558 We are sending mail with results at report@fotonower.com args[1360685555] : ('0.03903763175748807',) no score found for photo 1360685555 We are sending mail with results at report@fotonower.com args[1360685552] : ('0.03903763175748807',) no score found for photo 1360685552 We are sending mail with results at report@fotonower.com args[1360685529] : ('0.03903763175748807',) no score found for photo 1360685529 We are sending mail with results at report@fotonower.com args[1360685526] : ('0.03903763175748807',) no score found for photo 1360685526 We are sending mail with results at report@fotonower.com args[1360685524] : ('0.03903763175748807',) no score found for photo 1360685524 We are sending mail with results at report@fotonower.com args[1360685522] : ('0.03903763175748807',) no score found for photo 1360685522 We are sending mail with results at report@fotonower.com args[1360685500] : ('0.03903763175748807',) no score found for photo 1360685500 We are sending mail with results at report@fotonower.com args[1360685480] : ('0.03903763175748807',) no score found for photo 1360685480 We are sending mail with results at report@fotonower.com args[1360685477] : ('0.03903763175748807',) no score found for photo 1360685477 We are sending mail with results at report@fotonower.com args[1360685474] : ('0.03903763175748807',) no score found for photo 1360685474 We are sending mail with results at report@fotonower.com args[1360685471] : ('0.03903763175748807',) no score found for photo 1360685471 We are sending mail with results at report@fotonower.com args[1360685445] : ('0.03903763175748807',) no score found for photo 1360685445 We are sending mail with results at report@fotonower.com args[1360685442] : ('0.03903763175748807',) no score found for photo 1360685442 We are sending mail with results at report@fotonower.com refus_total : 0.03903763175748807 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283810 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_P23283810_26-05-2025_15_05_00.pdf results_Auto_P23283810_26-05-2025_15_05_00.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_26-05-2025_15_05_00.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','23283810','results_Auto_P23283810_26-05-2025_15_05_00.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_26-05-2025_15_05_00.pdf','pdf','','0.4','0.03903763175748807') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23283810]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] map_info['map_portfolio_photo'] : {23283810: [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442]} final : False mtd_id 4302 list_pids : [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] 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, '2943554') ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 42 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', '23283810', '1360686131', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554')] time used for this insertion : 0.017557144165039062 save_final save missing photos in datou_result : time spend for datou_step_exec : 9.194335699081421 time spend to save output : 0.01800251007080078 total time spend for step 4 : 9.212338209152222 step5:split_time_score Mon May 26 15:05:07 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 : ['23283810'] 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 : [('23283810',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23283810) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1360685764: {'path': 'temp/1748264698_4176215_1360685764_2484d4df2f395e13240b682c6e22ea7e.jpg', 'extension': 'jpg'}, 1360685766: {'path': 'temp/1748264698_4176215_1360685766_2611681026e128483ed952a6f0356b31.jpg', 'extension': 'jpg'}, 1360685790: {'path': 'temp/1748264698_4176215_1360685790_df3ed547d9d911f88ef486efc53093ea.jpg', 'extension': 'jpg'}, 1360685792: {'path': 'temp/1748264698_4176215_1360685792_08bda9079863a4c47121324ba7b1f7c2.jpg', 'extension': 'jpg'}, 1360685794: {'path': 'temp/1748264698_4176215_1360685794_d987aae315e6f6d2ae9fa91869c19f85.jpg', 'extension': 'jpg'}, 1360686131: {'path': 'temp/1748264698_4176215_1360686131_776b39bb33a1f454e870779903ee7a4b.jpg', 'extension': 'jpg'}, 1360685589: {'path': 'temp/1748264698_4176215_1360685589_49316066250138ded3208fce5b140395.jpg', 'extension': 'jpg'}, 1360685591: {'path': 'temp/1748264698_4176215_1360685591_d619d4b18601d480be35fbfec8447c93.jpg', 'extension': 'jpg'}, 1360685594: {'path': 'temp/1748264698_4176215_1360685594_fb4642a08cc66224d2271a27c1ef36e4.jpg', 'extension': 'jpg'}, 1360685609: {'path': 'temp/1748264698_4176215_1360685609_09eb9e6c2a824570d53c7cfb221a521a.jpg', 'extension': 'jpg'}, 1360685611: {'path': 'temp/1748264698_4176215_1360685611_4500aab6cf3edf412af25b3d8f549c84.jpg', 'extension': 'jpg'}, 1360685614: {'path': 'temp/1748264698_4176215_1360685614_e5690d879cb38bbc9797987b480bd982.jpg', 'extension': 'jpg'}, 1360685654: {'path': 'temp/1748264698_4176215_1360685654_072890627f70fbb4ef3443d2caf855b9.jpg', 'extension': 'jpg'}, 1360685656: {'path': 'temp/1748264698_4176215_1360685656_af9374217bcc1bf3772e82019739489f.jpg', 'extension': 'jpg'}, 1360685675: {'path': 'temp/1748264698_4176215_1360685675_c6a6ab16661b20dc1d208193d4373aed.jpg', 'extension': 'jpg'}, 1360685442: {'path': 'temp/1748264698_4176215_1360685442_5403075e9509ed92d83bcbd8b697c366.jpg', 'extension': 'jpg'}, 1360685445: {'path': 'temp/1748264698_4176215_1360685445_529989268ee9c5f500f155e4846e7f4f.jpg', 'extension': 'jpg'}, 1360685471: {'path': 'temp/1748264698_4176215_1360685471_8ffbe3c3cae6ee5d0c9c9ead21eb7080.jpg', 'extension': 'jpg'}, 1360685474: {'path': 'temp/1748264698_4176215_1360685474_32c297c9acd28820c9f786f26e91acea.jpg', 'extension': 'jpg'}, 1360685477: {'path': 'temp/1748264698_4176215_1360685477_fd168017dc6a36424fa68f3a4438b6f8.jpg', 'extension': 'jpg'}, 1360685480: {'path': 'temp/1748264698_4176215_1360685480_9c56a776bbab02ad3e3ab081d27f58f3.jpg', 'extension': 'jpg'}, 1360685500: {'path': 'temp/1748264698_4176215_1360685500_331bae910409873f659f519817d0aec1.jpg', 'extension': 'jpg'}, 1360685522: {'path': 'temp/1748264698_4176215_1360685522_51ee287c4f58d0027974539c3811654d.jpg', 'extension': 'jpg'}, 1360685524: {'path': 'temp/1748264698_4176215_1360685524_48051918ddb3d00f52220e8c186f44b4.jpg', 'extension': 'jpg'}, 1360685526: {'path': 'temp/1748264698_4176215_1360685526_ede438321b3bb5a41f052ef60ba39f90.jpg', 'extension': 'jpg'}, 1360685529: {'path': 'temp/1748264698_4176215_1360685529_606a92a9b086e990212496a7f0af5be2.jpg', 'extension': 'jpg'}, 1360685552: {'path': 'temp/1748264698_4176215_1360685552_220c394071299bdfdbcd591b87bb8a17.jpg', 'extension': 'jpg'}, 1360685555: {'path': 'temp/1748264698_4176215_1360685555_23e3451415bc8d64de4a3e99e9f72a34.jpg', 'extension': 'jpg'}, 1360685558: {'path': 'temp/1748264698_4176215_1360685558_6161e3ede490ee988c170676cc54bcb2.jpg', 'extension': 'jpg'}, 1360685561: {'path': 'temp/1748264698_4176215_1360685561_a6c7b3c2ca5734be2b59567579f6be02.jpg', 'extension': 'jpg'}, 1360685563: {'path': 'temp/1748264698_4176215_1360685563_2f781b869ea38efd8815d371f5df99f6.jpg', 'extension': 'jpg'}, 1360685566: {'path': 'temp/1748264698_4176215_1360685566_9bc2f15fb38fa468ef2aa698290f9cee.jpg', 'extension': 'jpg'}, 1360685588: {'path': 'temp/1748264698_4176215_1360685588_58c9698d40c226da33eb0c86f8e1f94f.jpg', 'extension': 'jpg'}, 1360685678: {'path': 'temp/1748264698_4176215_1360685678_4ae532a41a3fee1b8b2683f90e713b96.jpg', 'extension': 'jpg'}, 1360685681: {'path': 'temp/1748264698_4176215_1360685681_ccefbac7faa637e9e177902d365167a7.jpg', 'extension': 'jpg'}, 1360685685: {'path': 'temp/1748264698_4176215_1360685685_a89d4aaff89b5abef0c98ac3f34e3e8a.jpg', 'extension': 'jpg'}, 1360685687: {'path': 'temp/1748264698_4176215_1360685687_73a6aeadbae8875a6b92423573c99f51.jpg', 'extension': 'jpg'}, 1360685705: {'path': 'temp/1748264698_4176215_1360685705_537b9091d7af1eea053fb5cde627d4eb.jpg', 'extension': 'jpg'}, 1360685709: {'path': 'temp/1748264698_4176215_1360685709_f305e1d92a7e1f5ddbb906820b2c272c.jpg', 'extension': 'jpg'}, 1360685713: {'path': 'temp/1748264698_4176215_1360685713_7d7d18557a6aded903aed57897279277.jpg', 'extension': 'jpg'}, 1360685717: {'path': 'temp/1748264698_4176215_1360685717_ec150d464c961456786b5626d3ba2d5c.jpg', 'extension': 'jpg'}, 1360685720: {'path': 'temp/1748264698_4176215_1360685720_4644684e747c88dad4dccea17a4bf1b6.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 = 23283810; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23283810 group by h (('01', 42),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=23283810 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 (23283810) 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 (23283810) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 23052025 23283810 Nombre de photos uploadées : 42 / 23040 (0%) 23052025 23283810 Nombre de photos taguées (types de déchets): 0 / 42 (0%) 23052025 23283810 Nombre de photos taguées (volume) : 0 / 42 (0%) [{'photo_id': 1360685445, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/529989268ee9c5f500f155e4846e7f4f.jpg', 'username': None, 'uploaded_at': 1747956668, 'text': 'image_23052025_01_30_15_10141.jpg'}, {'photo_id': 1360685442, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/5403075e9509ed92d83bcbd8b697c366.jpg', 'username': None, 'uploaded_at': 1747956668, 'text': 'image_23052025_01_30_24_9130.jpg'}, {'photo_id': 1360685480, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/9c56a776bbab02ad3e3ab081d27f58f3.jpg', 'username': None, 'uploaded_at': 1747956728, 'text': 'image_23052025_01_30_44_10140.jpg'}, {'photo_id': 1360685477, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/23/fd168017dc6a36424fa68f3a4438b6f8.jpg', 'username': None, 'uploaded_at': 1747956728, 'text': 'image_23052025_01_31_04_010150m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.1457672119140625e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ?????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001678466796875 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23283810, '2025-05-23' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1831613,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0243070125579834 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= 1831613 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23282309, 'dashboard_result_id': 10879379, '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_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23304624, 'dashboard_result_id': 10879380, '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_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23283058, 'dashboard_result_id': 10879381, '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_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23282803, 'dashboard_result_id': 10879382, '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_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23283810, 'dashboard_result_id': 10879383, '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_P23283810_23-05-2025_02_03_29.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284061, 'dashboard_result_id': 10879384, '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_P23284061_26-05-2025_15_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284185, 'dashboard_result_id': 10879385, '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_P23284185_26-05-2025_15_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284543, 'dashboard_result_id': 10879386, '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_P23284543_26-05-2025_15_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23284637, 'dashboard_result_id': 10879387, '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_P23284637_26-05-2025_15_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285058, 'dashboard_result_id': 10879388, '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_P23285058_26-05-2025_15_01_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285265, 'dashboard_result_id': 10879389, '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_P23285265_26-05-2025_15_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286346, 'dashboard_result_id': 10879390, '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_P23286346_26-05-2025_14_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23285758, 'dashboard_result_id': 10879391, '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_P23285758_26-05-2025_14_58_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286077, 'dashboard_result_id': 10879392, '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_P23286077_26-05-2025_14_57_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23286960, 'dashboard_result_id': 10879393, '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_P23286960_26-05-2025_14_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287222, 'dashboard_result_id': 10879394, '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_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287637, 'dashboard_result_id': 10879395, '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_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287638, 'dashboard_result_id': 10879396, '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_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23287834, 'dashboard_result_id': 10879397, '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_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288115, 'dashboard_result_id': 10879398, '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_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288547, 'dashboard_result_id': 10879399, '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_P23288547_23-05-2025_06_37_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23288548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288559, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23288807, 'dashboard_result_id': 10879400, '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_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309457, 'dashboard_result_id': 10879401, '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_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23290064, 'dashboard_result_id': 10879402, '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_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305438, 'dashboard_result_id': 10879403, '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_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309458, 'dashboard_result_id': 10879404, '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_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23291043, 'dashboard_result_id': 10879405, '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_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23290765, 'dashboard_result_id': 10879406, '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_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23291275, 'dashboard_result_id': 10879407, '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_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23292382, 'dashboard_result_id': 10879408, '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_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23292519, 'dashboard_result_id': 10879409, '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_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309459, 'dashboard_result_id': 10879410, '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_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23306643, 'dashboard_result_id': 10879411, '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_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23293107, 'dashboard_result_id': 10879412, '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_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305993, 'dashboard_result_id': 10879413, '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_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23305996, 'dashboard_result_id': 10879414, '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_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23303395, 'dashboard_result_id': 10879415, '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_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23296109, 'dashboard_result_id': 10879416, '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_P23296109_23-05-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23296112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23296113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23296114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23296115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23296116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23296117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23296118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23296119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23296120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23296121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23296122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23296123, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23295188, 'dashboard_result_id': 10879417, '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_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23303398, 'dashboard_result_id': 10879418, '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_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23297474, 'dashboard_result_id': 10879419, '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_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23299796, 'dashboard_result_id': 10879420, '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_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23300457, 'dashboard_result_id': 10879421, '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_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23301804, 'dashboard_result_id': 10879422, '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_P23301804_23-05-2025_15_01_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23301806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23301807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23301808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23301809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23301810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23301811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23301812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23301813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23301814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23301815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23301816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23301817, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23302868, 'dashboard_result_id': 10879423, '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_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23309776, 'dashboard_result_id': 10879424, '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_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23310639, 'dashboard_result_id': 10879425, '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_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, 'pht': 3726}}"}, {'dashboat_entry_day': 1831613, 'dashboard_run_id': 1840896, 'mtr_portfolio_id': 23310493, 'dashboard_result_id': 10879426, '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_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, '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 = 23282309 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': 2939198, 'mtr_portfolio_id': 23282309, 'created_at': datetime.datetime(2025, 5, 23, 0, 11, 39), 'result': '0.049260136663882605', 'result_long': None, 'result_double': None}] Qualite : 0.049260136663882605 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282309 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282309 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_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, 'pht': 3726}}" where mtr_portfolio_id = 23282309 and dashboard_run_id = 1840898 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`=23282309 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879379, 0.049260136663882605, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282309_23-05-2025_00_11_40.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23282326, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282328, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282329, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282330, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282331, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282333, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282334, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282335, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282336, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282337, '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 = 23304624 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': 2946049, 'mtr_portfolio_id': 23304624, 'created_at': datetime.datetime(2025, 5, 23, 17, 0, 34), 'result': '0.048645099607279196', 'result_long': None, 'result_double': None}] Qualite : 0.048645099607279196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23304624 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23304624 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_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, 'pht': 3726}}" where mtr_portfolio_id = 23304624 and dashboard_run_id = 1840898 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`=23304624 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879380, 0.048645099607279196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23304624_23-05-2025_17_00_37.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23304645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23304646, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23304647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23304649, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23304650, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23304651, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23304652, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23304653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23304654, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23304655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23304656, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23304657, '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 = 23283058 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': 2939537, 'mtr_portfolio_id': 23283058, 'created_at': datetime.datetime(2025, 5, 23, 1, 3, 32), 'result': '0.031939725503842456', 'result_long': None, 'result_double': None}] Qualite : 0.031939725503842456 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23283058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23283058 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_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, 'pht': 3726}}" where mtr_portfolio_id = 23283058 and dashboard_run_id = 1840898 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`=23283058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879381, 0.031939725503842456, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283058_23-05-2025_01_03_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23283060, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283061, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283062, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283064, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283066, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283067, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283068, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283069, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283070, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283071, '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 = 23282803 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': 2943898, 'mtr_portfolio_id': 23282803, 'created_at': datetime.datetime(2025, 5, 26, 14, 25, 30), 'result': '0.037674885556400646', 'result_long': None, 'result_double': None}] Qualite : 0.037674885556400646 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23282803 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23282803 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_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, 'pht': 3726}}" where mtr_portfolio_id = 23282803 and dashboard_run_id = 1840898 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`=23282803 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879382, 0.037674885556400646, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23282803_26-05-2025_14_25_36.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23282809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23282811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23282812, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23282813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23282814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23282815, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23282816, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23282817, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23282818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23282819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23282820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23282821, '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 = 23283810 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': 2943554, 'mtr_portfolio_id': 23283810, 'created_at': datetime.datetime(2025, 5, 26, 15, 4, 58), 'result': '0.03903763175748807', 'result_long': None, 'result_double': None}] Qualite : 0.03903763175748807 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23283810 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_26-05-2025_15_05_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23283810 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_P23283810_26-05-2025_15_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, 'pht': 3726}}" where mtr_portfolio_id = 23283810 and dashboard_run_id = 1840898 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`=23283810 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879383, 0.03903763175748807, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23283810_26-05-2025_15_05_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23283819, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23283820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23283821, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23283822, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23283823, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23283824, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23283825, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23283826, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23283827, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23283828, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23283829, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23283830, '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 = 23284061 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': 2943555, 'mtr_portfolio_id': 23284061, 'created_at': datetime.datetime(2025, 5, 26, 15, 3, 58), 'result': '0.06005330098728292', 'result_long': None, 'result_double': None}] Qualite : 0.06005330098728292 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284061 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_26-05-2025_15_04_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284061 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_P23284061_26-05-2025_15_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, 'pht': 3726}}" where mtr_portfolio_id = 23284061 and dashboard_run_id = 1840898 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`=23284061 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879384, 0.06005330098728292, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284061_26-05-2025_15_04_01.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284063, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284064, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284065, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284066, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284068, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284069, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284071, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284072, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284074, '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 = 23284185 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': 2943556, 'mtr_portfolio_id': 23284185, 'created_at': datetime.datetime(2025, 5, 26, 15, 2, 29), 'result': '0.06139283378281599', 'result_long': None, 'result_double': None}] Qualite : 0.06139283378281599 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284185 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_15_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284185 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_P23284185_26-05-2025_15_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, 'pht': 3726}}" where mtr_portfolio_id = 23284185 and dashboard_run_id = 1840898 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`=23284185 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879385, 0.06139283378281599, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284185_26-05-2025_15_02_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284188, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284189, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284190, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284191, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284192, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284193, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284194, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284195, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284196, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284197, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284198, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284199, '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 = 23284543 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': 2943557, 'mtr_portfolio_id': 23284543, 'created_at': datetime.datetime(2025, 5, 26, 15, 1, 58), 'result': '0.07849162160659186', 'result_long': None, 'result_double': None}] Qualite : 0.07849162160659186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284543 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_26-05-2025_15_01_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284543 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_P23284543_26-05-2025_15_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, 'pht': 3726}}" where mtr_portfolio_id = 23284543 and dashboard_run_id = 1840898 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`=23284543 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879386, 0.07849162160659186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284543_26-05-2025_15_01_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284565, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284566, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284567, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284568, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284569, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284570, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284571, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284574, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23284575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284576, '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 = 23284637 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': 2943558, 'mtr_portfolio_id': 23284637, 'created_at': datetime.datetime(2025, 5, 26, 15, 1, 29), 'result': '0.02116161060463407', 'result_long': None, 'result_double': None}] Qualite : 0.02116161060463407 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23284637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_15_01_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23284637 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_P23284637_26-05-2025_15_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, 'pht': 3726}}" where mtr_portfolio_id = 23284637 and dashboard_run_id = 1840898 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`=23284637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879387, 0.02116161060463407, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23284637_26-05-2025_15_01_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23284639, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23284640, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23284641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23284642, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23284643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23284644, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23284645, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23284646, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23284647, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23284648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23284649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23284650, '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 = 23285058 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': 2943559, 'mtr_portfolio_id': 23285058, 'created_at': datetime.datetime(2025, 5, 26, 15, 0, 58), 'result': '0.05051425779816264', 'result_long': None, 'result_double': None}] Qualite : 0.05051425779816264 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_26-05-2025_15_01_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285058 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_P23285058_26-05-2025_15_01_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, 'pht': 3726}}" where mtr_portfolio_id = 23285058 and dashboard_run_id = 1840898 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`=23285058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879388, 0.05051425779816264, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285058_26-05-2025_15_01_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23285061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285065, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285066, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285067, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285068, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285070, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285071, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285072, '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 = 23285265 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': 2943560, 'mtr_portfolio_id': 23285265, 'created_at': datetime.datetime(2025, 5, 26, 14, 59, 58), 'result': '0.04482751226494379', 'result_long': None, 'result_double': None}] Qualite : 0.04482751226494379 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285265 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_26-05-2025_15_00_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285265 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_P23285265_26-05-2025_15_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, 'pht': 3726}}" where mtr_portfolio_id = 23285265 and dashboard_run_id = 1840898 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`=23285265 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879389, 0.04482751226494379, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285265_26-05-2025_15_00_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285267, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285268, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285269, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285270, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285274, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285275, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285276, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285277, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285278, '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 = 23286346 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': 2943561, 'mtr_portfolio_id': 23286346, 'created_at': datetime.datetime(2025, 5, 26, 14, 59, 27), 'result': '0.07920681716625969', 'result_long': None, 'result_double': None}] Qualite : 0.07920681716625969 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286346 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_26-05-2025_14_59_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286346 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_P23286346_26-05-2025_14_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, 'pht': 3726}}" where mtr_portfolio_id = 23286346 and dashboard_run_id = 1840898 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`=23286346 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879390, 0.07920681716625969, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286346_26-05-2025_14_59_30.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286348, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286349, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286350, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286352, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286353, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286354, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286355, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286356, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286357, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286358, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286359, '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 = 23285758 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': 2943562, 'mtr_portfolio_id': 23285758, 'created_at': datetime.datetime(2025, 5, 26, 14, 58, 28), 'result': '0.054911784430796015', 'result_long': None, 'result_double': None}] Qualite : 0.054911784430796015 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23285758 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_58_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23285758 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_P23285758_26-05-2025_14_58_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, 'pht': 3726}}" where mtr_portfolio_id = 23285758 and dashboard_run_id = 1840898 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`=23285758 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879391, 0.054911784430796015, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23285758_26-05-2025_14_58_31.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23285759, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23285760, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23285761, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23285762, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23285763, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23285764, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23285765, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23285766, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23285767, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23285768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23285769, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23285770, '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 = 23286077 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': 2943563, 'mtr_portfolio_id': 23286077, 'created_at': datetime.datetime(2025, 5, 26, 14, 57, 57), 'result': '0.06338704010670235', 'result_long': None, 'result_double': None}] Qualite : 0.06338704010670235 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286077 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_57_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286077 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_P23286077_26-05-2025_14_57_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, 'pht': 3726}}" where mtr_portfolio_id = 23286077 and dashboard_run_id = 1840898 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`=23286077 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879392, 0.06338704010670235, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286077_26-05-2025_14_57_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286078, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286080, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286081, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286082, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286083, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286084, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286085, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286086, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286087, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286088, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286089, '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 = 23286960 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': 2943564, 'mtr_portfolio_id': 23286960, 'created_at': datetime.datetime(2025, 5, 26, 14, 57, 28), 'result': '0.04410894381375473', 'result_long': None, 'result_double': None}] Qualite : 0.04410894381375473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23286960 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23286960 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_P23286960_26-05-2025_14_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, 'pht': 3726}}" where mtr_portfolio_id = 23286960 and dashboard_run_id = 1840898 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`=23286960 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879393, 0.04410894381375473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23286960_26-05-2025_14_57_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23286962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23286963, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23286964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23286965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23286966, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23286967, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23286968, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23286969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23286970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23286971, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23286972, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23286973, '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 = 23287222 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': 2943565, 'mtr_portfolio_id': 23287222, 'created_at': datetime.datetime(2025, 5, 26, 14, 56, 58), 'result': '0.051669532519632765', 'result_long': None, 'result_double': None}] Qualite : 0.051669532519632765 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287222 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_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, 'pht': 3726}}" where mtr_portfolio_id = 23287222 and dashboard_run_id = 1840898 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`=23287222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879394, 0.051669532519632765, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287222_26-05-2025_14_57_04.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287224, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287225, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287226, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287227, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287228, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287229, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287230, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287231, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287232, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287233, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287234, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287235, '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 = 23287637 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': 2943566, 'mtr_portfolio_id': 23287637, 'created_at': datetime.datetime(2025, 5, 26, 14, 54, 30), 'result': '0.02489637938620779', 'result_long': None, 'result_double': None}] Qualite : 0.02489637938620779 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287637 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287637 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_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, 'pht': 3726}}" where mtr_portfolio_id = 23287637 and dashboard_run_id = 1840898 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`=23287637 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879395, 0.02489637938620779, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287637_26-05-2025_14_54_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287650, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287653, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287655, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287657, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287659, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287661, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287662, '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 = 23287638 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': 2943567, 'mtr_portfolio_id': 23287638, 'created_at': datetime.datetime(2025, 5, 26, 14, 53, 59), 'result': '0.043053091951411576', 'result_long': None, 'result_double': None}] Qualite : 0.043053091951411576 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287638 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287638 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_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, 'pht': 3726}}" where mtr_portfolio_id = 23287638 and dashboard_run_id = 1840898 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`=23287638 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879396, 0.043053091951411576, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287638_26-05-2025_14_54_05.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287639, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287640, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287643, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287644, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287645, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23287646, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287648, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287651, '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 = 23287834 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': 2943568, 'mtr_portfolio_id': 23287834, 'created_at': datetime.datetime(2025, 5, 26, 14, 52, 30), 'result': '0.028363749527641317', 'result_long': None, 'result_double': None}] Qualite : 0.028363749527641317 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23287834 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23287834 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_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, 'pht': 3726}}" where mtr_portfolio_id = 23287834 and dashboard_run_id = 1840898 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`=23287834 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879397, 0.028363749527641317, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23287834_26-05-2025_14_52_35.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23287836, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23287837, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23287838, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23287839, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23287840, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23287841, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23287842, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23287843, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23287844, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23287845, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23287846, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23287847, '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 = 23288115 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': 2943569, 'mtr_portfolio_id': 23288115, 'created_at': datetime.datetime(2025, 5, 26, 14, 51, 59), 'result': '0.09252529888664819', 'result_long': None, 'result_double': None}] Qualite : 0.09252529888664819 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23288115 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288115 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_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, 'pht': 3726}}" where mtr_portfolio_id = 23288115 and dashboard_run_id = 1840898 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`=23288115 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879398, 0.09252529888664819, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288115_26-05-2025_14_52_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23288117, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288118, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288119, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288120, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288121, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288122, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288123, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288124, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288125, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288126, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288127, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288128, '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 = 23288547 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 23288547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23288547 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23288547 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23288547 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288547_26-05-2025_14_51_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288547 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_P23288547_26-05-2025_14_51_34.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23288548, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288549, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288550, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288552, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288554, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288556, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288557, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288558, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288559, 'pht': 3726}}" where mtr_portfolio_id = 23288547 and dashboard_run_id = 1840898 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 = 23288807 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': 2943571, 'mtr_portfolio_id': 23288807, 'created_at': datetime.datetime(2025, 5, 26, 14, 50, 28), 'result': '0.04767460023010003', 'result_long': None, 'result_double': None}] Qualite : 0.04767460023010003 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23288807 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23288807 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_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, 'pht': 3726}}" where mtr_portfolio_id = 23288807 and dashboard_run_id = 1840898 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`=23288807 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879400, 0.04767460023010003, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23288807_26-05-2025_14_50_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23288809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23288810, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23288811, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23288812, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23288813, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23288814, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23288815, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23288816, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23288817, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23288818, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23288819, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23288820, '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 = 23309457 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': 2946736, 'mtr_portfolio_id': 23309457, 'created_at': datetime.datetime(2025, 5, 26, 11, 47, 57), 'result': '0.05115101714818417', 'result_long': None, 'result_double': None}] Qualite : 0.05115101714818417 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309457 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_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, 'pht': 3726}}" where mtr_portfolio_id = 23309457 and dashboard_run_id = 1840896 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`=23309457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879401, 0.05115101714818417, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309457_26-05-2025_11_48_00.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327696, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327697, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327699, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327702, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327704, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327705, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327706, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327707, '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 = 23290064 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': 2943572, 'mtr_portfolio_id': 23290064, 'created_at': datetime.datetime(2025, 5, 26, 14, 49, 57), 'result': '0.03726798186647803', 'result_long': None, 'result_double': None}] Qualite : 0.03726798186647803 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23290064 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23290064 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_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, 'pht': 3726}}" where mtr_portfolio_id = 23290064 and dashboard_run_id = 1840898 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`=23290064 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879402, 0.03726798186647803, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290064_26-05-2025_14_50_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290076, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290077, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290079, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290080, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290081, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290082, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290083, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290084, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290085, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290086, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290087, '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 = 23305438 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': 2946168, 'mtr_portfolio_id': 23305438, 'created_at': datetime.datetime(2025, 5, 23, 18, 0, 34), 'result': '0.07300197106569571', 'result_long': None, 'result_double': None}] Qualite : 0.07300197106569571 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305438 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305438 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_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, 'pht': 3726}}" where mtr_portfolio_id = 23305438 and dashboard_run_id = 1840898 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`=23305438 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879403, 0.07300197106569571, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305438_23-05-2025_18_00_37.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23305455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23305456, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23305457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23305458, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23305459, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23305460, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23305461, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23305462, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23305463, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23305464, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23305465, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23305466, '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 = 23309458 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': 2946737, 'mtr_portfolio_id': 23309458, 'created_at': datetime.datetime(2025, 5, 26, 11, 46, 29), 'result': '0.040691904480527584', 'result_long': None, 'result_double': None}] Qualite : 0.040691904480527584 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309458 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309458 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_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, 'pht': 3726}}" where mtr_portfolio_id = 23309458 and dashboard_run_id = 1840896 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`=23309458 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879404, 0.040691904480527584, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309458_26-05-2025_11_46_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327625, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327626, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327627, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327628, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327629, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327630, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327632, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327633, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327634, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327636, '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 = 23291043 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': 2943573, 'mtr_portfolio_id': 23291043, 'created_at': datetime.datetime(2025, 5, 26, 14, 49, 29), 'result': '0.03974789209131804', 'result_long': None, 'result_double': None}] Qualite : 0.03974789209131804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23291043 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23291043 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_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, 'pht': 3726}}" where mtr_portfolio_id = 23291043 and dashboard_run_id = 1840898 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`=23291043 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879405, 0.03974789209131804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291043_26-05-2025_14_49_32.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291063, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291064, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291065, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291066, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291067, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291068, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291069, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291070, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291071, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291072, '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 = 23290765 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': 2943574, 'mtr_portfolio_id': 23290765, 'created_at': datetime.datetime(2025, 5, 26, 14, 48, 29), 'result': '0.03937798374952385', 'result_long': None, 'result_double': None}] Qualite : 0.03937798374952385 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23290765 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23290765 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_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, 'pht': 3726}}" where mtr_portfolio_id = 23290765 and dashboard_run_id = 1840898 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`=23290765 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879406, 0.03937798374952385, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23290765_26-05-2025_14_48_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23290773, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23290774, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23290775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23290776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23290777, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23290778, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23290779, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23290780, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23290781, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23290782, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23290783, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23290784, '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 = 23291275 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': 2943575, 'mtr_portfolio_id': 23291275, 'created_at': datetime.datetime(2025, 5, 26, 14, 47, 58), 'result': '0.032906802138447745', 'result_long': None, 'result_double': None}] Qualite : 0.032906802138447745 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23291275 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23291275 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_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, 'pht': 3726}}" where mtr_portfolio_id = 23291275 and dashboard_run_id = 1840898 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`=23291275 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879407, 0.032906802138447745, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23291275_26-05-2025_14_48_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23291286, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23291287, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23291288, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23291289, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23291290, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23291291, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23291292, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23291293, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23291294, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23291295, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23291296, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23291297, '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 = 23292382 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': 2943774, 'mtr_portfolio_id': 23292382, 'created_at': datetime.datetime(2025, 5, 23, 9, 33, 32), 'result': '0.03689983979342696', 'result_long': None, 'result_double': None}] Qualite : 0.03689983979342696 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23292382 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23292382 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_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, 'pht': 3726}}" where mtr_portfolio_id = 23292382 and dashboard_run_id = 1840898 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`=23292382 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879408, 0.03689983979342696, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292382_23-05-2025_09_33_35.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23292385, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292386, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292387, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292388, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292391, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292394, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292395, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292396, '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 = 23292519 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': 2943790, 'mtr_portfolio_id': 23292519, 'created_at': datetime.datetime(2025, 5, 26, 14, 42, 28), 'result': '0.09853127524122728', 'result_long': None, 'result_double': None}] Qualite : 0.09853127524122728 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23292519 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23292519 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_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, 'pht': 3726}}" where mtr_portfolio_id = 23292519 and dashboard_run_id = 1840898 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`=23292519 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879409, 0.09853127524122728, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23292519_26-05-2025_14_42_30.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23292522, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23292523, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23292524, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23292525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23292526, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23292527, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23292528, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23292529, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23292530, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23292531, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23292532, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23292533, '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 = 23309459 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': 2946738, 'mtr_portfolio_id': 23309459, 'created_at': datetime.datetime(2025, 5, 26, 11, 46), 'result': '0.02173304178455117', 'result_long': None, 'result_double': None}] Qualite : 0.02173304178455117 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309459 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309459 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_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, 'pht': 3726}}" where mtr_portfolio_id = 23309459 and dashboard_run_id = 1840896 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`=23309459 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879410, 0.02173304178455117, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309459_26-05-2025_11_46_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23327594, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23327595, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23327596, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23327597, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23327598, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23327599, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23327600, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23327601, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23327602, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23327603, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23327604, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23327605, '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 = 23306643 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': 2946359, 'mtr_portfolio_id': 23306643, 'created_at': datetime.datetime(2025, 5, 23, 20, 1, 29), 'result': '0.018205471114361688', 'result_long': None, 'result_double': None}] Qualite : 0.018205471114361688 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23306643 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23306643 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_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, 'pht': 3726}}" where mtr_portfolio_id = 23306643 and dashboard_run_id = 1840898 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`=23306643 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879411, 0.018205471114361688, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23306643_23-05-2025_20_01_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306647, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306648, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306649, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306650, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306651, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306652, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306653, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306654, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306655, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306656, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306657, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306658, '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 = 23293107 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': 2944242, 'mtr_portfolio_id': 23293107, 'created_at': datetime.datetime(2025, 5, 26, 13, 43, 29), 'result': '0.13082168273447528', 'result_long': None, 'result_double': None}] Qualite : 0.13082168273447528 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23293107 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23293107 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_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, 'pht': 3726}}" where mtr_portfolio_id = 23293107 and dashboard_run_id = 1840898 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`=23293107 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879412, 0.13082168273447528, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23293107_26-05-2025_13_43_30.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23293108, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23293109, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23293110, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23293111, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23293112, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23293113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23293114, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23293115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23293116, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23293117, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23293118, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23293119, '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 = 23305993 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': 2946267, 'mtr_portfolio_id': 23305993, 'created_at': datetime.datetime(2025, 5, 23, 19, 1, 34), 'result': '0.04899943066318743', 'result_long': None, 'result_double': None}] Qualite : 0.04899943066318743 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305993 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305993 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_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, 'pht': 3726}}" where mtr_portfolio_id = 23305993 and dashboard_run_id = 1840898 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`=23305993 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879413, 0.04899943066318743, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305993_23-05-2025_19_01_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306033, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306034, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306035, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306036, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306037, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306038, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306039, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306040, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306041, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306042, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306043, '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 = 23305996 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 23305996 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23305996 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305996 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23305996 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [{'mtr_datou_id': 4302, 'mtr_datou_current_id': 2946268, 'mtr_portfolio_id': 23305996, 'created_at': datetime.datetime(2025, 5, 23, 19, 0, 29), 'result': 0.0, 'result_long': None, 'result_double': None}] Qualite : 0.0 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23305996 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23305996 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_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, 'pht': 3726}}" where mtr_portfolio_id = 23305996 and dashboard_run_id = 1840898 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`=23305996 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879414, 0.0, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23305996_23-05-2025_19_00_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23306002, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23306003, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23306004, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23306005, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23306006, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23306007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23306008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23306009, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23306010, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23306011, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23306012, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23306013, '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 = 23303395 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': 2945940, 'mtr_portfolio_id': 23303395, 'created_at': datetime.datetime(2025, 5, 23, 16, 1, 35), 'result': '0.03969406451626526', 'result_long': None, 'result_double': None}] Qualite : 0.03969406451626526 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23303395 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23303395 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_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, 'pht': 3726}}" where mtr_portfolio_id = 23303395 and dashboard_run_id = 1840898 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`=23303395 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879415, 0.03969406451626526, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303395_23-05-2025_16_01_43.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303452, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303453, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303454, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303455, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303456, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303457, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23303458, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303459, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303460, '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 = 23296109 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 23296109 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23296109 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23296109 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23296109 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23296109 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23296109_23-05-2025_12_01_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23296109 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_P23296109_23-05-2025_12_01_37.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23296112, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23296113, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23296114, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23296115, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23296116, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23296117, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23296118, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23296119, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23296120, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23296121, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23296122, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23296123, 'pht': 3726}}" where mtr_portfolio_id = 23296109 and dashboard_run_id = 1840898 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 = 23295188 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': 2944996, 'mtr_portfolio_id': 23295188, 'created_at': datetime.datetime(2025, 5, 26, 13, 29, 31), 'result': '0.02706719542379491', 'result_long': None, 'result_double': None}] Qualite : 0.02706719542379491 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23295188 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23295188 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_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, 'pht': 3726}}" where mtr_portfolio_id = 23295188 and dashboard_run_id = 1840898 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`=23295188 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879417, 0.02706719542379491, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23295188_26-05-2025_13_29_32.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23295221, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23295222, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23295223, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23295224, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23295226, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23295227, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23295228, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23295229, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23295230, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23295231, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23295232, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23295233, '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 = 23303398 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': 2945941, 'mtr_portfolio_id': 23303398, 'created_at': datetime.datetime(2025, 5, 23, 16, 1, 29), 'result': '0.06355173350632357', 'result_long': None, 'result_double': None}] Qualite : 0.06355173350632357 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23303398 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23303398 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_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, 'pht': 3726}}" where mtr_portfolio_id = 23303398 and dashboard_run_id = 1840898 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`=23303398 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879418, 0.06355173350632357, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23303398_23-05-2025_16_01_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23303436, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23303437, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23303438, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23303439, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23303440, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23303441, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23303443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23303444, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23303445, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23303446, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23303447, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23303448, '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 = 23297474 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': 2945474, 'mtr_portfolio_id': 23297474, 'created_at': datetime.datetime(2025, 5, 26, 13, 0, 28), 'result': '0.03302016356036787', 'result_long': None, 'result_double': None}] Qualite : 0.03302016356036787 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23297474 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23297474 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_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, 'pht': 3726}}" where mtr_portfolio_id = 23297474 and dashboard_run_id = 1840898 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`=23297474 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879419, 0.03302016356036787, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23297474_26-05-2025_13_00_29.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23297504, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23297505, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23297506, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23297507, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23297508, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23297509, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23297511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23297512, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23297513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23297514, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23297515, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23297516, '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 = 23299796 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': 2945653, 'mtr_portfolio_id': 23299796, 'created_at': datetime.datetime(2025, 5, 26, 13, 9, 59), 'result': '0.0031488256367268167', 'result_long': None, 'result_double': None}] Qualite : 0.0031488256367268167 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23299796 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23299796 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_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, 'pht': 3726}}" where mtr_portfolio_id = 23299796 and dashboard_run_id = 1840898 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`=23299796 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879420, 0.0031488256367268167, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23299796_26-05-2025_13_10_00.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23299834, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23299835, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23299836, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23299837, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23299838, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23299839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23299840, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23299841, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23299842, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23299843, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23299844, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23299845, '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 = 23300457 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': 2945694, 'mtr_portfolio_id': 23300457, 'created_at': datetime.datetime(2025, 5, 26, 13, 7, 28), 'result': '0.07619664336741928', 'result_long': None, 'result_double': None}] Qualite : 0.07619664336741928 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23300457 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23300457 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_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, 'pht': 3726}}" where mtr_portfolio_id = 23300457 and dashboard_run_id = 1840898 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`=23300457 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879421, 0.07619664336741928, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23300457_26-05-2025_13_07_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23300534, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23300535, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23300536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23300537, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23300538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23300539, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23300540, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23300541, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23300542, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23300543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23300544, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23300545, '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 = 23301804 AND result is not null and result<>"None" and result<>0.0 AND mtd_id=4302 ORDER BY id desc LIMIT 1 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 = 23301804 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ORDER BY created_at desc LIMIT 1 select value from MTRUser.portfolio_carac_ratio where portfolio_id = 23301804 and created_at >= ( SELECT min(created_at) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23301804 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 )and created_at < ( SELECT addtime(max(created_at),100) FROM MTRPhoto.mtr_datou_result WHERE mtr_portfolio_id = 23301804 AND result is not null and result<>"None" and result=0.0 AND mtd_id=4302 ) order by value desc list_result_datou : [] select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23301804 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23301804_26-05-2025_12_58_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23301804 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_P23301804_26-05-2025_12_58_59.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23301806, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23301807, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23301808, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23301809, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23301810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23301811, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23301812, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23301813, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23301814, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23301815, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23301816, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23301817, 'pht': 3726}}" where mtr_portfolio_id = 23301804 and dashboard_run_id = 1840898 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 = 23302868 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': 2945875, 'mtr_portfolio_id': 23302868, 'created_at': datetime.datetime(2025, 5, 23, 15, 35, 34), 'result': '0.09018094947646639', 'result_long': None, 'result_double': None}] Qualite : 0.09018094947646639 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23302868 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23302868 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_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, 'pht': 3726}}" where mtr_portfolio_id = 23302868 and dashboard_run_id = 1840898 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`=23302868 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879423, 0.09018094947646639, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23302868_23-05-2025_15_35_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23302873, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23302874, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23302875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23302876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23302877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23302878, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23302879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23302880, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23302881, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23302882, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23302883, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23302884, '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 = 23309776 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': 2946758, 'mtr_portfolio_id': 23309776, 'created_at': datetime.datetime(2025, 5, 26, 11, 42, 1), 'result': '0.02014171305070155', 'result_long': None, 'result_double': None}] Qualite : 0.02014171305070155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23309776 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23309776 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_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, 'pht': 3726}}" where mtr_portfolio_id = 23309776 and dashboard_run_id = 1840898 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`=23309776 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879424, 0.02014171305070155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23309776_26-05-2025_11_42_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23309813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23309814, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23309815, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23309816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23309817, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23309818, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23309819, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23309820, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23309821, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23309822, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23309823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23309824, '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 = 23310639 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': 2946840, 'mtr_portfolio_id': 23310639, 'created_at': datetime.datetime(2025, 5, 23, 23, 41, 34), 'result': '0.029191679979385748', 'result_long': None, 'result_double': None}] Qualite : 0.029191679979385748 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23310639 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23310639 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_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, 'pht': 3726}}" where mtr_portfolio_id = 23310639 and dashboard_run_id = 1840896 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`=23310639 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879425, 0.029191679979385748, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310639_23-05-2025_23_41_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310676, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310677, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310678, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310679, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310680, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310681, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310682, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310683, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310684, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310685, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310686, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310687, '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 = 23310493 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': 2946820, 'mtr_portfolio_id': 23310493, 'created_at': datetime.datetime(2025, 5, 26, 11, 38, 28), 'result': '0.015251441557466194', 'result_long': None, 'result_double': None}] Qualite : 0.015251441557466194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23310493 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23310493 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_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, 'pht': 3726}}" where mtr_portfolio_id = 23310493 and dashboard_run_id = 1840896 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`=23310493 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (10879426, 0.015251441557466194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23310493_26-05-2025_11_38_28.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23310531, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23310532, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23310533, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23310534, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23310535, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23310536, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23310537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23310538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23310539, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23310540, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23310541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23310542, '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 (23282309,23304624,23283058,23282803,23283810,23284061,23284185,23284543,23284637,23285058,23285265,23286346,23285758,23286077,23286960,23287222,23287637,23287638,23287834,23288115,23288547,23288807,23309457,23290064,23305438,23309458,23291043,23290765,23291275,23292382,23292519,23309459,23306643,23293107,23305993,23305996,23303395,23296109,23295188,23303398,23297474,23299796,23300457,23301804,23302868,23309776,23310639,23310493) result : ((1360680878,), (1360680881,), (1360680886,), (1360680919,), (1360680926,), (1360680932,), (1360680938,), (1360680943,), (1360680966,), (1360680970,), (1360680974,), (1360680977,), (1360680981,), (1360680985,), (1360681004,), (1360681009,), (1360681014,), (1360681048,), (1360681053,), (1360681057,), (1360681061,), (1360681065,), (1360681068,), (1360681089,), (1360681094,), (1360681098,), (1360681102,), (1360681106,), (1360681181,), (1360681186,), (1360681192,), (1360681197,), (1360681201,), (1360681220,), (1360681257,), (1360681273,), (1360681281,), (1360681544,), (1360681548,), (1360681552,), (1360681557,), (1360681629,), (1360681643,), (1360681650,), (1360681660,), (1360681760,), (1360681764,), (1360681767,), (1360681772,), (1360681776,), (1360681800,), (1360681841,), (1360682678,), (1360682681,), (1360682701,), (1360682705,), (1360682708,), (1360682711,), (1360682728,), (1360682732,), (1360682736,), (1360682750,), (1360682753,), (1360682757,), (1360682761,), (1360682766,), (1360682787,), (1360682790,), (1360682793,), (1360682819,), (1360682823,), (1360682826,), (1360682829,), (1360682832,), (1360682851,), (1360682855,), (1360682858,), (1360682875,), (1360682879,), (1360682883,), (1360682886,), (1360682902,), (1360682905,), (1360682908,), (1360682911,), (1360682932,), (1360682937,), (1360682941,), (1360682945,), (1360682948,), (1360682950,), (1360682960,), (1360682964,), (1360682967,), (1360682972,), (1360682989,), (1360682992,), (1360682995,), (1360683011,), (1360683017,), (1360683021,), (1360683025,), (1360683029,), (1360683030,), (1360683383,), (1360683405,), (1360683429,), (1360683454,), (1360683527,), (1360683547,), (1360683567,), (1360683600,), (1360683624,), (1360685448,), (1360682259,), (1360682263,), (1360682266,), (1360682269,), (1360682273,), (1360682284,), (1360682287,), (1360682317,), (1360682321,), (1360682325,), (1360682328,), (1360682347,), (1360682349,), (1360682351,), (1360682376,), (1360682379,), (1360682382,), (1360682386,), (1360682406,), (1360682410,), (1360682414,), (1360682418,), (1360682432,), (1360682435,), (1360682438,), (1360682457,), (1360682461,), (1360682465,), (1360682485,), (1360682489,), (1360682493,), (1360682496,), (1360682513,), (1360682517,), (1360682521,), (1360682524,), (1360682528,), (1360682540,), (1360682544,), (1360682547,), (1360682571,), (1360682575,), (1360682579,), (1360682582,), (1360682585,), (1360682587,), (1360682600,), (1360682604,), (1360682606,), (1360682610,), (1360682612,), (1360682629,), (1360682633,), (1360682652,), (1360682655,), (1360682658,), (1360682660,), (1360682663,), (1360682665,), (1360682684,), (1360685442,), (1360685445,), (1360685471,), (1360685474,), (1360685477,), (1360685480,), (1360685500,), (1360685522,), (1360685524,), (1360685526,), (1360685529,), (1360685552,), (1360685555,), (1360685558,), (1360685561,), (1360685563,), (1360685566,), (1360685588,), (1360685589,), (1360685591,), (1360685594,), (1360685609,), (1360685611,), (1360685614,), (1360685654,), (1360685656,), (1360685675,), (1360685678,), (1360685681,), (1360685685,), (1360685687,), (1360685705,), (1360685709,), (1360685713,), (1360685717,), (1360685720,), (1360685764,), (1360685766,), (1360685790,), (1360685792,), (1360685794,), (1360686131,), (1360686206,), (1360686232,), (1360686235,), (1360686238,), (1360686241,), (1360686255,), (1360686258,), (1360686261,), (1360686264,), (1360686267,), (1360686278,), (1360686281,), (1360686284,), (1360686287,), (1360686302,), (1360686306,), (1360686309,), (1360686312,), (1360686316,), (1360686329,), (1360686333,), (1360686336,), (1360686339,), (1360686342,), (1360686344,), (1360686361,), (1360686366,), (1360686370,), (1360686392,), (1360686397,), (1360686402,), (1360686405,), (1360686418,), (1360686422,), (1360686425,), (1360686429,), (1360686432,), (1360686434,), (1360686449,), (1360686453,), (1360686456,), (1360686460,), (1360686483,), (1360686487,), (1360686491,), (1360686507,), (1360686511,), (1360686515,), (1360686519,), (1360686524,), (1360686543,), (1360686546,), (1360686549,), (1360686552,), (1360686555,), (1360686570,), (1360686572,), (1360686574,), (1360686576,), (1360686578,), (1360686597,), (1360686599,), (1360686631,), (1360686623,), (1360686625,), (1360686627,), (1360686629,), (1360686651,), (1360686655,), (1360686658,), (1360686661,), (1360686663,), (1360686665,), (1360686683,), (1360686685,), (1360686688,), (1360686712,), (1360686715,), (1360686754,), (1360686757,), (1360686759,), (1360686761,), (1360686763,), (1360686764,), (1360686792,), (1360686794,), (1360686796,), (1360686798,), (1360686800,), (1360686801,), (1360686821,), (1360686823,), (1360686826,), (1360686850,), (1360686852,), (1360686853,), (1360686856,), (1360686859,), (1360686878,), (1360686880,), (1360686883,), (1360686885,), (1360686887,), (1360686906,), (1360686908,), (1360686910,), (1360686912,), (1360686914,), (1360686931,), (1360686933,), (1360686935,), (1360686937,), (1360686939,), (1360686960,), (1360686962,), (1360686965,), (1360686968,), (1360686969,), (1360686990,), (1360686992,), (1360686995,), (1360686997,), (1360687015,), (1360687017,), (1360687019,), (1360687254,), (1360687251,), (1360687302,), (1360687306,), (1360687309,), (1360687348,), (1360687350,), (1360687352,), (1360687354,), (1360687356,), (1360687372,), (1360687374,), (1360687376,), (1360687378,), (1360687380,), (1360687381,), (1360687398,), (1360687400,), (1360687402,), (1360687422,), (1360687425,), (1360687428,), (1360687431,), (1360687447,), (1360687451,), (1360687453,), (1360687455,), (1360687457,), (1360687485,), (1360687475,), (1360687478,), (1360687480,), (1360687482,), (1360687483,), (1360687505,), (1360687506,), (1360687508,), (1360687524,), (1360687527,), (1360687530,), (1360687533,), (1360687535,), (1360687554,), (1360687556,), (1360687558,), (1360687560,), (1360687591,), (1360687593,), (1360687594,), (1360687596,), (1360687622,), (1360687625,), (1360687649,), (1360687651,), (1360687654,), (1360687656,), (1360687658,), (1360687676,), (1360687679,), (1360687682,), (1360687685,), (1360687689,), (1360687710,), (1360687712,), (1360687715,), (1360687717,), (1360687719,), (1360687720,), (1360687737,), (1360687739,), (1360687741,), (1360687762,), (1360687765,), (1360687767,), (1360687770,), (1360687772,), (1360687787,), (1360687789,), (1360687791,), (1360687793,), (1360687812,), (1360687814,), (1360687816,), (1360687818,), (1360687852,), (1360687855,), (1360687858,), (1360687861,), (1360687865,), (1360687871,), (1360687875,), (1360687903,), (1360687893,), (1360687897,), (1360687900,), (1360687925,), (1360687929,), (1360687931,), (1360687934,), (1360687939,), (1360687940,), (1360687951,), (1360687955,), (1360687959,), (1360687977,), (1360687980,), (1360687983,), (1360687986,), (1360688006,), (1360688010,), (1360688013,), (1360688017,), (1360688020,), (1360688037,), (1360688041,), (1360688045,), (1360688048,), (1360688051,), (1360688064,), (1360688068,), (1360688071,), (1360688076,), (1360688080,), (1360688099,), (1360688103,), (1360688106,), (1360688126,), (1360688129,), (1360688132,), (1360688135,), (1360688138,), (1360688140,), (1360688162,), (1360688166,), (1360688170,), (1360688173,), (1360688177,), (1360688215,), (1360688219,), (1360688222,), (1360688239,), (1360688242,), (1360688266,), (1360688269,), (1360688272,), (1360688276,), (1360688278,), (1360688297,), (1360688301,), (1360688303,), (1360688325,), (1360688326,), (1360688328,), (1360688329,), (1360688330,), (1360688331,), (1360688347,), (1360688345,), (1360688346,), (1360688372,), (1360688375,), (1360688378,), (1360688380,), (1360688398,), (1360688401,), (1360688404,), (1360688407,), (1360688408,), (1360688425,), (1360688427,), (1360688429,), (1360688431,), (1360688460,), (1360688463,), (1360688466,), (1360688468,), (1360688471,), (1360688472,), (1360688500,), (1360688502,), (1360688504,), (1360688506,), (1360688535,), (1360688538,), (1360688540,), (1360688543,), (1360688547,), (1360688565,), (1360688568,), (1360688585,), (1360688588,), (1360688591,), (1360688612,), (1360688614,), (1360688616,), (1360688619,), (1360688622,), (1360688637,), (1360688640,), (1360688643,), (1360688646,), (1360688650,), (1360688670,), (1360688674,), (1360688678,), (1360688681,), (1360688696,), (1360688699,), (1360688704,), (1360688707,), (1360688710,), (1360688711,), (1360688724,), (1360688728,), (1360688733,), (1360688736,), (1360688756,), (1360688759,), (1360688762,), (1360688766,), (1360688769,), (1360688798,), (1360689305,), (1360689308,), (1360689326,), (1360689330,), (1360689333,), (1360689336,), (1360689339,), (1360689349,), (1360689353,), (1360689356,), (1360689359,), (1360689362,), (1360689378,), (1360689382,), (1360689384,), (1360689403,), (1360689408,), (1360689412,), (1360689416,), (1360689418,), (1360689441,), (1360689445,), (1360689449,), (1360689452,), (1360689455,), (1360689469,), (1360689472,), (1360689475,), (1360689478,), (1360689480,), (1360689502,), (1360689504,), (1360689507,), (1360689537,), (1360689540,), (1360689544,), (1360689548,), (1360689552,), (1360689574,), (1360689577,), (1360689580,), (1360689583,), (1360689585,), (1360689587,), (1360689607,), (1360689608,), (1360689609,), (1360689611,), (1360689613,), (1360689615,), (1360689633,), (1360689635,), (1360689637,), (1360689639,), (1360689656,), (1360689658,), (1360689660,), (1360689662,), (1360689664,), (1360689665,), (1360689690,), (1360689695,), (1360689698,), (1360689747,), (1360689735,), (1360689738,), (1360689740,), (1360689744,), (1360689762,), (1360689765,), (1360689769,), (1360689771,), (1360689796,), (1360689800,), (1360689804,), (1360689836,), (1360689840,), (1360689844,), (1360689848,), (1360689864,), (1360689866,), (1360689869,), (1360689872,), (1360689876,), (1360689892,), (1360689896,), (1360689899,), (1360689904,), (1360689922,), (1360689925,), (1360689928,), (1360689947,), (1360689949,), (1360689951,), (1360689953,), (1360689971,), (1360689973,), (1360689975,), (1360689994,), (1360689996,), (1360689998,), (1360690000,), (1360690002,), (1360690027,), (1360690030,), (1360691331,), (1360688788,), (1360688791,), (1360688794,), (1360688825,), (1360688828,), (1360688831,), (1360688834,), (1360688837,), (1360688858,), (1360688861,), (1360688863,), (1360688867,), (1360688893,), (1360688896,), (1360688901,), (1360688904,), (1360688908,), (1360688910,), (1360688933,), (1360688935,), (1360688937,), (1360688940,), (1360688943,), (1360688946,), (1360688984,), (1360688988,), (1360688991,), (1360689011,), (1360689015,), (1360689019,), (1360689022,), (1360689044,), (1360689047,), (1360689051,), (1360689056,), (1360689058,), (1360689060,), (1360689079,), (1360689085,), (1360689089,), (1360689092,), (1360689103,), (1360689108,), (1360689112,), (1360689146,), (1360689149,), (1360689151,), (1360689154,), (1360689157,), (1360689178,), (1360689182,), (1360689185,), (1360689218,), (1360689220,), (1360689221,), (1360689235,), (1360689239,), (1360689242,), (1360689245,), (1360689248,), (1360689250,), (1360689272,), (1360689277,), (1360689281,), (1360689284,), (1360689286,), (1360689288,), (1360689311,), (1360691328,), (1360691390,), (1360691442,), (1360691446,), (1360691452,), (1360691454,), (1360691475,), (1360691479,), (1360691483,), (1360691504,), (1360691508,), (1360691557,), (1360691559,), (1360691561,), (1360691563,), (1360691566,), (1360691569,), (1360691609,), (1360691611,), (1360691613,), (1360691615,), (1360691633,), (1360691636,), (1360691639,), (1360691641,), (1360691644,), (1360691664,), (1360691667,), (1360691670,), (1360691673,), (1360691675,), (1360691676,), (1360691700,), (1360691703,), (1360691705,), (1360691708,), (1360691709,), (1360691710,), (1360691727,), (1360691731,), (1360691734,), (1360691763,), (1360691758,), (1360691761,), (1360691780,), (1360691782,), (1360691784,), (1360691786,), (1360691788,), (1360691789,), (1360691802,), (1360691804,), (1360691807,), (1360691846,), (1360691850,), (1360691854,), (1360691873,), (1360691900,), (1360691954,), (1360691958,), (1360691961,), (1360691984,), (1360691987,), (1360691990,), (1360691993,), (1360692017,), (1360692019,), (1360692021,), (1360692023,), (1360692041,), (1360692047,), (1360692050,), (1360692052,), (1360692071,), (1360692074,), (1360692078,), (1360692080,), (1360692083,), (1360692101,), (1360692103,), (1360692105,), (1360692107,), (1360692123,), (1360692125,), (1360692127,), (1360692148,), (1360692151,), (1360692154,), (1360692156,), (1360692184,), (1360692188,), (1360692191,), (1360692194,), (1360692213,), (1360692218,), (1360692248,), (1360692252,), (1360692256,), (1360692280,), (1360692274,), (1360692277,), (1360692300,), (1360692302,), (1360692304,), (1360692325,), (1360692327,), (1360692329,), (1360692331,), (1360692349,), (1360692351,), (1360692353,), (1360692355,), (1360692373,), (1360692376,), (1360692379,), (1360692398,), (1360692400,), (1360692401,), (1360692434,), (1360692437,), (1360692464,), (1360692466,), (1360692468,), (1360692470,), (1360692500,), (1360692502,), (1360692504,), (1360692506,), (1360692508,), (1360692534,), (1360692537,), (1360692540,), (1360692542,), (1360692564,), (1360692566,), (1360692567,), (1360692569,), (1360692593,), (1360692596,), (1360692599,), (1360692602,), (1360692604,), (1360692633,), (1360692650,), (1360692655,), (1360692662,), (1360692744,), (1360692747,), (1360692749,), (1360692753,), (1360692757,), (1360692758,), (1360692770,), (1360692774,), (1360692821,), (1360692808,), (1360692810,), (1360692813,), (1360692816,), (1360692819,), (1360692839,), (1360692841,), (1360692843,), (1360692845,), (1360692847,), (1360692879,), (1360692881,), (1360692883,), (1360692908,), (1360692910,), (1360692932,), (1360692936,), (1360692939,), (1360692942,), (1360692993,), (1360692995,), (1360692997,), (1360692999,), (1360693001,), (1360693097,), (1360693099,), (1360693101,), (1360693131,), (1360693133,), (1360693135,), (1360693137,), (1360693140,), (1360693157,), (1360693160,), (1360693163,), (1360693166,), (1360693168,), (1360693183,), (1360693187,), (1360693191,), (1360693194,), (1360693210,), (1360693213,), (1360693216,), (1360693219,), (1360693238,), (1360693241,), (1360693244,), (1360693247,), (1360693270,), (1360693272,), (1360693274,), (1360693276,), (1360693278,), (1360693280,), (1360693305,), (1360693311,), (1360693315,), (1360693319,), (1360693323,), (1360693330,), (1360693331,), (1360693333,), (1360693334,), (1360693336,), (1360693337,), (1360693341,), (1360693342,), (1360693374,), (1360693358,), (1360693362,), (1360693363,), (1360693366,), (1360693370,), (1360693397,), (1360693402,), (1360693406,), (1360693410,), (1360693434,), (1360693437,), (1360693444,), (1360693447,), (1360693450,), (1360693468,), (1360693523,), (1360693550,), (1360693577,), (1360693584,), (1360693598,), (1360693600,), (1360693602,), (1360693604,), (1360693607,), (1360693610,), (1360693625,), (1360693628,), (1360693631,), (1360693633,), (1360693636,), (1360693653,), (1360693656,), (1360693659,), (1360693661,), (1360693664,), (1360693665,), (1360693682,), (1360693684,), (1360693686,), (1360693702,), (1360693709,), (1360693712,), (1360693715,), (1360693718,), (1360693752,), (1360693771,), (1360693779,), (1360693782,), (1360693787,), (1360693816,), (1360693820,), (1360693824,), (1360693826,), (1360693859,), (1360693861,), (1360693864,), (1360693866,), (1360693868,), (1360693895,), (1360693898,), (1360693901,), (1360693904,), (1360693907,), (1360693922,), (1360693925,), (1360693927,), (1360693953,), (1360693956,), (1360693959,), (1360693963,), (1360693966,), (1360693994,), (1360693988,), (1360693990,), (1360693992,), (1360694020,), (1360694025,), (1360694030,), (1360694034,), (1360694054,), (1360694059,), (1360694062,), (1360694089,), (1360694093,), (1360694097,), (1360694102,), (1360694105,), (1360694107,), (1360694127,), (1360694130,), (1360694133,), (1360694135,), (1360694139,), (1360694142,), (1360694156,), (1360694158,), (1360694160,), (1360694162,), (1360694187,), (1360694190,), (1360694193,), (1360694196,), (1360694198,), (1360694202,), (1360694219,), (1360694221,), (1360694222,), (1360694224,), (1360694251,), (1360694252,), (1360694253,), (1360694254,), (1360694272,), (1360694274,), (1360694276,), (1360694277,), (1360694279,), (1360694292,), (1360694316,), (1360694351,), (1360694390,), (1360694393,), (1360694519,), (1360694540,), (1360694543,), (1360694546,), (1360694548,), (1360694573,), (1360694575,), (1360694577,), (1360694598,), (1360694602,), (1360694605,), (1360694608,), (1360694612,), (1360694615,), (1360694629,), (1360694632,), (1360694635,), (1360694637,), (1360694640,), (1360694660,), (1360694663,), (1360694665,), (1360694689,), (1360694694,), (1360694697,), (1360694701,), (1360694704,), (1360694705,), (1360694726,), (1360694729,), (1360694732,), (1360694734,), (1360694736,), (1360694737,), (1360694747,), (1360694749,), (1360694751,), (1360694753,), (1360694779,), (1360694782,), (1360694785,), (1360694787,), (1360694789,), (1360694800,), (1360694803,), (1360694805,), (1360694807,), (1360694811,), (1360694830,), (1360694821,), (1360694823,), (1360694825,), (1360694827,), (1360694849,), (1360694853,), (1360694856,), (1360694872,), (1360694875,), (1360694877,), (1360694879,), (1360694882,), (1360694904,), (1360694906,), (1360694908,), (1360694910,), (1360694912,), (1360694932,), (1360694934,), (1360694936,), (1360694938,), (1360694960,), (1360694963,), (1360694965,), (1360694967,), (1360694968,), (1360694980,), (1360694982,), (1360694984,), (1360694986,), (1360694988,), (1360695008,), (1360695010,), (1360695034,), (1360695038,), (1360695042,), (1360695044,), (1360695047,), (1360695064,), (1360695067,), (1360695070,), (1360695073,), (1360695075,), (1360695091,), (1360695094,), (1360695096,), (1360695099,), (1360695113,), (1360695115,), (1360695117,), (1360695119,), (1360695136,), (1360695138,), (1360695140,), (1360695174,), (1360695179,), (1360695183,), (1360695188,), (1360695192,), (1360695196,), (1360695235,), (1360696352,), (1360696379,), (1360696406,), (1360696639,), (1360696641,), (1360696644,), (1360696669,), (1360696673,), (1360696676,), (1360696787,), (1360696790,), (1360696793,), (1360696796,), (1360696799,), (1360696801,), (1360696850,), (1360696854,), (1360696859,), (1360696864,), (1360696870,), (1360696977,), (1360696981,), (1360696985,), (1360697026,), (1360697029,), (1360697032,), (1360697040,), (1360697046,), (1360697050,), (1360697071,), (1360697082,), (1360697084,), (1360697089,), (1360697090,), (1360697094,), (1360697110,), (1360697114,), (1360697118,), (1360697122,), (1360697125,), (1360697201,), (1360697230,), (1360697258,), (1360697275,), (1360697379,), (1360697398,), (1360697401,), (1360697404,), (1360697423,), (1360697444,), (1360697508,), (1360697515,), (1360697519,), (1360697523,), (1360697561,), (1360697565,), (1360697569,), (1360697571,), (1360697574,), (1360697609,), (1360697612,), (1360697616,), (1360697618,), (1360697622,), (1360697657,), (1360697660,), (1360697663,), (1360697666,), (1360697700,), (1360697704,), (1360697710,), (1360697715,), (1360697719,), (1360697721,), (1360697800,), (1360700301,), (1360700303,), (1360700306,), (1360700344,), (1360700348,), (1360700354,), (1360700359,), (1360700363,), (1360700366,), (1360700390,), (1360700393,), (1360700398,), (1360700433,), (1360700438,), (1360700443,), (1360700447,), (1360700474,), (1360700478,), (1360700482,), (1360700486,), (1360700489,), (1360700527,), (1360700534,), (1360700539,), (1360700543,), (1360700546,), (1360700566,), (1360700570,), (1360700574,), (1360700605,), (1360700608,), (1360700611,), (1360700616,), (1360700620,), (1360700626,), (1360700653,), (1360700658,), (1360700666,), (1360700669,), (1360700672,), (1360700674,), (1360700702,), (1360700705,), (1360700710,), (1360700751,), (1360700756,), (1360700761,), (1360700767,), (1360700773,), (1360700794,), (1360700799,), (1360700803,), (1360700807,), (1360700828,), (1360700837,), (1360700843,), (1360700849,), (1360700876,), (1360700880,), (1360700884,), (1360700914,), (1360700919,), (1360700922,), (1360700928,), (1360700934,), (1360700941,), (1360700997,), (1360699631,), (1360699632,), (1360699634,), (1360699636,), (1360699700,), (1360699702,), (1360699707,), (1360699710,), (1360699714,), (1360699716,), (1360699746,), (1360699748,), (1360699751,), (1360699754,), (1360699782,), (1360699785,), (1360699788,), (1360699827,), (1360699832,), (1360699834,), (1360699837,), (1360699839,), (1360699876,), (1360699879,), (1360699882,), (1360699885,), (1360699915,), (1360699918,), (1360699920,), (1360699922,), (1360699956,), (1360699958,), (1360699963,), (1360699965,), (1360699969,), (1360699971,), (1360699996,), (1360699999,), (1360700003,), (1360700006,), (1360700009,), (1360700010,), (1360700038,), (1360700040,), (1360700043,), (1360700046,), (1360700081,), (1360700086,), (1360700092,), (1360700097,), (1360700099,), (1360700119,), (1360700123,), (1360700128,), (1360700134,), (1360700145,), (1360700169,), (1360700173,), (1360700177,), (1360700180,), (1360700212,), (1360700215,), (1360700219,), (1360700223,), (1360700226,), (1360700229,), (1360700260,), (1360700264,), (1360700269,), (1360700310,), (1360700985,), (1360700989,), (1360700993,), (1360701035,), (1360701040,), (1360701045,), (1360701050,), (1360701055,), (1360701085,), (1360701089,), (1360701091,), (1360701094,), (1360701098,), (1360701103,), (1360701137,), (1360701142,), (1360701148,), (1360701191,), (1360701196,), (1360701200,), (1360701204,), (1360701236,), (1360701240,), (1360701245,), (1360701251,), (1360701256,), (1360701282,), (1360701286,), (1360701291,), (1360701295,), (1360701299,), (1360701303,), (1360701326,), (1360701332,), (1360701337,), (1360701370,), (1360701373,), (1360701376,), (1360701380,), (1360701410,), (1360701415,), (1360701420,), (1360701427,), (1360701434,), (1360701473,), (1360701477,), (1360701482,), (1360701487,), (1360701521,), (1360701525,), (1360701528,), (1360701531,), (1360701568,), (1360701570,), (1360701603,), (1360701606,), (1360701610,), (1360701614,), (1360701651,), (1360701654,), (1360701657,), (1360701660,), (1360701664,), (1360701669,), (1360701715,), (1360701699,), (1360701703,), (1360701707,), (1360701711,), (1360701745,), (1360701747,), (1360701750,), (1360701753,), (1360701755,), (1360701782,), (1360701784,), (1360701787,), (1360702016,), (1360702019,), (1360702022,), (1360702025,), (1360702028,), (1360702031,), (1360702063,), (1360702067,), (1360702072,), (1360702077,), (1360702081,), (1360702085,), (1360702107,), (1360702110,), (1360702114,), (1360702150,), (1360702154,), (1360702159,), (1360702164,), (1360702169,), (1360702174,), (1360702204,), (1360702209,), (1360702215,), (1360702221,), (1360702225,), (1360702229,), (1360702254,), (1360702257,), (1360702321,), (1360702330,), (1360702336,), (1360702342,), (1360702349,), (1360702404,), (1360703585,), (1360703797,), (1360703800,), (1360703840,), (1360703843,), (1360703848,), (1360703884,), (1360703887,), (1360703891,), (1360703927,), (1360703942,), (1360703944,), (1360703948,), (1360703995,), (1360704001,), (1360704006,), (1360704009,), (1360704037,), (1360704041,), (1360704044,), (1360704048,), (1360704051,), (1360704078,), (1360704081,), (1360704083,), (1360704117,), (1360704119,), (1360704122,), (1360704125,), (1360704127,), (1360704130,), (1360704170,), (1360704173,), (1360704176,), (1360704178,), (1360704183,), (1360704222,), (1360705541,), (1360705546,), (1360705548,), (1360705573,), (1360705578,), (1360705581,), (1360705587,), (1360705610,), (1360705613,), (1360705616,), (1360705618,), (1360705650,), (1360705652,), (1360705655,), (1360705658,), (1360705698,), (1360705701,), (1360705703,), (1360705706,), (1360705750,), (1360705754,), (1360705759,), (1360705764,), (1360705794,), (1360705798,), (1360705834,), (1360705837,), (1360705840,), (1360705844,), (1360705873,), (1360705877,), (1360705881,), (1360705885,), (1360705922,), (1360705925,), (1360705929,), (1360705931,), (1360705934,), (1360705937,), (1360705962,), (1360705972,), (1360705975,), (1360705981,), (1360706007,), (1360706010,), (1360706015,), (1360706019,), (1360706023,), (1360706025,), (1360706053,), (1360706056,), (1360706062,), (1360706064,), (1360706066,), (1360706091,), (1360706095,), (1360706098,), (1360706102,), (1360706106,), (1360706135,), (1360706138,), (1360706143,), (1360706148,), (1360706199,), (1360720354,), (1360720381,), (1360720410,), (1360720571,), (1360720624,), (1360720673,), (1360720726,), (1360721244,), (1360721276,), (1360721307,), (1360721338,), (1360721812,), (1360721864,), (1360721916,), (1360721977,), (1360722028,), (1360722343,), (1360722379,), (1360722420,), (1360723006,), (1360723047,), (1360723095,), (1360723396,), (1360723399,), (1360723411,), (1360723440,), (1360723512,), (1360723516,), (1360723518,), (1360723560,), (1360723564,), (1360724096,), (1360724124,), (1360724517,), (1360724619,), (1360724623,), (1360724628,), (1360724631,), (1360724908,), (1360724937,), (1360724966,), (1360724996,), (1360725351,), (1360714793,), (1360714823,), (1360714866,), (1360715359,), (1360715404,), (1360715433,), (1360715463,), (1360715494,), (1360716164,), (1360716213,), (1360716278,), (1360716367,), (1360716420,), (1360716431,), (1360716569,), (1360716597,), (1360716637,), (1360716689,), (1360716983,), (1360717119,), (1360717123,), (1360717128,), (1360717134,), (1360717266,), (1360717274,), (1360717597,), (1360717624,), (1360717653,), (1360717681,), (1360718031,), (1360718058,), (1360718086,), (1360718107,), (1360718216,), (1360718245,), (1360718777,), (1360718803,), (1360718831,), (1360718862,), (1360719202,), (1360719230,), (1360719258,), (1360719263,), (1360719424,), (1360719454,), (1360719489,), (1360719497,), (1360719606,), (1360719610,), (1360719614,), (1360719618,), (1360719621,), (1360719886,), (1360719989,), (1360720063,), (1360720441,), (1360733471,), (1360733499,), (1360733529,), (1360733559,), (1360733901,), (1360733941,), (1360733970,), (1360734001,), (1360734029,), (1360734338,), (1360734367,), (1360734589,), (1360734602,), (1360734605,), (1360734638,), (1360734644,), (1360734649,), (1360734653,), (1360734658,), (1360734688,), (1360734692,), (1360734697,), (1360734701,), (1360734740,), (1360734744,), (1360734747,), (1360734770,), (1360734774,), (1360735052,), (1360735078,), (1360735582,), (1360735610,), (1360767776,), (1360771437,), (1360771492,), (1360771544,), (1360771962,), (1360772147,), (1360772365,), (1360772789,), (1360774582,), (1360774595,), (1360775515,), (1360777856,), (1360777906,), (1360778323,), (1360779158,), (1360779161,), (1360779165,), (1360780660,), (1360780833,), (1360795903,), (1360795983,), (1360796027,), (1360796031,), (1360796401,), (1360796471,), (1360797207,), (1360797720,), (1360799554,), (1360800809,), (1360803256,), (1360803327,), (1360803401,), (1360803726,), (1360803964,), (1360803970,), (1360804524,), (1360805784,), (1360805814,), (1360805844,), (1360806280,), (1360806330,), (1360808235,), (1360808268,), (1360812603,), (1360707754,), (1360707782,), (1360708241,), (1360708474,), (1360708549,), (1360708605,), (1360709057,), (1360709074,), (1360709102,), (1360709132,), (1360709162,), (1360709190,), (1360709274,), (1360709303,), (1360709364,), (1360710061,), (1360710101,), (1360710160,), (1360710998,), (1360711053,), (1360711105,), (1360711155,), (1360711413,), (1360711464,), (1360711520,), (1360711554,), (1360711597,), (1360711771,), (1360711778,), (1360711806,), (1360711835,), (1360712175,), (1360712752,), (1360712778,), (1360712806,), (1360712833,), (1360713284,), (1360713459,), (1360713487,), (1360713534,), (1360713581,), (1360713677,), (1360713681,), (1360713684,), (1360713687,), (1360713690,), (1360713967,), (1360713983,), (1360713993,), (1360714367,), (1360714396,), (1360714423,), (1360714451,), (1360714479,), (1360714507,), (1360714896,), (1360725800,), (1360725828,), (1360725856,), (1360725885,), (1360725915,), (1360726055,), (1360726059,), (1360726063,), (1360726313,), (1360726332,), (1360726360,), (1360726901,), (1360726955,), (1360727008,), (1360727728,), (1360727779,), (1360727828,), (1360727883,), (1360727935,), (1360728055,), (1360728074,), (1360728102,), (1360728133,), (1360728738,), (1360728775,), (1360728815,), (1360728867,), (1360729263,), (1360729295,), (1360729324,), (1360729730,), (1360729762,), (1360729801,), (1360729857,), (1360730179,), (1360730237,), (1360730291,), (1360730348,), (1360730397,), (1360730449,), (1360730867,), (1360730927,), (1360730967,), (1360730976,), (1360731682,), (1360731758,), (1360731819,), (1360731868,), (1360731926,), (1360732723,), (1360732756,), (1360733588,), (1360681830,), (1360681833,), (1360681835,), (1360681837,), (1360681840,), (1360681860,), (1360681863,), (1360681865,), (1360681869,), (1360681871,), (1360681920,), (1360681923,), (1360681926,), (1360681928,), (1360681943,), (1360681945,), (1360681947,), (1360681988,), (1360682016,), (1360682020,), (1360682023,), (1360682026,), (1360682063,), (1360682084,), (1360682106,), (1360682109,), (1360682113,), (1360682115,), (1360682116,), (1360682135,), (1360682138,), (1360682141,), (1360682144,), (1360682146,), (1360682148,), (1360682163,), (1360682165,), (1360682167,), (1360682169,), (1360682171,), (1360682172,), (1360682188,), (1360682192,), (1360682195,), (1360682198,), (1360682227,), (1360682232,), (1360682236,), (1360682239,), (1360682242,), (1360682245,), (1360682275,), (1360697784,), (1360697786,), (1360697790,), (1360697793,), (1360697798,), (1360697828,), (1360697831,), (1360697834,), (1360697874,), (1360697877,), (1360697881,), (1360697885,), (1360697889,), (1360697891,), (1360698017,), (1360698054,), (1360698067,), (1360698070,), (1360698083,), (1360698086,), (1360698199,), (1360698209,), (1360698214,), (1360698331,), (1360698334,), (1360698338,), (1360698342,), (1360698346,), (1360698376,), (1360698378,), (1360698381,), (1360698384,), (1360698387,), (1360698421,), (1360698424,), (1360698427,), (1360698431,), (1360698434,), (1360698469,), (1360698471,), (1360698474,), (1360698482,), (1360698776,), (1360698844,), (1360698848,), (1360698886,), (1360698889,), (1360698893,), (1360698898,), (1360698902,), (1360698939,), (1360706192,), (1360706195,), (1360706236,), (1360706240,), (1360706244,), (1360706250,), (1360706255,), (1360706258,), (1360706303,), (1360706306,), (1360706310,), (1360706314,), (1360706317,), (1360706321,), (1360706368,), (1360706371,), (1360706374,), (1360706377,), (1360706415,), (1360706416,), (1360706418,), (1360706422,), (1360706425,), (1360706461,), (1360706465,), (1360706470,), (1360706475,), (1360706478,), (1360706503,), (1360706506,), (1360706509,), (1360706513,), (1360706544,), (1360706546,), (1360706549,), (1360706552,), (1360706554,), (1360706577,), (1360706582,), (1360706586,), (1360706589,), (1360706591,), (1360706596,), (1360706625,), (1360706631,), (1360706637,), (1360706676,), (1360706714,), (1360706719,), (1360706756,), (1360706762,), (1360706766,), (1360706768,), (1360706802,), (1360706804,), (1360706807,), (1360706811,), (1360706848,), (1360706852,), (1360706857,), (1360706903,), (1360706894,), (1360706898,), (1360706900,), (1360706932,), (1360706935,), (1360706939,), (1360706943,), (1360706948,), (1360706985,), (1360706987,), (1360706990,), (1360707022,), (1360707026,), (1360707033,), (1360707037,), (1360707041,), (1360707043,), (1360707070,), (1360707073,), (1360707076,), (1360707079,), (1360707082,), (1360707085,), (1360707139,), (1360707142,), (1360707145,), (1360707149,), (1360707189,), (1360707193,), (1360707197,), (1360707200,), (1360707208,), (1360707237,), (1360707241,), (1360707245,), (1360707248,), (1360707252,), (1360707257,), (1360707290,), (1360707296,), (1360707300,), (1360707303,), (1360707339,), (1360707341,), (1360707345,), (1360707349,), (1360707353,), (1360707359,), (1360707389,), (1360707392,), (1360707397,), (1360707430,), (1360707433,), (1360707438,), (1360707442,), (1360707446,), (1360707449,), (1360707515,), (1360707517,), (1360707520,), (1360707523,), (1360707525,), (1360707558,), (1360707565,), (1360707639,), (1360704931,), (1360704935,), (1360704977,), (1360705064,), (1360705106,), (1360705113,), (1360705159,), (1360705162,), (1360705199,), (1360705207,), (1360705211,), (1360705216,), (1360705244,), (1360705249,), (1360705254,), (1360705259,), (1360705295,), (1360705301,), (1360705306,), (1360705311,), (1360705357,), (1360705360,), (1360705363,), (1360705366,), (1360705389,), (1360705392,), (1360705431,), (1360705435,), (1360705438,), (1360705441,), (1360705464,), (1360705466,), (1360705469,), (1360705473,), (1360705477,), (1360705500,), (1360705506,), (1360705511,), (1360705517,), (1360705550,), (1360695227,), (1360695232,), (1360695269,), (1360695272,), (1360695276,), (1360695280,), (1360695287,), (1360695310,), (1360695313,), (1360695317,), (1360695320,), (1360695323,), (1360695349,), (1360695362,), (1360695366,), (1360695370,), (1360695393,), (1360695398,), (1360695403,), (1360695409,), (1360695412,), (1360695434,), (1360695437,), (1360695441,), (1360695445,), (1360695449,), (1360695452,), (1360695478,), (1360695482,), (1360695485,), (1360695487,), (1360695490,), (1360695494,), (1360695537,), (1360695542,), (1360695546,), (1360695677,), (1360695705,), (1360695722,), (1360695725,), (1360695729,), (1360695732,), (1360695760,), (1360695763,), (1360695769,), (1360695773,), (1360695776,), (1360695781,), (1360695852,), (1360695856,), (1360695866,), (1360695894,), (1360695920,), (1360696046,), (1360696050,), (1360696054,), (1360696058,), (1360696061,), (1360696072,), (1360696100,), (1360696103,), (1360696105,), (1360696108,), (1360696111,), (1360696150,), (1360696154,), (1360696158,), (1360696164,), (1360696204,), (1360696209,), (1360696213,), (1360696217,), (1360696234,), (1360696243,), (1360696425,), (1360698929,), (1360698934,), (1360698970,), (1360698976,), (1360698983,), (1360698989,), (1360699026,), (1360699030,), (1360699034,), (1360699038,), (1360699042,), (1360699045,), (1360699065,), (1360699069,), (1360699074,), (1360699078,), (1360699082,), (1360699141,), (1360699144,), (1360699147,), (1360699150,), (1360699202,), (1360699206,), (1360699210,), (1360699213,), (1360699215,), (1360699217,), (1360699242,), (1360699245,), (1360699250,), (1360699254,), (1360699256,), (1360699280,), (1360699282,), (1360699285,), (1360699324,), (1360699327,), (1360699331,), (1360699366,), (1360699369,), (1360699371,), (1360699375,), (1360699405,), (1360699409,), (1360699413,), (1360699417,), (1360699448,), (1360699450,), (1360699453,), (1360699520,), (1360699523,), (1360699527,), (1360699531,), (1360699534,), (1360699598,), (1360699601,), (1360699605,), (1360699638,), (1360704219,), (1360704220,), (1360704261,), (1360704263,), (1360704266,), (1360704269,), (1360704271,), (1360704275,), (1360704318,), (1360704321,), (1360704324,), (1360704327,), (1360704329,), (1360704332,), (1360704364,), (1360704366,), (1360704370,), (1360704374,), (1360704377,), (1360704380,), (1360704399,), (1360704403,), (1360704409,), (1360704413,), (1360704472,), (1360704477,), (1360704482,), (1360704487,), (1360704491,), (1360704519,), (1360704522,), (1360704525,), (1360704529,), (1360704558,), (1360704562,), (1360704606,), (1360704609,), (1360704612,), (1360704614,), (1360704617,), (1360704648,), (1360704651,), (1360704654,), (1360704658,), (1360704662,), (1360704694,), (1360704699,), (1360704703,), (1360704706,), (1360704709,), (1360704713,), (1360704735,), (1360704738,), (1360704741,), (1360704771,), (1360704779,), (1360704782,), (1360704786,), (1360704790,), (1360704795,), (1360704813,), (1360704820,), (1360704828,), (1360704834,), (1360704840,), (1360704846,), (1360704890,), (1360898638,), (1360898684,), (1360901137,), (1360901165,), (1360901571,), (1360902274,), (1360902697,), (1360902731,), (1360903656,), (1360905544,), (1360905547,), (1360906767,), (1360906898,), (1360904199,), (1360904201,), (1360904223,), (1360904253,), (1360904257,), (1360905352,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'23052025': {'nb_upload': 42, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23283810]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] map_info['map_portfolio_photo'] : {23283810: [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442]} final : True mtd_id 4302 list_pids : [1360686131, 1360685794, 1360685792, 1360685790, 1360685766, 1360685764, 1360685720, 1360685717, 1360685713, 1360685709, 1360685705, 1360685687, 1360685685, 1360685681, 1360685678, 1360685675, 1360685656, 1360685654, 1360685614, 1360685611, 1360685609, 1360685594, 1360685591, 1360685589, 1360685588, 1360685566, 1360685563, 1360685561, 1360685558, 1360685555, 1360685552, 1360685529, 1360685526, 1360685524, 1360685522, 1360685500, 1360685480, 1360685477, 1360685474, 1360685471, 1360685445, 1360685442] Looping around the photos to save general results len do output : 1 /23283810Didn'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, '2943554') ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554') ('4302', None, None, None, None, None, None, None, '2943554') ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 43 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, '23283810', 'None', None, None, None, None, '2943554'), ('4302', '23283810', '1360686131', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685794', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685792', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685790', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685766', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685764', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685720', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685717', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685713', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685709', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685705', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685687', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685685', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685681', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685678', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685675', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685656', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685654', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685614', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685611', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685609', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685594', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685591', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685589', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685588', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685566', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685563', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685561', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685558', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685555', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685552', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685529', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685526', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685524', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685522', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685500', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685480', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685477', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685474', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685471', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685445', None, None, None, None, None, '2943554'), ('4302', '23283810', '1360685442', None, None, None, None, None, '2943554')] time used for this insertion : 0.01658940315246582 save_final save missing photos in datou_result : time spend for datou_step_exec : 3.6069939136505127 time spend to save output : 0.017025470733642578 total time spend for step 5 : 3.6240193843841553 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 (2943554) 3.18user 2.52system 0:16.74elapsed 34%CPU (0avgtext+0avgdata 168728maxresident)k 4920inputs+27280outputs (37major+89480minor)pagefaults 0swaps