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 : 2507635 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 (3827767) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3827767) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452671 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3827767'] with mtr_portfolio_ids : ['27452671'] and first list_photo_ids : [] new path : /proc/2507635/ Name: python3 Umask: 0002 State: R (running) Tgid: 2507635 Ngid: 0 Pid: 2507635 PPid: 2507634 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 2507635 NSpid: 2507635 NSpgid: 2506925 NSsid: 2506925 VmPeak: 1106856 kB VmSize: 1106856 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 98708 kB VmRSS: 98708 kB RssAnon: 59844 kB RssFile: 38864 kB RssShmem: 0 kB VmData: 865608 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63019 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 53 nonvoluntary_ctxt_switches: 86 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '2507635', 'Ngid': '0', 'Pid': '2507635', 'PPid': '2507634', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '2507635', 'NSpid': '2507635', 'NSpgid': '2506925', 'NSsid': '2506925', 'VmPeak': '1106856 kB', 'VmSize': '1106856 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '98708 kB', 'VmRSS': '98708 kB', 'RssAnon': '59844 kB', 'RssFile': '38864 kB', 'RssShmem': '0 kB', 'VmData': '865608 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63019', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '53', 'nonvoluntary_ctxt_switches': '86'} ('datou_batch_current', '2507635', '1106856', '0', '1106856', '865608', '98708', b'', 'marlene', '3827767') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos_view ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27452671) 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 (3827767 ) ) 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 (27452671) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1387457302, 'portfolio_id': 27452671}, {'photo_id': 1387457294, 'portfolio_id': 27452671}, {'photo_id': 1387457293, 'portfolio_id': 27452671}, {'photo_id': 1387457292, 'portfolio_id': 27452671}, {'photo_id': 1387457289, 'portfolio_id': 27452671}, {'photo_id': 1387457285, 'portfolio_id': 27452671}, {'photo_id': 1387457278, 'portfolio_id': 27452671}, {'photo_id': 1387457273, 'portfolio_id': 27452671}, {'photo_id': 1387457270, 'portfolio_id': 27452671}, {'photo_id': 1387457268, 'portfolio_id': 27452671}, {'photo_id': 1387457249, 'portfolio_id': 27452671}, {'photo_id': 1387457244, 'portfolio_id': 27452671}, {'photo_id': 1387457240, 'portfolio_id': 27452671}, {'photo_id': 1387457238, 'portfolio_id': 27452671}, {'photo_id': 1387457237, 'portfolio_id': 27452671}, {'photo_id': 1387457192, 'portfolio_id': 27452671}, {'photo_id': 1387457190, 'portfolio_id': 27452671}, {'photo_id': 1387457165, 'portfolio_id': 27452671}, {'photo_id': 1387455877, 'portfolio_id': 27452671}, {'photo_id': 1387455621, 'portfolio_id': 27452671}, {'photo_id': 1387455619, 'portfolio_id': 27452671}, {'photo_id': 1387455618, 'portfolio_id': 27452671}, {'photo_id': 1387455617, 'portfolio_id': 27452671}, {'photo_id': 1387455460, 'portfolio_id': 27452671}, {'photo_id': 1387455459, 'portfolio_id': 27452671}, {'photo_id': 1387455456, 'portfolio_id': 27452671}, {'photo_id': 1387455276, 'portfolio_id': 27452671}, {'photo_id': 1387455263, 'portfolio_id': 27452671}, {'photo_id': 1387455186, 'portfolio_id': 27452671}, {'photo_id': 1387455182, 'portfolio_id': 27452671}, {'photo_id': 1387455179, 'portfolio_id': 27452671}, {'photo_id': 1387455177, 'portfolio_id': 27452671}, {'photo_id': 1387455157, 'portfolio_id': 27452671}, {'photo_id': 1387455151, 'portfolio_id': 27452671}, {'photo_id': 1387455121, 'portfolio_id': 27452671}, {'photo_id': 1387454291, 'portfolio_id': 27452671}, {'photo_id': 1387453799, 'portfolio_id': 27452671}, {'photo_id': 1387453796, 'portfolio_id': 27452671}, {'photo_id': 1387453793, 'portfolio_id': 27452671}, {'photo_id': 1387453789, 'portfolio_id': 27452671}, {'photo_id': 1387452856, 'portfolio_id': 27452671}, {'photo_id': 1387452853, 'portfolio_id': 27452671}, {'photo_id': 1387452851, 'portfolio_id': 27452671}, {'photo_id': 1387452849, 'portfolio_id': 27452671}, {'photo_id': 1387452796, 'portfolio_id': 27452671}] map_portfolio_id_photo_id: {27452671: [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796]} ##### 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.05367136001586914 #### 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 Fri Oct 3 05:59:59 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27452671) 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 : 27452671 get user id for portfolio 27452671 get sub ptf for main ptf 27452671, type 3726 and hashtags ['autre_refus', 'environnement', 'cartonnette', 'kraft', 'Carton_gris', 'mal_croppe', 'metal', 'Teint_Dans_La_Masse', 'papier', 'flou', 'plastique', 'Carton_brun'] 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`=27452671 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','cartonnette','kraft','Carton_gris','mal_croppe','metal','Teint_Dans_La_Masse','papier','flou','plastique','Carton_brun')) 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`=27452671 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','cartonnette','kraft','Carton_gris','mal_croppe','metal','Teint_Dans_La_Masse','papier','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27452671, 'sub_port_id': 27452696, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552360, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'metal': {'main_port_id': 27452671, 'sub_port_id': 27452697, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552361, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'Teint_Dans_La_Masse': {'main_port_id': 27452671, 'sub_port_id': 27452698, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552362, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'Carton_brun': {'main_port_id': 27452671, 'sub_port_id': 27452699, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552363, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'kraft': {'main_port_id': 27452671, 'sub_port_id': 27452700, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552364, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'papier': {'main_port_id': 27452671, 'sub_port_id': 27452701, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552365, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'cartonnette': {'main_port_id': 27452671, 'sub_port_id': 27452702, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552366, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'environnement': {'main_port_id': 27452671, 'sub_port_id': 27452703, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552367, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'plastique': {'main_port_id': 27452671, 'sub_port_id': 27452704, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552368, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'autre_refus': {'main_port_id': 27452671, 'sub_port_id': 27452705, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552369, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'flou': {'main_port_id': 27452671, 'sub_port_id': 27452706, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552370, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}, 'Carton_gris': {'main_port_id': 27452671, 'sub_port_id': 27452707, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552371, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 32), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 30)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452696 , 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=27452671 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 (27452696) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452697 , 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=27452671 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 (27452697) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452698 , 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=27452671 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 (27452698) result : ((1387455280,), (1387457125,), (1387459736,), (1387459737,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452699 , 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=27452671 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 (27452699) result : ((1387455283,), (1387455284,), (1387455285,), (1387456336,), (1387457221,), (1387457222,), (1387457280,), (1387457281,), (1387457282,), (1387457674,), (1387459746,), (1387459747,), (1387459748,), (1387459749,), (1387459750,), (1387459751,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452700 , 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=27452671 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 (27452700) result : ((1387459755,), (1387459756,), (1387459757,), (1387459758,), (1387459759,), (1387459760,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452701 , 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=27452671 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 (27452701) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452702 , 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=27452671 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 (27452702) result : ((1387455281,), (1387456249,), (1387456251,), (1387456253,), (1387457128,), (1387459742,), (1387459743,), (1387459744,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452703 , 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=27452671 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 (27452703) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452704 , 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=27452671 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 (27452704) result : ((1387457224,), (1387457676,), (1387457677,), (1387459752,), (1387459753,), (1387459754,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452705 , 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=27452671 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 (27452705) result : ((1387456004,), (1387456006,), (1387456008,), (1387459738,), (1387459739,), (1387459740,), (1387459741,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452706 , 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=27452671 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 (27452706) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27452707 , 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=27452671 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 (27452707) result : ((1387456103,), (1387457127,), (1387457673,), (1387458311,), (1387458312,), (1387458313,), (1387458314,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27452671) result : ((1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,)) select distinct(cspi.sub_photo_id) from MTRPhoto.crop_hashtag_ids chi, MTRPhoto.crop_sub_photo_ids cspi where chi.type=3726 and chi.photo_id in () and cspi.crop_hashtag_id = chi.id; Catched exception ! Connect or reconnect ! (1064, "You have an error in your SQL syntax; check the manual that corresponds to your MySQL server version for the right syntax to use near ')\n and cspi.crop_hashtag_id = chi.id' at line 3") To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=27452671 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','cartonnette','kraft','Carton_gris','mal_croppe','metal','Teint_Dans_La_Masse','papier','flou','plastique','Carton_brun')) 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`=27452671 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('autre_refus','environnement','cartonnette','kraft','Carton_gris','mal_croppe','metal','Teint_Dans_La_Masse','papier','flou','plastique','Carton_brun')) AND mptpi.`min_score`=0.5 To do returned map {'mal_croppe': {'main_port_id': 27452671, 'sub_port_id': 27452722, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552396, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'metal': {'main_port_id': 27452671, 'sub_port_id': 27452723, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552397, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'Teint_Dans_La_Masse': {'main_port_id': 27452671, 'sub_port_id': 27452724, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552398, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'Carton_brun': {'main_port_id': 27452671, 'sub_port_id': 27452725, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552399, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'kraft': {'main_port_id': 27452671, 'sub_port_id': 27452726, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552400, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'papier': {'main_port_id': 27452671, 'sub_port_id': 27452727, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552401, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'cartonnette': {'main_port_id': 27452671, 'sub_port_id': 27452728, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552402, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'environnement': {'main_port_id': 27452671, 'sub_port_id': 27452729, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552403, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'plastique': {'main_port_id': 27452671, 'sub_port_id': 27452742, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552404, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'autre_refus': {'main_port_id': 27452671, 'sub_port_id': 27452743, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552405, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'flou': {'main_port_id': 27452671, 'sub_port_id': 27452744, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552406, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 3, 36), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}, 'Carton_gris': {'main_port_id': 27452671, 'sub_port_id': 27452745, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18552407, 'last_updated_at': datetime.datetime(2025, 10, 2, 19, 19, 33), 'last_updated_at_desc': datetime.datetime(2025, 10, 2, 19, 19, 33), 'last_updated_at_asc': datetime.datetime(2025, 10, 2, 19, 3, 36)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452722,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452696 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452723,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452697 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452724,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452698 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452725,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452699 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452726,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452700 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452727,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452701 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452728,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452702 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452729,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452703 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452742,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452704 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452743,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452705 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452744,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452706 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27452745,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27452707 lien utilise dans velours : https://marlene.fotonower.com/velours/27452722,27452723,27452724,27452725,27452726,27452727,27452728,27452729,27452742,27452743,27452744,27452745?tags=mal_croppe,metal,Teint_Dans_La_Masse,Carton_brun,kraft,papier,cartonnette,environnement,plastique,autre_refus,flou,Carton_gris After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27452671]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] map_info['map_portfolio_photo'] : {27452671: [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796]} final : False mtd_id 4302 list_pids : [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] Looping around the photos to save general results len do output : 1 /27452671. 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, '3827767') ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '27452671', "{'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707}", None, None, None, None, '3827767'), ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767')] time used for this insertion : 0.04024910926818848 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.0769922733306885 time spend to save output : 0.040799617767333984 total time spend for step 1 : 5.1177918910980225 step2:final Fri Oct 3 06:00:04 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 (27452671) 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 27452671 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1387452796,1387452856,1387452853,1387452851,1387452849,1387453799,1387453796,1387453793,1387453789,1387455157,1387454291,1387455151,1387455121,1387455186,1387455182,1387455179,1387455177,1387455276,1387455263,1387455460,1387455459,1387455456,1387455877,1387455621,1387455619,1387455618,1387455617,1387457192,1387457165,1387457190,1387457249,1387457294,1387457244,1387457293,1387457240,1387457292,1387457238,1387457289,1387457237,1387457285,1387457278,1387457273,1387457270,1387457268,1387457302); 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([27452671]) Inside saveOutput : final : False verbose : True original output for save of step final : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} new output for save of step final : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] map_info['map_portfolio_photo'] : {27452671: [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796]} final : False mtd_id 4302 list_pids : [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] Looping around the photos to save general results len do output : 45 /1387457302.Didn't retrieve data . /1387457294.Didn't retrieve data . /1387457293.Didn't retrieve data . /1387457292.Didn't retrieve data . /1387457289.Didn't retrieve data . /1387457285.Didn't retrieve data . /1387457278.Didn't retrieve data . /1387457273.Didn't retrieve data . /1387457270.Didn't retrieve data . /1387457268.Didn't retrieve data . /1387457249.Didn't retrieve data . /1387457244.Didn't retrieve data . /1387457240.Didn't retrieve data . /1387457238.Didn't retrieve data . /1387457237.Didn't retrieve data . /1387457192.Didn't retrieve data . /1387457190.Didn't retrieve data . /1387457165.Didn't retrieve data . /1387455877.Didn't retrieve data . /1387455621.Didn't retrieve data . /1387455619.Didn't retrieve data . /1387455618.Didn't retrieve data . /1387455617.Didn't retrieve data . /1387455460.Didn't retrieve data . /1387455459.Didn't retrieve data . /1387455456.Didn't retrieve data . /1387455276.Didn't retrieve data . /1387455263.Didn't retrieve data . /1387455186.Didn't retrieve data . /1387455182.Didn't retrieve data . /1387455179.Didn't retrieve data . /1387455177.Didn't retrieve data . /1387455157.Didn't retrieve data . /1387455151.Didn't retrieve data . /1387455121.Didn't retrieve data . /1387454291.Didn't retrieve data . /1387453799.Didn't retrieve data . /1387453796.Didn't retrieve data . /1387453793.Didn't retrieve data . /1387453789.Didn't retrieve data . /1387452856.Didn't retrieve data . /1387452853.Didn't retrieve data . /1387452851.Didn't retrieve data . /1387452849.Didn't retrieve data . /1387452796.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, '3827767') ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 135 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', '27452671', '1387457302', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457294', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457293', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457292', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457289', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457285', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457278', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457273', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457270', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457268', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457249', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457244', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457240', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457238', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457237', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457192', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457190', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387457165', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455877', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455621', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455619', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455618', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455617', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455460', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455459', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455456', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455276', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455263', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455186', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455182', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455179', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455177', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455157', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455151', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387455121', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387454291', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387453799', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387453796', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387453793', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387453789', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387452856', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387452853', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387452851', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387452849', '0.03809013757566883', None, None, None, None, '3827767'), ('4302', '27452671', '1387452796', '0.03809013757566883', None, None, None, None, '3827767')] time used for this insertion : 0.039632320404052734 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.24034857749938965 time spend to save output : 0.04146766662597656 total time spend for step 2 : 0.2818162441253662 step3:velours_tree Fri Oct 3 06:00:04 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 : {27452671: [{'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707}]} input_args_next_step : {27452671: ()} output_args : {27452671: [{'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707}]} args : 27452671 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 : ({'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27452671) 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([27452671]) 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.3337728977203369 time spend to save output : 6.29425048828125e-05 total time spend for step 3 : 0.3338358402252197 step4:send_mail_cod Fri Oct 3 06:00:04 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 : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} input_args_next_step : {1387457302: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457302 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457294 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457293 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457292 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457289 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457285 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457278 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457273 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457270 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457268 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457249 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457244 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457240 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457238 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457237 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457192 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457190 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387457165 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455877 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455621 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455619 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455618 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455617 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455460 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455459 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455456 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455276 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455263 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455186 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455182 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455179 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455177 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455157 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455151 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387455121 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387454291 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387453799 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387453796 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387453793 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387453789 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387452856 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387452853 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387452851 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387452849 depend.output_id : 0 input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ()} output_args : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',)} args : 1387452796 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 : {27452671: [{'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707}]} input_args_next_step : {1387457302: ('0.03809013757566883',), 1387457294: ('0.03809013757566883',), 1387457293: ('0.03809013757566883',), 1387457292: ('0.03809013757566883',), 1387457289: ('0.03809013757566883',), 1387457285: ('0.03809013757566883',), 1387457278: ('0.03809013757566883',), 1387457273: ('0.03809013757566883',), 1387457270: ('0.03809013757566883',), 1387457268: ('0.03809013757566883',), 1387457249: ('0.03809013757566883',), 1387457244: ('0.03809013757566883',), 1387457240: ('0.03809013757566883',), 1387457238: ('0.03809013757566883',), 1387457237: ('0.03809013757566883',), 1387457192: ('0.03809013757566883',), 1387457190: ('0.03809013757566883',), 1387457165: ('0.03809013757566883',), 1387455877: ('0.03809013757566883',), 1387455621: ('0.03809013757566883',), 1387455619: ('0.03809013757566883',), 1387455618: ('0.03809013757566883',), 1387455617: ('0.03809013757566883',), 1387455460: ('0.03809013757566883',), 1387455459: ('0.03809013757566883',), 1387455456: ('0.03809013757566883',), 1387455276: ('0.03809013757566883',), 1387455263: ('0.03809013757566883',), 1387455186: ('0.03809013757566883',), 1387455182: ('0.03809013757566883',), 1387455179: ('0.03809013757566883',), 1387455177: ('0.03809013757566883',), 1387455157: ('0.03809013757566883',), 1387455151: ('0.03809013757566883',), 1387455121: ('0.03809013757566883',), 1387454291: ('0.03809013757566883',), 1387453799: ('0.03809013757566883',), 1387453796: ('0.03809013757566883',), 1387453793: ('0.03809013757566883',), 1387453789: ('0.03809013757566883',), 1387452856: ('0.03809013757566883',), 1387452853: ('0.03809013757566883',), 1387452851: ('0.03809013757566883',), 1387452849: ('0.03809013757566883',), 1387452796: ('0.03809013757566883',), 27452671: ()} output_args : {27452671: [{'mal_croppe': 27452696, 'metal': 27452697, 'Teint_Dans_La_Masse': 27452698, 'Carton_brun': 27452699, 'kraft': 27452700, 'papier': 27452701, 'cartonnette': 27452702, 'environnement': 27452703, 'plastique': 27452704, 'autre_refus': 27452705, 'flou': 27452706, 'Carton_gris': 27452707}]} args : 27452671 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 :46, first value : ('0.03809013757566883',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27452671) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos_view ph WHERE photo_id IN (1387457302,1387457294,1387457293,1387457292,1387457289,1387457285,1387457278,1387457273,1387457270,1387457268,1387457249,1387457244,1387457240,1387457238,1387457237,1387457192,1387457190,1387457165,1387455877,1387455621,1387455619,1387455618,1387455617,1387455460,1387455459,1387455456,1387455276,1387455263,1387455186,1387455182,1387455179,1387455177,1387455157,1387455151,1387455121,1387454291,1387453799,1387453796,1387453793,1387453789,1387452856,1387452853,1387452851,1387452849,1387452796) Found this number of photos: 45 ##### Call download_photos : nb_thread : 5 begin to download photo : 1387452796 begin to download photo : 1387455121 begin to download photo : 1387455459 begin to download photo : 1387457237 begin to download photo : 1387457289 download finish for photo 1387455459 begin to download photo : 1387455460 download finish for photo 1387457237 begin to download photo : 1387457238 download finish for photo 1387457289 begin to download photo : 1387457292 download finish for photo 1387455121 begin to download photo : 1387455151 download finish for photo 1387452796 begin to download photo : 1387452849 download finish for photo 1387455460 begin to download photo : 1387455617 download finish for photo 1387457238 begin to download photo : 1387457240 download finish for photo 1387457292 begin to download photo : 1387457293 download finish for photo 1387455617 begin to download photo : 1387455618 download finish for photo 1387452849 begin to download photo : 1387452851 download finish for photo 1387455151 begin to download photo : 1387455157 download finish for photo 1387457293 begin to download photo : 1387457294 download finish for photo 1387455618 begin to download photo : 1387455619 download finish for photo 1387457240 begin to download photo : 1387457244 download finish for photo 1387452851 begin to download photo : 1387452853 download finish for photo 1387455619 begin to download photo : 1387455621 download finish for photo 1387457244 begin to download photo : 1387457249 download finish for photo 1387452853 begin to download photo : 1387452856 download finish for photo 1387457294 begin to download photo : 1387457302 download finish for photo 1387455157 begin to download photo : 1387455177 download finish for photo 1387455621 begin to download photo : 1387455877 download finish for photo 1387457249 begin to download photo : 1387457268 download finish for photo 1387457302 download finish for photo 1387452856 begin to download photo : 1387453789 download finish for photo 1387457268 begin to download photo : 1387457270 download finish for photo 1387455177 begin to download photo : 1387455179 download finish for photo 1387455877 begin to download photo : 1387457165 download finish for photo 1387453789 begin to download photo : 1387453793 download finish for photo 1387455179 begin to download photo : 1387455182 download finish for photo 1387457270 begin to download photo : 1387457273 download finish for photo 1387453793 begin to download photo : 1387453796 download finish for photo 1387455182 begin to download photo : 1387455186 download finish for photo 1387457165 begin to download photo : 1387457190 download finish for photo 1387455186 begin to download photo : 1387455263 download finish for photo 1387457273 begin to download photo : 1387457278 download finish for photo 1387457190 begin to download photo : 1387457192 download finish for photo 1387453796 begin to download photo : 1387453799 download finish for photo 1387457278 begin to download photo : 1387457285 download finish for photo 1387457192 download finish for photo 1387455263 begin to download photo : 1387455276 download finish for photo 1387453799 begin to download photo : 1387454291 download finish for photo 1387457285 download finish for photo 1387455276 begin to download photo : 1387455456 download finish for photo 1387454291 download finish for photo 1387455456 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette274526961759464007/ imagette274526971759464007/ length of list_filenames : 45 ; length of list_pids : 45 ; length of list_args : 45 results_Auto_P27452671_03-10-2025_06_00_07.pdf 27452696 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452696 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274526961759464007 27452697 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452697 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274526971759464007 27452700 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452700 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387459755: '1759426743_1579911_1387457292_e61901701e3ce78a67bd4d7077ac72cc_rle_crop_3984375555_0.png', 1387459756: '1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375576_0.png', 1387459757: '1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375589_0.png', 1387459758: '1759426743_1579911_1387457240_bdc343cec40db2998bb1744af01943dc_rle_crop_3984375617_0.png', 1387459759: '1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375638_0.png', 1387459760: '1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375651_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/c89fe50cca61e6bc99c12ff5b52f6839_40718027.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1e7397e8f7f697923d127ee542c8040c_37448049.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b2e63867d37c9f7e6eefcdebc9e11845_41283103.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/c89fe50cca61e6bc99c12ff5b52f6839_93108960.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1e7397e8f7f697923d127ee542c8040c_50517130.png change filename to text .imagette274527001759464007/ imagette274527001759464007/1759426743_1579911_1387457292_e61901701e3ce78a67bd4d7077ac72cc_rle_crop_3984375555_0.png.png imagette274527001759464007/1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375576_0.png.png imagette274527001759464007/1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375589_0.png.png imagette274527001759464007/1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375651_0.png.png imagette274527001759464007/1759426743_1579911_1387457240_bdc343cec40db2998bb1744af01943dc_rle_crop_3984375617_0.png.png imagette274527001759464007/1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375638_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b2e63867d37c9f7e6eefcdebc9e11845_62080319.png imagette274527001759464007 27452702 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452702 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387455281: '1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357847_0.png', 1387456249: '1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357966_0.png', 1387456251: '1759424945_1516283_1387455179_cd5bfac65eeb977a98bbb3b131ceb655_rle_crop_3984357980_0.png', 1387456253: '1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984358002_0.png', 1387457128: '1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358778_0.png', 1387459742: '1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375586_0.png', 1387459743: '1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375593_0.png', 1387459744: '1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375648_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1497bbbf695896b049773750b4e1cbe2_21375555.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/9876505fbac7409b787fc7cb6ffca40e_99379996.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/7c869dd87f5a18cfb3563ce6fb1a1c4b_1411102.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/2c2a07bfe413546e9010831e3b8062d8_91743927.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/c2c3081a6244db17c501d2d304e595a0_447548.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/91f3bd6b64f0155aea74a181fc0aef85_63499586.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/48b104b36838737354a822335c1a67e9_16234958.png change filename to text .imagette274527021759464007/ imagette274527021759464007/1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375593_0.png.png imagette274527021759464007/1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375586_0.png.png imagette274527021759464007/1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358778_0.png.png imagette274527021759464007/1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357966_0.png.png imagette274527021759464007/1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375648_0.png.png imagette274527021759464007/1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984358002_0.png.png imagette274527021759464007/1759424945_1516283_1387455179_cd5bfac65eeb977a98bbb3b131ceb655_rle_crop_3984357980_0.png.png imagette274527021759464007/1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357847_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/91f3bd6b64f0155aea74a181fc0aef85_59803559.png imagette274527021759464007 27452704 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452704 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387457224: '1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359088_0.png', 1387457676: '1759425665_1540362_1387455157_ccf5c11be7c79297749fdbd5cedfb467_rle_crop_3984364147_0.png', 1387457677: '1759425665_1540362_1387453793_57c69a901a518c58271374fa32763936_rle_crop_3984364163_0.png', 1387459752: '1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375567_0.png', 1387459753: '1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375592_0.png', 1387459754: '1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375629_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/dfb3aa786dd0a86efb864fa8b37ea321_4608812.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b1bc2c86668cd5e857c722a85a6e5caf_75065302.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/110b36f4157277b053227ede26a4e14b_8284309.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1135b03ad9021fedb4a38b0a45fab7cf_53708434.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/f5a3f0814b0a37ea7cab25cec9504bfc_13559125.png change filename to text .imagette274527041759464008/ imagette274527041759464008/1759425665_1540362_1387453793_57c69a901a518c58271374fa32763936_rle_crop_3984364163_0.png.png imagette274527041759464008/1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375629_0.png.png imagette274527041759464008/1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375592_0.png.png imagette274527041759464008/1759425665_1540362_1387455157_ccf5c11be7c79297749fdbd5cedfb467_rle_crop_3984364147_0.png.png imagette274527041759464008/1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359088_0.png.png imagette274527041759464008/1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375567_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1135b03ad9021fedb4a38b0a45fab7cf_13307070.png imagette274527041759464008 27452705 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452705 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387456004: '1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357965_0.png', 1387456006: '1759424945_1516283_1387455179_cd5bfac65eeb977a98bbb3b131ceb655_rle_crop_3984357977_0.png', 1387456008: '1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984358000_0.png', 1387459738: '1759426743_1579911_1387457293_c9aa3e1c28683ae82a3865a6c8f229ae_rle_crop_3984375540_0.png', 1387459739: '1759426743_1579911_1387457292_e61901701e3ce78a67bd4d7077ac72cc_rle_crop_3984375559_0.png', 1387459740: '1759426743_1579911_1387457244_0153a8bc378eec01495a91f5078b82a2_rle_crop_3984375602_0.png', 1387459741: '1759426743_1579911_1387457240_bdc343cec40db2998bb1744af01943dc_rle_crop_3984375621_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/5be1a0ec9dac09829e6cc99f95b1f757_2848757.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/bed91b14b408bce3752ce4c383062c6c_52240557.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/04f8ecbf735e7902854f85f8da672707_9505147.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/286687fe3d7ff50c96e70769c1d27cfb_57459901.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6ef6a76c0dec391f581f5eef082f5a68_58783321.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/286687fe3d7ff50c96e70769c1d27cfb_57933831.png change filename to text .imagette274527051759464009/ imagette274527051759464009/1759426743_1579911_1387457244_0153a8bc378eec01495a91f5078b82a2_rle_crop_3984375602_0.png.png imagette274527051759464009/1759426743_1579911_1387457293_c9aa3e1c28683ae82a3865a6c8f229ae_rle_crop_3984375540_0.png.png imagette274527051759464009/1759426743_1579911_1387457292_e61901701e3ce78a67bd4d7077ac72cc_rle_crop_3984375559_0.png.png imagette274527051759464009/1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357965_0.png.png imagette274527051759464009/1759426743_1579911_1387457240_bdc343cec40db2998bb1744af01943dc_rle_crop_3984375621_0.png.png imagette274527051759464009/1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984358000_0.png.png imagette274527051759464009/1759424945_1516283_1387455179_cd5bfac65eeb977a98bbb3b131ceb655_rle_crop_3984357977_0.png.png imagette274527061759464010/ wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6ef6a76c0dec391f581f5eef082f5a68_72926072.png imagette274527051759464009 27452706 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452706 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette274527061759464010 27452698 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452698 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387455280: '1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357848_0.png', 1387457125: '1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358785_0.png', 1387459736: '1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375583_0.png', 1387459737: '1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375645_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/5a411ce3bb3167fccf2987c0b5678a54_67892442.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/ec65a2e229922a2fda2f408f70fad553_96411442.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6efd662e790ca69434efc01891a9348f_34430270.png change filename to text .imagette274526981759464010/ imagette274526981759464010/1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375645_0.png.png imagette274526981759464010/1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357848_0.png.png imagette274526981759464010/1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358785_0.png.png imagette274526981759464010/1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375583_0.png.png wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6efd662e790ca69434efc01891a9348f_23675680.png imagette274526981759464010 27452699 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452699 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387455283: '1759424825_1513542_1387452853_e25619180ac1fdcfa5a72a69b987ae0c_rle_crop_3984357827_0.png', 1387455284: '1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357851_0.png', 1387455285: '1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357849_0.png', 1387456336: '1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357970_0.png', 1387457221: '1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359089_0.png', 1387457222: '1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359087_0.png', 1387457280: '1759425304_1528110_1387455621_46076bb1f667db769364469c2de2d583_rle_crop_3984359228_0.png', 1387457281: '1759425304_1528110_1387455621_46076bb1f667db769364469c2de2d583_rle_crop_3984359230_0.png', 1387457282: '1759425304_1528110_1387455618_aba57b51e672c25a9bef5ba125b740ec_rle_crop_3984359256_0.png', 1387457674: '1759425665_1540362_1387453789_61b47c33577ef01a8d0a0a6400ae2da5_rle_crop_3984364172_0.png', 1387459746: '1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375571_0.png', 1387459747: '1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375587_0.png', 1387459748: '1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375596_0.png', 1387459749: '1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375595_0.png', 1387459750: '1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375633_0.png', 1387459751: '1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375649_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/eaa4387e66441750f3e733e6b0c5f819_58873108.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/9b43e2687764da3d90377c2a32d0aacd_66444558.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/1cb3b01f75349fd5597c17114a6f19a4_11510827.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/0170a22426b88ac0def51076b4a317fb_9460822.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/d2bc204d93d7af4f8048feb3de6710a1_9208849.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/d82f36ef2f0cb15f885382ef74a605f8_23742867.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/fde9b67e5774b33bdfda524fe9cd1a4d_95409981.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/2aea05a6e74ac294005ef0d749bff55a_60124128.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/0021b5046ce2a23e4ff6ddaeb766044e_91597822.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/c85457979f38dc4be3dea818c7994521_39233241.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/872992bb4e8dfd08d8c5257fa7853127_42343648.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/995901ac039391d427215f0bfe069bca_31289563.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/89071605d863f5f893cb91763c6930b4_29025374.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/50e281239b8deb4314e2c3aa5a67054a_95695858.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/872992bb4e8dfd08d8c5257fa7853127_45388424.png change filename to text .imagette274526991759464010/ imagette274526991759464010/1759425304_1528110_1387455621_46076bb1f667db769364469c2de2d583_rle_crop_3984359230_0.png.png imagette274526991759464010/1759425304_1528110_1387455618_aba57b51e672c25a9bef5ba125b740ec_rle_crop_3984359256_0.png.png imagette274526991759464010/1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375595_0.png.png imagette274526991759464010/1759425304_1528110_1387455621_46076bb1f667db769364469c2de2d583_rle_crop_3984359228_0.png.png imagette274526991759464010/1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359087_0.png.png imagette274526991759464010/1759426743_1579911_1387457238_23ff3784784589d6b142ca08d1b67e3f_rle_crop_3984375633_0.png.png imagette274526991759464010/1759425187_1525424_1387455877_5c6768d3fdad07ec590fb5bc69747351_rle_crop_3984359089_0.png.png imagette274526991759464010/1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357851_0.png.png imagette274526991759464010/1759426743_1579911_1387457237_cf2c0eaf7941b401efbc5d0897e0834a_rle_crop_3984375649_0.png.png imagette274526991759464010/1759426743_1579911_1387457285_21dd063bd2bd26204722f329f634fcce_rle_crop_3984375587_0.png.png imagette274526991759464010/1759426743_1579911_1387457289_943e393b2e7e91f7f8f7dc7792c851b0_rle_crop_3984375571_0.png.png imagette274526991759464010/1759424825_1513542_1387452849_2cd1afc8990e859336d815a1a2d5e61a_rle_crop_3984357849_0.png.png imagette274526991759464010/1759424945_1516283_1387455182_a32eb91ebc28ce220dbfc0669da8d258_rle_crop_3984357970_0.png.png imagette274526991759464010/1759424825_1513542_1387452853_e25619180ac1fdcfa5a72a69b987ae0c_rle_crop_3984357827_0.png.png imagette274526991759464010/1759425665_1540362_1387453789_61b47c33577ef01a8d0a0a6400ae2da5_rle_crop_3984364172_0.png.png imagette274526991759464010/1759426743_1579911_1387457278_9e765d7c776281418c058ec316b2f6e2_rle_crop_3984375596_0.png.png wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/995901ac039391d427215f0bfe069bca_40207474.png imagette274526991759464010 27452707 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452707 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1387456103: '1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984357994_0.png', 1387457127: '1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358777_0.png', 1387457673: '1759425665_1540362_1387455157_ccf5c11be7c79297749fdbd5cedfb467_rle_crop_3984364153_0.png', 1387458311: '1759426143_1559345_1387455151_a2d91f2daa62cd6e9c52f8159ddd1ec8_rle_crop_3984369390_0.png', 1387458312: '1759426143_1559345_1387455151_a2d91f2daa62cd6e9c52f8159ddd1ec8_rle_crop_3984369383_0.png', 1387458313: '1759426143_1559345_1387454291_5983750eedbf13ed9c9838d45052e33b_rle_crop_3984369403_0.png', 1387458314: '1759426143_1559345_1387454291_5983750eedbf13ed9c9838d45052e33b_rle_crop_3984369396_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/390a68213669d85cd410e628ba79cc7a_70012105.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/90d74b83fadd1e7c6bae66944409a349_30467785.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/477fba1aa898bf8025648394b93c88a8_23761279.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/728e0c6a50fa6abcbf52ac38c8ac0623_42868113.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6f7b0a0bbd1c1c81b4da95bc7dce7420_10522549.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/728e0c6a50fa6abcbf52ac38c8ac0623_53524288.png change filename to text .imagette274527071759464012/ imagette274527071759464012/1759426143_1559345_1387454291_5983750eedbf13ed9c9838d45052e33b_rle_crop_3984369403_0.png.png imagette274527071759464012/1759425665_1540362_1387455157_ccf5c11be7c79297749fdbd5cedfb467_rle_crop_3984364153_0.png.png imagette274527071759464012/1759424945_1516283_1387455177_4727bab10eca5af2b71016de6cc14e80_rle_crop_3984357994_0.png.png imagette274527071759464012/1759426143_1559345_1387455151_a2d91f2daa62cd6e9c52f8159ddd1ec8_rle_crop_3984369383_0.png.png imagette274527071759464012/1759426143_1559345_1387455151_a2d91f2daa62cd6e9c52f8159ddd1ec8_rle_crop_3984369390_0.png.png imagette274527071759464012/1759426143_1559345_1387454291_5983750eedbf13ed9c9838d45052e33b_rle_crop_3984369396_0.png.png imagette274527071759464012/1759425065_1520050_1387455263_27f2e71f8ad29e4e31388c921cf55855_rle_crop_3984358777_0.png.png wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/6f7b0a0bbd1c1c81b4da95bc7dce7420_7157730.png imagette274527071759464012 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27452671 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27452722,27452723,27452724,27452725,27452726,27452727,27452728,27452729,27452742,27452743,27452744,27452745?tags=mal_croppe,metal,Teint_Dans_La_Masse,Carton_brun,kraft,papier,cartonnette,environnement,plastique,autre_refus,flou,Carton_gris your option no_mail is active, we will not send the real mail to your client args[1387457302] : ('0.03809013757566883',) no score found for photo 1387457302 We are sending mail with results at report@fotonower.com args[1387457294] : ('0.03809013757566883',) no score found for photo 1387457294 We are sending mail with results at report@fotonower.com args[1387457293] : ('0.03809013757566883',) no score found for photo 1387457293 We are sending mail with results at report@fotonower.com args[1387457292] : ('0.03809013757566883',) no score found for photo 1387457292 We are sending mail with results at report@fotonower.com args[1387457289] : ('0.03809013757566883',) no score found for photo 1387457289 We are sending mail with results at report@fotonower.com args[1387457285] : ('0.03809013757566883',) no score found for photo 1387457285 We are sending mail with results at report@fotonower.com args[1387457278] : ('0.03809013757566883',) no score found for photo 1387457278 We are sending mail with results at report@fotonower.com args[1387457273] : ('0.03809013757566883',) no score found for photo 1387457273 We are sending mail with results at report@fotonower.com args[1387457270] : ('0.03809013757566883',) no score found for photo 1387457270 We are sending mail with results at report@fotonower.com args[1387457268] : ('0.03809013757566883',) no score found for photo 1387457268 We are sending mail with results at report@fotonower.com args[1387457249] : ('0.03809013757566883',) no score found for photo 1387457249 We are sending mail with results at report@fotonower.com args[1387457244] : ('0.03809013757566883',) no score found for photo 1387457244 We are sending mail with results at report@fotonower.com args[1387457240] : ('0.03809013757566883',) no score found for photo 1387457240 We are sending mail with results at report@fotonower.com args[1387457238] : ('0.03809013757566883',) no score found for photo 1387457238 We are sending mail with results at report@fotonower.com args[1387457237] : ('0.03809013757566883',) no score found for photo 1387457237 We are sending mail with results at report@fotonower.com args[1387457192] : ('0.03809013757566883',) no score found for photo 1387457192 We are sending mail with results at report@fotonower.com args[1387457190] : ('0.03809013757566883',) no score found for photo 1387457190 We are sending mail with results at report@fotonower.com args[1387457165] : ('0.03809013757566883',) no score found for photo 1387457165 We are sending mail with results at report@fotonower.com args[1387455877] : ('0.03809013757566883',) no score found for photo 1387455877 We are sending mail with results at report@fotonower.com args[1387455621] : ('0.03809013757566883',) no score found for photo 1387455621 We are sending mail with results at report@fotonower.com args[1387455619] : ('0.03809013757566883',) no score found for photo 1387455619 We are sending mail with results at report@fotonower.com args[1387455618] : ('0.03809013757566883',) no score found for photo 1387455618 We are sending mail with results at report@fotonower.com args[1387455617] : ('0.03809013757566883',) no score found for photo 1387455617 We are sending mail with results at report@fotonower.com args[1387455460] : ('0.03809013757566883',) no score found for photo 1387455460 We are sending mail with results at report@fotonower.com args[1387455459] : ('0.03809013757566883',) no score found for photo 1387455459 We are sending mail with results at report@fotonower.com args[1387455456] : ('0.03809013757566883',) no score found for photo 1387455456 We are sending mail with results at report@fotonower.com args[1387455276] : ('0.03809013757566883',) no score found for photo 1387455276 We are sending mail with results at report@fotonower.com args[1387455263] : ('0.03809013757566883',) no score found for photo 1387455263 We are sending mail with results at report@fotonower.com args[1387455186] : ('0.03809013757566883',) no score found for photo 1387455186 We are sending mail with results at report@fotonower.com args[1387455182] : ('0.03809013757566883',) no score found for photo 1387455182 We are sending mail with results at report@fotonower.com args[1387455179] : ('0.03809013757566883',) no score found for photo 1387455179 We are sending mail with results at report@fotonower.com args[1387455177] : ('0.03809013757566883',) no score found for photo 1387455177 We are sending mail with results at report@fotonower.com args[1387455157] : ('0.03809013757566883',) no score found for photo 1387455157 We are sending mail with results at report@fotonower.com args[1387455151] : ('0.03809013757566883',) no score found for photo 1387455151 We are sending mail with results at report@fotonower.com args[1387455121] : ('0.03809013757566883',) no score found for photo 1387455121 We are sending mail with results at report@fotonower.com args[1387454291] : ('0.03809013757566883',) no score found for photo 1387454291 We are sending mail with results at report@fotonower.com args[1387453799] : ('0.03809013757566883',) no score found for photo 1387453799 We are sending mail with results at report@fotonower.com args[1387453796] : ('0.03809013757566883',) no score found for photo 1387453796 We are sending mail with results at report@fotonower.com args[1387453793] : ('0.03809013757566883',) no score found for photo 1387453793 We are sending mail with results at report@fotonower.com args[1387453789] : ('0.03809013757566883',) no score found for photo 1387453789 We are sending mail with results at report@fotonower.com args[1387452856] : ('0.03809013757566883',) no score found for photo 1387452856 We are sending mail with results at report@fotonower.com args[1387452853] : ('0.03809013757566883',) no score found for photo 1387452853 We are sending mail with results at report@fotonower.com args[1387452851] : ('0.03809013757566883',) no score found for photo 1387452851 We are sending mail with results at report@fotonower.com args[1387452849] : ('0.03809013757566883',) no score found for photo 1387452849 We are sending mail with results at report@fotonower.com args[1387452796] : ('0.03809013757566883',) no score found for photo 1387452796 We are sending mail with results at report@fotonower.com refus_total : 0.03809013757566883 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452671 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_P27452671_03-10-2025_06_00_07.pdf results_Auto_P27452671_03-10-2025_06_00_07.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452671_03-10-2025_06_00_07.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','27452671','results_Auto_P27452671_03-10-2025_06_00_07.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452671_03-10-2025_06_00_07.pdf','pdf','','0.45','0.03809013757566883') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27452671]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] map_info['map_portfolio_photo'] : {27452671: [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796]} final : False mtd_id 4302 list_pids : [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] 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, '3827767') ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 45 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', '27452671', '1387457302', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767')] time used for this insertion : 0.03868675231933594 save_final save missing photos in datou_result : time spend for datou_step_exec : 12.007420778274536 time spend to save output : 0.039051055908203125 total time spend for step 4 : 12.04647183418274 step5:split_time_score Fri Oct 3 06:00:16 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 : ['27452671'] 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 : [('27452671',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27452671) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1387457289: {'path': 'temp/1759464004_2507635_1387457289_943e393b2e7e91f7f8f7dc7792c851b0.jpg', 'extension': 'jpg'}, 1387457292: {'path': 'temp/1759464004_2507635_1387457292_e61901701e3ce78a67bd4d7077ac72cc.jpg', 'extension': 'jpg'}, 1387457293: {'path': 'temp/1759464004_2507635_1387457293_c9aa3e1c28683ae82a3865a6c8f229ae.jpg', 'extension': 'jpg'}, 1387457294: {'path': 'temp/1759464004_2507635_1387457294_23d474e5d41c28257a149f3445ba9426.jpg', 'extension': 'jpg'}, 1387457302: {'path': 'temp/1759464004_2507635_1387457302_e35c65479b8d952b4afcce0d6b5fd179.jpg', 'extension': 'jpg'}, 1387455459: {'path': 'temp/1759464004_2507635_1387455459_ba38a31ae8ff11a631f5739feecccc44.jpg', 'extension': 'jpg'}, 1387455460: {'path': 'temp/1759464004_2507635_1387455460_0348fff24eab2ca81974c5e37634dda9.jpg', 'extension': 'jpg'}, 1387455617: {'path': 'temp/1759464004_2507635_1387455617_dab3bb30c0c062f047cac8054daab345.jpg', 'extension': 'jpg'}, 1387455618: {'path': 'temp/1759464004_2507635_1387455618_aba57b51e672c25a9bef5ba125b740ec.jpg', 'extension': 'jpg'}, 1387455619: {'path': 'temp/1759464004_2507635_1387455619_ff28dbf5e204b543d94ac20265992c4b.jpg', 'extension': 'jpg'}, 1387455621: {'path': 'temp/1759464004_2507635_1387455621_46076bb1f667db769364469c2de2d583.jpg', 'extension': 'jpg'}, 1387455877: {'path': 'temp/1759464004_2507635_1387455877_5c6768d3fdad07ec590fb5bc69747351.jpg', 'extension': 'jpg'}, 1387457165: {'path': 'temp/1759464004_2507635_1387457165_f6a37d0501187c72248420b1dee2bd9f.jpg', 'extension': 'jpg'}, 1387457190: {'path': 'temp/1759464004_2507635_1387457190_f0d829a542e77981680d984d2890a013.jpg', 'extension': 'jpg'}, 1387457192: {'path': 'temp/1759464004_2507635_1387457192_d7ab748b48b39c87bb7f1c940c7d0764.jpg', 'extension': 'jpg'}, 1387457237: {'path': 'temp/1759464004_2507635_1387457237_cf2c0eaf7941b401efbc5d0897e0834a.jpg', 'extension': 'jpg'}, 1387457238: {'path': 'temp/1759464004_2507635_1387457238_23ff3784784589d6b142ca08d1b67e3f.jpg', 'extension': 'jpg'}, 1387457240: {'path': 'temp/1759464004_2507635_1387457240_bdc343cec40db2998bb1744af01943dc.jpg', 'extension': 'jpg'}, 1387457244: {'path': 'temp/1759464004_2507635_1387457244_0153a8bc378eec01495a91f5078b82a2.jpg', 'extension': 'jpg'}, 1387457249: {'path': 'temp/1759464004_2507635_1387457249_7dd74457639d5c6fb39d984d1f259d13.jpg', 'extension': 'jpg'}, 1387457268: {'path': 'temp/1759464004_2507635_1387457268_3d613240fb3cceb4cb070e162be64b45.jpg', 'extension': 'jpg'}, 1387457270: {'path': 'temp/1759464004_2507635_1387457270_f85cf95e4790599ce933868a6e5576db.jpg', 'extension': 'jpg'}, 1387457273: {'path': 'temp/1759464004_2507635_1387457273_762992e27d592d67ade2f96c562fa2c2.jpg', 'extension': 'jpg'}, 1387457278: {'path': 'temp/1759464004_2507635_1387457278_9e765d7c776281418c058ec316b2f6e2.jpg', 'extension': 'jpg'}, 1387457285: {'path': 'temp/1759464004_2507635_1387457285_21dd063bd2bd26204722f329f634fcce.jpg', 'extension': 'jpg'}, 1387452796: {'path': 'temp/1759464004_2507635_1387452796_aa6d15951adca1b0a72c497f41869ff6.jpg', 'extension': 'jpg'}, 1387452849: {'path': 'temp/1759464004_2507635_1387452849_2cd1afc8990e859336d815a1a2d5e61a.jpg', 'extension': 'jpg'}, 1387452851: {'path': 'temp/1759464004_2507635_1387452851_b5ab6cdc81d2abdf4949660f6e6087e1.jpg', 'extension': 'jpg'}, 1387452853: {'path': 'temp/1759464004_2507635_1387452853_e25619180ac1fdcfa5a72a69b987ae0c.jpg', 'extension': 'jpg'}, 1387452856: {'path': 'temp/1759464004_2507635_1387452856_0a12da0aa614780aaec38cca3937af81.jpg', 'extension': 'jpg'}, 1387453789: {'path': 'temp/1759464004_2507635_1387453789_61b47c33577ef01a8d0a0a6400ae2da5.jpg', 'extension': 'jpg'}, 1387453793: {'path': 'temp/1759464004_2507635_1387453793_57c69a901a518c58271374fa32763936.jpg', 'extension': 'jpg'}, 1387453796: {'path': 'temp/1759464004_2507635_1387453796_1b58f20e82728a9e12632699d3ab60e5.jpg', 'extension': 'jpg'}, 1387453799: {'path': 'temp/1759464004_2507635_1387453799_0d55b4087a3b77450c0f24512c12ce83.jpg', 'extension': 'jpg'}, 1387454291: {'path': 'temp/1759464004_2507635_1387454291_5983750eedbf13ed9c9838d45052e33b.jpg', 'extension': 'jpg'}, 1387455121: {'path': 'temp/1759464004_2507635_1387455121_fd630d586347ede74ebc5de5cbf5dae4.jpg', 'extension': 'jpg'}, 1387455151: {'path': 'temp/1759464004_2507635_1387455151_a2d91f2daa62cd6e9c52f8159ddd1ec8.jpg', 'extension': 'jpg'}, 1387455157: {'path': 'temp/1759464004_2507635_1387455157_ccf5c11be7c79297749fdbd5cedfb467.jpg', 'extension': 'jpg'}, 1387455177: {'path': 'temp/1759464004_2507635_1387455177_4727bab10eca5af2b71016de6cc14e80.jpg', 'extension': 'jpg'}, 1387455179: {'path': 'temp/1759464004_2507635_1387455179_cd5bfac65eeb977a98bbb3b131ceb655.jpg', 'extension': 'jpg'}, 1387455182: {'path': 'temp/1759464004_2507635_1387455182_a32eb91ebc28ce220dbfc0669da8d258.jpg', 'extension': 'jpg'}, 1387455186: {'path': 'temp/1759464004_2507635_1387455186_76953b70017caf7197c42ab284d992e1.jpg', 'extension': 'jpg'}, 1387455263: {'path': 'temp/1759464004_2507635_1387455263_27f2e71f8ad29e4e31388c921cf55855.jpg', 'extension': 'jpg'}, 1387455276: {'path': 'temp/1759464004_2507635_1387455276_b07d7ddea833f7f8987b183c5401d147.jpg', 'extension': 'jpg'}, 1387455456: {'path': 'temp/1759464004_2507635_1387455456_be266cd8d5e6e72626c441166b3b0c5f.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 = 27452671; (('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_view ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27452671 group by h (('19', 45),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos_view ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27452671 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 (27452671) 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 (27452671) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 02102025 27452671 Nombre de photos uploadées : 45 / 23040 (0%) 02102025 27452671 Nombre de photos taguées (types de déchets): 0 / 45 (0%) 02102025 27452671 Nombre de photos taguées (volume) : 0 / 45 (0%) [{'photo_id': 1387452796, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/aa6d15951adca1b0a72c497f41869ff6.jpg', 'username': None, 'uploaded_at': 1759424468, 'text': 'image_02102025_19_00_04_010148m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387452856, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/0a12da0aa614780aaec38cca3937af81.jpg', 'username': None, 'uploaded_at': 1759424527, 'text': 'image_02102025_19_00_24_010137m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387452853, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/e25619180ac1fdcfa5a72a69b987ae0c.jpg', 'username': None, 'uploaded_at': 1759424527, 'text': 'image_02102025_19_01_04_010136m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1387452851, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/10/2/b5ab6cdc81d2abdf4949660f6e6087e1.jpg', 'username': None, 'uploaded_at': 1759424527, 'text': 'image_02102025_19_01_14_010135m0.jpg 4e-05 for time 1, id_amount 3 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.6226043701171875e-06 elapsed_time : order_list_meta_photo_and_scores 9.059906005859375e-06 ????????????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.002415895462036133 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27452671, '2025-10-02' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); Catched exception ! Connect or reconnect ! SELECT id FROM MTRPhoto.dashboard_entry_day where dashboard_place_id = 10 and date = '2025-10-02' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2377787,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.6594557762145996 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= 2377787 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27424686, 'dashboard_result_id': 15953871, '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_P27424686_03-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27425124, 'dashboard_result_id': 15953872, '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_P27425124_03-10-2025_05_35_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27425471, 'dashboard_result_id': 15953873, '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_P27425471_03-10-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27425856, 'dashboard_result_id': 15953874, '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_P27425856_03-10-2025_05_36_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27427278, 'dashboard_result_id': 15953875, '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_P27427278_03-10-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27427585, 'dashboard_result_id': 15953876, '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_P27427585_03-10-2025_05_37_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27427882, 'dashboard_result_id': 15953877, '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_P27427882_03-10-2025_05_38_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27428370, 'dashboard_result_id': 15953878, '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_P27428370_03-10-2025_05_38_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27428628, 'dashboard_result_id': 15953879, '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_P27428628_03-10-2025_05_39_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27429102, 'dashboard_result_id': 15953880, '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_P27429102_03-10-2025_05_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27429508, 'dashboard_result_id': 15953881, '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_P27429508_03-10-2025_05_40_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27430058, 'dashboard_result_id': 15953882, '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_P27430058_03-10-2025_05_41_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27430484, 'dashboard_result_id': 15953883, '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_P27430484_03-10-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27430971, 'dashboard_result_id': 15953884, '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_P27430971_03-10-2025_05_42_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27431419, 'dashboard_result_id': 15953885, '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_P27431419_03-10-2025_05_42_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27432843, 'dashboard_result_id': 15953886, '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_P27432843_03-10-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27433044, 'dashboard_result_id': 15953887, '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_P27433044_03-10-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27433373, 'dashboard_result_id': 15953888, '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_P27433373_03-10-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27433513, 'dashboard_result_id': 15953889, '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_P27433513_03-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27433795, 'dashboard_result_id': 15953890, '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_P27433795_03-10-2025_05_46_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27434083, 'dashboard_result_id': 15953891, '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_P27434083_03-10-2025_05_46_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27434369, 'dashboard_result_id': 15953892, '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_P27434369_03-10-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434417, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27434760, 'dashboard_result_id': 15953893, '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_P27434760_03-10-2025_05_47_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27434804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434810, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27435271, 'dashboard_result_id': 15953894, '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_P27435271_03-10-2025_05_48_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27435303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27435304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27435305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27435306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27435307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27435308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27435309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27435310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27435311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27435312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27435313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27435315, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27436023, 'dashboard_result_id': 15953895, '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_P27436023_03-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436100, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27436870, 'dashboard_result_id': 15953896, '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_P27436870_03-10-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436965, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27438546, 'dashboard_result_id': 15953897, '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_P27438546_03-10-2025_05_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438560, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27438693, 'dashboard_result_id': 15953898, '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_P27438693_03-10-2025_05_51_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438756, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27439194, 'dashboard_result_id': 15953899, '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_P27439194_03-10-2025_05_51_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27439210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439211, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27439851, 'dashboard_result_id': 15953900, '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_P27439851_03-10-2025_05_52_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27439891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439903, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27445655, 'dashboard_result_id': 15953901, '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_P27445655_03-10-2025_05_52_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27445658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27445659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27445660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27445661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27445662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27445663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27445664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27445665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27445666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27445667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27445668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27445669, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27446599, 'dashboard_result_id': 15953902, '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_P27446599_03-10-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446611, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27446740, 'dashboard_result_id': 15953903, '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_P27446740_03-10-2025_05_54_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446788, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446793, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27448435, 'dashboard_result_id': 15953904, '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_P27448435_03-10-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448471, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27448730, 'dashboard_result_id': 15953905, '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_P27448730_03-10-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448782, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27449062, 'dashboard_result_id': 15953906, '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_P27449062_03-10-2025_05_56_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449079, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27449479, 'dashboard_result_id': 15953907, '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_P27449479_03-10-2025_05_56_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449502, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27450035, 'dashboard_result_id': 15953908, '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_P27450035_03-10-2025_05_56_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27450048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27450049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27450050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27450051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27450052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27450053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27450054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27450055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27450056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27450057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27450058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27450059, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27451097, 'dashboard_result_id': 15953909, '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_P27451097_03-10-2025_05_57_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451111, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27451540, 'dashboard_result_id': 15953910, '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_P27451540_03-10-2025_05_58_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451633, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27451860, 'dashboard_result_id': 15953911, '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_P27451860_03-10-2025_05_58_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27451886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451897, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27452340, 'dashboard_result_id': 15953912, '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_P27452340_03-10-2025_05_59_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27452366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452377, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27452671, 'dashboard_result_id': 15953913, '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_P27452671_02-10-2025_19_19_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27452701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452707, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27453299, 'dashboard_result_id': 15953914, '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_P27453299_02-10-2025_19_33_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27453309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453320, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27453878, 'dashboard_result_id': 15953915, '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_P27453878_02-10-2025_19_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27453936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453943, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27454472, 'dashboard_result_id': 15953916, '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_P27454472_02-10-2025_20_03_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27454522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27454523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27454524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27454525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27454526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27454527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27454528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27454529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27454530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27454531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27454532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27454533, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27455019, 'dashboard_result_id': 15953917, '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_P27455019_02-10-2025_20_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455079, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27455801, 'dashboard_result_id': 15953918, '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_P27455801_02-10-2025_20_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455822, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27456353, 'dashboard_result_id': 15953919, '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_P27456353_02-10-2025_20_47_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456400, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27456890, 'dashboard_result_id': 15953920, '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_P27456890_02-10-2025_21_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456911, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27458632, 'dashboard_result_id': 15953921, '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_P27458632_02-10-2025_22_33_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458662, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27458863, 'dashboard_result_id': 15953922, '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_P27458863_02-10-2025_22_51_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458958, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27459483, 'dashboard_result_id': 15953923, '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_P27459483_02-10-2025_23_04_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27459490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459501, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27459898, 'dashboard_result_id': 15953924, '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_P27459898_02-10-2025_23_21_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27459946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459951, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27460478, 'dashboard_result_id': 15953925, '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_P27460478_02-10-2025_23_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27460492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27460493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27460494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27460495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27460496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27460497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27460498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27460499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27460500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27460501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27460502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27460503, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27461009, 'dashboard_result_id': 15953926, '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_P27461009_02-10-2025_23_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27461021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461033, 'pht': 3726}}"}, {'dashboat_entry_day': 2377787, 'dashboard_run_id': 2392733, 'mtr_portfolio_id': 27461682, 'dashboard_result_id': 15953927, '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_P27461682_03-10-2025_00_26_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27461799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461806, '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 = 27424686 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': 3827725, 'mtr_portfolio_id': 27424686, 'created_at': datetime.datetime(2025, 10, 3, 5, 34, 33), 'result': '0.03805004351602606', 'result_long': None, 'result_double': None}] Qualite : 0.03805004351602606 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27424686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424686_03-10-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27424686 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_P27424686_03-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, 'pht': 3726}}" where mtr_portfolio_id = 27424686 and dashboard_run_id = 2392733 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`=27424686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953871, 0.03805004351602606, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27424686_03-10-2025_05_34_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27424695, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27424696, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27424697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27424698, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27424699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27424700, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27424701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27424702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27424703, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27424704, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27424705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27424706, '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 = 27425124 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': 3827726, 'mtr_portfolio_id': 27425124, 'created_at': datetime.datetime(2025, 10, 3, 5, 35, 34), 'result': '0.05952098740432512', 'result_long': None, 'result_double': None}] Qualite : 0.05952098740432512 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425124 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425124_03-10-2025_05_35_38.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425124 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_P27425124_03-10-2025_05_35_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, 'pht': 3726}}" where mtr_portfolio_id = 27425124 and dashboard_run_id = 2392733 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`=27425124 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953872, 0.05952098740432512, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425124_03-10-2025_05_35_38.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425161, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425162, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425164, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425165, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425166, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425167, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425168, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425169, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425170, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425171, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425172, '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 = 27425471 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': 3827727, 'mtr_portfolio_id': 27425471, 'created_at': datetime.datetime(2025, 10, 3, 5, 36, 1), 'result': '0.03893524702401776', 'result_long': None, 'result_double': None}] Qualite : 0.03893524702401776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425471 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425471_03-10-2025_05_36_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425471 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_P27425471_03-10-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, 'pht': 3726}}" where mtr_portfolio_id = 27425471 and dashboard_run_id = 2392733 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`=27425471 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953873, 0.03893524702401776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425471_03-10-2025_05_36_05.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425502, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425503, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425504, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425505, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425506, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425507, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425508, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425509, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425510, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425511, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425512, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425513, '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 = 27425856 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': 3827728, 'mtr_portfolio_id': 27425856, 'created_at': datetime.datetime(2025, 10, 3, 5, 36, 4), 'result': '0.054578197431255665', 'result_long': None, 'result_double': None}] Qualite : 0.054578197431255665 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27425856 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425856_03-10-2025_05_36_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27425856 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_P27425856_03-10-2025_05_36_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, 'pht': 3726}}" where mtr_portfolio_id = 27425856 and dashboard_run_id = 2392733 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`=27425856 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953874, 0.054578197431255665, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27425856_03-10-2025_05_36_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27425930, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27425931, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27425932, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27425933, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27425934, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27425935, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27425936, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27425937, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27425938, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27425939, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27425940, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27425941, '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 = 27427278 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': 3827729, 'mtr_portfolio_id': 27427278, 'created_at': datetime.datetime(2025, 10, 3, 5, 36, 30), 'result': '0.05401482429616102', 'result_long': None, 'result_double': None}] Qualite : 0.05401482429616102 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427278 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427278_03-10-2025_05_36_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427278 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_P27427278_03-10-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, 'pht': 3726}}" where mtr_portfolio_id = 27427278 and dashboard_run_id = 2392733 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`=27427278 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953875, 0.05401482429616102, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427278_03-10-2025_05_36_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427282, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427283, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427284, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427285, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427286, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427287, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427288, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427289, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427290, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427291, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427292, '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 = 27427585 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': 3827730, 'mtr_portfolio_id': 27427585, 'created_at': datetime.datetime(2025, 10, 3, 5, 37, 34), 'result': '0.017369504730147943', 'result_long': None, 'result_double': None}] Qualite : 0.017369504730147943 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427585 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427585_03-10-2025_05_37_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427585 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_P27427585_03-10-2025_05_37_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, 'pht': 3726}}" where mtr_portfolio_id = 27427585 and dashboard_run_id = 2392733 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`=27427585 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953876, 0.017369504730147943, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427585_03-10-2025_05_37_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427591, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427592, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427593, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427594, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427595, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427596, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427597, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427598, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427599, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427600, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427601, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427602, '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 = 27427882 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': 3827731, 'mtr_portfolio_id': 27427882, 'created_at': datetime.datetime(2025, 10, 3, 5, 38, 4), 'result': '0.055472849667238075', 'result_long': None, 'result_double': None}] Qualite : 0.055472849667238075 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27427882 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427882_03-10-2025_05_38_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27427882 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_P27427882_03-10-2025_05_38_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, 'pht': 3726}}" where mtr_portfolio_id = 27427882 and dashboard_run_id = 2392733 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`=27427882 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953877, 0.055472849667238075, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27427882_03-10-2025_05_38_07.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27427897, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27427898, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27427899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27427900, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27427901, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27427902, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27427903, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27427904, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27427905, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27427906, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27427907, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27427908, '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 = 27428370 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': 3827732, 'mtr_portfolio_id': 27428370, 'created_at': datetime.datetime(2025, 10, 3, 5, 38, 33), 'result': '0.07088757582560466', 'result_long': None, 'result_double': None}] Qualite : 0.07088757582560466 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27428370 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428370_03-10-2025_05_38_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27428370 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_P27428370_03-10-2025_05_38_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, 'pht': 3726}}" where mtr_portfolio_id = 27428370 and dashboard_run_id = 2392733 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`=27428370 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953878, 0.07088757582560466, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428370_03-10-2025_05_38_36.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428376, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428377, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428381, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428383, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428384, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428385, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428386, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428387, '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 = 27428628 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': 3827733, 'mtr_portfolio_id': 27428628, 'created_at': datetime.datetime(2025, 10, 3, 5, 39, 33), 'result': '0.046588805298508854', 'result_long': None, 'result_double': None}] Qualite : 0.046588805298508854 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27428628 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428628_03-10-2025_05_39_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27428628 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_P27428628_03-10-2025_05_39_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, 'pht': 3726}}" where mtr_portfolio_id = 27428628 and dashboard_run_id = 2392733 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`=27428628 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953879, 0.046588805298508854, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27428628_03-10-2025_05_39_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27428640, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27428641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27428642, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27428643, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27428644, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27428645, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27428646, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27428647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27428648, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27428649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27428650, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27428651, '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 = 27429102 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': 3827734, 'mtr_portfolio_id': 27429102, 'created_at': datetime.datetime(2025, 10, 3, 5, 40, 2), 'result': '0.077104346897828', 'result_long': None, 'result_double': None}] Qualite : 0.077104346897828 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27429102 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429102_03-10-2025_05_40_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27429102 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_P27429102_03-10-2025_05_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, 'pht': 3726}}" where mtr_portfolio_id = 27429102 and dashboard_run_id = 2392733 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`=27429102 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953880, 0.077104346897828, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429102_03-10-2025_05_40_05.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429142, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429143, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429144, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429145, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429147, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429148, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429149, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429150, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429151, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429152, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429153, '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 = 27429508 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': 3827735, 'mtr_portfolio_id': 27429508, 'created_at': datetime.datetime(2025, 10, 3, 5, 40, 34), 'result': '0.05389259482735209', 'result_long': None, 'result_double': None}] Qualite : 0.05389259482735209 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27429508 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429508_03-10-2025_05_40_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27429508 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_P27429508_03-10-2025_05_40_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, 'pht': 3726}}" where mtr_portfolio_id = 27429508 and dashboard_run_id = 2392733 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`=27429508 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953881, 0.05389259482735209, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27429508_03-10-2025_05_40_37.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27429518, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27429520, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27429521, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27429522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27429523, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27429524, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27429525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27429526, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27429527, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27429528, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27429529, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27429530, '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 = 27430058 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': 3827736, 'mtr_portfolio_id': 27430058, 'created_at': datetime.datetime(2025, 10, 3, 5, 41, 3), 'result': '0.0423529452624232', 'result_long': None, 'result_double': None}] Qualite : 0.0423529452624232 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430058_03-10-2025_05_41_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430058 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_P27430058_03-10-2025_05_41_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, 'pht': 3726}}" where mtr_portfolio_id = 27430058 and dashboard_run_id = 2392733 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`=27430058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953882, 0.0423529452624232, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430058_03-10-2025_05_41_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430069, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430070, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430071, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430072, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430073, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430074, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430076, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430077, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430078, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430079, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430080, '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 = 27430484 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': 3827737, 'mtr_portfolio_id': 27430484, 'created_at': datetime.datetime(2025, 10, 3, 5, 41, 32), 'result': '0.0407452815962534', 'result_long': None, 'result_double': None}] Qualite : 0.0407452815962534 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430484 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430484_03-10-2025_05_41_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430484 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_P27430484_03-10-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, 'pht': 3726}}" where mtr_portfolio_id = 27430484 and dashboard_run_id = 2392733 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`=27430484 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953883, 0.0407452815962534, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430484_03-10-2025_05_41_34.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27430530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27430531, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27430532, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27430533, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27430534, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27430535, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27430536, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27430537, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27430538, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27430539, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27430540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27430541, '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 = 27430971 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': 3827738, 'mtr_portfolio_id': 27430971, 'created_at': datetime.datetime(2025, 10, 3, 5, 42), 'result': '0.05404940717611321', 'result_long': None, 'result_double': None}] Qualite : 0.05404940717611321 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27430971 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430971_03-10-2025_05_42_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27430971 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_P27430971_03-10-2025_05_42_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, 'pht': 3726}}" where mtr_portfolio_id = 27430971 and dashboard_run_id = 2392733 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`=27430971 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953884, 0.05404940717611321, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27430971_03-10-2025_05_42_04.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431019, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431020, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431022, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431023, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431024, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431027, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431028, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431029, '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 = 27431419 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': 3827739, 'mtr_portfolio_id': 27431419, 'created_at': datetime.datetime(2025, 10, 3, 5, 42, 34), 'result': '0.06146544379296544', 'result_long': None, 'result_double': None}] Qualite : 0.06146544379296544 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27431419 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_03-10-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27431419 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_P27431419_03-10-2025_05_42_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, 'pht': 3726}}" where mtr_portfolio_id = 27431419 and dashboard_run_id = 2392733 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`=27431419 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953885, 0.06146544379296544, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27431419_03-10-2025_05_42_36.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27431445, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27431446, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27431447, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27431448, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27431449, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27431450, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27431451, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27431452, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27431453, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27431454, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27431455, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27431456, '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 = 27432843 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': 3827740, 'mtr_portfolio_id': 27432843, 'created_at': datetime.datetime(2025, 10, 3, 5, 43, 33), 'result': '0.018644831053368203', 'result_long': None, 'result_double': None}] Qualite : 0.018644831053368203 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27432843 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27432843_03-10-2025_05_43_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27432843 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_P27432843_03-10-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, 'pht': 3726}}" where mtr_portfolio_id = 27432843 and dashboard_run_id = 2392733 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`=27432843 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953886, 0.018644831053368203, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27432843_03-10-2025_05_43_34.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27432844, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27432845, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27432846, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27432847, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27432848, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27432849, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27432850, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27432851, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27432852, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27432853, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27432854, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27432855, '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 = 27433044 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': 3827741, 'mtr_portfolio_id': 27433044, 'created_at': datetime.datetime(2025, 10, 3, 5, 44, 4), 'result': '0.029338295976353613', 'result_long': None, 'result_double': None}] Qualite : 0.029338295976353613 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433044 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433044_03-10-2025_05_44_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433044 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_P27433044_03-10-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, 'pht': 3726}}" where mtr_portfolio_id = 27433044 and dashboard_run_id = 2392733 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`=27433044 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953887, 0.029338295976353613, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433044_03-10-2025_05_44_06.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433045, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433046, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433047, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433048, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433049, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433050, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433051, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433052, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433053, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433054, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433055, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433056, '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 = 27433373 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': 3827742, 'mtr_portfolio_id': 27433373, 'created_at': datetime.datetime(2025, 10, 3, 5, 44, 30), 'result': '0.030500656141885702', 'result_long': None, 'result_double': None}] Qualite : 0.030500656141885702 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433373 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433373_03-10-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433373 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_P27433373_03-10-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, 'pht': 3726}}" where mtr_portfolio_id = 27433373 and dashboard_run_id = 2392733 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`=27433373 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953888, 0.030500656141885702, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433373_03-10-2025_05_44_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433377, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433378, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433379, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433380, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433381, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433382, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433383, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433384, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433385, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433386, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433387, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433388, '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 = 27433513 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': 3827743, 'mtr_portfolio_id': 27433513, 'created_at': datetime.datetime(2025, 10, 3, 5, 45, 31), 'result': '0.04829827703757808', 'result_long': None, 'result_double': None}] Qualite : 0.04829827703757808 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433513 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433513_03-10-2025_05_45_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433513 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_P27433513_03-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, 'pht': 3726}}" where mtr_portfolio_id = 27433513 and dashboard_run_id = 2392733 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`=27433513 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953889, 0.04829827703757808, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433513_03-10-2025_05_45_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433519, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433520, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433521, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433522, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433523, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433524, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433525, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433527, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433528, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433529, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433530, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433531, '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 = 27433795 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': 3827744, 'mtr_portfolio_id': 27433795, 'created_at': datetime.datetime(2025, 10, 3, 5, 46, 3), 'result': '0.04895247115632921', 'result_long': None, 'result_double': None}] Qualite : 0.04895247115632921 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27433795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433795_03-10-2025_05_46_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27433795 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_P27433795_03-10-2025_05_46_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, 'pht': 3726}}" where mtr_portfolio_id = 27433795 and dashboard_run_id = 2392733 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`=27433795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953890, 0.04895247115632921, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27433795_03-10-2025_05_46_06.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27433807, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27433808, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27433809, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27433810, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27433811, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27433812, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27433813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27433814, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27433815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27433816, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27433817, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27433818, '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 = 27434083 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': 3827745, 'mtr_portfolio_id': 27434083, 'created_at': datetime.datetime(2025, 10, 3, 5, 46, 5), 'result': '0.041816850241087826', 'result_long': None, 'result_double': None}] Qualite : 0.041816850241087826 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27434083 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434083_03-10-2025_05_46_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27434083 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_P27434083_03-10-2025_05_46_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, 'pht': 3726}}" where mtr_portfolio_id = 27434083 and dashboard_run_id = 2392733 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`=27434083 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953891, 0.041816850241087826, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434083_03-10-2025_05_46_08.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434090, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434091, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434092, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434093, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434094, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434095, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434096, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434097, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434098, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434099, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434100, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434101, '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 = 27434369 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': 3827746, 'mtr_portfolio_id': 27434369, 'created_at': datetime.datetime(2025, 10, 3, 5, 46, 29), 'result': '0.053011653372663954', 'result_long': None, 'result_double': None}] Qualite : 0.053011653372663954 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27434369 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434369_03-10-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27434369 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_P27434369_03-10-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434417, 'pht': 3726}}" where mtr_portfolio_id = 27434369 and dashboard_run_id = 2392733 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`=27434369 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953892, 0.053011653372663954, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434369_03-10-2025_05_46_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27434405, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434406, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434407, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434408, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434409, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434410, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434411, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434412, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434413, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434414, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434416, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434417, '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 = 27434760 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': 3827747, 'mtr_portfolio_id': 27434760, 'created_at': datetime.datetime(2025, 10, 3, 5, 47, 29), 'result': '0.030048570090919026', 'result_long': None, 'result_double': None}] Qualite : 0.030048570090919026 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27434760 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434760_03-10-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27434760 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_P27434760_03-10-2025_05_47_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27434804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434810, 'pht': 3726}}" where mtr_portfolio_id = 27434760 and dashboard_run_id = 2392733 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`=27434760 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953893, 0.030048570090919026, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27434760_03-10-2025_05_47_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27434799, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27434800, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27434801, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27434802, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27434803, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27434804, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27434805, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27434806, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27434807, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27434808, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27434809, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27434810, '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 = 27435271 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': 3827748, 'mtr_portfolio_id': 27435271, 'created_at': datetime.datetime(2025, 10, 3, 5, 47, 59), 'result': '0.04769995645923933', 'result_long': None, 'result_double': None}] Qualite : 0.04769995645923933 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27435271 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27435271_03-10-2025_05_48_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27435271 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_P27435271_03-10-2025_05_48_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27435303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27435304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27435305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27435306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27435307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27435308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27435309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27435310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27435311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27435312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27435313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27435315, 'pht': 3726}}" where mtr_portfolio_id = 27435271 and dashboard_run_id = 2392733 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`=27435271 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953894, 0.04769995645923933, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27435271_03-10-2025_05_48_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27435303, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27435304, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27435305, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27435306, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27435307, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27435308, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27435309, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27435310, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27435311, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27435312, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27435313, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27435315, '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 = 27436023 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': 3827749, 'mtr_portfolio_id': 27436023, 'created_at': datetime.datetime(2025, 10, 3, 5, 48, 30), 'result': '0.05860004471886473', 'result_long': None, 'result_double': None}] Qualite : 0.05860004471886473 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27436023 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27436023_03-10-2025_05_48_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27436023 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_P27436023_03-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436100, 'pht': 3726}}" where mtr_portfolio_id = 27436023 and dashboard_run_id = 2392733 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`=27436023 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953895, 0.05860004471886473, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27436023_03-10-2025_05_48_34.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436089, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436090, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436091, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436092, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436093, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436094, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436095, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436096, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436097, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436098, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436099, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436100, '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 = 27436870 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': 3827750, 'mtr_portfolio_id': 27436870, 'created_at': datetime.datetime(2025, 10, 3, 5, 50, 2), 'result': '0.032548681115279775', 'result_long': None, 'result_double': None}] Qualite : 0.032548681115279775 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27436870 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27436870_03-10-2025_05_50_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27436870 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_P27436870_03-10-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436965, 'pht': 3726}}" where mtr_portfolio_id = 27436870 and dashboard_run_id = 2392733 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`=27436870 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953896, 0.032548681115279775, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27436870_03-10-2025_05_50_03.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27436954, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27436955, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27436956, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27436957, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27436958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27436959, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27436960, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27436961, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27436962, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27436963, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27436964, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27436965, '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 = 27438546 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': 3827751, 'mtr_portfolio_id': 27438546, 'created_at': datetime.datetime(2025, 10, 3, 5, 50, 30), 'result': '0.04370299062363859', 'result_long': None, 'result_double': None}] Qualite : 0.04370299062363859 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27438546 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27438546_03-10-2025_05_50_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27438546 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_P27438546_03-10-2025_05_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438560, 'pht': 3726}}" where mtr_portfolio_id = 27438546 and dashboard_run_id = 2392733 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`=27438546 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953897, 0.04370299062363859, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27438546_03-10-2025_05_50_31.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438550, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438551, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438552, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438554, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438555, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438556, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438557, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438558, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438559, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438560, '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 = 27438693 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': 3827752, 'mtr_portfolio_id': 27438693, 'created_at': datetime.datetime(2025, 10, 3, 5, 51, 6), 'result': '0.04510930880208723', 'result_long': None, 'result_double': None}] Qualite : 0.04510930880208723 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27438693 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27438693_03-10-2025_05_51_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27438693 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_P27438693_03-10-2025_05_51_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438756, 'pht': 3726}}" where mtr_portfolio_id = 27438693 and dashboard_run_id = 2392733 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`=27438693 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953898, 0.04510930880208723, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27438693_03-10-2025_05_51_11.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27438745, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27438746, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27438747, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27438748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27438749, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27438750, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27438751, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27438752, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27438753, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27438754, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27438755, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27438756, '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 = 27439194 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': 3827753, 'mtr_portfolio_id': 27439194, 'created_at': datetime.datetime(2025, 10, 3, 5, 51, 34), 'result': '0.04516096130247662', 'result_long': None, 'result_double': None}] Qualite : 0.04516096130247662 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27439194 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27439194_03-10-2025_05_51_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27439194 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_P27439194_03-10-2025_05_51_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27439210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439211, 'pht': 3726}}" where mtr_portfolio_id = 27439194 and dashboard_run_id = 2392733 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`=27439194 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953899, 0.04516096130247662, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27439194_03-10-2025_05_51_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439200, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439201, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439202, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439203, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439204, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439205, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439206, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439207, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27439210, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439211, '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 = 27439851 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': 3827754, 'mtr_portfolio_id': 27439851, 'created_at': datetime.datetime(2025, 10, 3, 5, 51, 59), 'result': '0.041858643838423276', 'result_long': None, 'result_double': None}] Qualite : 0.041858643838423276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27439851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27439851_03-10-2025_05_52_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27439851 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_P27439851_03-10-2025_05_52_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27439891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439903, 'pht': 3726}}" where mtr_portfolio_id = 27439851 and dashboard_run_id = 2392733 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`=27439851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953900, 0.041858643838423276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27439851_03-10-2025_05_52_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27439891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27439892, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27439893, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27439894, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27439895, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27439896, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27439898, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27439899, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27439900, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27439901, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27439902, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27439903, '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 = 27445655 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': 3827755, 'mtr_portfolio_id': 27445655, 'created_at': datetime.datetime(2025, 10, 3, 5, 52, 35), 'result': '0.09070967009093454', 'result_long': None, 'result_double': None}] Qualite : 0.09070967009093454 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27445655 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27445655_03-10-2025_05_52_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27445655 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_P27445655_03-10-2025_05_52_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27445658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27445659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27445660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27445661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27445662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27445663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27445664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27445665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27445666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27445667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27445668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27445669, 'pht': 3726}}" where mtr_portfolio_id = 27445655 and dashboard_run_id = 2392733 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`=27445655 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953901, 0.09070967009093454, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27445655_03-10-2025_05_52_36.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27445658, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27445659, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27445660, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27445661, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27445662, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27445663, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27445664, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27445665, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27445666, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27445667, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27445668, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27445669, '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 = 27446599 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': 3827756, 'mtr_portfolio_id': 27446599, 'created_at': datetime.datetime(2025, 10, 3, 5, 53, 32), 'result': '0.11908846790126802', 'result_long': None, 'result_double': None}] Qualite : 0.11908846790126802 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27446599 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27446599_03-10-2025_05_53_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27446599 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_P27446599_03-10-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446611, 'pht': 3726}}" where mtr_portfolio_id = 27446599 and dashboard_run_id = 2392733 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`=27446599 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953902, 0.11908846790126802, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27446599_03-10-2025_05_53_34.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446600, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446601, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446602, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446603, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446604, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446605, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446607, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446608, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446609, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446610, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446611, '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 = 27446740 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': 3827757, 'mtr_portfolio_id': 27446740, 'created_at': datetime.datetime(2025, 10, 3, 5, 54, 3), 'result': '0.1240323157870022', 'result_long': None, 'result_double': None}] Qualite : 0.1240323157870022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27446740 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27446740_03-10-2025_05_54_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27446740 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_P27446740_03-10-2025_05_54_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446788, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446793, 'pht': 3726}}" where mtr_portfolio_id = 27446740 and dashboard_run_id = 2392733 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`=27446740 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953903, 0.1240323157870022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27446740_03-10-2025_05_54_05.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27446782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27446783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27446784, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27446785, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27446786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27446787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27446788, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27446789, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27446790, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27446791, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27446792, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27446793, '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 = 27448435 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': 3827758, 'mtr_portfolio_id': 27448435, 'created_at': datetime.datetime(2025, 10, 3, 5, 54, 33), 'result': '0.08244142543049485', 'result_long': None, 'result_double': None}] Qualite : 0.08244142543049485 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27448435 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27448435_03-10-2025_05_54_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27448435 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_P27448435_03-10-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448471, 'pht': 3726}}" where mtr_portfolio_id = 27448435 and dashboard_run_id = 2392733 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`=27448435 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953904, 0.08244142543049485, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27448435_03-10-2025_05_54_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448460, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448461, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448462, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448463, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448464, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448465, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448466, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448467, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448468, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448469, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448470, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448471, '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 = 27448730 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': 3827759, 'mtr_portfolio_id': 27448730, 'created_at': datetime.datetime(2025, 10, 3, 5, 55, 33), 'result': '0.04104442876225847', 'result_long': None, 'result_double': None}] Qualite : 0.04104442876225847 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27448730 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27448730_03-10-2025_05_55_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27448730 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_P27448730_03-10-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448782, 'pht': 3726}}" where mtr_portfolio_id = 27448730 and dashboard_run_id = 2392733 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`=27448730 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953905, 0.04104442876225847, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27448730_03-10-2025_05_55_36.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27448771, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27448772, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27448773, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27448774, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27448775, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27448776, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27448777, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27448778, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27448779, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27448780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27448781, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27448782, '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 = 27449062 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': 3827760, 'mtr_portfolio_id': 27449062, 'created_at': datetime.datetime(2025, 10, 3, 5, 56, 1), 'result': '0.05993598893808475', 'result_long': None, 'result_double': None}] Qualite : 0.05993598893808475 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27449062 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27449062_03-10-2025_05_56_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27449062 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_P27449062_03-10-2025_05_56_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449079, 'pht': 3726}}" where mtr_portfolio_id = 27449062 and dashboard_run_id = 2392733 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`=27449062 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953906, 0.05993598893808475, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27449062_03-10-2025_05_56_03.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449068, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449069, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449072, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449073, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449074, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449075, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449076, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449078, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449079, '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 = 27449479 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': 3827761, 'mtr_portfolio_id': 27449479, 'created_at': datetime.datetime(2025, 10, 3, 5, 56, 5), 'result': '0.04630321300349005', 'result_long': None, 'result_double': None}] Qualite : 0.04630321300349005 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27449479 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27449479_03-10-2025_05_56_11.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27449479 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_P27449479_03-10-2025_05_56_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449502, 'pht': 3726}}" where mtr_portfolio_id = 27449479 and dashboard_run_id = 2392733 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`=27449479 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953907, 0.04630321300349005, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27449479_03-10-2025_05_56_11.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27449491, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27449492, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27449493, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27449494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27449495, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27449496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27449497, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27449498, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27449499, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27449500, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27449501, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27449502, '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 = 27450035 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': 3827762, 'mtr_portfolio_id': 27450035, 'created_at': datetime.datetime(2025, 10, 3, 5, 56, 30), 'result': '0.030242335626250682', 'result_long': None, 'result_double': None}] Qualite : 0.030242335626250682 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27450035 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27450035_03-10-2025_05_56_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27450035 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_P27450035_03-10-2025_05_56_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27450048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27450049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27450050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27450051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27450052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27450053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27450054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27450055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27450056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27450057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27450058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27450059, 'pht': 3726}}" where mtr_portfolio_id = 27450035 and dashboard_run_id = 2392733 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`=27450035 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953908, 0.030242335626250682, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27450035_03-10-2025_05_56_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27450048, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27450049, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27450050, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27450051, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27450052, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27450053, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27450054, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27450055, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27450056, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27450057, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27450058, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27450059, '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 = 27451097 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': 3827763, 'mtr_portfolio_id': 27451097, 'created_at': datetime.datetime(2025, 10, 3, 5, 57, 33), 'result': '0.024765308921667374', 'result_long': None, 'result_double': None}] Qualite : 0.024765308921667374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27451097 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451097_03-10-2025_05_57_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27451097 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_P27451097_03-10-2025_05_57_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451111, 'pht': 3726}}" where mtr_portfolio_id = 27451097 and dashboard_run_id = 2392733 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`=27451097 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953909, 0.024765308921667374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451097_03-10-2025_05_57_35.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451100, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451101, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451102, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451103, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451104, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451105, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451106, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451107, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451108, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451109, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451110, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451111, '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 = 27451540 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': 3827764, 'mtr_portfolio_id': 27451540, 'created_at': datetime.datetime(2025, 10, 3, 5, 58, 4), 'result': '0.04799485787234938', 'result_long': None, 'result_double': None}] Qualite : 0.04799485787234938 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27451540 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451540_03-10-2025_05_58_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27451540 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_P27451540_03-10-2025_05_58_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451633, 'pht': 3726}}" where mtr_portfolio_id = 27451540 and dashboard_run_id = 2392733 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`=27451540 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953910, 0.04799485787234938, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451540_03-10-2025_05_58_07.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451622, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451623, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451624, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451626, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451627, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27451629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451630, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451631, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451632, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451633, '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 = 27451860 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': 3827765, 'mtr_portfolio_id': 27451860, 'created_at': datetime.datetime(2025, 10, 3, 5, 58, 31), 'result': '0.05758231459813561', 'result_long': None, 'result_double': None}] Qualite : 0.05758231459813561 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27451860 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451860_03-10-2025_05_58_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27451860 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_P27451860_03-10-2025_05_58_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27451886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451897, 'pht': 3726}}" where mtr_portfolio_id = 27451860 and dashboard_run_id = 2392733 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`=27451860 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953911, 0.05758231459813561, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27451860_03-10-2025_05_58_35.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27451886, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27451887, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27451888, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27451889, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27451890, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27451891, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27451892, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27451893, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27451894, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27451895, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27451896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27451897, '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 = 27452340 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': 3827766, 'mtr_portfolio_id': 27452340, 'created_at': datetime.datetime(2025, 10, 3, 5, 59, 29), 'result': '0.05816771677389333', 'result_long': None, 'result_double': None}] Qualite : 0.05816771677389333 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27452340 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452340_03-10-2025_05_59_40.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27452340 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_P27452340_03-10-2025_05_59_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27452366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452377, 'pht': 3726}}" where mtr_portfolio_id = 27452340 and dashboard_run_id = 2392733 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`=27452340 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953912, 0.05816771677389333, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452340_03-10-2025_05_59_40.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27452366, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452368, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452369, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452370, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452372, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452374, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452376, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452377, '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 = 27452671 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': 3827767, 'mtr_portfolio_id': 27452671, 'created_at': datetime.datetime(2025, 10, 3, 6, 0, 4), 'result': '0.03809013757566883', 'result_long': None, 'result_double': None}] Qualite : 0.03809013757566883 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27452671 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452671_03-10-2025_06_00_07.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27452671 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_P27452671_03-10-2025_06_00_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27452701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452707, 'pht': 3726}}" where mtr_portfolio_id = 27452671 and dashboard_run_id = 2392733 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`=27452671 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953913, 0.03809013757566883, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27452671_03-10-2025_06_00_07.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27452696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27452697, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27452698, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27452699, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27452700, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27452701, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27452702, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27452703, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27452704, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27452705, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27452706, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27452707, '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 = 27453299 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': 3821501, 'mtr_portfolio_id': 27453299, 'created_at': datetime.datetime(2025, 10, 2, 19, 33, 1), 'result': '0.035136683234845034', 'result_long': None, 'result_double': None}] Qualite : 0.035136683234845034 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27453299 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27453299_02-10-2025_19_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27453299 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_P27453299_02-10-2025_19_33_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27453309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453320, 'pht': 3726}}" where mtr_portfolio_id = 27453299 and dashboard_run_id = 2392733 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`=27453299 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953914, 0.035136683234845034, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27453299_02-10-2025_19_33_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27453309, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453310, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453311, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453312, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453313, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453314, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453315, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453316, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453317, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453318, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453319, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453320, '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 = 27453878 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': 3821722, 'mtr_portfolio_id': 27453878, 'created_at': datetime.datetime(2025, 10, 2, 19, 48, 59), 'result': '0.038496907958658746', 'result_long': None, 'result_double': None}] Qualite : 0.038496907958658746 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27453878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27453878_02-10-2025_19_48_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27453878 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_P27453878_02-10-2025_19_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27453936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453943, 'pht': 3726}}" where mtr_portfolio_id = 27453878 and dashboard_run_id = 2392733 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`=27453878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953915, 0.038496907958658746, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27453878_02-10-2025_19_48_59.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27453932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27453933, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27453934, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27453935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27453936, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27453937, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27453938, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27453939, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27453940, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27453941, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27453942, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27453943, '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 = 27454472 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': 3821982, 'mtr_portfolio_id': 27454472, 'created_at': datetime.datetime(2025, 10, 2, 20, 3, 5), 'result': '0.08016492428818196', 'result_long': None, 'result_double': None}] Qualite : 0.08016492428818196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27454472 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27454472_02-10-2025_20_03_06.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27454472 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_P27454472_02-10-2025_20_03_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27454522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27454523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27454524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27454525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27454526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27454527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27454528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27454529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27454530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27454531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27454532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27454533, 'pht': 3726}}" where mtr_portfolio_id = 27454472 and dashboard_run_id = 2392733 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`=27454472 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953916, 0.08016492428818196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27454472_02-10-2025_20_03_06.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27454522, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27454523, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27454524, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27454525, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27454526, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27454527, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27454528, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27454529, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27454530, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27454531, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27454532, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27454533, '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 = 27455019 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': 3822195, 'mtr_portfolio_id': 27455019, 'created_at': datetime.datetime(2025, 10, 2, 20, 16, 59), 'result': '0.07384313197770621', 'result_long': None, 'result_double': None}] Qualite : 0.07384313197770621 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27455019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27455019_02-10-2025_20_17_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27455019 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_P27455019_02-10-2025_20_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455079, 'pht': 3726}}" where mtr_portfolio_id = 27455019 and dashboard_run_id = 2392733 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`=27455019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953917, 0.07384313197770621, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27455019_02-10-2025_20_17_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455055, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455056, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455057, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455058, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455060, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455061, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455074, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455075, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455076, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455077, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455078, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455079, '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 = 27455801 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': 3822473, 'mtr_portfolio_id': 27455801, 'created_at': datetime.datetime(2025, 10, 2, 20, 33), 'result': '0.045716817582327804', 'result_long': None, 'result_double': None}] Qualite : 0.045716817582327804 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27455801 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27455801_02-10-2025_20_33_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27455801 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_P27455801_02-10-2025_20_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455822, 'pht': 3726}}" where mtr_portfolio_id = 27455801 and dashboard_run_id = 2392733 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`=27455801 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953918, 0.045716817582327804, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27455801_02-10-2025_20_33_01.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27455811, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27455812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27455813, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27455814, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27455815, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27455816, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27455817, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27455818, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27455819, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27455820, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27455821, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27455822, '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 = 27456353 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': 3822738, 'mtr_portfolio_id': 27456353, 'created_at': datetime.datetime(2025, 10, 2, 20, 47, 5), 'result': '0.03498703258338085', 'result_long': None, 'result_double': None}] Qualite : 0.03498703258338085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27456353 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27456353_02-10-2025_20_47_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27456353 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_P27456353_02-10-2025_20_47_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456400, 'pht': 3726}}" where mtr_portfolio_id = 27456353 and dashboard_run_id = 2392733 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`=27456353 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953919, 0.03498703258338085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27456353_02-10-2025_20_47_05.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456388, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456389, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456390, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456391, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456392, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456393, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456394, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456395, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456396, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456400, '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 = 27456890 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': 3823029, 'mtr_portfolio_id': 27456890, 'created_at': datetime.datetime(2025, 10, 2, 21, 5, 4), 'result': '0.1107561728202043', 'result_long': None, 'result_double': None}] Qualite : 0.1107561728202043 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27456890 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27456890_02-10-2025_21_05_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27456890 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_P27456890_02-10-2025_21_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456911, 'pht': 3726}}" where mtr_portfolio_id = 27456890 and dashboard_run_id = 2392733 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`=27456890 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953920, 0.1107561728202043, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27456890_02-10-2025_21_05_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27456900, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27456901, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27456902, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27456903, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27456904, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27456905, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27456906, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27456907, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27456908, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27456909, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27456910, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27456911, '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 = 27458632 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': 3823663, 'mtr_portfolio_id': 27458632, 'created_at': datetime.datetime(2025, 10, 2, 22, 33, 4), 'result': '0.054521777582320345', 'result_long': None, 'result_double': None}] Qualite : 0.054521777582320345 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27458632 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27458632_02-10-2025_22_33_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27458632 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_P27458632_02-10-2025_22_33_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458662, 'pht': 3726}}" where mtr_portfolio_id = 27458632 and dashboard_run_id = 2392733 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`=27458632 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953921, 0.054521777582320345, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27458632_02-10-2025_22_33_04.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458651, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458654, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458655, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458657, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458658, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458660, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458661, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458662, '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 = 27458863 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': 3823686, 'mtr_portfolio_id': 27458863, 'created_at': datetime.datetime(2025, 10, 2, 22, 51, 2), 'result': '0.05380068179957187', 'result_long': None, 'result_double': None}] Qualite : 0.05380068179957187 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27458863 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27458863_02-10-2025_22_51_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27458863 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_P27458863_02-10-2025_22_51_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458958, 'pht': 3726}}" where mtr_portfolio_id = 27458863 and dashboard_run_id = 2392733 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`=27458863 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953922, 0.05380068179957187, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27458863_02-10-2025_22_51_02.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27458947, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27458948, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27458949, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27458950, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27458951, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27458952, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27458953, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27458954, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27458955, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27458956, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27458957, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27458958, '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 = 27459483 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': 3823755, 'mtr_portfolio_id': 27459483, 'created_at': datetime.datetime(2025, 10, 2, 23, 4, 35), 'result': '0.07105128968221694', 'result_long': None, 'result_double': None}] Qualite : 0.07105128968221694 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27459483 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27459483_02-10-2025_23_04_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27459483 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_P27459483_02-10-2025_23_04_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27459490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459501, 'pht': 3726}}" where mtr_portfolio_id = 27459483 and dashboard_run_id = 2392733 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`=27459483 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953923, 0.07105128968221694, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27459483_02-10-2025_23_04_36.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27459490, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459491, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459492, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459493, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459494, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459495, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459496, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459498, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459499, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459500, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459501, '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 = 27459898 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': 3823832, 'mtr_portfolio_id': 27459898, 'created_at': datetime.datetime(2025, 10, 2, 23, 21, 1), 'result': '0.029530079595368422', 'result_long': None, 'result_double': None}] Qualite : 0.029530079595368422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27459898 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27459898_02-10-2025_23_21_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27459898 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_P27459898_02-10-2025_23_21_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27459946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459951, 'pht': 3726}}" where mtr_portfolio_id = 27459898 and dashboard_run_id = 2392733 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`=27459898 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953924, 0.029530079595368422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27459898_02-10-2025_23_21_03.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27459940, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27459941, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27459942, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27459943, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27459944, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27459945, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27459946, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27459947, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27459948, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27459949, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27459950, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27459951, '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 = 27460478 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': 3823868, 'mtr_portfolio_id': 27460478, 'created_at': datetime.datetime(2025, 10, 2, 23, 33, 1), 'result': '0.06027258957560111', 'result_long': None, 'result_double': None}] Qualite : 0.06027258957560111 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27460478 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27460478_02-10-2025_23_33_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27460478 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_P27460478_02-10-2025_23_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27460492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27460493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27460494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27460495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27460496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27460497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27460498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27460499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27460500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27460501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27460502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27460503, 'pht': 3726}}" where mtr_portfolio_id = 27460478 and dashboard_run_id = 2392733 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`=27460478 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953925, 0.06027258957560111, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27460478_02-10-2025_23_33_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27460492, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27460493, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27460494, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27460495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27460496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27460497, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27460498, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27460499, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27460500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27460501, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27460502, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27460503, '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 = 27461009 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': 3824032, 'mtr_portfolio_id': 27461009, 'created_at': datetime.datetime(2025, 10, 2, 23, 49, 2), 'result': '0.09685541217245856', 'result_long': None, 'result_double': None}] Qualite : 0.09685541217245856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27461009 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27461009_02-10-2025_23_49_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27461009 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_P27461009_02-10-2025_23_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27461021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461033, 'pht': 3726}}" where mtr_portfolio_id = 27461009 and dashboard_run_id = 2392733 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`=27461009 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953926, 0.09685541217245856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27461009_02-10-2025_23_49_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27461021, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461022, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461023, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461024, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461025, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461026, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461028, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461029, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461030, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461031, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461032, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461033, '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 = 27461682 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': 3824234, 'mtr_portfolio_id': 27461682, 'created_at': datetime.datetime(2025, 10, 3, 0, 26, 7), 'result': '0.17986206235856841', 'result_long': None, 'result_double': None}] Qualite : 0.17986206235856841 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27461682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27461682_03-10-2025_00_26_08.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27461682 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_P27461682_03-10-2025_00_26_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27461799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461806, 'pht': 3726}}" where mtr_portfolio_id = 27461682 and dashboard_run_id = 2392733 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`=27461682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15953927, 0.17986206235856841, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27461682_03-10-2025_00_26_08.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27461795, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27461796, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27461797, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27461798, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27461799, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27461800, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27461801, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27461802, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27461803, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27461804, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27461805, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27461806, '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 (27424686,27425124,27425471,27425856,27427278,27427585,27427882,27428370,27428628,27429102,27429508,27430058,27430484,27430971,27431419,27432843,27433044,27433373,27433513,27433795,27434083,27434369,27434760,27435271,27436023,27436870,27438546,27438693,27439194,27439851,27445655,27446599,27446740,27448435,27448730,27449062,27449479,27450035,27451097,27451540,27451860,27452340,27452671,27453299,27453878,27454472,27455019,27455801,27456353,27456890,27458632,27458863,27459483,27459898,27460478,27461009,27461682) result : ((1387291774,), (1387291778,), (1387291781,), (1387291812,), (1387291813,), (1387291814,), (1387291816,), (1387291819,), (1387291841,), (1387291844,), (1387291846,), (1387291967,), (1387292459,), (1387292461,), (1387292465,), (1387292467,), (1387292616,), (1387292621,), (1387292626,), (1387292631,), (1387292635,), (1387292637,), (1387292648,), (1387292650,), (1387292651,), (1387292654,), (1387292674,), (1387292677,), (1387292680,), (1387292683,), (1387292702,), (1387292704,), (1387292705,), (1387292706,), (1387295337,), (1387295331,), (1387295334,), (1387295936,), (1387296090,), (1387296143,), (1387296147,), (1387296163,), (1387296164,), (1387296183,), (1387296186,), (1387296189,), (1387296192,), (1387296210,), (1387296213,), (1387296215,), (1387296218,), (1387296238,), (1387296241,), (1387296244,), (1387296247,), (1387296253,), (1387296503,), (1387297042,), (1387297086,), (1387297104,), (1387297107,), (1387297109,), (1387297112,), (1387297251,), (1387297487,), (1387297494,), (1387297497,), (1387297501,), (1387297504,), (1387297507,), (1387297518,), (1387297521,), (1387297524,), (1387297546,), (1387297551,), (1387297582,), (1387297585,), (1387297588,), (1387297577,), (1387297579,), (1387297608,), (1387297611,), (1387297613,), (1387297615,), (1387297617,), (1387297635,), (1387297637,), (1387297745,), (1387297990,), (1387297994,), (1387298190,), (1387298193,), (1387298195,), (1387298199,), (1387298203,), (1387298217,), (1387298220,), (1387298223,), (1387298225,), (1387298231,), (1387298234,), (1387298247,), (1387298249,), (1387298267,), (1387298271,), (1387298275,), (1387298299,), (1387298301,), (1387298304,), (1387298321,), (1387298323,), (1387298679,), (1387298681,), (1387298864,), (1387298866,), (1387298869,), (1387298884,), (1387298887,), (1387298890,), (1387298893,), (1387298895,), (1387298896,), (1387298900,), (1387298908,), (1387298909,), (1387298910,), (1387298929,), (1387298933,), (1387298936,), (1387298956,), (1387298958,), (1387298960,), (1387298963,), (1387298966,), (1387298977,), (1387298980,), (1387299006,), (1387299000,), (1387299003,), (1387299024,), (1387299026,), (1387299028,), (1387299030,), (1387299043,), (1387299046,), (1387299048,), (1387299063,), (1387299065,), (1387299101,), (1387299557,), (1387299561,), (1387299564,), (1387299567,), (1387299860,), (1387299863,), (1387299864,), (1387299865,), (1387299883,), (1387300134,), (1387300238,), (1387300418,), (1387300425,), (1387300427,), (1387300430,), (1387300565,), (1387300622,), (1387300655,), (1387300658,), (1387300661,), (1387300665,), (1387300669,), (1387300698,), (1387300701,), (1387300704,), (1387300706,), (1387300708,), (1387300710,), (1387300738,), (1387300740,), (1387300742,), (1387300745,), (1387300769,), (1387300772,), (1387300773,), (1387300776,), (1387300778,), (1387300780,), (1387301423,), (1387301623,), (1387301626,), (1387301629,), (1387301632,), (1387301633,), (1387304300,), (1387304301,), (1387304303,), (1387304884,), (1387304911,), (1387305176,), (1387305177,), (1387305179,), (1387305270,), (1387305273,), (1387305276,), (1387305278,), (1387305936,), (1387305941,), (1387305942,), (1387305967,), (1387305970,), (1387306250,), (1387306349,), (1387306352,), (1387306523,), (1387306525,), (1387306541,), (1387306544,), (1387306545,), (1387306575,), (1387306577,), (1387306580,), (1387306603,), (1387306607,), (1387306628,), (1387306631,), (1387306634,), (1387306637,), (1387306652,), (1387306656,), (1387306658,), (1387306675,), (1387306674,), (1387306702,), (1387306707,), (1387306711,), (1387306736,), (1387306737,), (1387306764,), (1387306767,), (1387306788,), (1387306791,), (1387306794,), (1387306818,), (1387306820,), (1387306823,), (1387306827,), (1387306831,), (1387306834,), (1387306840,), (1387306845,), (1387306849,), (1387306852,), (1387306854,), (1387306892,), (1387306903,), (1387306924,), (1387306926,), (1387306928,), (1387306931,), (1387306935,), (1387306959,), (1387306961,), (1387306963,), (1387306985,), (1387306987,), (1387306991,), (1387307013,), (1387307016,), (1387307019,), (1387307072,), (1387307076,), (1387307382,), (1387307384,), (1387307386,), (1387307389,), (1387307393,), (1387307408,), (1387307411,), (1387307413,), (1387307416,), (1387307418,), (1387307420,), (1387307421,), (1387307422,), (1387307423,), (1387307405,), (1387307406,), (1387307407,), (1387307424,), (1387307425,), (1387307427,), (1387307457,), (1387307459,), (1387307473,), (1387307475,), (1387307477,), (1387307489,), (1387307899,), (1387308326,), (1387308328,), (1387308701,), (1387308703,), (1387308705,), (1387308709,), (1387308725,), (1387308729,), (1387308730,), (1387308732,), (1387308735,), (1387308738,), (1387308743,), (1387308745,), (1387308753,), (1387308755,), (1387308758,), (1387308761,), (1387308773,), (1387308774,), (1387308775,), (1387308777,), (1387308786,), (1387308788,), (1387308791,), (1387308793,), (1387308795,), (1387308797,), (1387308820,), (1387308822,), (1387310324,), (1387310279,), (1387310337,), (1387310338,), (1387310361,), (1387310363,), (1387310376,), (1387310378,), (1387310379,), (1387310381,), (1387310385,), (1387310390,), (1387310392,), (1387310394,), (1387310430,), (1387310431,), (1387310432,), (1387310433,), (1387310447,), (1387310450,), (1387310454,), (1387310469,), (1387310471,), (1387310472,), (1387310473,), (1387310475,), (1387310483,), (1387310485,), (1387310487,), (1387310497,), (1387310499,), (1387310532,), (1387310534,), (1387310536,), (1387310539,), (1387310541,), (1387310552,), (1387310554,), (1387310556,), (1387310558,), (1387310569,), (1387310573,), (1387310575,), (1387310601,), (1387310608,), (1387310612,), (1387310615,), (1387310596,), (1387310598,), (1387310622,), (1387310625,), (1387310640,), (1387310645,), (1387310647,), (1387310706,), (1387310708,), (1387310712,), (1387310716,), (1387310719,), (1387310722,), (1387310729,), (1387310730,), (1387310731,), (1387310733,), (1387310734,), (1387310736,), (1387310742,), (1387310744,), (1387310746,), (1387310749,), (1387310751,), (1387310760,), (1387310762,), (1387310763,), (1387310765,), (1387310770,), (1387310795,), (1387310797,), (1387310799,), (1387310812,), (1387310814,), (1387310816,), (1387310841,), (1387310845,), (1387310849,), (1387310858,), (1387310860,), (1387310862,), (1387310870,), (1387310871,), (1387310872,), (1387310878,), (1387310880,), (1387310920,), (1387310923,), (1387310926,), (1387310928,), (1387310942,), (1387310954,), (1387310958,), (1387310959,), (1387310986,), (1387310976,), (1387310978,), (1387310981,), (1387310983,), (1387310997,), (1387310998,), (1387310999,), (1387311010,), (1387311039,), (1387311043,), (1387311047,), (1387311065,), (1387311067,), (1387311069,), (1387311071,), (1387311075,), (1387311080,), (1387311082,), (1387311096,), (1387311097,), (1387311098,), (1387311107,), (1387311109,), (1387311111,), (1387311113,), (1387311117,), (1387311120,), (1387311123,), (1387311126,), (1387311129,), (1387311137,), (1387311150,), (1387311151,), (1387311152,), (1387311155,), (1387311172,), (1387311174,), (1387311176,), (1387311178,), (1387311206,), (1387311207,), (1387311208,), (1387311209,), (1387311223,), (1387311225,), (1387311227,), (1387311228,), (1387311238,), (1387311268,), (1387311270,), (1387311292,), (1387311295,), (1387311298,), (1387311322,), (1387311320,), (1387311321,), (1387311359,), (1387311363,), (1387311392,), (1387311395,), (1387312556,), (1387313794,), (1387313796,), (1387313837,), (1387313839,), (1387313984,), (1387314049,), (1387314053,), (1387314055,), (1387314061,), (1387314064,), (1387314067,), (1387314087,), (1387314091,), (1387314115,), (1387314118,), (1387314121,), (1387314124,), (1387314146,), (1387314149,), (1387314152,), (1387314155,), (1387314159,), (1387314178,), (1387314181,), (1387314203,), (1387314223,), (1387314226,), (1387314229,), (1387314232,), (1387314268,), (1387314271,), (1387314276,), (1387314277,), (1387314281,), (1387314284,), (1387314296,), (1387314299,), (1387314301,), (1387314312,), (1387314314,), (1387314317,), (1387314354,), (1387314351,), (1387314373,), (1387314376,), (1387314379,), (1387314381,), (1387314442,), (1387314446,), (1387314451,), (1387314455,), (1387314459,), (1387314474,), (1387314477,), (1387314502,), (1387314505,), (1387314508,), (1387314510,), (1387314523,), (1387314525,), (1387314528,), (1387314533,), (1387314536,), (1387314539,), (1387314550,), (1387314553,), (1387314559,), (1387314561,), (1387314584,), (1387314587,), (1387314590,), (1387314592,), (1387314606,), (1387314609,), (1387314610,), (1387314636,), (1387314638,), (1387314640,), (1387314642,), (1387314649,), (1387314652,), (1387314659,), (1387314661,), (1387314663,), (1387314666,), (1387314669,), (1387314683,), (1387314686,), (1387314688,), (1387314740,), (1387314744,), (1387314747,), (1387314770,), (1387314772,), (1387314773,), (1387314774,), (1387314779,), (1387314793,), (1387314795,), (1387314797,), (1387314837,), (1387314821,), (1387314826,), (1387314830,), (1387314860,), (1387314863,), (1387314883,), (1387314884,), (1387314885,), (1387314903,), (1387314906,), (1387314927,), (1387314930,), (1387314932,), (1387314934,), (1387314936,), (1387314956,), (1387314958,), (1387314961,), (1387314964,), (1387314984,), (1387315037,), (1387315040,), (1387315044,), (1387315047,), (1387315065,), (1387315066,), (1387315067,), (1387315089,), (1387315092,), (1387315095,), (1387315097,), (1387315114,), (1387315117,), (1387315119,), (1387315122,), (1387315128,), (1387315129,), (1387315134,), (1387315136,), (1387315139,), (1387315163,), (1387315164,), (1387315165,), (1387315186,), (1387315189,), (1387315191,), (1387315216,), (1387315218,), (1387315220,), (1387315221,), (1387315224,), (1387315237,), (1387315239,), (1387315241,), (1387315243,), (1387315275,), (1387315261,), (1387315264,), (1387315266,), (1387315269,), (1387315272,), (1387315302,), (1387315304,), (1387315306,), (1387315307,), (1387315328,), (1387315331,), (1387315334,), (1387315338,), (1387315352,), (1387315355,), (1387315358,), (1387315361,), (1387315364,), (1387315367,), (1387315377,), (1387315380,), (1387315382,), (1387315384,), (1387315387,), (1387315402,), (1387315404,), (1387315407,), (1387315410,), (1387315417,), (1387315420,), (1387315423,), (1387315424,), (1387315425,), (1387315426,), (1387315433,), (1387315436,), (1387315439,), (1387315466,), (1387315480,), (1387315483,), (1387315518,), (1387315520,), (1387315522,), (1387315525,), (1387315549,), (1387315552,), (1387315555,), (1387315558,), (1387315588,), (1387315591,), (1387315592,), (1387315608,), (1387315609,), (1387315616,), (1387315665,), (1387315667,), (1387315670,), (1387315697,), (1387315700,), (1387315703,), (1387315707,), (1387315735,), (1387315729,), (1387315733,), (1387316538,), (1387316829,), (1387316836,), (1387316863,), (1387316906,), (1387316951,), (1387317006,), (1387317011,), (1387317015,), (1387317032,), (1387317035,), (1387317056,), (1387317059,), (1387317062,), (1387317090,), (1387317095,), (1387317099,), (1387317103,), (1387317122,), (1387317126,), (1387317931,), (1387317942,), (1387317946,), (1387318272,), (1387318276,), (1387318279,), (1387318284,), (1387318293,), (1387318312,), (1387318316,), (1387318319,), (1387318336,), (1387318340,), (1387318343,), (1387319455,), (1387320309,), (1387322945,), (1387322981,), (1387323045,), (1387323050,), (1387323099,), (1387323103,), (1387323106,), (1387323108,), (1387323110,), (1387323114,), (1387323130,), (1387323289,), (1387323281,), (1387323284,), (1387323286,), (1387323317,), (1387323320,), (1387323344,), (1387323347,), (1387323351,), (1387323371,), (1387323375,), (1387323379,), (1387323401,), (1387323405,), (1387323408,), (1387323412,), (1387323416,), (1387323435,), (1387323440,), (1387323443,), (1387323444,), (1387323446,), (1387323456,), (1387323461,), (1387323498,), (1387323523,), (1387323566,), (1387323569,), (1387323571,), (1387323573,), (1387323594,), (1387323598,), (1387323601,), (1387323604,), (1387323626,), (1387323628,), (1387323629,), (1387323632,), (1387323635,), (1387323638,), (1387323646,), (1387323645,), (1387323929,), (1387323932,), (1387323934,), (1387323957,), (1387323960,), (1387323964,), (1387323987,), (1387323989,), (1387323990,), (1387323992,), (1387323994,), (1387323997,), (1387324003,), (1387324006,), (1387324007,), (1387324009,), (1387324011,), (1387324013,), (1387324016,), (1387324018,), (1387324023,), (1387324039,), (1387324043,), (1387324046,), (1387324049,), (1387324072,), (1387324074,), (1387324076,), (1387324079,), (1387324082,), (1387324084,), (1387324087,), (1387324096,), (1387324100,), (1387324102,), (1387324104,), (1387324107,), (1387324144,), (1387324128,), (1387324131,), (1387324133,), (1387324137,), (1387324141,), (1387324168,), (1387324187,), (1387324198,), (1387324202,), (1387324231,), (1387324237,), (1387324239,), (1387324241,), (1387324255,), (1387324259,), (1387324261,), (1387324264,), (1387324296,), (1387324300,), (1387324302,), (1387324304,), (1387324323,), (1387324326,), (1387324328,), (1387324332,), (1387324372,), (1387324375,), (1387324377,), (1387324427,), (1387324432,), (1387324438,), (1387324441,), (1387324445,), (1387324470,), (1387324474,), (1387324476,), (1387324479,), (1387324483,), (1387324486,), (1387324502,), (1387324505,), (1387324506,), (1387324509,), (1387324512,), (1387324525,), (1387324528,), (1387324532,), (1387324575,), (1387324595,), (1387324597,), (1387324603,), (1387324612,), (1387324633,), (1387324636,), (1387324640,), (1387324643,), (1387324645,), (1387324648,), (1387324663,), (1387324667,), (1387324671,), (1387324681,), (1387324683,), (1387324695,), (1387324760,), (1387324763,), (1387324766,), (1387324769,), (1387325884,), (1387325887,), (1387325890,), (1387326220,), (1387326562,), (1387326565,), (1387326674,), (1387326737,), (1387326760,), (1387327296,), (1387327299,), (1387327302,), (1387327305,), (1387327309,), (1387327312,), (1387327328,), (1387327331,), (1387327334,), (1387327335,), (1387327338,), (1387327357,), (1387327359,), (1387327361,), (1387327365,), (1387327370,), (1387327373,), (1387327381,), (1387327384,), (1387327387,), (1387327390,), (1387327407,), (1387327408,), (1387327409,), (1387327424,), (1387327425,), (1387327428,), (1387327432,), (1387327434,), (1387327447,), (1387327450,), (1387327453,), (1387327456,), (1387327459,), (1387327471,), (1387327477,), (1387327496,), (1387327497,), (1387327518,), (1387327523,), (1387327580,), (1387327564,), (1387327568,), (1387327570,), (1387327573,), (1387327576,), (1387327592,), (1387327594,), (1387327595,), (1387327598,), (1387327602,), (1387327605,), (1387327618,), (1387327621,), (1387327624,), (1387327646,), (1387327649,), (1387327650,), (1387327652,), (1387327676,), (1387327679,), (1387327682,), (1387327686,), (1387327690,), (1387327694,), (1387327706,), (1387327710,), (1387327712,), (1387327713,), (1387327732,), (1387327734,), (1387327736,), (1387327739,), (1387327755,), (1387327759,), (1387327763,), (1387327768,), (1387327773,), (1387327795,), (1387327799,), (1387327802,), (1387327807,), (1387327812,), (1387327823,), (1387327834,), (1387327853,), (1387327856,), (1387327859,), (1387327882,), (1387327886,), (1387327888,), (1387327892,), (1387327897,), (1387327914,), (1387327917,), (1387327920,), (1387327923,), (1387327926,), (1387327943,), (1387327948,), (1387327950,), (1387327968,), (1387327971,), (1387327974,), (1387327977,), (1387327980,), (1387327983,), (1387328020,), (1387328000,), (1387328003,), (1387328005,), (1387328008,), (1387328011,), (1387328033,), (1387328036,), (1387328039,), (1387328054,), (1387328058,), (1387328059,), (1387328060,), (1387328063,), (1387328082,), (1387328085,), (1387328088,), (1387328092,), (1387328096,), (1387328107,), (1387328110,), (1387328112,), (1387328114,), (1387328135,), (1387328137,), (1387328139,), (1387328157,), (1387328161,), (1387328164,), (1387328167,), (1387328172,), (1387328189,), (1387328191,), (1387328212,), (1387328216,), (1387328219,), (1387328223,), (1387328242,), (1387328247,), (1387328252,), (1387328256,), (1387328271,), (1387328274,), (1387328276,), (1387328278,), (1387328280,), (1387328283,), (1387328296,), (1387328298,), (1387328299,), (1387328301,), (1387328304,), (1387328307,), (1387328318,), (1387328324,), (1387328327,), (1387328332,), (1387328350,), (1387328353,), (1387328355,), (1387328357,), (1387328359,), (1387328361,), (1387328378,), (1387328381,), (1387328383,), (1387328387,), (1387328398,), (1387328418,), (1387328409,), (1387328412,), (1387328415,), (1387328436,), (1387328440,), (1387328442,), (1387328444,), (1387328527,), (1387328553,), (1387328576,), (1387328580,), (1387328584,), (1387328587,), (1387328600,), (1387328603,), (1387328679,), (1387328682,), (1387328701,), (1387328704,), (1387328705,), (1387328706,), (1387328708,), (1387328732,), (1387328734,), (1387328737,), (1387328740,), (1387328742,), (1387328762,), (1387328767,), (1387328777,), (1387328810,), (1387328794,), (1387328798,), (1387328801,), (1387328805,), (1387328826,), (1387328829,), (1387328832,), (1387330004,), (1387330015,), (1387330030,), (1387330033,), (1387330037,), (1387330041,), (1387330052,), (1387330347,), (1387330369,), (1387330378,), (1387330383,), (1387330387,), (1387330400,), (1387330405,), (1387330409,), (1387330435,), (1387330438,), (1387330441,), (1387330444,), (1387330448,), (1387330919,), (1387330925,), (1387330927,), (1387330937,), (1387331116,), (1387331199,), (1387331201,), (1387331203,), (1387331207,), (1387331212,), (1387331242,), (1387331325,), (1387331333,), (1387331360,), (1387331364,), (1387331366,), (1387331390,), (1387331393,), (1387331411,), (1387331416,), (1387331420,), (1387331578,), (1387331590,), (1387331597,), (1387331603,), (1387331614,), (1387331644,), (1387331666,), (1387331671,), (1387331676,), (1387331684,), (1387331812,), (1387331821,), (1387331835,), (1387331859,), (1387331861,), (1387331878,), (1387331894,), (1387331964,), (1387331967,), (1387331970,), (1387331973,), (1387332002,), (1387331998,), (1387332000,), (1387332084,), (1387332088,), (1387332096,), (1387332101,), (1387332149,), (1387332153,), (1387332155,), (1387332156,), (1387332265,), (1387332281,), (1387332315,), (1387332320,), (1387332324,), (1387332328,), (1387332332,), (1387332479,), (1387332500,), (1387332503,), (1387332539,), (1387332541,), (1387332583,), (1387332600,), (1387332604,), (1387332607,), (1387332610,), (1387332613,), (1387332616,), (1387332759,), (1387332769,), (1387332774,), (1387332780,), (1387332828,), (1387332968,), (1387332986,), (1387333031,), (1387333033,), (1387333159,), (1387333161,), (1387333164,), (1387333165,), (1387333167,), (1387333192,), (1387333218,), (1387333224,), (1387333576,), (1387333582,), (1387333611,), (1387333614,), (1387333618,), (1387333621,), (1387333751,), (1387333755,), (1387333814,), (1387333817,), (1387333886,), (1387334035,), (1387334039,), (1387334055,), (1387334061,), (1387334214,), (1387334346,), (1387334374,), (1387334382,), (1387334389,), (1387334490,), (1387334495,), (1387334497,), (1387334500,), (1387334542,), (1387334544,), (1387334548,), (1387334551,), (1387334554,), (1387334535,), (1387334538,), (1387334726,), (1387334731,), (1387334734,), (1387334738,), (1387334743,), (1387334749,), (1387334761,), (1387334765,), (1387334768,), (1387334771,), (1387334798,), (1387334905,), (1387334957,), (1387335108,), (1387335441,), (1387336200,), (1387337281,), (1387340102,), (1387341898,), (1387341900,), (1387341909,), (1387341912,), (1387342080,), (1387342086,), (1387342293,), (1387342299,), (1387342340,), (1387342323,), (1387342327,), (1387342331,), (1387342335,), (1387342357,), (1387342500,), (1387342525,), (1387342535,), (1387342541,), (1387342658,), (1387342663,), (1387342668,), (1387342679,), (1387342707,), (1387342710,), (1387342714,), (1387342717,), (1387342722,), (1387342728,), (1387342750,), (1387342754,), (1387342757,), (1387343068,), (1387343078,), (1387343138,), (1387343147,), (1387343150,), (1387343190,), (1387343229,), (1387343233,), (1387343235,), (1387343238,), (1387343260,), (1387343264,), (1387343267,), (1387343336,), (1387343346,), (1387343348,), (1387343351,), (1387343355,), (1387343357,), (1387343376,), (1387343386,), (1387343387,), (1387343389,), (1387343393,), (1387343425,), (1387343427,), (1387343430,), (1387343432,), (1387343434,), (1387343460,), (1387343462,), (1387343466,), (1387343470,), (1387343472,), (1387343494,), (1387343497,), (1387343499,), (1387343500,), (1387343503,), (1387343506,), (1387343535,), (1387343537,), (1387343539,), (1387343602,), (1387343611,), (1387343615,), (1387343619,), (1387343624,), (1387343652,), (1387343644,), (1387343646,), (1387343647,), (1387343648,), (1387343701,), (1387343703,), (1387343711,), (1387343714,), (1387343716,), (1387343760,), (1387343791,), (1387343795,), (1387343799,), (1387343801,), (1387343816,), (1387343846,), (1387343848,), (1387343999,), (1387344001,), (1387344002,), (1387344075,), (1387344077,), (1387344079,), (1387344095,), (1387344116,), (1387344119,), (1387344149,), (1387344402,), (1387344415,), (1387344454,), (1387344526,), (1387344549,), (1387344648,), (1387344651,), (1387344998,), (1387344666,), (1387344961,), (1387344963,), (1387344968,), (1387344984,), (1387345036,), (1387345038,), (1387345046,), (1387345052,), (1387345087,), (1387345090,), (1387345092,), (1387345110,), (1387345117,), (1387345120,), (1387345130,), (1387345143,), (1387345147,), (1387345149,), (1387345151,), (1387345168,), (1387345172,), (1387345176,), (1387345187,), (1387345204,), (1387345208,), (1387345211,), (1387345215,), (1387345219,), (1387345222,), (1387345285,), (1387345292,), (1387345294,), (1387345345,), (1387345346,), (1387345347,), (1387345389,), (1387345393,), (1387345398,), (1387345400,), (1387345404,), (1387346063,), (1387346065,), (1387346067,), (1387346331,), (1387346343,), (1387346345,), (1387346347,), (1387346349,), (1387346449,), (1387346455,), (1387346464,), (1387346573,), (1387403750,), (1387403751,), (1387403752,), (1387403780,), (1387403783,), (1387403785,), (1387403945,), (1387403948,), (1387404161,), (1387404163,), (1387404201,), (1387404203,), (1387404207,), (1387404477,), (1387410998,), (1387411084,), (1387411086,), (1387411116,), (1387411293,), (1387411347,), (1387411610,), (1387411711,), (1387412186,), (1387412185,), (1387412212,), (1387412268,), (1387412278,), (1387412280,), (1387412461,), (1387412464,), (1387412610,), (1387432304,), (1387432298,), (1387432336,), (1387432755,), (1387432757,), (1387432759,), (1387432772,), (1387432786,), (1387432852,), (1387432889,), (1387433192,), (1387433361,), (1387433363,), (1387433364,), (1387433367,), (1387433433,), (1387433437,), (1387433438,), (1387433442,), (1387433509,), (1387433513,), (1387433515,), (1387433518,), (1387433534,), (1387433538,), (1387433540,), (1387433542,), (1387433545,), (1387433504,), (1387433506,), (1387433524,), (1387433526,), (1387433528,), (1387433530,), (1387433532,), (1387433547,), (1387433624,), (1387433836,), (1387433842,), (1387433848,), (1387433878,), (1387433881,), (1387433883,), (1387433886,), (1387433889,), (1387433901,), (1387433905,), (1387433909,), (1387433918,), (1387433923,), (1387433927,), (1387433933,), (1387433937,), (1387433939,), (1387433942,), (1387433945,), (1387434006,), (1387434007,), (1387434034,), (1387434136,), (1387434140,), (1387434143,), (1387434158,), (1387434160,), (1387434201,), (1387434221,), (1387434222,), (1387434224,), (1387434241,), (1387434243,), (1387434245,), (1387434293,), (1387434294,), (1387434323,), (1387434326,), (1387434329,), (1387434333,), (1387434394,), (1387434396,), (1387434398,), (1387434405,), (1387434433,), (1387434454,), (1387434455,), (1387434456,), (1387434498,), (1387434762,), (1387434800,), (1387434817,), (1387434834,), (1387435300,), (1387435344,), (1387435346,), (1387435349,), (1387435368,), (1387435369,), (1387435370,), (1387435402,), (1387435404,), (1387435469,), (1387435472,), (1387435486,), (1387435496,), (1387435502,), (1387435524,), (1387435607,), (1387435609,), (1387435610,), (1387435613,), (1387435646,), (1387435600,), (1387435603,), (1387435623,), (1387435632,), (1387435637,), (1387435642,), (1387436588,), (1387436593,), (1387436598,), (1387436604,), (1387436611,), (1387436632,), (1387436894,), (1387436897,), (1387436900,), (1387436939,), (1387437061,), (1387437064,), (1387437070,), (1387437075,), (1387437186,), (1387437861,), (1387438020,), (1387438021,), (1387438030,), (1387438035,), (1387438039,), (1387438043,), (1387438046,), (1387438053,), (1387438562,), (1387438572,), (1387438582,), (1387438682,), (1387438946,), (1387439315,), (1387439350,), (1387439363,), (1387439366,), (1387439781,), (1387439785,), (1387439838,), (1387439847,), (1387439985,), (1387439987,), (1387439988,), (1387439990,), (1387440016,), (1387440022,), (1387440056,), (1387440218,), (1387440219,), (1387440226,), (1387440233,), (1387440390,), (1387440436,), (1387440534,), (1387440535,), (1387440542,), (1387440548,), (1387440554,), (1387440562,), (1387440568,), (1387440569,), (1387440600,), (1387440572,), (1387440573,), (1387440577,), (1387440581,), (1387440644,), (1387440646,), (1387440648,), (1387440889,), (1387440896,), (1387440900,), (1387440904,), (1387441011,), (1387441018,), (1387441028,), (1387441031,), (1387441079,), (1387441081,), (1387441082,), (1387441084,), (1387441117,), (1387441131,), (1387441138,), (1387441156,), (1387441249,), (1387444198,), (1387444419,), (1387446628,), (1387446630,), (1387447149,), (1387447157,), (1387447230,), (1387447234,), (1387447263,), (1387447332,), (1387447366,), (1387447372,), (1387447374,), (1387447377,), (1387447380,), (1387447408,), (1387447410,), (1387447411,), (1387448357,), (1387448360,), (1387448397,), (1387448401,), (1387448405,), (1387448424,), (1387448428,), (1387448706,), (1387448710,), (1387448715,), (1387448768,), (1387448842,), (1387448844,), (1387450078,), (1387450050,), (1387450076,), (1387450147,), (1387450148,), (1387450150,), (1387450156,), (1387450160,), (1387450164,), (1387450190,), (1387450193,), (1387450196,), (1387450221,), (1387450225,), (1387450229,), (1387450233,), (1387450429,), (1387450588,), (1387450590,), (1387450592,), (1387450595,), (1387450599,), (1387450603,), (1387450694,), (1387450696,), (1387450697,), (1387450699,), (1387450703,), (1387450707,), (1387450727,), (1387450730,), (1387450764,), (1387450767,), (1387450769,), (1387450772,), (1387450777,), (1387450805,), (1387450807,), (1387450810,), (1387450814,), (1387450823,), (1387450829,), (1387450837,), (1387450841,), (1387450843,), (1387450845,), (1387450849,), (1387450856,), (1387450859,), (1387450863,), (1387450867,), (1387450870,), (1387450874,), (1387450891,), (1387450895,), (1387450897,), (1387450926,), (1387450927,), (1387450928,), (1387450930,), (1387450983,), (1387450987,), (1387450988,), (1387450991,), (1387450996,), (1387451022,), (1387451024,), (1387451026,), (1387451083,), (1387451054,), (1387451057,), (1387451062,), (1387451114,), (1387451116,), (1387451142,), (1387451179,), (1387451181,), (1387451184,), (1387451186,), (1387451191,), (1387451194,), (1387451214,), (1387451215,), (1387451217,), (1387451224,), (1387451230,), (1387451248,), (1387451268,), (1387451270,), (1387451271,), (1387451272,), (1387451275,), (1387451277,), (1387451282,), (1387451286,), (1387451289,), (1387451294,), (1387451300,), (1387451325,), (1387451327,), (1387451330,), (1387451354,), (1387451355,), (1387451356,), (1387451360,), (1387451366,), (1387451376,), (1387451379,), (1387451380,), (1387451384,), (1387451389,), (1387451393,), (1387451431,), (1387451433,), (1387451435,), (1387451460,), (1387451461,), (1387451463,), (1387451467,), (1387451471,), (1387451475,), (1387451540,), (1387451543,), (1387451557,), (1387451561,), (1387451578,), (1387451580,), (1387451586,), (1387451590,), (1387451601,), (1387451641,), (1387451650,), (1387451662,), (1387451674,), (1387451987,), (1387451988,), (1387451989,), (1387451991,), (1387451996,), (1387452002,), (1387452101,), (1387452102,), (1387452106,), (1387452111,), (1387452122,), (1387452125,), (1387452135,), (1387452137,), (1387452144,), (1387452165,), (1387452149,), (1387452151,), (1387452154,), (1387452158,), (1387452161,), (1387452170,), (1387452173,), (1387452175,), (1387452178,), (1387452217,), (1387452219,), (1387452222,), (1387452225,), (1387452230,), (1387452253,), (1387452262,), (1387452274,), (1387452277,), (1387452283,), (1387452300,), (1387452301,), (1387452302,), (1387452305,), (1387452310,), (1387452314,), (1387452331,), (1387452333,), (1387452336,), (1387452340,), (1387452343,), (1387452351,), (1387452363,), (1387452367,), (1387452369,), (1387452370,), (1387452374,), (1387452379,), (1387452383,), (1387452430,), (1387452437,), (1387452438,), (1387452440,), (1387452473,), (1387452476,), (1387452479,), (1387452482,), (1387452486,), (1387452492,), (1387452515,), (1387452521,), (1387452524,), (1387452529,), (1387452535,), (1387452537,), (1387452542,), (1387452545,), (1387452549,), (1387452553,), (1387452556,), (1387452560,), (1387452563,), (1387452567,), (1387452576,), (1387452669,), (1387452683,), (1387452685,), (1387452688,), (1387452693,), (1387452701,), (1387452716,), (1387452720,), (1387452725,), (1387452730,), (1387452753,), (1387452756,), (1387452761,), (1387452765,), (1387452770,), (1387452777,), (1387452778,), (1387452780,), (1387452781,), (1387452803,), (1387452796,), (1387452849,), (1387452851,), (1387452853,), (1387452856,), (1387453789,), (1387453793,), (1387453796,), (1387453799,), (1387454291,), (1387455121,), (1387455151,), (1387455157,), (1387455177,), (1387455179,), (1387455182,), (1387455186,), (1387455263,), (1387455276,), (1387455456,), (1387455459,), (1387455460,), (1387455617,), (1387455618,), (1387455619,), (1387455621,), (1387455877,), (1387457165,), (1387457190,), (1387457192,), (1387457237,), (1387457238,), (1387457240,), (1387457244,), (1387457249,), (1387457268,), (1387457270,), (1387457273,), (1387457278,), (1387457285,), (1387457289,), (1387457292,), (1387457293,), (1387457294,), (1387457302,), (1387457297,), (1387457298,), (1387457314,), (1387457316,), (1387457317,), (1387457342,), (1387457362,), (1387457365,), (1387457367,), (1387457369,), (1387457374,), (1387457379,), (1387457534,), (1387457568,), (1387457569,), (1387457611,), (1387457663,), (1387457665,), (1387457666,), (1387457668,), (1387457689,), (1387457693,), (1387457696,), (1387457701,), (1387457704,), (1387457830,), (1387457869,), (1387457907,), (1387457922,), (1387457952,), (1387457953,), (1387457954,), (1387457990,), (1387457992,), (1387457994,), (1387457999,), (1387458004,), (1387458007,), (1387458014,), (1387458017,), (1387458019,), (1387458137,), (1387458138,), (1387458169,), (1387458216,), (1387458218,), (1387458219,), (1387458224,), (1387458226,), (1387458230,), (1387458241,), (1387458244,), (1387458248,), (1387458253,), (1387458257,), (1387458300,), (1387458306,), (1387458307,), (1387458309,), (1387458316,), (1387458601,), (1387458602,), (1387458604,), (1387458674,), (1387458677,), (1387458681,), (1387458722,), (1387458725,), (1387458826,), (1387458828,), (1387458870,), (1387458872,), (1387458901,), (1387458694,), (1387458695,), (1387458697,), (1387458704,), (1387458945,), (1387458948,), (1387458951,), (1387458954,), (1387458957,), (1387458961,), (1387458963,), (1387458964,), (1387458977,), (1387458979,), (1387458981,), (1387458984,), (1387458988,), (1387458996,), (1387458997,), (1387458999,), (1387459181,), (1387459185,), (1387459193,), (1387459234,), (1387459274,), (1387459275,), (1387459277,), (1387459279,), (1387459366,), (1387459372,), (1387459461,), (1387459482,), (1387459491,), (1387459494,), (1387459498,), (1387459502,), (1387459629,), (1387459669,), (1387459701,), (1387459704,), (1387459721,), (1387459723,), (1387459725,), (1387459729,), (1387459764,), (1387459770,), (1387459772,), (1387459776,), (1387459782,), (1387459812,), (1387459816,), (1387459819,), (1387459822,), (1387459826,), (1387459832,), (1387459841,), (1387459842,), (1387459843,), (1387459845,), (1387459848,), (1387459851,), (1387460318,), (1387460334,), (1387460336,), (1387460339,), (1387460497,), (1387460499,), (1387460501,), (1387460619,), (1387460624,), (1387460628,), (1387460851,), (1387460852,), (1387460855,), (1387460858,), (1387460865,), (1387460871,), (1387460876,), (1387460878,), (1387460879,), (1387460880,), (1387460900,), (1387460882,), (1387460887,), (1387460891,), (1387460894,), (1387460897,), (1387460909,), (1387460910,), (1387460911,), (1387460913,), (1387460918,), (1387460927,), (1387460953,), (1387460961,), (1387460963,), (1387461440,), (1387461441,), (1387461627,), (1387461629,), (1387461674,), (1387461685,), (1387461688,), (1387461703,), (1387461736,), (1387461737,), (1387461738,), (1387461740,), (1387461743,), (1387461746,), (1387461763,), (1387461764,), (1387461766,), (1387461769,), (1387461773,), (1387461782,), (1387461789,), (1387461850,), (1387461886,), (1387461908,), (1387461947,), (1387461985,), (1387461988,), (1387461993,), (1387461996,), (1387462012,), (1387462016,), (1387462018,), (1387462021,), (1387462044,), (1387462047,), (1387462049,), (1387462052,), (1387462055,), (1387462058,), (1387462087,), (1387462090,), (1387462094,), (1387462098,), (1387462154,), (1387462160,), (1387462799,), (1387462874,), (1387462876,), (1387462878,), (1387462881,), (1387462884,), (1387462124,), (1387462140,), (1387462146,), (1387462150,), (1387462890,), (1387462892,), (1387462894,), (1387462896,), (1387462898,), (1387462900,), (1387463206,), (1387463259,), (1387463261,), (1387463502,), (1387463939,), (1387463951,), (1387463955,), (1387463958,), (1387463961,), (1387464201,), (1387464203,), (1387464236,), (1387464249,), (1387464288,), (1387464296,), (1387464339,), (1387464624,), (1387464627,), (1387464629,), (1387464692,), (1387464732,), (1387464737,), (1387464740,), (1387464743,), (1387464748,), (1387464757,), (1387464766,), (1387464773,), (1387464780,), (1387464788,), (1387464792,), (1387464805,), (1387464807,), (1387464811,), (1387464815,), (1387464830,), (1387464832,), (1387464833,), (1387464835,), (1387464839,), (1387464850,), (1387464880,), (1387464917,), (1387464920,), (1387464922,), (1387464926,), (1387464930,), (1387465095,), (1387465097,), (1387465135,), (1387465139,), (1387466018,), (1387466021,), (1387466208,), (1387466218,), (1387466445,), (1387466454,), (1387466459,), (1387466477,), (1387466483,), (1387466741,), (1387466753,), (1387466755,), (1387467562,), (1387467564,), (1387467580,), (1387467596,), (1387467678,), (1387467700,), (1387467714,), (1387467718,), (1387467739,), (1387467946,), (1387468111,), (1387468114,), (1387468125,), (1387468267,), (1387468338,), (1387468339,), (1387468366,), (1387468372,), (1387468379,), (1387468381,), (1387468616,), (1387468617,), (1387468651,), (1387468672,), (1387468684,), (1387468734,), (1387468736,), (1387468740,), (1387468744,), (1387468758,), (1387468762,), (1387468769,), (1387468770,), (1387468771,), (1387468773,), (1387468777,), (1387468780,), (1387468783,), (1387469099,), (1387469101,), (1387469104,), (1387469127,), (1387469130,), (1387469132,), (1387469134,), (1387469161,), (1387469162,), (1387469164,), (1387469169,), (1387469172,), (1387469175,), (1387469180,), (1387469182,), (1387469183,), (1387469189,), (1387469200,), (1387469203,), (1387469208,), (1387469212,), (1387469252,), (1387469260,), (1387469290,), (1387469292,), (1387469321,), (1387469324,), (1387469358,), (1387469360,), (1387469361,), (1387469365,), (1387469370,), (1387469374,), (1387469397,), (1387469388,), (1387469390,), (1387469391,), (1387469394,), (1387469415,), (1387469416,), (1387469417,), (1387469432,), (1387469435,), (1387469437,), (1387469440,), (1387469444,), (1387469454,), (1387469479,), (1387469480,), (1387469481,), (1387469483,), (1387469510,), (1387469511,), (1387469514,), (1387469533,), (1387469536,), (1387469544,), (1387469549,), (1387469550,), (1387469551,), (1387469553,), (1387469555,), (1387469558,), (1387469561,), (1387469565,), (1387469901,), (1387469913,), (1387469915,), (1387469918,), (1387469925,), (1387469939,), (1387469940,), (1387469941,), (1387469943,), (1387469966,), (1387469968,), (1387469969,), (1387469971,), (1387470007,), (1387470011,), (1387470029,), (1387470039,), (1387470042,), (1387470048,), (1387470089,), (1387470093,), (1387470096,), (1387470101,), (1387470108,), (1387470129,), (1387470160,), (1387470164,), (1387470166,), (1387470201,), (1387470231,), (1387470235,), (1387470237,), (1387470262,), (1387470285,), (1387470288,), (1387470289,), (1387470328,), (1387470331,), (1387470334,), (1387470337,), (1387470341,), (1387470360,), (1387470372,), (1387470373,), (1387470375,), (1387470449,), (1387470450,), (1387470451,), (1387470454,), (1387470551,), (1387470553,), (1387470576,), (1387470577,), (1387470578,), (1387470580,), (1387470583,), (1387470586,), (1387470646,), (1387470648,), (1387470650,), (1387470653,), (1387470672,), (1387470673,), (1387470674,), (1387470676,), (1387470690,), (1387470701,), (1387470703,), (1387470707,), (1387470713,), (1387470716,), (1387470719,), (1387471751,), (1387480954,), (1387480955,), (1387480995,), (1387480997,), (1387481037,), (1387482192,), (1387482193,), (1387482194,), (1387482202,), (1387482226,), (1387482232,), (1387482910,), (1387482911,), (1387482913,), (1387482917,), (1387482921,), (1387482959,), (1387482962,), (1387482963,), (1387483294,), (1387483296,), (1387483298,), (1387483302,), (1387483481,), (1387483467,), (1387483470,), (1387483474,), (1387483478,), (1387483495,), (1387483496,), (1387483497,), (1387483511,), (1387483513,), (1387483514,), (1387483517,), (1387483522,), (1387483552,), (1387483555,), (1387483557,), (1387483562,), (1387483580,), (1387483581,), (1387483583,), (1387483585,), (1387483588,), (1387483598,), (1387483610,), (1387483613,), (1387483618,), (1387483620,), (1387483864,), (1387484710,), (1387484712,), (1387484713,), (1387484716,), (1387484733,), (1387485001,), (1387485196,), (1387485201,), (1387485220,), (1387485222,), (1387485223,), (1387485225,), (1387485228,), (1387485250,), (1387485253,), (1387485256,), (1387485259,), (1387485262,), (1387485278,), (1387485280,), (1387485281,), (1387485284,), (1387485290,), (1387485294,), (1387485301,), (1387485302,), (1387485303,), (1387485322,), (1387485326,), (1387485328,), (1387485334,), (1387485337,), (1387485801,), (1387486213,), (1387486216,), (1387486255,), (1387486259,), (1387486263,), (1387486266,), (1387486293,), (1387486294,), (1387486295,), (1387486298,), (1387487023,), (1387486817,), (1387486818,), (1387486819,), (1387487013,), (1387487094,), (1387487098,), (1387487100,), (1387487319,), (1387488344,), (1387490323,), (1387490371,), (1387490417,), (1387490462,), (1387490589,), (1387490592,), (1387490595,), (1387490597,), (1387490600,), (1387490605,), (1387490613,), (1387490733,), (1387490781,), (1387490833,), (1387491018,), (1387491021,), (1387491022,), (1387491024,), (1387491027,), (1387491045,), (1387491047,), (1387491049,), (1387491052,), (1387491951,), (1387491956,), (1387491961,), (1387492131,), (1387492431,), (1387492434,), (1387492436,), (1387492438,), (1387492685,), (1387492464,), (1387492471,), (1387492663,), (1387493055,), (1387493064,), (1387493067,), (1387493145,), (1387493190,), (1387493235,), (1387493288,), (1387493336,), (1387493383,), (1387493675,), (1387493718,), (1387493762,), (1387493808,), (1387493862,), (1387493911,), (1387495181,), (1387495185,), (1387495194,), (1387495199,), (1387495203,), (1387495206,), (1387495529,), (1387495530,), (1387495531,), (1387495533,), (1387495625,), (1387495966,), (1387496003,), (1387496614,), (1387496697,), (1387496777,), (1387496856,), (1387497448,), (1387497477,), (1387497479,), (1387497482,), (1387497500,), (1387497501,), (1387497541,), (1387497857,), (1387497866,), (1387497869,), (1387497872,), (1387497873,), (1387497881,), (1387497885,), (1387497888,), (1387497890,), (1387497893,), (1387497916,), (1387497919,), (1387497920,), (1387497924,), (1387497953,), (1387497967,), (1387497973,), (1387497988,), (1387497990,), (1387497992,), (1387498011,), (1387498013,), (1387498015,), (1387498047,), (1387498043,), (1387498065,), (1387498098,), (1387498100,), (1387498101,), (1387498103,), (1387498107,), (1387498109,), (1387498126,), (1387498129,), (1387498130,), (1387498158,), (1387498161,), (1387498163,), (1387498165,), (1387498177,), (1387498178,), (1387498180,), (1387498183,), (1387498188,), (1387498205,), (1387498206,), (1387498207,), (1387498218,), (1387498777,), (1387499580,), (1387499640,), (1387499686,), (1387499803,), (1387499804,), (1387499806,), (1387499809,), (1387499817,), (1387499820,), (1387499826,), (1387499828,), (1387499829,), (1387499830,), (1387499871,), (1387499917,), (1387499962,), (1387500005,), (1387500367,), (1387500411,), (1387500453,), (1387500496,), (1387500794,), (1387500796,), (1387500798,), (1387500801,), (1387500804,), (1387500846,), (1387500847,), (1387500848,), (1387500850,), (1387500853,), (1387500860,), (1387500870,), (1387500872,), (1387500874,), (1387500877,), (1387500880,), (1387500883,), (1387501544,), (1387501361,), (1387501500,), (1387501501,), (1387501541,), (1387501777,), (1387501786,), (1387501788,), (1387501867,), (1387501868,), (1387501870,), (1387501897,), (1387501899,), (1387501900,), (1387501902,), (1387501905,), (1387501908,), (1387501915,), (1387501918,), (1387501922,), (1387501930,), (1387501936,), (1387501939,), (1387501943,), (1387501944,), (1387501945,), (1387501947,), (1387501949,), (1387503105,), (1387503131,), (1387503137,), (1387503374,), (1387503444,), (1387503490,), (1387503568,), (1387503574,), (1387503707,), (1387503709,), (1387503710,), (1387503712,), (1387503716,), (1387504267,), (1387504789,), (1387504809,), (1387504811,), (1387504814,), (1387504844,), (1387504846,), (1387504847,), (1387504849,), (1387506067,), (1387506145,), (1387506161,), (1387506168,), (1387506171,), (1387506175,), (1387506182,), (1387506184,), (1387506448,), (1387506459,), (1387506464,), (1387506465,), (1387506521,), (1387506524,), (1387506615,), (1387506616,), (1387506617,), (1387506622,), (1387506627,), (1387506633,), (1387507647,), (1387507692,), (1387507736,), (1387507783,), (1387507829,), (1387508734,), (1387508772,), (1387508815,), (1387508864,), (1387508969,), (1387509023,), (1387509079,), (1387509248,), (1387509253,), (1387509254,), (1387509296,), (1387509365,), (1387509351,), (1387509353,), (1387509357,), (1387509361,), (1387509372,), (1387509373,), (1387509374,), (1387509690,), (1387509736,), (1387509743,), (1387509764,), (1387509771,), (1387509775,), (1387509786,), (1387509787,), (1387509788,), (1387509790,), (1387509809,), (1387509810,), (1387509812,), (1387509816,), (1387509829,), (1387509831,), (1387509833,), (1387509870,), (1387509879,), (1387509881,), (1387509884,), (1387509888,), (1387509891,), (1387510494,), (1387510871,), (1387510910,), (1387510954,), (1387510996,), (1387511134,), (1387511148,), (1387511154,), (1387511470,), (1387511639,), (1387511640,), (1387511643,), (1387511646,), (1387511657,), (1387511660,), (1387511666,), (1387511667,), (1387511668,), (1387511671,), (1387511674,), (1387511678,), (1387511681,), (1387511684,), (1387511689,), (1387511690,), (1387511691,), (1387511693,), (1387511738,), (1387511740,), (1387511742,), (1387511745,), (1387511749,), (1387511753,), (1387512134,), (1387512142,), (1387512154,), (1387512158,), (1387512161,), (1387512166,), (1387512168,), (1387512170,), (1387512172,), (1387512177,), (1387512216,), (1387512218,), (1387512219,), (1387512220,), (1387512222,), (1387512225,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'02102025': {'nb_upload': 45, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27452671]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] map_info['map_portfolio_photo'] : {27452671: [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796]} final : True mtd_id 4302 list_pids : [1387457302, 1387457294, 1387457293, 1387457292, 1387457289, 1387457285, 1387457278, 1387457273, 1387457270, 1387457268, 1387457249, 1387457244, 1387457240, 1387457238, 1387457237, 1387457192, 1387457190, 1387457165, 1387455877, 1387455621, 1387455619, 1387455618, 1387455617, 1387455460, 1387455459, 1387455456, 1387455276, 1387455263, 1387455186, 1387455182, 1387455179, 1387455177, 1387455157, 1387455151, 1387455121, 1387454291, 1387453799, 1387453796, 1387453793, 1387453789, 1387452856, 1387452853, 1387452851, 1387452849, 1387452796] Looping around the photos to save general results len do output : 1 /27452671Didn'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, '3827767') ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767') ('4302', None, None, None, None, None, None, None, '3827767') ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 46 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, '27452671', 'None', None, None, None, None, '3827767'), ('4302', '27452671', '1387457302', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457294', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457293', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457292', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457289', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457285', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457278', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457273', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457270', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457268', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457249', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457244', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457240', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457238', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457237', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457192', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457190', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387457165', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455877', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455621', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455619', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455618', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455617', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455460', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455459', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455456', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455276', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455263', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455186', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455182', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455179', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455177', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455157', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455151', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387455121', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387454291', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453799', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453796', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453793', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387453789', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452856', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452853', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452851', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452849', None, None, None, None, None, '3827767'), ('4302', '27452671', '1387452796', None, None, None, None, None, '3827767')] time used for this insertion : 0.039305686950683594 save_final save missing photos in datou_result : time spend for datou_step_exec : 13.472200632095337 time spend to save output : 0.03974628448486328 total time spend for step 5 : 13.5119469165802 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 (3827767) 3.35user 2.38system 0:35.69elapsed 16%CPU (0avgtext+0avgdata 168048maxresident)k 792inputs+34912outputs (0major+89158minor)pagefaults 0swaps