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 : 1352843 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 (3744876) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (3744876) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010269 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['3744876'] with mtr_portfolio_ids : ['27010269'] and first list_photo_ids : [] new path : /proc/1352843/ Name: python3 Umask: 0002 State: R (running) Tgid: 1352843 Ngid: 0 Pid: 1352843 PPid: 1352842 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 1352843 NSpid: 1352843 NSpgid: 1352445 NSsid: 1352445 VmPeak: 1107252 kB VmSize: 1107252 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99204 kB VmRSS: 99204 kB RssAnon: 60168 kB RssFile: 39036 kB RssShmem: 0 kB VmData: 866004 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 564 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: 48 nonvoluntary_ctxt_switches: 97 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '1352843', 'Ngid': '0', 'Pid': '1352843', 'PPid': '1352842', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '1352843', 'NSpid': '1352843', 'NSpgid': '1352445', 'NSsid': '1352445', 'VmPeak': '1107252 kB', 'VmSize': '1107252 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99204 kB', 'VmRSS': '99204 kB', 'RssAnon': '60168 kB', 'RssFile': '39036 kB', 'RssShmem': '0 kB', 'VmData': '866004 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '564 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': '48', 'nonvoluntary_ctxt_switches': '97'} ('datou_batch_current', '1352843', '1107252', '0', '1107252', '866004', '99204', b'', 'marlene', '3744876') insert ignore into MTRAdmin.mem_info (script_name, PID, VMpeak,VMswap,VMsize,VMdata,VMrss,GPU_ram, hostname, mtr_current_id) VALUES (%s,%s,%s,%s,%s,%s,%s,%s,%s,%s) Inside batchDatouExec : verbose : True ##### chargement datou SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 5 of step 11884 doesn't seem to be define in the database( DataTypes for each output/input checked ! no param json to modify List Step Type Loaded in datou : ventilate_hashtags_in_portfolio, final, velours_tree, send_mail_cod, split_time_score over limit max, limiting to limit_max 200 list_input_json : [] ##### fin chargement datou ##### chargement data ##### Call load_data_input : nb_thread : 1 origin SELECT ph.photo_id, ph.url FROM MTRBack.photos ph WHERE ph.photo_id IN (SELECT mtr_photo_id from MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id in (27010269) 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 (3744876 ) ) 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 (27010269) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1384941239, 'portfolio_id': 27010269}, {'photo_id': 1384941199, 'portfolio_id': 27010269}, {'photo_id': 1384941198, 'portfolio_id': 27010269}, {'photo_id': 1384941189, 'portfolio_id': 27010269}, {'photo_id': 1384941188, 'portfolio_id': 27010269}, {'photo_id': 1384941169, 'portfolio_id': 27010269}, {'photo_id': 1384941168, 'portfolio_id': 27010269}, {'photo_id': 1384941166, 'portfolio_id': 27010269}, {'photo_id': 1384941130, 'portfolio_id': 27010269}, {'photo_id': 1384941128, 'portfolio_id': 27010269}, {'photo_id': 1384941126, 'portfolio_id': 27010269}, {'photo_id': 1384941123, 'portfolio_id': 27010269}, {'photo_id': 1384941122, 'portfolio_id': 27010269}, {'photo_id': 1384941111, 'portfolio_id': 27010269}, {'photo_id': 1384941107, 'portfolio_id': 27010269}, {'photo_id': 1384941102, 'portfolio_id': 27010269}, {'photo_id': 1384941099, 'portfolio_id': 27010269}, {'photo_id': 1384941096, 'portfolio_id': 27010269}, {'photo_id': 1384940864, 'portfolio_id': 27010269}, {'photo_id': 1384940862, 'portfolio_id': 27010269}, {'photo_id': 1384940860, 'portfolio_id': 27010269}, {'photo_id': 1384940855, 'portfolio_id': 27010269}, {'photo_id': 1384940822, 'portfolio_id': 27010269}, {'photo_id': 1384940592, 'portfolio_id': 27010269}, {'photo_id': 1384940580, 'portfolio_id': 27010269}, {'photo_id': 1384940579, 'portfolio_id': 27010269}, {'photo_id': 1384940578, 'portfolio_id': 27010269}, {'photo_id': 1384940528, 'portfolio_id': 27010269}, {'photo_id': 1384940481, 'portfolio_id': 27010269}, {'photo_id': 1384940452, 'portfolio_id': 27010269}, {'photo_id': 1384940257, 'portfolio_id': 27010269}, {'photo_id': 1384940208, 'portfolio_id': 27010269}, {'photo_id': 1384940102, 'portfolio_id': 27010269}, {'photo_id': 1384940038, 'portfolio_id': 27010269}, {'photo_id': 1384939917, 'portfolio_id': 27010269}, {'photo_id': 1384938654, 'portfolio_id': 27010269}, {'photo_id': 1384937960, 'portfolio_id': 27010269}] map_portfolio_id_photo_id: {27010269: [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960]} ##### 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.028005123138427734 #### 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 Sep 19 05:47:27 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 (27010269) 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 : 27010269 get user id for portfolio 27010269 get sub ptf for main ptf 27010269, type 3726 and hashtags ['papier', 'flou', 'metal', 'mal_croppe', 'Carton_gris', 'cartonnette', 'Carton_brun', 'environnement', 'Teint_Dans_La_Masse', 'kraft', 'autre_refus', 'plastique'] 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`=27010269 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','metal','mal_croppe','Carton_gris','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','plastique')) 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`=27010269 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','metal','mal_croppe','Carton_gris','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27010269, 'sub_port_id': 27010274, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224646, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'mal_croppe': {'main_port_id': 27010269, 'sub_port_id': 27010275, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224647, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'autre_refus': {'main_port_id': 27010269, 'sub_port_id': 27010276, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224648, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'kraft': {'main_port_id': 27010269, 'sub_port_id': 27010277, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224649, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'flou': {'main_port_id': 27010269, 'sub_port_id': 27010278, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224650, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'Carton_brun': {'main_port_id': 27010269, 'sub_port_id': 27010279, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224651, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'Teint_Dans_La_Masse': {'main_port_id': 27010269, 'sub_port_id': 27010280, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224652, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'Carton_gris': {'main_port_id': 27010269, 'sub_port_id': 27010281, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224653, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'metal': {'main_port_id': 27010269, 'sub_port_id': 27010282, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224654, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'cartonnette': {'main_port_id': 27010269, 'sub_port_id': 27010283, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224655, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'plastique': {'main_port_id': 27010269, 'sub_port_id': 27010284, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224656, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}, 'environnement': {'main_port_id': 27010269, 'sub_port_id': 27010285, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224657, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 58), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 57)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 27010274 , 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=27010269 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 (27010274) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010275 , 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=27010269 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 (27010275) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010276 , 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=27010269 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 (27010276) result : ((1384941209,), (1384941283,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010277 , 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=27010269 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 (27010277) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010278 , 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=27010269 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 (27010278) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010279 , 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=27010269 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 (27010279) result : ((1384941109,), (1384941120,), (1384941228,), (1384941229,), (1384941248,), (1384941249,), (1384941286,), (1384945612,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010280 , 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=27010269 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 (27010280) result : ((1384941103,), (1384941113,), (1384941114,), (1384941115,), (1384941116,), (1384941117,), (1384941175,), (1384941176,), (1384941177,), (1384941179,), (1384941207,), (1384941208,), (1384941225,), (1384941226,), (1384941227,), (1384941244,), (1384941280,), (1384941281,), (1384941282,), (1384945553,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010281 , 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=27010269 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 (27010281) result : ((1384941104,), (1384941118,), (1384941180,), (1384941210,), (1384941245,), (1384941284,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010282 , 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=27010269 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 (27010282) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010283 , 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=27010269 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 (27010283) result : ((1384941105,), (1384941106,), (1384941119,), (1384941181,), (1384941212,), (1384941213,), (1384941214,), (1384941246,), (1384941247,), (1384941285,), (1384945555,), (1384945556,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010284 , 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=27010269 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 (27010284) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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 27010285 , 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=27010269 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 (27010285) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (27010269) result : ((1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,)) 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`=27010269 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','metal','mal_croppe','Carton_gris','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','plastique')) 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`=27010269 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('papier','flou','metal','mal_croppe','Carton_gris','cartonnette','Carton_brun','environnement','Teint_Dans_La_Masse','kraft','autre_refus','plastique')) AND mptpi.`min_score`=0.5 To do returned map {'papier': {'main_port_id': 27010269, 'sub_port_id': 27010287, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224658, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'mal_croppe': {'main_port_id': 27010269, 'sub_port_id': 27010288, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224659, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'autre_refus': {'main_port_id': 27010269, 'sub_port_id': 27010289, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224660, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'kraft': {'main_port_id': 27010269, 'sub_port_id': 27010290, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224661, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'flou': {'main_port_id': 27010269, 'sub_port_id': 27010291, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224662, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'Carton_brun': {'main_port_id': 27010269, 'sub_port_id': 27010292, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224663, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'Teint_Dans_La_Masse': {'main_port_id': 27010269, 'sub_port_id': 27010293, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224664, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'Carton_gris': {'main_port_id': 27010269, 'sub_port_id': 27010294, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224665, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'metal': {'main_port_id': 27010269, 'sub_port_id': 27010295, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224666, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'cartonnette': {'main_port_id': 27010269, 'sub_port_id': 27010296, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224667, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'plastique': {'main_port_id': 27010269, 'sub_port_id': 27010297, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224668, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 4, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}, 'environnement': {'main_port_id': 27010269, 'sub_port_id': 27010298, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 18224669, 'last_updated_at': datetime.datetime(2025, 9, 18, 21, 18, 59), 'last_updated_at_desc': datetime.datetime(2025, 9, 18, 21, 18, 59), 'last_updated_at_asc': datetime.datetime(2025, 9, 18, 21, 4, 59)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010287,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010274 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010288,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010275 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010289,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010276 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010290,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010277 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010291,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010278 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010292,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010279 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010293,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010280 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010294,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010281 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010295,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010282 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010296,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010283 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010297,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010284 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 27010298,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 27010285 lien utilise dans velours : https://marlene.fotonower.com/velours/27010287,27010288,27010289,27010290,27010291,27010292,27010293,27010294,27010295,27010296,27010297,27010298?tags=papier,mal_croppe,autre_refus,kraft,flou,Carton_brun,Teint_Dans_La_Masse,Carton_gris,metal,cartonnette,plastique,environnement After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27010269]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] map_info['map_portfolio_photo'] : {27010269: [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960]} final : False mtd_id 4302 list_pids : [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] Looping around the photos to save general results len do output : 1 /27010269. 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, '3744876') ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27010269', "{'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285}", None, None, None, None, '3744876'), ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876')] time used for this insertion : 0.019126415252685547 save_final save missing photos in datou_result : time spend for datou_step_exec : 1.7733685970306396 time spend to save output : 0.019609451293945312 total time spend for step 1 : 1.792978048324585 step2:final Fri Sep 19 05:47:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27010269) 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 27010269 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1384937960,1384938654,1384940257,1384940208,1384940102,1384939917,1384940038,1384940528,1384940481,1384940452,1384940592,1384940580,1384940579,1384940578,1384940864,1384940862,1384940860,1384940855,1384940822,1384941111,1384941107,1384941102,1384941099,1384941096,1384941130,1384941128,1384941126,1384941123,1384941122,1384941169,1384941168,1384941166,1384941189,1384941188,1384941199,1384941198,1384941239); 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([27010269]) Inside saveOutput : final : False verbose : True original output for save of step final : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} new output for save of step final : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] map_info['map_portfolio_photo'] : {27010269: [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960]} final : False mtd_id 4302 list_pids : [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] Looping around the photos to save general results len do output : 37 /1384941239.Didn't retrieve data . /1384941199.Didn't retrieve data . /1384941198.Didn't retrieve data . /1384941189.Didn't retrieve data . /1384941188.Didn't retrieve data . /1384941169.Didn't retrieve data . /1384941168.Didn't retrieve data . /1384941166.Didn't retrieve data . /1384941130.Didn't retrieve data . /1384941128.Didn't retrieve data . /1384941126.Didn't retrieve data . /1384941123.Didn't retrieve data . /1384941122.Didn't retrieve data . /1384941111.Didn't retrieve data . /1384941107.Didn't retrieve data . /1384941102.Didn't retrieve data . /1384941099.Didn't retrieve data . /1384941096.Didn't retrieve data . /1384940864.Didn't retrieve data . /1384940862.Didn't retrieve data . /1384940860.Didn't retrieve data . /1384940855.Didn't retrieve data . /1384940822.Didn't retrieve data . /1384940592.Didn't retrieve data . /1384940580.Didn't retrieve data . /1384940579.Didn't retrieve data . /1384940578.Didn't retrieve data . /1384940528.Didn't retrieve data . /1384940481.Didn't retrieve data . /1384940452.Didn't retrieve data . /1384940257.Didn't retrieve data . /1384940208.Didn't retrieve data . /1384940102.Didn't retrieve data . /1384940038.Didn't retrieve data . /1384939917.Didn't retrieve data . /1384938654.Didn't retrieve data . /1384937960.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, '3744876') ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 111 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', '27010269', '1384941239', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941199', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941198', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941189', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941188', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941169', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941168', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941166', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941130', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941128', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941126', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941123', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941122', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941111', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941107', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941102', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941099', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384941096', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940864', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940862', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940860', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940855', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940822', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940592', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940580', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940579', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940578', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940528', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940481', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940452', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940257', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940208', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940102', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384940038', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384939917', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384938654', '0.05963759825267842', None, None, None, None, '3744876'), ('4302', '27010269', '1384937960', '0.05963759825267842', None, None, None, None, '3744876')] time used for this insertion : 0.02008819580078125 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.07411742210388184 time spend to save output : 0.021507740020751953 total time spend for step 2 : 0.09562516212463379 step3:velours_tree Fri Sep 19 05:47:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {27010269: [{'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285}]} input_args_next_step : {27010269: ()} output_args : {27010269: [{'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285}]} args : 27010269 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 : ({'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27010269) 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([27010269]) 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.2892730236053467 time spend to save output : 5.221366882324219e-05 total time spend for step 3 : 0.2893252372741699 step4:send_mail_cod Fri Sep 19 05:47:29 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} input_args_next_step : {1384941239: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941239 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941199 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941198 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941189 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941188 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941169 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941168 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941166 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941130 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941128 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941126 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941123 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941122 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941111 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941107 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941102 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941099 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384941096 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940864 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940862 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940860 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940855 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940822 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940592 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940580 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940579 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940578 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940528 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940481 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940452 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940257 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940208 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940102 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384940038 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384939917 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384938654 depend.output_id : 0 input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ()} output_args : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',)} args : 1384937960 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 : {27010269: [{'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285}]} input_args_next_step : {1384941239: ('0.05963759825267842',), 1384941199: ('0.05963759825267842',), 1384941198: ('0.05963759825267842',), 1384941189: ('0.05963759825267842',), 1384941188: ('0.05963759825267842',), 1384941169: ('0.05963759825267842',), 1384941168: ('0.05963759825267842',), 1384941166: ('0.05963759825267842',), 1384941130: ('0.05963759825267842',), 1384941128: ('0.05963759825267842',), 1384941126: ('0.05963759825267842',), 1384941123: ('0.05963759825267842',), 1384941122: ('0.05963759825267842',), 1384941111: ('0.05963759825267842',), 1384941107: ('0.05963759825267842',), 1384941102: ('0.05963759825267842',), 1384941099: ('0.05963759825267842',), 1384941096: ('0.05963759825267842',), 1384940864: ('0.05963759825267842',), 1384940862: ('0.05963759825267842',), 1384940860: ('0.05963759825267842',), 1384940855: ('0.05963759825267842',), 1384940822: ('0.05963759825267842',), 1384940592: ('0.05963759825267842',), 1384940580: ('0.05963759825267842',), 1384940579: ('0.05963759825267842',), 1384940578: ('0.05963759825267842',), 1384940528: ('0.05963759825267842',), 1384940481: ('0.05963759825267842',), 1384940452: ('0.05963759825267842',), 1384940257: ('0.05963759825267842',), 1384940208: ('0.05963759825267842',), 1384940102: ('0.05963759825267842',), 1384940038: ('0.05963759825267842',), 1384939917: ('0.05963759825267842',), 1384938654: ('0.05963759825267842',), 1384937960: ('0.05963759825267842',), 27010269: ()} output_args : {27010269: [{'papier': 27010274, 'mal_croppe': 27010275, 'autre_refus': 27010276, 'kraft': 27010277, 'flou': 27010278, 'Carton_brun': 27010279, 'Teint_Dans_La_Masse': 27010280, 'Carton_gris': 27010281, 'metal': 27010282, 'cartonnette': 27010283, 'plastique': 27010284, 'environnement': 27010285}]} args : 27010269 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 :38, first value : ('0.05963759825267842',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27010269) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {} map_subphoto_mainphoto : {} dans la step send mail cod work_area: /home/admin/workarea/git/Velours/python in order to get the selector url, please entre the license of selector SELECT photo_id, url FROM MTRBack.photos ph WHERE photo_id IN (1384941239,1384941199,1384941198,1384941189,1384941188,1384941169,1384941168,1384941166,1384941130,1384941128,1384941126,1384941123,1384941122,1384941111,1384941107,1384941102,1384941099,1384941096,1384940864,1384940862,1384940860,1384940855,1384940822,1384940592,1384940580,1384940579,1384940578,1384940528,1384940481,1384940452,1384940257,1384940208,1384940102,1384940038,1384939917,1384938654,1384937960) Found this number of photos: 37 ##### Call download_photos : nb_thread : 5 begin to download photo : 1384937960 begin to download photo : 1384940481 begin to download photo : 1384940860 begin to download photo : 1384941122 begin to download photo : 1384941188 download finish for photo 1384941122 begin to download photo : 1384941123 download finish for photo 1384940860 begin to download photo : 1384940862 download finish for photo 1384937960 begin to download photo : 1384938654 download finish for photo 1384940481 begin to download photo : 1384940528 download finish for photo 1384941188 begin to download photo : 1384941189 download finish for photo 1384941123 begin to download photo : 1384941126 download finish for photo 1384940862 begin to download photo : 1384940864 download finish for photo 1384940528 begin to download photo : 1384940578 download finish for photo 1384938654 begin to download photo : 1384939917 download finish for photo 1384941189 begin to download photo : 1384941198 download finish for photo 1384941126 begin to download photo : 1384941128 download finish for photo 1384940864 begin to download photo : 1384941096 download finish for photo 1384939917 begin to download photo : 1384940038 download finish for photo 1384940578 begin to download photo : 1384940579 download finish for photo 1384941198 begin to download photo : 1384941199 download finish for photo 1384941128 begin to download photo : 1384941130 download finish for photo 1384941096 begin to download photo : 1384941099 download finish for photo 1384940038 begin to download photo : 1384940102 download finish for photo 1384940579 begin to download photo : 1384940580 download finish for photo 1384941199 begin to download photo : 1384941239 download finish for photo 1384941130 begin to download photo : 1384941166 download finish for photo 1384941099 begin to download photo : 1384941102 download finish for photo 1384940102 begin to download photo : 1384940208 download finish for photo 1384940580 begin to download photo : 1384940592 download finish for photo 1384941239 download finish for photo 1384941166 begin to download photo : 1384941168 download finish for photo 1384941102 begin to download photo : 1384941107 download finish for photo 1384940592 begin to download photo : 1384940822 download finish for photo 1384940208 begin to download photo : 1384940257 download finish for photo 1384941168 begin to download photo : 1384941169 download finish for photo 1384941107 begin to download photo : 1384941111 download finish for photo 1384940822 begin to download photo : 1384940855 download finish for photo 1384940257 begin to download photo : 1384940452 download finish for photo 1384941169 download finish for photo 1384941111 download finish for photo 1384940855 download finish for photo 1384940452 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos imagette270102751758253651/ length of list_filenames : 37 ; length of list_pids : 37 ; length of list_args : 37 results_Auto_P27010269_19-09-2025_05_47_31.pdf 27010275 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010275 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270102751758253651 27010276 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010276 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384941209: '1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872263_0.png', 1384941283: '1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881096_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/4c1991e360c15d2a7caced80a7639205_70519688.png change filename to text .imagette270102761758253651/ imagette270102761758253651/1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881096_0.png.png imagette270102761758253651/1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872263_0.png.png imagette270102771758253651/ imagette270102781758253651/ imagette270102821758253651/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/3ec3c250df15df6b36e487ed0c2e6865_40550680.png imagette270102761758253651 27010277 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010277 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270102771758253651 27010278 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010278 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270102781758253651 27010282 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010282 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270102821758253651 27010283 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010283 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384941105: '1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857178_0.png', 1384941106: '1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857176_0.png', 1384941119: '1758222685_794553_1384940038_c9918e8db9ea370df65b8db3ba51773c_rle_crop_3966857305_0.png', 1384941181: '1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857506_0.png', 1384941212: '1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872257_0.png', 1384941213: '1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872262_0.png', 1384941214: '1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872261_0.png', 1384941246: '1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879707_0.png', 1384941247: '1758223028_812535_1384941166_cbca2fba1248559bec715b80c814f31e_rle_crop_3966879968_0.png', 1384941285: '1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881079_0.png', 1384945555: '1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887503_0.png', 1384945556: '1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887497_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/640dff7eaf6dbda3c49c4cd466f03de9_85988821.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/df5834fed84c7551a109960ae632b517_44253919.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/6b0ca2f2b7c78973c1c6150cadda3383_95888820.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/baba3580d61d04c209d8836f5f13cc4b_31285419.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/05545f9253684e0ce2605cc96b7b5a61_15126369.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/f1a1ccd2bab9ddb8559ccb9a2dca7d44_39145343.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/45dededf34b1f856bdaf5fbbbb1d8a54_65164305.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/92163130fc8d5ff594a14d8b90ea0a88_26587831.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/9dc2ab2975e45b8b5824efd38472b4e6_32352324.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/6debdc8138f9f092dad08c742a2d1c26_43599195.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/3852895c41c009bb4d714e4c98a94ef8_42921225.png change filename to text .imagette270102831758253651/ imagette270102831758253651/1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887497_0.png.png imagette270102831758253651/1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879707_0.png.png imagette270102831758253651/1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872261_0.png.png imagette270102831758253651/1758222685_794553_1384940038_c9918e8db9ea370df65b8db3ba51773c_rle_crop_3966857305_0.png.png imagette270102831758253651/1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857178_0.png.png imagette270102831758253651/1758222904_805107_1384940822_670a48f5c63b6c46b89503792cc36a1f_rle_crop_3966872262_0.png.png imagette270102831758253651/1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857506_0.png.png imagette270102831758253651/1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857176_0.png.png imagette270102831758253651/1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881079_0.png.png imagette270102831758253651/1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887503_0.png.png imagette270102831758253651/1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872257_0.png.png imagette270102831758253651/1758223028_812535_1384941166_cbca2fba1248559bec715b80c814f31e_rle_crop_3966879968_0.png.png imagette270102841758253652/ wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/73b154f974817a199db18338138e2e27_6479204.png imagette270102831758253651 27010284 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010284 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette270102841758253652 27010279 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010279 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384941109: '1758222665_793278_1384940481_ca9f336c7bcc021e406ed1aafb84e124_rle_crop_3966857161_0.png', 1384941120: '1758222685_794553_1384940528_21389bffd8209ca0541ebd85779e1467_rle_crop_3966857281_0.png', 1384941228: '1758222926_805463_1384941107_f52494a3db568da407f7c61c1425ff63_rle_crop_3966872371_0.png', 1384941229: '1758222926_805463_1384941096_4ec64b11d50b09fcf703bda90675bac4_rle_crop_3966872405_0.png', 1384941248: '1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879710_0.png', 1384941249: '1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879708_0.png', 1384941286: '1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881098_0.png', 1384945612: '1758225425_912005_1384941169_533e2c52f6926a9b023ecc8bfca02505_rle_crop_3966892855_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/96ce28d3f3f2cab106f87b2f657ff7c1_10793029.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/5c4c6cbbe202ed3e96159d400ce3e81c_35975566.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/c1d1f71db3ad297c029ee5af316a21ee_58451533.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/8b2949cf4d907ae1bea85f4c6609570a_81287837.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/2053298ab969f1e67fcf225d54e82342_36701856.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/85c41886ca561b91e4f2b88bb0ac9fc6_46218571.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/6827e2e74cb7651edf6a3f1ff5c83016_27249639.png change filename to text .imagette270102791758253652/ imagette270102791758253652/1758222685_794553_1384940528_21389bffd8209ca0541ebd85779e1467_rle_crop_3966857281_0.png.png imagette270102791758253652/1758222926_805463_1384941107_f52494a3db568da407f7c61c1425ff63_rle_crop_3966872371_0.png.png imagette270102791758253652/1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881098_0.png.png imagette270102791758253652/1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879710_0.png.png imagette270102791758253652/1758222665_793278_1384940481_ca9f336c7bcc021e406ed1aafb84e124_rle_crop_3966857161_0.png.png imagette270102791758253652/1758225425_912005_1384941169_533e2c52f6926a9b023ecc8bfca02505_rle_crop_3966892855_0.png.png imagette270102791758253652/1758222926_805463_1384941096_4ec64b11d50b09fcf703bda90675bac4_rle_crop_3966872405_0.png.png imagette270102791758253652/1758223028_812535_1384941168_1ec411878066c63d08fb768f58f40ef9_rle_crop_3966879708_0.png.png wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/dc4ebb2783775864641d3a77715b6bc9_43040160.png imagette270102791758253652 27010280 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010280 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384941207: '1758222904_805107_1384941111_ba03f7555a88c57a5f868663e84c4f40_rle_crop_3966872222_0.png', 1384945553: '1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887500_0.png', 1384941282: '1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881097_0.png', 1384941281: '1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881083_0.png', 1384941280: '1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881084_0.png', 1384941244: '1758223028_812535_1384941166_cbca2fba1248559bec715b80c814f31e_rle_crop_3966879969_0.png', 1384941227: '1758222926_805463_1384941099_1dfbfd36e95eed6cffa928870b57d577_rle_crop_3966872398_0.png', 1384941226: '1758222926_805463_1384941102_4b6c52e42270f1019efa5a80c48f560e_rle_crop_3966872385_0.png', 1384941225: '1758222926_805463_1384941107_f52494a3db568da407f7c61c1425ff63_rle_crop_3966872374_0.png', 1384941208: '1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872251_0.png', 1384941103: '1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857180_0.png', 1384941179: '1758222787_799626_1384940578_0a3f04446095592a3b3eee5d3c7bc1a1_rle_crop_3966857527_0.png', 1384941177: '1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857507_0.png', 1384941176: '1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857511_0.png', 1384941175: '1758222787_799626_1384940580_dac56355cc0b6cc0285c472c0ffecd5e_rle_crop_3966857488_0.png', 1384941117: '1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857320_0.png', 1384941116: '1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857319_0.png', 1384941115: '1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857316_0.png', 1384941114: '1758222685_794553_1384940102_1ee9fe942f598d8f358bcd57f05e9396_rle_crop_3966857297_0.png', 1384941113: '1758222685_794553_1384940208_a75f34dbb8bcb65a893c8f2076e73a76_rle_crop_3966857290_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/508d5af66e9aa303e9212f8672a5487b_86078296.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/f800886f0a6abf59b0dd350eb22d27f3_11265411.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/32c3e3cdae55ccfe065844a4e6a83f03_90116589.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/c81a6c19e4f4e4263a675a4dc2157c5e_53126798.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/b8998345293c4a514996f9b27998964e_88646765.png change filename to text .wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/d8dcd1f5be9b2ae79eca4c08f46a1c1a_89710796.png change filename to text .wget -O 7.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/519d4d3e7b6872ae163b9b7b65803c0d_31031740.png change filename to text .wget -O 8.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/0f76feefb98746d05194870a55c8d9d1_45780472.png change filename to text .wget -O 9.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/b0f4d5d6589b1581891c84997668e997_39768072.png change filename to text .wget -O 10.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/6b7799d15757a649af2973933c20ba8b_96391506.png change filename to text .wget -O 11.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/bb1de33402aeaae802616fd009ebc260_55201897.png change filename to text .wget -O 12.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/81da2fd02b1fc5faa2ed541af164c8f6_11940346.png change filename to text .wget -O 13.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/583130950bde4df3116633531953eb23_24213303.png change filename to text .wget -O 14.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/bc2a20c6cb9da3dd56f0e934d046b99b_19203135.png change filename to text .wget -O 15.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/684d667653aaad6edfc1163f44918917_84773645.png change filename to text .wget -O 16.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/21c3deb29174fbb0adf63bdc16a411ec_99416194.png change filename to text .wget -O 17.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/a9c1f2201314da11f58e246a7b2bfa2e_65279243.png change filename to text .wget -O 18.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/34a8b5722b280c59fb6296d60f139db6_35914730.png change filename to text .wget -O 19.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/2621601b885f2cfd295a8247ce8247e9_29156890.png change filename to text .imagette270102801758253653/ imagette270102801758253653/1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857319_0.png.png imagette270102801758253653/1758222787_799626_1384940578_0a3f04446095592a3b3eee5d3c7bc1a1_rle_crop_3966857527_0.png.png imagette270102801758253653/1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857507_0.png.png imagette270102801758253653/1758222926_805463_1384941107_f52494a3db568da407f7c61c1425ff63_rle_crop_3966872374_0.png.png imagette270102801758253653/1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857316_0.png.png imagette270102801758253653/1758222685_794553_1384939917_af7066b684884f3471ce0941541a9e0a_rle_crop_3966857320_0.png.png imagette270102801758253653/1758222926_805463_1384941099_1dfbfd36e95eed6cffa928870b57d577_rle_crop_3966872398_0.png.png imagette270102801758253653/1758222685_794553_1384940102_1ee9fe942f598d8f358bcd57f05e9396_rle_crop_3966857297_0.png.png imagette270102801758253653/1758223028_812535_1384941166_cbca2fba1248559bec715b80c814f31e_rle_crop_3966879969_0.png.png imagette270102801758253653/1758222787_799626_1384940580_dac56355cc0b6cc0285c472c0ffecd5e_rle_crop_3966857488_0.png.png imagette270102801758253653/1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857180_0.png.png imagette270102801758253653/1758222904_805107_1384941111_ba03f7555a88c57a5f868663e84c4f40_rle_crop_3966872222_0.png.png imagette270102801758253653/1758222926_805463_1384941102_4b6c52e42270f1019efa5a80c48f560e_rle_crop_3966872385_0.png.png imagette270102801758253653/1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857511_0.png.png imagette270102801758253653/1758225306_908355_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad_rle_crop_3966887500_0.png.png imagette270102801758253653/1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881097_0.png.png imagette270102801758253653/1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881084_0.png.png imagette270102801758253653/1758222685_794553_1384940208_a75f34dbb8bcb65a893c8f2076e73a76_rle_crop_3966857290_0.png.png imagette270102801758253653/1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872251_0.png.png imagette270102801758253653/1758223146_818624_1384941199_15d003b591f6200ed7621ccb69646853_rle_crop_3966881083_0.png.png wget -O 20.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/8df5e7b8a84bfc62c8b2dd34d90c99c7_76367958.png imagette270102801758253653 27010281 SELECT ph.photo_id,ph.url,ph.username,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010281 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1384941104: '1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857175_0.png', 1384941118: '1758222685_794553_1384940038_c9918e8db9ea370df65b8db3ba51773c_rle_crop_3966857303_0.png', 1384941180: '1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857502_0.png', 1384941210: '1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872250_0.png', 1384941245: '1758223028_812535_1384941189_21f538ebe29aade402b7645c04107e06_rle_crop_3966879437_0.png', 1384941284: '1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881093_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/ea61eb53f14e72ff91de2ff6f00e9efd_84789418.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/724e83b53f475430e8666659c36d3cdd_79088918.png change filename to text .wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/a9e235f580bc30d8377a7fbb0e7c429f_530934.png change filename to text .wget -O 4.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/71d0c8548736dbaf0e11546260dbbae8_14757791.png change filename to text .wget -O 5.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/b0c2e004ed430345f08dbcf6cf78a309_9067659.png change filename to text .imagette270102811758253655/ imagette270102811758253655/1758222665_793278_1384940452_008fa3130bc64175a306d0baae7601dd_rle_crop_3966857175_0.png.png imagette270102811758253655/1758222685_794553_1384940038_c9918e8db9ea370df65b8db3ba51773c_rle_crop_3966857303_0.png.png imagette270102811758253655/1758223146_818624_1384941188_6711f1b0344be694e99c652f155241b8_rle_crop_3966881093_0.png.png imagette270102811758253655/1758222904_805107_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92_rle_crop_3966872250_0.png.png imagette270102811758253655/1758223028_812535_1384941189_21f538ebe29aade402b7645c04107e06_rle_crop_3966879437_0.png.png imagette270102811758253655/1758222787_799626_1384940579_243a9079bbb93bee34b0d858b1cdffb5_rle_crop_3966857502_0.png.png wget -O 6.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/4f77a5428c1c61b947540dcc64fde19b_59756092.png imagette270102811758253655 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=27010269 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://marlene.fotonower.com/velours/27010287,27010288,27010289,27010290,27010291,27010292,27010293,27010294,27010295,27010296,27010297,27010298?tags=papier,mal_croppe,autre_refus,kraft,flou,Carton_brun,Teint_Dans_La_Masse,Carton_gris,metal,cartonnette,plastique,environnement your option no_mail is active, we will not send the real mail to your client args[1384941239] : ('0.05963759825267842',) no score found for photo 1384941239 We are sending mail with results at report@fotonower.com args[1384941199] : ('0.05963759825267842',) no score found for photo 1384941199 We are sending mail with results at report@fotonower.com args[1384941198] : ('0.05963759825267842',) no score found for photo 1384941198 We are sending mail with results at report@fotonower.com args[1384941189] : ('0.05963759825267842',) no score found for photo 1384941189 We are sending mail with results at report@fotonower.com args[1384941188] : ('0.05963759825267842',) no score found for photo 1384941188 We are sending mail with results at report@fotonower.com args[1384941169] : ('0.05963759825267842',) no score found for photo 1384941169 We are sending mail with results at report@fotonower.com args[1384941168] : ('0.05963759825267842',) no score found for photo 1384941168 We are sending mail with results at report@fotonower.com args[1384941166] : ('0.05963759825267842',) no score found for photo 1384941166 We are sending mail with results at report@fotonower.com args[1384941130] : ('0.05963759825267842',) no score found for photo 1384941130 We are sending mail with results at report@fotonower.com args[1384941128] : ('0.05963759825267842',) no score found for photo 1384941128 We are sending mail with results at report@fotonower.com args[1384941126] : ('0.05963759825267842',) no score found for photo 1384941126 We are sending mail with results at report@fotonower.com args[1384941123] : ('0.05963759825267842',) no score found for photo 1384941123 We are sending mail with results at report@fotonower.com args[1384941122] : ('0.05963759825267842',) no score found for photo 1384941122 We are sending mail with results at report@fotonower.com args[1384941111] : ('0.05963759825267842',) no score found for photo 1384941111 We are sending mail with results at report@fotonower.com args[1384941107] : ('0.05963759825267842',) no score found for photo 1384941107 We are sending mail with results at report@fotonower.com args[1384941102] : ('0.05963759825267842',) no score found for photo 1384941102 We are sending mail with results at report@fotonower.com args[1384941099] : ('0.05963759825267842',) no score found for photo 1384941099 We are sending mail with results at report@fotonower.com args[1384941096] : ('0.05963759825267842',) no score found for photo 1384941096 We are sending mail with results at report@fotonower.com args[1384940864] : ('0.05963759825267842',) no score found for photo 1384940864 We are sending mail with results at report@fotonower.com args[1384940862] : ('0.05963759825267842',) no score found for photo 1384940862 We are sending mail with results at report@fotonower.com args[1384940860] : ('0.05963759825267842',) no score found for photo 1384940860 We are sending mail with results at report@fotonower.com args[1384940855] : ('0.05963759825267842',) no score found for photo 1384940855 We are sending mail with results at report@fotonower.com args[1384940822] : ('0.05963759825267842',) no score found for photo 1384940822 We are sending mail with results at report@fotonower.com args[1384940592] : ('0.05963759825267842',) no score found for photo 1384940592 We are sending mail with results at report@fotonower.com args[1384940580] : ('0.05963759825267842',) no score found for photo 1384940580 We are sending mail with results at report@fotonower.com args[1384940579] : ('0.05963759825267842',) no score found for photo 1384940579 We are sending mail with results at report@fotonower.com args[1384940578] : ('0.05963759825267842',) no score found for photo 1384940578 We are sending mail with results at report@fotonower.com args[1384940528] : ('0.05963759825267842',) no score found for photo 1384940528 We are sending mail with results at report@fotonower.com args[1384940481] : ('0.05963759825267842',) no score found for photo 1384940481 We are sending mail with results at report@fotonower.com args[1384940452] : ('0.05963759825267842',) no score found for photo 1384940452 We are sending mail with results at report@fotonower.com args[1384940257] : ('0.05963759825267842',) no score found for photo 1384940257 We are sending mail with results at report@fotonower.com args[1384940208] : ('0.05963759825267842',) no score found for photo 1384940208 We are sending mail with results at report@fotonower.com args[1384940102] : ('0.05963759825267842',) no score found for photo 1384940102 We are sending mail with results at report@fotonower.com args[1384940038] : ('0.05963759825267842',) no score found for photo 1384940038 We are sending mail with results at report@fotonower.com args[1384939917] : ('0.05963759825267842',) no score found for photo 1384939917 We are sending mail with results at report@fotonower.com args[1384938654] : ('0.05963759825267842',) no score found for photo 1384938654 We are sending mail with results at report@fotonower.com args[1384937960] : ('0.05963759825267842',) no score found for photo 1384937960 We are sending mail with results at report@fotonower.com refus_total : 0.05963759825267842 2022-04-13 10:29:59 0 SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010269 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_P27010269_19-09-2025_05_47_31.pdf results_Auto_P27010269_19-09-2025_05_47_31.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010269_19-09-2025_05_47_31.pdf start insert file to database insert into MTRUser.mtr_files (mtd_id,mtr_portfolio_id,text,url,format,tags,file_size,value) values ('4302','27010269','results_Auto_P27010269_19-09-2025_05_47_31.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010269_19-09-2025_05_47_31.pdf','pdf','','0.4','0.05963759825267842') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27010269]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] map_info['map_portfolio_photo'] : {27010269: [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960]} final : False mtd_id 4302 list_pids : [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] 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, '3744876') ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 37 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '27010269', '1384941239', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876')] time used for this insertion : 0.1320018768310547 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.304755449295044 time spend to save output : 0.13241004943847656 total time spend for step 4 : 8.43716549873352 step5:split_time_score Fri Sep 19 05:47:38 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 : ['27010269'] 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 : [('27010269',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (27010269) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1384941188: {'path': 'temp/1758253649_1352843_1384941188_6711f1b0344be694e99c652f155241b8.jpg', 'extension': 'jpg'}, 1384941189: {'path': 'temp/1758253649_1352843_1384941189_21f538ebe29aade402b7645c04107e06.jpg', 'extension': 'jpg'}, 1384941198: {'path': 'temp/1758253649_1352843_1384941198_2ea2af1d03f1e0bb0338cde11f1230ad.jpg', 'extension': 'jpg'}, 1384941199: {'path': 'temp/1758253649_1352843_1384941199_15d003b591f6200ed7621ccb69646853.jpg', 'extension': 'jpg'}, 1384941239: {'path': 'temp/1758253649_1352843_1384941239_8dbd0e6304b266560f96e7b0b143904c.jpg', 'extension': 'jpg'}, 1384941122: {'path': 'temp/1758253649_1352843_1384941122_3f460a058e890e8526adfad3f63cba90.jpg', 'extension': 'jpg'}, 1384941123: {'path': 'temp/1758253649_1352843_1384941123_6968f72d37d5f3459e8f55367d83f0f1.jpg', 'extension': 'jpg'}, 1384941126: {'path': 'temp/1758253649_1352843_1384941126_ada13b3e0974be46fc9cc5bcc215b788.jpg', 'extension': 'jpg'}, 1384941128: {'path': 'temp/1758253649_1352843_1384941128_b0b22edadd42f9d3b0b5efe4c2fedaf8.jpg', 'extension': 'jpg'}, 1384941130: {'path': 'temp/1758253649_1352843_1384941130_a5365dcd7b8c0eb5c022a8031897b397.jpg', 'extension': 'jpg'}, 1384941166: {'path': 'temp/1758253649_1352843_1384941166_cbca2fba1248559bec715b80c814f31e.jpg', 'extension': 'jpg'}, 1384941168: {'path': 'temp/1758253649_1352843_1384941168_1ec411878066c63d08fb768f58f40ef9.jpg', 'extension': 'jpg'}, 1384941169: {'path': 'temp/1758253649_1352843_1384941169_533e2c52f6926a9b023ecc8bfca02505.jpg', 'extension': 'jpg'}, 1384940860: {'path': 'temp/1758253649_1352843_1384940860_e5d989bd12a24188761fcd4dbbb8ac04.jpg', 'extension': 'jpg'}, 1384940862: {'path': 'temp/1758253649_1352843_1384940862_d1af9062ca1b6461d5b417379ee96533.jpg', 'extension': 'jpg'}, 1384940864: {'path': 'temp/1758253649_1352843_1384940864_8e5cbe1b933ad2c363e18060c26292ae.jpg', 'extension': 'jpg'}, 1384941096: {'path': 'temp/1758253649_1352843_1384941096_4ec64b11d50b09fcf703bda90675bac4.jpg', 'extension': 'jpg'}, 1384941099: {'path': 'temp/1758253649_1352843_1384941099_1dfbfd36e95eed6cffa928870b57d577.jpg', 'extension': 'jpg'}, 1384941102: {'path': 'temp/1758253649_1352843_1384941102_4b6c52e42270f1019efa5a80c48f560e.jpg', 'extension': 'jpg'}, 1384941107: {'path': 'temp/1758253649_1352843_1384941107_f52494a3db568da407f7c61c1425ff63.jpg', 'extension': 'jpg'}, 1384941111: {'path': 'temp/1758253649_1352843_1384941111_ba03f7555a88c57a5f868663e84c4f40.jpg', 'extension': 'jpg'}, 1384940481: {'path': 'temp/1758253649_1352843_1384940481_ca9f336c7bcc021e406ed1aafb84e124.jpg', 'extension': 'jpg'}, 1384940528: {'path': 'temp/1758253649_1352843_1384940528_21389bffd8209ca0541ebd85779e1467.jpg', 'extension': 'jpg'}, 1384940578: {'path': 'temp/1758253649_1352843_1384940578_0a3f04446095592a3b3eee5d3c7bc1a1.jpg', 'extension': 'jpg'}, 1384940579: {'path': 'temp/1758253649_1352843_1384940579_243a9079bbb93bee34b0d858b1cdffb5.jpg', 'extension': 'jpg'}, 1384940580: {'path': 'temp/1758253649_1352843_1384940580_dac56355cc0b6cc0285c472c0ffecd5e.jpg', 'extension': 'jpg'}, 1384940592: {'path': 'temp/1758253649_1352843_1384940592_730eac6af2370a73201f29167afc7d59.jpg', 'extension': 'jpg'}, 1384940822: {'path': 'temp/1758253649_1352843_1384940822_670a48f5c63b6c46b89503792cc36a1f.jpg', 'extension': 'jpg'}, 1384940855: {'path': 'temp/1758253649_1352843_1384940855_c52c04d56cd17ad70e5b43c0e48e2d92.jpg', 'extension': 'jpg'}, 1384937960: {'path': 'temp/1758253649_1352843_1384937960_d2c8e60f2faea4a3d95792fc651e8eb5.jpg', 'extension': 'jpg'}, 1384938654: {'path': 'temp/1758253649_1352843_1384938654_41238c2153d9b5ebee279e33c7f97efe.jpg', 'extension': 'jpg'}, 1384939917: {'path': 'temp/1758253649_1352843_1384939917_af7066b684884f3471ce0941541a9e0a.jpg', 'extension': 'jpg'}, 1384940038: {'path': 'temp/1758253649_1352843_1384940038_c9918e8db9ea370df65b8db3ba51773c.jpg', 'extension': 'jpg'}, 1384940102: {'path': 'temp/1758253649_1352843_1384940102_1ee9fe942f598d8f358bcd57f05e9396.jpg', 'extension': 'jpg'}, 1384940208: {'path': 'temp/1758253649_1352843_1384940208_a75f34dbb8bcb65a893c8f2076e73a76.jpg', 'extension': 'jpg'}, 1384940257: {'path': 'temp/1758253649_1352843_1384940257_48806e535d3babbcdde76b988f88d041.jpg', 'extension': 'jpg'}, 1384940452: {'path': 'temp/1758253649_1352843_1384940452_008fa3130bc64175a306d0baae7601dd.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 = 27010269; (('arc_en_ciel_jrm',), ('arc_en_ciel_jrm_bis',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 27010269 group by h (('21', 37),) SELECT ph.photo_id,ph.url,ph.username,ph.uploaded_at,ph.text FROM MTRBack.photos ph, MTRUser.mtr_portfolio_photos mpp WHERE ph.photo_id=mpp.mtr_photo_id AND mpp.mtr_portfolio_id=27010269 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 (27010269) 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 (27010269) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 18092025 27010269 Nombre de photos uploadées : 37 / 23040 (0%) 18092025 27010269 Nombre de photos taguées (types de déchets): 0 / 37 (0%) 18092025 27010269 Nombre de photos taguées (volume) : 0 / 37 (0%) [{'photo_id': 1384937960, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/d2c8e60f2faea4a3d95792fc651e8eb5.jpg', 'username': None, 'uploaded_at': 1758222127, 'text': 'image_18092025_21_01_14_010138m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1384938654, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/41238c2153d9b5ebee279e33c7f97efe.jpg', 'username': None, 'uploaded_at': 1758222247, 'text': 'image_18092025_21_01_24_010136m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1384940257, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/48806e535d3babbcdde76b988f88d041.jpg', 'username': None, 'uploaded_at': 1758222437, 'text': 'image_18092025_21_03_04_10145.jpg'}, {'photo_id': 1384940208, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/9/18/a75f34dbb8bcb65a893c8f2076e73a76.jpg', 'username': None, 'uploaded_at': 1758222437, 'text': 'image_18092025_21_06_14_010137m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 1.1920928955078125e-06 elapsed_time : order_list_meta_photo_and_scores 5.245208740234375e-06 ????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.0017960071563720703 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 27010269, '2025-09-18' ) 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-09-18' ; INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (2308713,979,"{}"); Catched exception ! Connect or reconnect ! elapsed_time : insert_dashboard_record_day_entry 0.21352815628051758 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= 2308713 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26978193, 'dashboard_result_id': 15394387, '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_P26978193_19-09-2025_05_34_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26978202, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978213, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26978870, 'dashboard_result_id': 15394388, '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_P26978870_19-09-2025_05_35_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26978873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978882, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26979560, 'dashboard_result_id': 15394389, '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_P26979560_19-09-2025_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26979602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26979603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26979604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26979605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26979606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26979607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26979608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26979609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26979610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26979611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26979612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26979613, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26982588, 'dashboard_result_id': 15394390, '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_P26982588_19-09-2025_05_36_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26982625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26982627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26982629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26982632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26982633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26982634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26982635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26982636, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26982995, 'dashboard_result_id': 15394391, '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_P26982995_19-09-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983007, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26983682, 'dashboard_result_id': 15394392, '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_P26983682_19-09-2025_05_38_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26983689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26983692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26983696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26983697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983700, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26984191, 'dashboard_result_id': 15394393, '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_P26984191_19-09-2025_05_38_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26984244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26984246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26984247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26984248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26984249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26984250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26984251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26984252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26984253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26984254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26984255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26984256, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26985006, 'dashboard_result_id': 15394394, '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_P26985006_19-09-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26985035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985046, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26985588, 'dashboard_result_id': 15394395, '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_P26985588_19-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26985615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985625, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 26986375, 'dashboard_result_id': 15394396, '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_P26986375_19-09-2025_05_40_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26986390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26986391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26986392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26986393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26986394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26986395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26986396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26986397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26986398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26986399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26986400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26986401, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27003318, 'dashboard_result_id': 15394397, '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_P27003318_19-09-2025_05_41_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003330, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27003648, 'dashboard_result_id': 15394398, '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_P27003648_19-09-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003663, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27004172, 'dashboard_result_id': 15394399, '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_P27004172_19-09-2025_05_42_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27004200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004209, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27004790, 'dashboard_result_id': 15394400, '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_P27004790_19-09-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27004833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004844, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27005618, 'dashboard_result_id': 15394401, '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_P27005618_19-09-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27005628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27005629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27005630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27005631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27005632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27005633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27005634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27005635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27005636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27005637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27005638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27005639, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27006130, 'dashboard_result_id': 15394402, '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_P27006130_19-09-2025_05_44_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27006176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27006179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27006180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27006181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27006182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27006183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27006187, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27006977, 'dashboard_result_id': 15394403, '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_P27006977_19-09-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007006, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27007606, 'dashboard_result_id': 15394404, '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_P27007606_19-09-2025_05_45_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27007627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27007631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27007632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27007636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27007637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007638, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27008428, 'dashboard_result_id': 15394405, '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_P27008428_19-09-2025_05_45_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27008444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27008445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27008446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27008447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27008448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27008449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27008450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27008451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27008452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27008453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27008454, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27009148, 'dashboard_result_id': 15394406, '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_P27009148_19-09-2025_05_46_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27009153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009165, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27009699, 'dashboard_result_id': 15394407, '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_P27009699_19-09-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27009735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009738, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27010269, 'dashboard_result_id': 15394408, '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_P27010269_18-09-2025_21_18_59.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27010274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27010278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010285, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27010938, 'dashboard_result_id': 15394409, '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_P27010938_18-09-2025_21_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27010951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27010956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010962, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27011469, 'dashboard_result_id': 15394410, '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_P27011469_18-09-2025_22_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27011504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27011505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27011506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27011507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27011508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27011509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27011510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27011511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27011512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27011513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27011514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27011515, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27012615, 'dashboard_result_id': 15394411, '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_P27012615_18-09-2025_22_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27012625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012635, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27012724, 'dashboard_result_id': 15394412, '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_P27012724_18-09-2025_22_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27012739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012750, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27013358, 'dashboard_result_id': 15394413, '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_P27013358_18-09-2025_22_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013378, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27013874, 'dashboard_result_id': 15394414, '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_P27013874_18-09-2025_23_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013901, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27014417, 'dashboard_result_id': 15394415, '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_P27014417_18-09-2025_23_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27014426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27014427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27014428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27014429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27014430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27014431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27014432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27014434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27014435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27014436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27014437, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27014994, 'dashboard_result_id': 15394416, '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_P27014994_18-09-2025_23_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015010, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27015359, 'dashboard_result_id': 15394417, '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_P27015359_18-09-2025_23_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015377, 'pht': 3726}}"}, {'dashboat_entry_day': 2308713, 'dashboard_run_id': 2324755, 'mtr_portfolio_id': 27015957, 'dashboard_result_id': 15394418, '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_P27015957_19-09-2025_01_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015970, '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 = 26978193 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': 3744855, 'mtr_portfolio_id': 26978193, 'created_at': datetime.datetime(2025, 9, 19, 5, 34, 33), 'result': '0.06455771879932039', 'result_long': None, 'result_double': None}] Qualite : 0.06455771879932039 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26978193 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26978193_19-09-2025_05_34_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26978193 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_P26978193_19-09-2025_05_34_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26978202, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978213, 'pht': 3726}}" where mtr_portfolio_id = 26978193 and dashboard_run_id = 2324755 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`=26978193 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394387, 0.06455771879932039, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26978193_19-09-2025_05_34_37.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 26978202, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978203, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978204, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978205, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978206, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978207, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978208, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978209, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978210, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978211, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978212, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978213, '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 = 26978870 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': 3744856, 'mtr_portfolio_id': 26978870, 'created_at': datetime.datetime(2025, 9, 19, 5, 35, 31), 'result': '0.055290644022585815', 'result_long': None, 'result_double': None}] Qualite : 0.055290644022585815 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26978870 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26978870_19-09-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26978870 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_P26978870_19-09-2025_05_35_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26978873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978882, 'pht': 3726}}" where mtr_portfolio_id = 26978870 and dashboard_run_id = 2324755 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`=26978870 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394388, 0.055290644022585815, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26978870_19-09-2025_05_35_34.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26978871, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26978872, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26978873, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26978874, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26978875, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26978876, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26978877, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26978878, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26978879, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26978880, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26978881, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26978882, '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 = 26979560 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': 3744857, 'mtr_portfolio_id': 26979560, 'created_at': datetime.datetime(2025, 9, 19, 5, 35, 59), 'result': '0.062170186358450875', 'result_long': None, 'result_double': None}] Qualite : 0.062170186358450875 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26979560 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26979560_19-09-2025_05_36_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26979560 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_P26979560_19-09-2025_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26979602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26979603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26979604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26979605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26979606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26979607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26979608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26979609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26979610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26979611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26979612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26979613, 'pht': 3726}}" where mtr_portfolio_id = 26979560 and dashboard_run_id = 2324755 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`=26979560 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394389, 0.062170186358450875, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26979560_19-09-2025_05_36_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26979602, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26979603, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26979604, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26979605, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26979606, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26979607, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26979608, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26979609, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26979610, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26979611, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26979612, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26979613, '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 = 26982588 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': 3744858, 'mtr_portfolio_id': 26982588, 'created_at': datetime.datetime(2025, 9, 19, 5, 36, 28), 'result': '0.04679996111685977', 'result_long': None, 'result_double': None}] Qualite : 0.04679996111685977 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26982588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26982588_19-09-2025_05_36_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26982588 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_P26982588_19-09-2025_05_36_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26982625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26982627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26982629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26982632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26982633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26982634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26982635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26982636, 'pht': 3726}}" where mtr_portfolio_id = 26982588 and dashboard_run_id = 2324755 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`=26982588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394390, 0.04679996111685977, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26982588_19-09-2025_05_36_30.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26982625, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982626, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26982627, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982628, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26982629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982630, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26982632, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26982633, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26982634, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26982635, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26982636, '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 = 26982995 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': 3744859, 'mtr_portfolio_id': 26982995, 'created_at': datetime.datetime(2025, 9, 19, 5, 37, 28), 'result': '0.05265595999672856', 'result_long': None, 'result_double': None}] Qualite : 0.05265595999672856 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26982995 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26982995_19-09-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26982995 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_P26982995_19-09-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983007, 'pht': 3726}}" where mtr_portfolio_id = 26982995 and dashboard_run_id = 2324755 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`=26982995 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394391, 0.05265595999672856, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26982995_19-09-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26982996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26982997, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26982998, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26982999, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983000, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983001, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983002, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983003, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983005, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983006, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983007, '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 = 26983682 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': 3744860, 'mtr_portfolio_id': 26983682, 'created_at': datetime.datetime(2025, 9, 19, 5, 37, 59), 'result': '0.049106211718559716', 'result_long': None, 'result_double': None}] Qualite : 0.049106211718559716 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26983682 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26983682_19-09-2025_05_38_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26983682 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_P26983682_19-09-2025_05_38_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26983689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26983692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26983696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26983697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983700, 'pht': 3726}}" where mtr_portfolio_id = 26983682 and dashboard_run_id = 2324755 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`=26983682 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394392, 0.049106211718559716, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26983682_19-09-2025_05_38_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26983689, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26983690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26983691, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26983692, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26983693, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26983694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26983695, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26983696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26983697, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26983698, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26983699, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26983700, '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 = 26984191 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': 3744861, 'mtr_portfolio_id': 26984191, 'created_at': datetime.datetime(2025, 9, 19, 5, 38, 27), 'result': '0.05561057345006637', 'result_long': None, 'result_double': None}] Qualite : 0.05561057345006637 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26984191 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26984191_19-09-2025_05_38_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26984191 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_P26984191_19-09-2025_05_38_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26984244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26984246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26984247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26984248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26984249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26984250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26984251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26984252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26984253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26984254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26984255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26984256, 'pht': 3726}}" where mtr_portfolio_id = 26984191 and dashboard_run_id = 2324755 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`=26984191 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394393, 0.05561057345006637, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26984191_19-09-2025_05_38_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26984244, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26984246, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26984247, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26984248, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26984249, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26984250, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26984251, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26984252, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26984253, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26984254, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26984255, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26984256, '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 = 26985006 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': 3744862, 'mtr_portfolio_id': 26985006, 'created_at': datetime.datetime(2025, 9, 19, 5, 39, 29), 'result': '0.05500856560681506', 'result_long': None, 'result_double': None}] Qualite : 0.05500856560681506 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26985006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26985006_19-09-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26985006 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_P26985006_19-09-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26985035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985046, 'pht': 3726}}" where mtr_portfolio_id = 26985006 and dashboard_run_id = 2324755 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`=26985006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394394, 0.05500856560681506, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26985006_19-09-2025_05_39_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 26985035, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985036, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985037, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985038, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985039, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985040, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985041, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985042, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985043, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985044, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985045, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985046, '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 = 26985588 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': 3744863, 'mtr_portfolio_id': 26985588, 'created_at': datetime.datetime(2025, 9, 19, 5, 40), 'result': '0.04514157061732022', 'result_long': None, 'result_double': None}] Qualite : 0.04514157061732022 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26985588 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26985588_19-09-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26985588 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_P26985588_19-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26985615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985625, 'pht': 3726}}" where mtr_portfolio_id = 26985588 and dashboard_run_id = 2324755 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`=26985588 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394395, 0.04514157061732022, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26985588_19-09-2025_05_40_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26985614, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26985615, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26985616, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26985617, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26985618, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26985619, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26985620, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26985621, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26985622, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26985623, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26985624, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26985625, '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 = 26986375 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': 3744864, 'mtr_portfolio_id': 26986375, 'created_at': datetime.datetime(2025, 9, 19, 5, 40, 40), 'result': '0.06879421231229192', 'result_long': None, 'result_double': None}] Qualite : 0.06879421231229192 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 26986375 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26986375_19-09-2025_05_40_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 26986375 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_P26986375_19-09-2025_05_40_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26986390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26986391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26986392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26986393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26986394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26986395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26986396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26986397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26986398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26986399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26986400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26986401, 'pht': 3726}}" where mtr_portfolio_id = 26986375 and dashboard_run_id = 2324755 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`=26986375 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394396, 0.06879421231229192, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P26986375_19-09-2025_05_40_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 26986390, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 26986391, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 26986392, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 26986393, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 26986394, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 26986395, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 26986396, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 26986397, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 26986398, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 26986399, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 26986400, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 26986401, '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 = 27003318 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': 3744865, 'mtr_portfolio_id': 27003318, 'created_at': datetime.datetime(2025, 9, 19, 5, 41), 'result': '0.045449704121076975', 'result_long': None, 'result_double': None}] Qualite : 0.045449704121076975 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27003318 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003318_19-09-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27003318 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_P27003318_19-09-2025_05_41_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003330, 'pht': 3726}}" where mtr_portfolio_id = 27003318 and dashboard_run_id = 2324755 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`=27003318 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394397, 0.045449704121076975, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003318_19-09-2025_05_41_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003319, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003320, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003321, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003322, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003323, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003324, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003325, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003326, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003327, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003328, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003329, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003330, '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 = 27003648 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': 3744866, 'mtr_portfolio_id': 27003648, 'created_at': datetime.datetime(2025, 9, 19, 5, 41, 29), 'result': '0.07361035101337922', 'result_long': None, 'result_double': None}] Qualite : 0.07361035101337922 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27003648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003648_19-09-2025_05_41_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27003648 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_P27003648_19-09-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003663, 'pht': 3726}}" where mtr_portfolio_id = 27003648 and dashboard_run_id = 2324755 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`=27003648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394398, 0.07361035101337922, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27003648_19-09-2025_05_41_33.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27003652, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27003653, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27003654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27003655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27003656, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27003657, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27003658, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27003659, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27003660, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27003661, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27003662, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27003663, '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 = 27004172 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': 3744867, 'mtr_portfolio_id': 27004172, 'created_at': datetime.datetime(2025, 9, 19, 5, 41, 58), 'result': '0.0451419237210381', 'result_long': None, 'result_double': None}] Qualite : 0.0451419237210381 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27004172 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27004172_19-09-2025_05_42_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27004172 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_P27004172_19-09-2025_05_42_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27004200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004209, 'pht': 3726}}" where mtr_portfolio_id = 27004172 and dashboard_run_id = 2324755 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`=27004172 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394399, 0.0451419237210381, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27004172_19-09-2025_05_42_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004198, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004199, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27004200, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004201, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004202, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004203, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004204, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004205, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004206, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004208, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004209, '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 = 27004790 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': 3744868, 'mtr_portfolio_id': 27004790, 'created_at': datetime.datetime(2025, 9, 19, 5, 42, 29), 'result': '0.042826860907193315', 'result_long': None, 'result_double': None}] Qualite : 0.042826860907193315 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27004790 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27004790_19-09-2025_05_42_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27004790 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_P27004790_19-09-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27004833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004844, 'pht': 3726}}" where mtr_portfolio_id = 27004790 and dashboard_run_id = 2324755 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`=27004790 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394400, 0.042826860907193315, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27004790_19-09-2025_05_42_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27004833, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27004834, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27004835, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27004836, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27004837, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27004838, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27004839, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27004840, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27004841, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27004842, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27004843, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27004844, '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 = 27005618 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': 3744869, 'mtr_portfolio_id': 27005618, 'created_at': datetime.datetime(2025, 9, 19, 5, 43, 28), 'result': '0.04801868247271733', 'result_long': None, 'result_double': None}] Qualite : 0.04801868247271733 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27005618 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27005618_19-09-2025_05_43_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27005618 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_P27005618_19-09-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27005628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27005629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27005630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27005631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27005632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27005633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27005634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27005635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27005636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27005637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27005638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27005639, 'pht': 3726}}" where mtr_portfolio_id = 27005618 and dashboard_run_id = 2324755 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`=27005618 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394401, 0.04801868247271733, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27005618_19-09-2025_05_43_31.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27005628, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27005629, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27005630, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27005631, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27005632, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27005633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27005634, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27005635, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27005636, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27005637, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27005638, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27005639, '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 = 27006130 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': 3744870, 'mtr_portfolio_id': 27006130, 'created_at': datetime.datetime(2025, 9, 19, 5, 43, 58), 'result': '0.04458702724174602', 'result_long': None, 'result_double': None}] Qualite : 0.04458702724174602 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27006130 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27006130_19-09-2025_05_44_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27006130 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_P27006130_19-09-2025_05_44_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27006176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27006179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27006180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27006181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27006182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27006183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27006187, 'pht': 3726}}" where mtr_portfolio_id = 27006130 and dashboard_run_id = 2324755 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`=27006130 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394402, 0.04458702724174602, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27006130_19-09-2025_05_44_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27006176, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006177, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006178, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27006179, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27006180, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27006181, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27006182, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27006183, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006185, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006186, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27006187, '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 = 27006977 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': 3744871, 'mtr_portfolio_id': 27006977, 'created_at': datetime.datetime(2025, 9, 19, 5, 44, 30), 'result': '0.03855577622114515', 'result_long': None, 'result_double': None}] Qualite : 0.03855577622114515 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27006977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27006977_19-09-2025_05_44_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27006977 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_P27006977_19-09-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007006, 'pht': 3726}}" where mtr_portfolio_id = 27006977 and dashboard_run_id = 2324755 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`=27006977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394403, 0.03855577622114515, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27006977_19-09-2025_05_44_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27006995, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27006996, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27006997, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27006998, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27006999, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007001, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007003, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007004, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007006, '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 = 27007606 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': 3744872, 'mtr_portfolio_id': 27007606, 'created_at': datetime.datetime(2025, 9, 19, 5, 45, 31), 'result': '0.057003395759779155', 'result_long': None, 'result_double': None}] Qualite : 0.057003395759779155 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27007606 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27007606_19-09-2025_05_45_37.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27007606 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_P27007606_19-09-2025_05_45_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27007627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27007631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27007632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27007636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27007637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007638, 'pht': 3726}}" where mtr_portfolio_id = 27007606 and dashboard_run_id = 2324755 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`=27007606 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394404, 0.057003395759779155, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27007606_19-09-2025_05_45_37.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27007627, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27007628, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27007629, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27007630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27007631, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27007632, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27007633, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27007634, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27007635, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27007636, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27007637, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27007638, '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 = 27008428 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': 3744873, 'mtr_portfolio_id': 27008428, 'created_at': datetime.datetime(2025, 9, 19, 5, 45, 39), 'result': '0.041841339023267275', 'result_long': None, 'result_double': None}] Qualite : 0.041841339023267275 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27008428 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27008428_19-09-2025_05_45_41.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27008428 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_P27008428_19-09-2025_05_45_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27008444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27008445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27008446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27008447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27008448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27008449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27008450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27008451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27008452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27008453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27008454, 'pht': 3726}}" where mtr_portfolio_id = 27008428 and dashboard_run_id = 2324755 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`=27008428 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394405, 0.041841339023267275, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27008428_19-09-2025_05_45_41.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27008443, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27008444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27008445, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27008446, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27008447, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27008448, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27008449, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27008450, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27008451, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27008452, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27008453, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27008454, '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 = 27009148 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': 3744874, 'mtr_portfolio_id': 27009148, 'created_at': datetime.datetime(2025, 9, 19, 5, 46), 'result': '0.0410908315571852', 'result_long': None, 'result_double': None}] Qualite : 0.0410908315571852 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27009148 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27009148_19-09-2025_05_46_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27009148 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_P27009148_19-09-2025_05_46_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27009153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009165, 'pht': 3726}}" where mtr_portfolio_id = 27009148 and dashboard_run_id = 2324755 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`=27009148 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394406, 0.0410908315571852, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27009148_19-09-2025_05_46_03.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 27009153, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009154, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009155, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009156, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009158, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009160, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009162, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009164, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009165, '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 = 27009699 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': 3744875, 'mtr_portfolio_id': 27009699, 'created_at': datetime.datetime(2025, 9, 19, 5, 46, 30), 'result': '0.04898598830864443', 'result_long': None, 'result_double': None}] Qualite : 0.04898598830864443 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27009699 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27009699_19-09-2025_05_46_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27009699 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_P27009699_19-09-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27009735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009738, 'pht': 3726}}" where mtr_portfolio_id = 27009699 and dashboard_run_id = 2324755 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`=27009699 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394407, 0.04898598830864443, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27009699_19-09-2025_05_46_32.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27009727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27009728, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27009729, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27009730, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27009731, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27009732, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27009733, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27009734, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27009735, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27009736, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27009737, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27009738, '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 = 27010269 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': 3744876, 'mtr_portfolio_id': 27010269, 'created_at': datetime.datetime(2025, 9, 19, 5, 47, 29), 'result': '0.05963759825267842', 'result_long': None, 'result_double': None}] Qualite : 0.05963759825267842 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27010269 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010269_19-09-2025_05_47_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27010269 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_P27010269_19-09-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27010274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27010278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010285, 'pht': 3726}}" where mtr_portfolio_id = 27010269 and dashboard_run_id = 2324755 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`=27010269 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394408, 0.05963759825267842, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010269_19-09-2025_05_47_31.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27010274, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010275, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010276, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010277, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27010278, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010279, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010280, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010281, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010282, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010283, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010284, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010285, '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 = 27010938 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': 3742634, 'mtr_portfolio_id': 27010938, 'created_at': datetime.datetime(2025, 9, 18, 21, 32, 58), 'result': '0.041013521095713636', 'result_long': None, 'result_double': None}] Qualite : 0.041013521095713636 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27010938 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010938_18-09-2025_21_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27010938 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_P27010938_18-09-2025_21_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27010951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27010956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010962, 'pht': 3726}}" where mtr_portfolio_id = 27010938 and dashboard_run_id = 2324755 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`=27010938 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394409, 0.041013521095713636, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27010938_18-09-2025_21_32_58.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 27010951, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27010952, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27010953, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27010954, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27010955, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27010956, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27010957, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27010958, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27010959, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27010960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27010961, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27010962, '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 = 27011469 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': 3742734, 'mtr_portfolio_id': 27011469, 'created_at': datetime.datetime(2025, 9, 18, 22, 13), 'result': '0.049628820643987916', 'result_long': None, 'result_double': None}] Qualite : 0.049628820643987916 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27011469 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27011469_18-09-2025_22_13_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27011469 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_P27011469_18-09-2025_22_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27011504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27011505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27011506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27011507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27011508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27011509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27011510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27011511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27011512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27011513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27011514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27011515, 'pht': 3726}}" where mtr_portfolio_id = 27011469 and dashboard_run_id = 2324755 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`=27011469 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394410, 0.049628820643987916, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27011469_18-09-2025_22_13_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27011504, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27011505, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27011506, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27011507, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27011508, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27011509, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27011510, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27011511, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27011512, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27011513, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27011514, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27011515, '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 = 27012615 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': 3742898, 'mtr_portfolio_id': 27012615, 'created_at': datetime.datetime(2025, 9, 18, 22, 17, 2), 'result': '0.07807084930676675', 'result_long': None, 'result_double': None}] Qualite : 0.07807084930676675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27012615 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27012615_18-09-2025_22_17_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27012615 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_P27012615_18-09-2025_22_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27012625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012635, 'pht': 3726}}" where mtr_portfolio_id = 27012615 and dashboard_run_id = 2324755 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`=27012615 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394411, 0.07807084930676675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27012615_18-09-2025_22_17_02.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012624, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27012625, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012626, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012627, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012628, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012629, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012630, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012631, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012632, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012633, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012634, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012635, '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 = 27012724 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': 3742910, 'mtr_portfolio_id': 27012724, 'created_at': datetime.datetime(2025, 9, 18, 22, 35, 29), 'result': '0.05841616251139257', 'result_long': None, 'result_double': None}] Qualite : 0.05841616251139257 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27012724 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27012724_18-09-2025_22_35_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27012724 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_P27012724_18-09-2025_22_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27012739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012750, 'pht': 3726}}" where mtr_portfolio_id = 27012724 and dashboard_run_id = 2324755 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`=27012724 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394412, 0.05841616251139257, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27012724_18-09-2025_22_35_29.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 27012739, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27012740, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27012741, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27012742, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27012743, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27012744, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27012745, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27012746, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27012747, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27012748, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27012749, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27012750, '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 = 27013358 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': 3742998, 'mtr_portfolio_id': 27013358, 'created_at': datetime.datetime(2025, 9, 18, 22, 48, 58), 'result': '0.04148738573123356', 'result_long': None, 'result_double': None}] Qualite : 0.04148738573123356 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27013358 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27013358_18-09-2025_22_48_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27013358 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_P27013358_18-09-2025_22_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013378, 'pht': 3726}}" where mtr_portfolio_id = 27013358 and dashboard_run_id = 2324755 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`=27013358 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394413, 0.04148738573123356, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27013358_18-09-2025_22_48_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013367, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013369, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013370, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013372, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013373, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013374, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013375, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013376, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013377, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013378, '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 = 27013874 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': 3743063, 'mtr_portfolio_id': 27013874, 'created_at': datetime.datetime(2025, 9, 18, 23, 2, 59), 'result': '0.05982421206074656', 'result_long': None, 'result_double': None}] Qualite : 0.05982421206074656 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27013874 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27013874_18-09-2025_23_03_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27013874 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_P27013874_18-09-2025_23_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013901, 'pht': 3726}}" where mtr_portfolio_id = 27013874 and dashboard_run_id = 2324755 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`=27013874 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394414, 0.05982421206074656, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27013874_18-09-2025_23_03_00.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27013890, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27013891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27013892, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27013893, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27013894, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27013895, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27013896, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27013897, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27013898, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27013899, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27013900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27013901, '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 = 27014417 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': 3743137, 'mtr_portfolio_id': 27014417, 'created_at': datetime.datetime(2025, 9, 18, 23, 18, 58), 'result': '0.08525258637540468', 'result_long': None, 'result_double': None}] Qualite : 0.08525258637540468 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27014417 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27014417_18-09-2025_23_18_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27014417 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_P27014417_18-09-2025_23_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27014426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27014427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27014428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27014429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27014430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27014431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27014432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27014434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27014435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27014436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27014437, 'pht': 3726}}" where mtr_portfolio_id = 27014417 and dashboard_run_id = 2324755 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`=27014417 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394415, 0.08525258637540468, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27014417_18-09-2025_23_18_58.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27014426, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27014427, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27014428, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27014429, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27014430, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27014431, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27014432, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014433, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27014434, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27014435, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27014436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27014437, '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 = 27014994 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': 3743231, 'mtr_portfolio_id': 27014994, 'created_at': datetime.datetime(2025, 9, 18, 23, 32, 57), 'result': '0.048831028843620776', 'result_long': None, 'result_double': None}] Qualite : 0.048831028843620776 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27014994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27014994_18-09-2025_23_32_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27014994 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_P27014994_18-09-2025_23_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015010, 'pht': 3726}}" where mtr_portfolio_id = 27014994 and dashboard_run_id = 2324755 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`=27014994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394416, 0.048831028843620776, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27014994_18-09-2025_23_32_58.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27014999, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015000, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015001, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015002, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015004, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015005, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015006, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015007, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015008, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015009, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015010, '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 = 27015359 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': 3743279, 'mtr_portfolio_id': 27015359, 'created_at': datetime.datetime(2025, 9, 18, 23, 46, 59), 'result': '0.03543022156376846', 'result_long': None, 'result_double': None}] Qualite : 0.03543022156376846 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27015359 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27015359_18-09-2025_23_47_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27015359 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_P27015359_18-09-2025_23_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015377, 'pht': 3726}}" where mtr_portfolio_id = 27015359 and dashboard_run_id = 2324755 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`=27015359 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394417, 0.03543022156376846, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27015359_18-09-2025_23_47_00.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015366, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015367, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015368, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015369, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015372, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015373, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015374, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015375, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015376, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015377, '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 = 27015957 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': 3743384, 'mtr_portfolio_id': 27015957, 'created_at': datetime.datetime(2025, 9, 19, 1, 14, 1), 'result': '0.07717789826241016', 'result_long': None, 'result_double': None}] Qualite : 0.07717789826241016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 27015957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27015957_19-09-2025_01_14_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 27015957 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_P27015957_19-09-2025_01_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015970, 'pht': 3726}}" where mtr_portfolio_id = 27015957 and dashboard_run_id = 2324755 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`=27015957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (15394418, 0.07717789826241016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P27015957_19-09-2025_01_14_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 27015959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 27015960, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 27015961, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 27015962, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 27015963, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 27015964, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 27015965, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 27015966, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 27015967, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 27015968, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 27015969, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 27015970, '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 (26978193,26978870,26979560,26982588,26982995,26983682,26984191,26985006,26985588,26986375,27003318,27003648,27004172,27004790,27005618,27006130,27006977,27007606,27008428,27009148,27009699,27010269,27010938,27011469,27012615,27012724,27013358,27013874,27014417,27014994,27015359,27015957) result : ((1384532804,), (1384532860,), (1384532981,), (1384533078,), (1384533485,), (1384533555,), (1384533644,), (1384533699,), (1384534235,), (1384534641,), (1384534700,), (1384534747,), (1384534806,), (1384534909,), (1384535182,), (1384535237,), (1384535252,), (1384535296,), (1384535323,), (1384535456,), (1384535497,), (1384535537,), (1384535568,), (1384535597,), (1384536085,), (1384536282,), (1384536394,), (1384537022,), (1384537055,), (1384537082,), (1384537098,), (1384537355,), (1384537395,), (1384537445,), (1384537691,), (1384537722,), (1384537729,), (1384537761,), (1384538029,), (1384538057,), (1384538086,), (1384538121,), (1384538156,), (1384538205,), (1384538742,), (1384538788,), (1384538834,), (1384538889,), (1384538940,), (1384539393,), (1384539416,), (1384539437,), (1384539661,), (1384540805,), (1384540838,), (1384540863,), (1384540902,), (1384540921,), (1384540924,), (1384541081,), (1384540977,), (1384540978,), (1384540979,), (1384540998,), (1384541015,), (1384541367,), (1384541368,), (1384541376,), (1384541687,), (1384541714,), (1384541739,), (1384541762,), (1384541791,), (1384542079,), (1384542167,), (1384542225,), (1384542299,), (1384542368,), (1384542967,), (1384543028,), (1384543096,), (1384543155,), (1384543728,), (1384543797,), (1384543867,), (1384543914,), (1384544441,), (1384544512,), (1384544574,), (1384544638,), (1384544699,), (1384545056,), (1384545178,), (1384545224,), (1384545305,), (1384546405,), (1384546495,), (1384546565,), (1384546672,), (1384546759,), (1384547350,), (1384547415,), (1384548210,), (1384548285,), (1384548356,), (1384548422,), (1384548479,), (1384548716,), (1384548743,), (1384548771,), (1384549007,), (1384549034,), (1384549058,), (1384549082,), (1384549107,), (1384549273,), (1384549461,), (1384549492,), (1384549531,), (1384549628,), (1384550483,), (1384550507,), (1384550531,), (1384550616,), (1384550642,), (1384551315,), (1384551458,), (1384551535,), (1384550404,), (1384550430,), (1384550456,), (1384551238,), (1384551242,), (1384551244,), (1384551255,), (1384551284,), (1384551369,), (1384551370,), (1384551379,), (1384551380,), (1384551409,), (1384551432,), (1384551449,), (1384551491,), (1384551637,), (1384551663,), (1384551690,), (1384551722,), (1384551751,), (1384551978,), (1384552024,), (1384552058,), (1384552082,), (1384552367,), (1384552390,), (1384552413,), (1384553118,), (1384553209,), (1384554394,), (1384554428,), (1384554468,), (1384554499,), (1384554913,), (1384554914,), (1384554916,), (1384554919,), (1384554922,), (1384554936,), (1384555036,), (1384555060,), (1384555097,), (1384555107,), (1384555129,), (1384555163,), (1384614089,), (1384614057,), (1384616005,), (1384616455,), (1384616481,), (1384616666,), (1384616672,), (1384616699,), (1384616736,), (1384616930,), (1384616954,), (1384616983,), (1384617009,), (1384617034,), (1384617280,), (1384617305,), (1384617329,), (1384617353,), (1384617370,), (1384617372,), (1384617379,), (1384617902,), (1384617955,), (1384617991,), (1384618021,), (1384618352,), (1384618377,), (1384618404,), (1384618430,), (1384618485,), (1384618517,), (1384618765,), (1384618794,), (1384618819,), (1384618844,), (1384618875,), (1384618903,), (1384619255,), (1384619142,), (1384619199,), (1384619224,), (1384619714,), (1384619769,), (1384619849,), (1384619901,), (1384619956,), (1384620337,), (1384620406,), (1384620475,), (1384620542,), (1384620618,), (1384620666,), (1384620865,), (1384620866,), (1384620882,), (1384620981,), (1384621085,), (1384621265,), (1384621773,), (1384621885,), (1384621999,), (1384622120,), (1384622465,), (1384622581,), (1384622665,), (1384623014,), (1384623038,), (1384623061,), (1384623065,), (1384623069,), (1384623071,), (1384623249,), (1384623507,), (1384623701,), (1384623892,), (1384624009,), (1384624109,), (1384624769,), (1384624819,), (1384624846,), (1384625335,), (1384625384,), (1384625414,), (1384625436,), (1384625437,), (1384625438,), (1384625440,), (1384625443,), (1384625454,), (1384625457,), (1384625461,), (1384625466,), (1384625495,), (1384625497,), (1384625498,), (1384625514,), (1384625809,), (1384625838,), (1384625866,), (1384626203,), (1384626237,), (1384626266,), (1384627118,), (1384627204,), (1384627325,), (1384627338,), (1384627341,), (1384627491,), (1384627361,), (1384627362,), (1384627363,), (1384627364,), (1384627395,), (1384627930,), (1384627957,), (1384627983,), (1384628340,), (1384628412,), (1384628650,), (1384628839,), (1384628908,), (1384629091,), (1384629115,), (1384629160,), (1384629187,), (1384629716,), (1384629741,), (1384629764,), (1384629787,), (1384629812,), (1384630174,), (1384630176,), (1384630273,), (1384630299,), (1384630325,), (1384630350,), (1384630402,), (1384630438,), (1384630650,), (1384630680,), (1384630702,), (1384630705,), (1384630711,), (1384630853,), (1384630966,), (1384631027,), (1384631102,), (1384631346,), (1384631347,), (1384631366,), (1384631435,), (1384631436,), (1384631437,), (1384631439,), (1384631442,), (1384631445,), (1384631453,), (1384631454,), (1384631455,), (1384631457,), (1384631477,), (1384631478,), (1384631493,), (1384631983,), (1384631989,), (1384631993,), (1384631996,), (1384632045,), (1384632073,), (1384632102,), (1384632233,), (1384632211,), (1384632231,), (1384632256,), (1384632258,), (1384632260,), (1384632277,), (1384632303,), (1384632499,), (1384632525,), (1384632570,), (1384632608,), (1384632635,), (1384632664,), (1384632869,), (1384632895,), (1384632927,), (1384632951,), (1384633285,), (1384633341,), (1384633396,), (1384633428,), (1384633457,), (1384633485,), (1384633874,), (1384633918,), (1384633973,), (1384634026,), (1384634167,), (1384634299,), (1384635659,), (1384635767,), (1384635892,), (1384636898,), (1384637019,), (1384637137,), (1384637261,), (1384637349,), (1384637628,), (1384637682,), (1384637850,), (1384638059,), (1384639347,), (1384639350,), (1384639360,), (1384639379,), (1384639814,), (1384639815,), (1384639816,), (1384639834,), (1384639849,), (1384639853,), (1384639868,), (1384639871,), (1384639874,), (1384639899,), (1384639903,), (1384639905,), (1384639928,), (1384639932,), (1384639934,), (1384639938,), (1384639941,), (1384640121,), (1384639980,), (1384640008,), (1384640057,), (1384640088,), (1384640320,), (1384640346,), (1384640372,), (1384640644,), (1384640699,), (1384640733,), (1384640769,), (1384640799,), (1384640969,), (1384640995,), (1384641018,), (1384641019,), (1384641023,), (1384641026,), (1384641046,), (1384641047,), (1384641052,), (1384641055,), (1384641071,), (1384641294,), (1384641318,), (1384641342,), (1384641348,), (1384641352,), (1384641440,), (1384641441,), (1384641442,), (1384641443,), (1384641445,), (1384641589,), (1384641653,), (1384641681,), (1384641709,), (1384641739,), (1384641773,), (1384641960,), (1384641987,), (1384642010,), (1384642120,), (1384642221,), (1384642416,), (1384642499,), (1384642571,), (1384642662,), (1384643167,), (1384643235,), (1384643309,), (1384643377,), (1384643451,), (1384643520,), (1384643752,), (1384643826,), (1384643900,), (1384643973,), (1384644050,), (1384644151,), (1384644495,), (1384644572,), (1384644666,), (1384644675,), (1384644676,), (1384644682,), (1384644686,), (1384644706,), (1384645390,), (1384645442,), (1384645514,), (1384645661,), (1384645729,), (1384646005,), (1384646039,), (1384646066,), (1384646071,), (1384646075,), (1384646228,), (1384646090,), (1384646102,), (1384646128,), (1384646179,), (1384646633,), (1384646674,), (1384646892,), (1384646915,), (1384646937,), (1384646945,), (1384646949,), (1384646966,), (1384646971,), (1384648311,), (1384648401,), (1384648500,), (1384649184,), (1384649244,), (1384649652,), (1384649693,), (1384649722,), (1384649872,), (1384649921,), (1384649974,), (1384650024,), (1384650442,), (1384650476,), (1384650539,), (1384650580,), (1384650841,), (1384650887,), (1384650918,), (1384650955,), (1384651079,), (1384651080,), (1384651082,), (1384651084,), (1384651197,), (1384651357,), (1384651448,), (1384652319,), (1384652340,), (1384652343,), (1384652345,), (1384652348,), (1384652372,), (1384652363,), (1384652364,), (1384652365,), (1384652367,), (1384652382,), (1384652383,), (1384652388,), (1384652453,), (1384653068,), (1384653177,), (1384653323,), (1384654367,), (1384654394,), (1384654403,), (1384654405,), (1384654409,), (1384654695,), (1384654763,), (1384655736,), (1384656232,), (1384656286,), (1384656396,), (1384656515,), (1384664488,), (1384907825,), (1384907852,), (1384907891,), (1384907918,), (1384908204,), (1384908232,), (1384908258,), (1384908348,), (1384908350,), (1384909050,), (1384909126,), (1384909147,), (1384909150,), (1384909153,), (1384909157,), (1384909160,), (1384909170,), (1384909173,), (1384909175,), (1384909176,), (1384909205,), (1384909215,), (1384909236,), (1384909239,), (1384909241,), (1384909243,), (1384909257,), (1384909258,), (1384909259,), (1384909261,), (1384909264,), (1384909288,), (1384909532,), (1384909567,), (1384909591,), (1384909622,), (1384909648,), (1384909906,), (1384909930,), (1384909955,), (1384910003,), (1384910005,), (1384910006,), (1384910009,), (1384910012,), (1384910013,), (1384910044,), (1384910045,), (1384910046,), (1384910048,), (1384910052,), (1384910054,), (1384910147,), (1384910255,), (1384910286,), (1384910313,), (1384910570,), (1384910640,), (1384910666,), (1384910670,), (1384910801,), (1384910803,), (1384910804,), (1384910808,), (1384910811,), (1384910813,), (1384910972,), (1384910997,), (1384911024,), (1384911050,), (1384911080,), (1384911082,), (1384911085,), (1384911088,), (1384911280,), (1384911175,), (1384911203,), (1384911228,), (1384911253,), (1384911487,), (1384911493,), (1384911495,), (1384911498,), (1384911499,), (1384911500,), (1384911603,), (1384911608,), (1384911617,), (1384911667,), (1384911669,), (1384911670,), (1384911671,), (1384911675,), (1384911690,), (1384911692,), (1384911694,), (1384911697,), (1384911701,), (1384911707,), (1384911709,), (1384911711,), (1384911712,), (1384911714,), (1384911744,), (1384911745,), (1384911747,), (1384911853,), (1384911871,), (1384911873,), (1384911876,), (1384911880,), (1384911883,), (1384911894,), (1384911896,), (1384911897,), (1384911898,), (1384911901,), (1384911904,), (1384911919,), (1384911920,), (1384911922,), (1384911925,), (1384911928,), (1384911931,), (1384911935,), (1384911936,), (1384911937,), (1384911940,), (1384911942,), (1384911947,), (1384911949,), (1384911953,), (1384911955,), (1384911957,), (1384911972,), (1384911976,), (1384911977,), (1384911979,), (1384911982,), (1384911985,), (1384912006,), (1384912009,), (1384912012,), (1384912015,), (1384912017,), (1384912387,), (1384912441,), (1384912491,), (1384912548,), (1384912592,), (1384912621,), (1384912622,), (1384912626,), (1384912627,), (1384912636,), (1384912639,), (1384912643,), (1384912644,), (1384912646,), (1384912648,), (1384912826,), (1384912772,), (1384912777,), (1384912778,), (1384912783,), (1384912806,), (1384912849,), (1384912852,), (1384912859,), (1384912860,), (1384912876,), (1384912961,), (1384912962,), (1384912963,), (1384912981,), (1384913005,), (1384913031,), (1384913292,), (1384914580,), (1384915351,), (1384915399,), (1384915454,), (1384915504,), (1384915874,), (1384915900,), (1384915925,), (1384915937,), (1384915939,), (1384915948,), (1384916267,), (1384916296,), (1384916312,), (1384916320,), (1384916532,), (1384916535,), (1384916547,), (1384916576,), (1384916750,), (1384916766,), (1384916795,), (1384916800,), (1384916802,), (1384916804,), (1384916863,), (1384916864,), (1384916865,), (1384916867,), (1384916880,), (1384916886,), (1384916909,), (1384916934,), (1384916963,), (1384916992,), (1384917101,), (1384917103,), (1384917105,), (1384917107,), (1384917109,), (1384917110,), (1384917175,), (1384917176,), (1384917177,), (1384917183,), (1384917192,), (1384917185,), (1384917187,), (1384917190,), (1384917201,), (1384917203,), (1384917207,), (1384917209,), (1384917228,), (1384917231,), (1384917240,), (1384917241,), (1384917242,), (1384917245,), (1384917249,), (1384917457,), (1384917482,), (1384917506,), (1384917573,), (1384917588,), (1384917597,), (1384917625,), (1384917673,), (1384918048,), (1384918073,), (1384918081,), (1384918084,), (1384918267,), (1384918291,), (1384918314,), (1384918341,), (1384918365,), (1384918368,), (1384918372,), (1384918374,), (1384918375,), (1384918378,), (1384918382,), (1384918389,), (1384918390,), (1384918391,), (1384918393,), (1384918396,), (1384918398,), (1384918406,), (1384918407,), (1384918413,), (1384918440,), (1384918467,), (1384918484,), (1384918508,), (1384918509,), (1384918510,), (1384918513,), (1384918521,), (1384918522,), (1384918525,), (1384918527,), (1384918530,), (1384918542,), (1384918624,), (1384918708,), (1384919288,), (1384919289,), (1384919290,), (1384919293,), (1384919413,), (1384919418,), (1384919434,), (1384919439,), (1384919442,), (1384919449,), (1384919880,), (1384919933,), (1384920000,), (1384919991,), (1384919993,), (1384919994,), (1384919997,), (1384920232,), (1384920233,), (1384920234,), (1384920237,), (1384920241,), (1384920243,), (1384920436,), (1384920520,), (1384920610,), (1384920616,), (1384920623,), (1384920626,), (1384920647,), (1384920678,), (1384920681,), (1384920684,), (1384920689,), (1384920698,), (1384920702,), (1384920728,), (1384920755,), (1384920806,), (1384920840,), (1384920870,), (1384920966,), (1384920968,), (1384920971,), (1384920984,), (1384921067,), (1384921093,), (1384921111,), (1384921115,), (1384921118,), (1384921279,), (1384921280,), (1384921281,), (1384921283,), (1384921310,), (1384921337,), (1384921474,), (1384921476,), (1384921495,), (1384921497,), (1384921555,), (1384921556,), (1384921557,), (1384921560,), (1384921561,), (1384921563,), (1384921573,), (1384921580,), (1384921605,), (1384921633,), (1384921659,), (1384921803,), (1384921804,), (1384921805,), (1384921912,), (1384921914,), (1384921924,), (1384921940,), (1384921964,), (1384921987,), (1384922121,), (1384922124,), (1384922125,), (1384922144,), (1384922162,), (1384922172,), (1384922245,), (1384922234,), (1384922235,), (1384922243,), (1384922361,), (1384922386,), (1384922409,), (1384922411,), (1384922521,), (1384922522,), (1384922523,), (1384922546,), (1384922564,), (1384922572,), (1384922579,), (1384922605,), (1384922612,), (1384922614,), (1384922730,), (1384922753,), (1384922773,), (1384922775,), (1384922777,), (1384922946,), (1384922960,), (1384922961,), (1384922963,), (1384922964,), (1384922988,), (1384922990,), (1384922992,), (1384922997,), (1384923000,), (1384923003,), (1384923032,), (1384923034,), (1384923036,), (1384923044,), (1384923060,), (1384923063,), (1384923065,), (1384923068,), (1384923071,), (1384923080,), (1384923081,), (1384923083,), (1384923085,), (1384923090,), (1384923096,), (1384923097,), (1384923099,), (1384923100,), (1384923103,), (1384923105,), (1384923115,), (1384923117,), (1384923169,), (1384923195,), (1384923219,), (1384923256,), (1384923283,), (1384923548,), (1384923574,), (1384923604,), (1384923632,), (1384923659,), (1384923894,), (1384923898,), (1384923901,), (1384923972,), (1384924000,), (1384924029,), (1384924059,), (1384924086,), (1384924348,), (1384924239,), (1384924262,), (1384924318,), (1384924320,), (1384924322,), (1384924495,), (1384924547,), (1384924602,), (1384924658,), (1384924709,), (1384925038,), (1384925090,), (1384925139,), (1384925186,), (1384926067,), (1384926162,), (1384926423,), (1384926486,), (1384926539,), (1384926951,), (1384927038,), (1384927094,), (1384927111,), (1384927125,), (1384927190,), (1384927248,), (1384927271,), (1384927321,), (1384927390,), (1384927528,), (1384927578,), (1384927627,), (1384927676,), (1384927725,), (1384928298,), (1384928375,), (1384928470,), (1384928550,), (1384929114,), (1384929169,), (1384929209,), (1384929236,), (1384929257,), (1384929334,), (1384929405,), (1384929472,), (1384929581,), (1384929646,), (1384929708,), (1384930048,), (1384930055,), (1384930056,), (1384930065,), (1384930090,), (1384930125,), (1384930304,), (1384930308,), (1384930809,), (1384930836,), (1384931158,), (1384931173,), (1384931238,), (1384931239,), (1384931240,), (1384931243,), (1384931246,), (1384931248,), (1384931253,), (1384931254,), (1384931256,), (1384931257,), (1384931259,), (1384931261,), (1384931274,), (1384931276,), (1384931278,), (1384931279,), (1384931281,), (1384931290,), (1384931284,), (1384931288,), (1384931343,), (1384931368,), (1384931395,), (1384931758,), (1384931785,), (1384931811,), (1384931836,), (1384932025,), (1384932044,), (1384932048,), (1384932072,), (1384932204,), (1384932235,), (1384932415,), (1384932416,), (1384932429,), (1384932430,), (1384932564,), (1384932568,), (1384932569,), (1384932595,), (1384932791,), (1384932792,), (1384932793,), (1384932867,), (1384932872,), (1384932903,), (1384932904,), (1384932905,), (1384932918,), (1384932920,), (1384932921,), (1384932923,), (1384932931,), (1384932935,), (1384932939,), (1384932945,), (1384932949,), (1384932960,), (1384932998,), (1384933001,), (1384933003,), (1384933005,), (1384933018,), (1384933096,), (1384933100,), (1384933122,), (1384933135,), (1384933138,), (1384933142,), (1384933154,), (1384933153,), (1384933177,), (1384933180,), (1384933181,), (1384933183,), (1384933184,), (1384933193,), (1384933194,), (1384933195,), (1384933196,), (1384933212,), (1384933238,), (1384933512,), (1384933538,), (1384933539,), (1384933948,), (1384933989,), (1384934012,), (1384934040,), (1384934235,), (1384934238,), (1384934264,), (1384934293,), (1384934321,), (1384934434,), (1384934461,), (1384934488,), (1384934501,), (1384934505,), (1384934507,), (1384934678,), (1384934686,), (1384934746,), (1384934751,), (1384934761,), (1384934775,), (1384934778,), (1384934789,), (1384934828,), (1384934830,), (1384934832,), (1384934834,), (1384934847,), (1384934853,), (1384934877,), (1384934879,), (1384934881,), (1384934884,), (1384934888,), (1384934909,), (1384934910,), (1384934911,), (1384934914,), (1384934917,), (1384934922,), (1384934924,), (1384934925,), (1384934927,), (1384934929,), (1384934937,), (1384934940,), (1384934942,), (1384934944,), (1384935221,), (1384935123,), (1384935147,), (1384935171,), (1384935196,), (1384935477,), (1384935502,), (1384935532,), (1384935556,), (1384935581,), (1384935607,), (1384935778,), (1384935780,), (1384935783,), (1384935785,), (1384935828,), (1384935829,), (1384935830,), (1384935844,), (1384935870,), (1384935893,), (1384935918,), (1384936199,), (1384936224,), (1384936248,), (1384936272,), (1384936297,), (1384936430,), (1384936432,), (1384936433,), (1384936435,), (1384936438,), (1384936449,), (1384936463,), (1384936478,), (1384936502,), (1384936527,), (1384936702,), (1384936704,), (1384936705,), (1384936707,), (1384936743,), (1384936744,), (1384936745,), (1384936760,), (1384936762,), (1384936780,), (1384937030,), (1384937054,), (1384937083,), (1384937172,), (1384937247,), (1384937961,), (1384937960,), (1384938654,), (1384939917,), (1384940038,), (1384940102,), (1384940208,), (1384940257,), (1384940452,), (1384940481,), (1384940528,), (1384940578,), (1384940579,), (1384940580,), (1384940592,), (1384940822,), (1384940855,), (1384940860,), (1384940862,), (1384940864,), (1384941096,), (1384941099,), (1384941102,), (1384941107,), (1384941111,), (1384941122,), (1384941123,), (1384941126,), (1384941128,), (1384941130,), (1384941166,), (1384941168,), (1384941169,), (1384941188,), (1384941189,), (1384941198,), (1384941199,), (1384941239,), (1384941231,), (1384941238,), (1384941254,), (1384941255,), (1384941256,), (1384941274,), (1384941276,), (1384941277,), (1384941347,), (1384941374,), (1384941398,), (1384941425,), (1384941461,), (1384941499,), (1384941942,), (1384942009,), (1384942059,), (1384942110,), (1384942156,), (1384942664,), (1384942712,), (1384942772,), (1384943230,), (1384943254,), (1384943280,), (1384943309,), (1384943337,), (1384943373,), (1384943398,), (1384943421,), (1384943449,), (1384943475,), (1384943794,), (1384943821,), (1384943867,), (1384943895,), (1384943922,), (1384943948,), (1384944293,), (1384944295,), (1384944299,), (1384944302,), (1384944428,), (1384944447,), (1384944464,), (1384944492,), (1384944772,), (1384944773,), (1384944774,), (1384944777,), (1384944780,), (1384944781,), (1384944791,), (1384944793,), (1384944794,), (1384944798,), (1384944800,), (1384944811,), (1384944812,), (1384944813,), (1384944841,), (1384944836,), (1384944837,), (1384944838,), (1384944853,), (1384944854,), (1384944855,), (1384944859,), (1384944870,), (1384944899,), (1384944900,), (1384944901,), (1384944903,), (1384944921,), (1384944922,), (1384944923,), (1384944926,), (1384944931,), (1384944932,), (1384944965,), (1384944970,), (1384944971,), (1384944973,), (1384944997,), (1384944999,), (1384945000,), (1384945006,), (1384945011,), (1384945069,), (1384945071,), (1384945073,), (1384945075,), (1384945078,), (1384945093,), (1384945094,), (1384945095,), (1384945098,), (1384945121,), (1384945122,), (1384945123,), (1384945125,), (1384945127,), (1384945129,), (1384945135,), (1384945136,), (1384945137,), (1384945139,), (1384945141,), (1384949342,), (1384946643,), (1384949207,), (1384949341,), (1384949399,), (1384949406,), (1384949407,), (1384949409,), (1384949411,), (1384949413,), (1384949418,), (1384949420,), (1384949433,), (1384949434,), (1384949435,), (1384949437,), (1384949463,), (1384949459,), (1384949460,), (1384949461,), (1384949489,), (1384949499,), (1384949503,), (1384949527,), (1384949536,), (1384949538,), (1384949548,), (1384949550,), (1384949552,), (1384949554,), (1384949558,), (1384949572,), (1384949573,), (1384949612,), (1384949614,), (1384949616,), (1384949619,), (1384949622,), (1384949638,), (1384949639,), (1384949640,), (1384949647,), (1384949650,), (1384949678,), (1384949681,), (1384949682,), (1384949684,), (1384949691,), (1384949740,), (1384949742,), (1384949744,), (1384949747,), (1384949772,), (1384949773,), (1384949775,), (1384949777,), (1384949780,), (1384949782,), (1384949794,), (1384949796,), (1384949798,), (1384949801,), (1384949804,), (1384949808,), (1384949815,), (1384949817,), (1384949819,), (1384949820,), (1384949822,), (1384949824,), (1384949827,), (1384949829,), (1384949832,), (1384949844,), (1384949850,), (1384949862,), (1384949864,), (1384949868,), (1384949874,), (1384949974,), (1384949975,), (1384949977,), (1384949980,), (1384949988,), (1384949990,), (1384949999,), (1384950132,), (1384950130,), (1384950153,), (1384950166,), (1384950174,), (1384950178,), (1384950210,), (1384950212,), (1384950213,), (1384950215,), (1384950217,), (1384950233,), (1384950234,), (1384950235,), (1384950237,), (1384950240,), (1384950251,), (1384950255,), (1384950258,), (1384950323,), (1384950326,), (1384950333,), (1384950335,), (1384950336,), (1384950345,), (1384950355,), (1384950357,), (1384950362,), (1384950365,), (1384950387,), (1384950389,), (1384950390,), (1384950393,), (1384950397,), (1384950400,), (1384950418,), (1384950420,), (1384950424,), (1384950487,), (1384950488,), (1384950489,), (1384950492,), (1384950496,), (1384950508,), (1384950511,), (1384950521,), (1384950547,), (1384950548,), (1384950550,), (1384950553,), (1384950571,), (1384950584,), (1384950589,), (1384950688,), (1384950680,), (1384950682,), (1384950685,), (1384950702,), (1384950704,), (1384950705,), (1384950707,), (1384950710,), (1384950736,), (1384950738,), (1384950740,), (1384950743,), (1384950745,), (1384950748,), (1384950757,), (1384950819,), (1384950820,), (1384950822,), (1384950832,), (1384950838,), (1384950844,), (1384950932,), (1384950938,), (1384950972,), (1384951012,), (1384951016,), (1384951052,), (1384951069,), (1384951071,), (1384951074,), (1384951126,), (1384951127,), (1384951128,), (1384951130,), (1384951149,), (1384951151,), (1384951189,), (1384951190,), (1384951191,), (1384951193,), (1384951195,), (1384951198,), (1384951208,), (1384951210,), (1384951211,), (1384951213,), (1384951225,), (1384951227,), (1384951229,), (1384951234,), (1384951299,), (1384951300,), (1384951301,), (1384951303,), (1384951474,), (1384951504,), (1384951604,), (1384951633,), (1384951665,), (1384951690,), (1384951718,), (1384951856,), (1384951852,), (1384951854,), (1384951963,), (1384951987,), (1384952051,), (1384952077,), (1384952155,), (1384952156,), (1384952157,), (1384952159,), (1384952161,), (1384952327,), (1384952385,), (1384952412,), (1384952728,), (1384952753,), (1384952781,), (1384952810,), (1384952838,), (1384952865,), (1384952960,), (1384953094,), (1384953119,), (1384953152,), (1384953168,), (1384953172,), (1384953302,), (1384953307,), (1384953309,), (1384953313,), (1384953448,), (1384953450,), (1384953451,), (1384953798,), (1384953825,), (1384953885,), (1384953913,), (1384954210,), (1384954235,), (1384954259,), (1384954285,), (1384954587,), (1384954611,), (1384954636,), (1384954664,), (1384954692,), (1384954807,), (1384954808,), (1384954809,), (1384954811,), (1384954919,), (1384955434,), (1384955459,), (1384955460,), (1384955461,), (1384955464,), (1384955467,), (1384955499,), (1384955502,), (1384955504,), (1384955517,), (1384955519,), (1384955526,), (1384955530,), (1384955533,), (1384955563,), (1384955565,), (1384955567,), (1384955621,), (1384955623,), (1384955625,), (1384955628,), (1384955651,), (1384955676,), (1384955677,), (1384955679,), (1384955682,), (1384955685,), (1384955688,), (1384955703,), (1384955704,), (1384955705,), (1384955724,), (1384955728,), (1384955730,), (1384955759,), (1384955761,), (1384955783,), (1384955784,), (1384955785,), (1384955787,), (1384955815,), (1384955822,), (1384955831,), (1384955833,), (1384955834,), (1384955856,), (1384955848,), (1384955851,), (1384955853,), (1384955882,), (1384955884,), (1384955886,), (1384955891,), (1384955903,), (1384955909,), (1384955912,), (1384955915,), (1384955939,), (1384955942,), (1384955945,), (1384955949,), (1384955953,), (1384955965,), (1384955966,), (1384955967,), (1384955969,), (1384955994,), (1384955996,), (1384955998,), (1384956001,), (1384956026,), (1384956027,), (1384956028,), (1384956030,), (1384956034,), (1384956053,), (1384956056,), (1384956059,), (1384956072,), (1384956075,), (1384956077,), (1384956080,), (1384956111,), (1384956114,), (1384956130,), (1384956133,), (1384956134,), (1384956136,), (1384956152,), (1384956159,), (1384956163,), (1384956166,), (1384956169,), (1384956259,), (1384956262,), (1384956266,), (1384956269,), (1384956301,), (1384956855,), (1384956977,), (1384956980,), (1384956983,), (1384957001,), (1384957002,), (1384957028,), (1384957124,), (1384957127,), (1384957129,), (1384957132,), (1384957207,), (1384957208,), (1384957209,), (1384957212,), (1384957235,), (1384957239,), (1384957244,), (1384957250,), (1384957297,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'18092025': {'nb_upload': 37, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([27010269]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] map_info['map_portfolio_photo'] : {27010269: [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960]} final : True mtd_id 4302 list_pids : [1384941239, 1384941199, 1384941198, 1384941189, 1384941188, 1384941169, 1384941168, 1384941166, 1384941130, 1384941128, 1384941126, 1384941123, 1384941122, 1384941111, 1384941107, 1384941102, 1384941099, 1384941096, 1384940864, 1384940862, 1384940860, 1384940855, 1384940822, 1384940592, 1384940580, 1384940579, 1384940578, 1384940528, 1384940481, 1384940452, 1384940257, 1384940208, 1384940102, 1384940038, 1384939917, 1384938654, 1384937960] Looping around the photos to save general results len do output : 1 /27010269Didn'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, '3744876') ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876') ('4302', None, None, None, None, None, None, None, '3744876') ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 38 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '27010269', 'None', None, None, None, None, '3744876'), ('4302', '27010269', '1384941239', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941199', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941198', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941189', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941188', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941169', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941168', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941166', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941130', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941128', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941126', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941123', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941122', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941111', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941107', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941099', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384941096', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940864', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940862', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940860', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940855', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940822', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940592', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940580', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940579', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940578', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940528', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940481', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940452', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940257', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940208', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940102', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384940038', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384939917', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384938654', None, None, None, None, None, '3744876'), ('4302', '27010269', '1384937960', None, None, None, None, None, '3744876')] time used for this insertion : 0.023725509643554688 save_final save missing photos in datou_result : time spend for datou_step_exec : 5.111612319946289 time spend to save output : 0.024058818817138672 total time spend for step 5 : 5.135671138763428 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 (3744876) 2.88user 2.21system 0:19.05elapsed 26%CPU (0avgtext+0avgdata 162480maxresident)k 280inputs+26328outputs (11major+79688minor)pagefaults 0swaps