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 : 833214 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 (2982225) updating current state to 1 UPDATE MTRPhoto.mtr_datou_current SET state=1, hostname='marlene' WHERE id in (2982225) SELECT count(*) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429379 AND hide_status = 0 list_input_json: [] Current got : datou_id : 4302, datou_cur_ids : ['2982225'] with mtr_portfolio_ids : ['23429379'] and first list_photo_ids : [] new path : /proc/833214/ Name: python3 Umask: 0002 State: R (running) Tgid: 833214 Ngid: 0 Pid: 833214 PPid: 833212 TracerPid: 0 Uid: 1006 1006 1006 1006 Gid: 1009 1009 1009 1009 FDSize: 64 Groups: 27 1009 1026 NStgid: 833214 NSpid: 833214 NSpgid: 830158 NSsid: 830158 VmPeak: 1107756 kB VmSize: 1107756 kB VmLck: 0 kB VmPin: 0 kB VmHWM: 99344 kB VmRSS: 99344 kB RssAnon: 60472 kB RssFile: 38872 kB RssShmem: 0 kB VmData: 866504 kB VmStk: 132 kB VmExe: 2644 kB VmLib: 130468 kB VmPTE: 600 kB VmSwap: 0 kB HugetlbPages: 0 kB CoreDumping: 0 THP_enabled: 1 Threads: 1 SigQ: 0/63054 SigPnd: 0000000000000000 ShdPnd: 0000000000000000 SigBlk: 0000000000000000 SigIgn: 0000000001001000 SigCgt: 0000000180000002 CapInh: 0000000000000000 CapPrm: 0000000000000000 CapEff: 0000000000000000 CapBnd: 000001ffffffffff CapAmb: 0000000000000000 NoNewPrivs: 0 Seccomp: 0 Seccomp_filters: 0 Speculation_Store_Bypass: thread vulnerable SpeculationIndirectBranch: conditional enabled Cpus_allowed: ffffffff,ffffffff,ffffffff,ffffffff Cpus_allowed_list: 0-127 Mems_allowed: 00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001 Mems_allowed_list: 0 voluntary_ctxt_switches: 46 nonvoluntary_ctxt_switches: 98 {'Name': 'python3', 'Umask': '0002', 'State': 'R (running)', 'Tgid': '833214', 'Ngid': '0', 'Pid': '833214', 'PPid': '833212', 'TracerPid': '0', 'Uid': '1006,1006,1006,1006', 'Gid': '1009,1009,1009,1009', 'FDSize': '64', 'Groups': '27 1009 1026', 'NStgid': '833214', 'NSpid': '833214', 'NSpgid': '830158', 'NSsid': '830158', 'VmPeak': '1107756 kB', 'VmSize': '1107756 kB', 'VmLck': '0 kB', 'VmPin': '0 kB', 'VmHWM': '99344 kB', 'VmRSS': '99344 kB', 'RssAnon': '60472 kB', 'RssFile': '38872 kB', 'RssShmem': '0 kB', 'VmData': '866504 kB', 'VmStk': '132 kB', 'VmExe': '2644 kB', 'VmLib': '130468 kB', 'VmPTE': '600 kB', 'VmSwap': '0 kB', 'HugetlbPages': '0 kB', 'CoreDumping': '0', 'THP_enabled': '1', 'Threads': '1', 'SigQ': '0/63054', 'SigPnd': '0000000000000000', 'ShdPnd': '0000000000000000', 'SigBlk': '0000000000000000', 'SigIgn': '0000000001001000', 'SigCgt': '0000000180000002', 'CapInh': '0000000000000000', 'CapPrm': '0000000000000000', 'CapEff': '0000000000000000', 'CapBnd': '000001ffffffffff', 'CapAmb': '0000000000000000', 'NoNewPrivs': '0', 'Seccomp': '0', 'Seccomp_filters': '0', 'Speculation_Store_Bypass': 'thread vulnerable', 'SpeculationIndirectBranch': 'conditional enabled', 'Cpus_allowed': 'ffffffff,ffffffff,ffffffff,ffffffff', 'Cpus_allowed_list': '0-127', 'Mems_allowed': '00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000000,00000001', 'Mems_allowed_list': '0', 'voluntary_ctxt_switches': '46', 'nonvoluntary_ctxt_switches': '98'} ('datou_batch_current', '833214', '1107756', '0', '1107756', '866504', '99344', b'', 'marlene', '2982225') 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 (23429379) 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 (2982225 ) ) 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 (23429379) AND hide_status = 0 ORDER by mtr_photo_id desc LIMIT 0, 200 list_result: [{'photo_id': 1361572595, 'portfolio_id': 23429379}, {'photo_id': 1361572568, 'portfolio_id': 23429379}, {'photo_id': 1361572566, 'portfolio_id': 23429379}, {'photo_id': 1361572557, 'portfolio_id': 23429379}, {'photo_id': 1361572545, 'portfolio_id': 23429379}, {'photo_id': 1361572543, 'portfolio_id': 23429379}, {'photo_id': 1361572540, 'portfolio_id': 23429379}, {'photo_id': 1361572519, 'portfolio_id': 23429379}, {'photo_id': 1361572517, 'portfolio_id': 23429379}, {'photo_id': 1361572515, 'portfolio_id': 23429379}, {'photo_id': 1361572500, 'portfolio_id': 23429379}, {'photo_id': 1361572497, 'portfolio_id': 23429379}, {'photo_id': 1361572494, 'portfolio_id': 23429379}, {'photo_id': 1361572490, 'portfolio_id': 23429379}, {'photo_id': 1361572486, 'portfolio_id': 23429379}, {'photo_id': 1361572474, 'portfolio_id': 23429379}, {'photo_id': 1361572442, 'portfolio_id': 23429379}, {'photo_id': 1361572438, 'portfolio_id': 23429379}, {'photo_id': 1361572435, 'portfolio_id': 23429379}, {'photo_id': 1361572431, 'portfolio_id': 23429379}, {'photo_id': 1361572428, 'portfolio_id': 23429379}, {'photo_id': 1361572409, 'portfolio_id': 23429379}, {'photo_id': 1361572406, 'portfolio_id': 23429379}, {'photo_id': 1361572404, 'portfolio_id': 23429379}, {'photo_id': 1361572397, 'portfolio_id': 23429379}, {'photo_id': 1361572394, 'portfolio_id': 23429379}, {'photo_id': 1361572370, 'portfolio_id': 23429379}, {'photo_id': 1361572366, 'portfolio_id': 23429379}, {'photo_id': 1361572362, 'portfolio_id': 23429379}, {'photo_id': 1361572359, 'portfolio_id': 23429379}, {'photo_id': 1361572110, 'portfolio_id': 23429379}, {'photo_id': 1361572107, 'portfolio_id': 23429379}, {'photo_id': 1361572105, 'portfolio_id': 23429379}, {'photo_id': 1361572103, 'portfolio_id': 23429379}, {'photo_id': 1361572078, 'portfolio_id': 23429379}, {'photo_id': 1361572075, 'portfolio_id': 23429379}, {'photo_id': 1361572072, 'portfolio_id': 23429379}, {'photo_id': 1361572070, 'portfolio_id': 23429379}] map_portfolio_id_photo_id: {23429379: [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070]} ##### 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.019591808319091797 #### fin chargement data Blocking on flush ? No conitnuing About to test input to load Calling datou_exec Inside datou_exec : verbose : True number of steps : 5 step1:ventilate_hashtags_in_portfolio Thu May 29 06:14:57 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23429379) 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 : 23429379 get user id for portfolio 23429379 get sub ptf for main ptf 23429379, type 3726 and hashtags ['plastique', 'Carton_brun', 'flou', 'cartonnette', 'kraft', 'papier', 'metal', 'autre_refus', 'Carton_gris', 'environnement', 'Teint_Dans_La_Masse', 'mal_croppe'] SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23429379 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','flou','cartonnette','kraft','papier','metal','autre_refus','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe')) 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`=23429379 AND mptpi.`type`=3726 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','flou','cartonnette','kraft','papier','metal','autre_refus','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 23429379, 'sub_port_id': 23429406, 'hashtag': 'environnement', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633276, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'autre_refus': {'main_port_id': 23429379, 'sub_port_id': 23429407, 'hashtag': 'autre_refus', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633277, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'Carton_gris': {'main_port_id': 23429379, 'sub_port_id': 23429408, 'hashtag': 'Carton_gris', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633278, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'Teint_Dans_La_Masse': {'main_port_id': 23429379, 'sub_port_id': 23429409, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633279, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'cartonnette': {'main_port_id': 23429379, 'sub_port_id': 23429410, 'hashtag': 'cartonnette', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633280, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'mal_croppe': {'main_port_id': 23429379, 'sub_port_id': 23429411, 'hashtag': 'mal_croppe', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633281, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'flou': {'main_port_id': 23429379, 'sub_port_id': 23429412, 'hashtag': 'flou', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633282, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'plastique': {'main_port_id': 23429379, 'sub_port_id': 23429413, 'hashtag': 'plastique', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633283, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'metal': {'main_port_id': 23429379, 'sub_port_id': 23429414, 'hashtag': 'metal', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633284, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'papier': {'main_port_id': 23429379, 'sub_port_id': 23429415, 'hashtag': 'papier', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633285, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'kraft': {'main_port_id': 23429379, 'sub_port_id': 23429416, 'hashtag': 'kraft', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633286, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}, 'Carton_brun': {'main_port_id': 23429379, 'sub_port_id': 23429417, 'hashtag': 'Carton_brun', 'pht': 3726, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633287, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 26)}} insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429406 , 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=23429379 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 (23429406) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429407 , 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=23429379 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 (23429407) result : ((1361572301,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429408 , 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=23429379 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 (23429408) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429409 , 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=23429379 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 (23429409) result : ((1361572165,), (1361572298,), (1361572299,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429410 , 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=23429379 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 (23429410) result : ((1361572167,), (1361572168,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429411 , 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=23429379 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 (23429411) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429412 , 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=23429379 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 (23429412) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429413 , 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=23429379 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 (23429413) result : ((1361572302,), (1361572303,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429414 , 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=23429379 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 (23429414) result : ((1361572171,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429415 , 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=23429379 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 (23429415) result : () SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429416 , 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=23429379 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 (23429416) result : ((1361572305,), (1361572306,)) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; insert ignore into MTRUser.mtr_portfolio_photos (mtr_portfolio_id, mtr_photo_id, mtr_user_id,created_at) SELECT 23429417 , 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=23429379 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 (23429417) result : ((1361572170,),) SELECT mtr_photo_id FROM MTRUser.mtr_portfolio_photos WHERE mtr_portfolio_id IN (23429379) result : ((1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,)) 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 (1361572500) and cspi.crop_hashtag_id = chi.id; To do ! Use context local managing function ! SELECT mptpi.id, mptpi.mtr_portfolio_id_1, mptpi.mtr_portfolio_id_2, mptpi.type, mptpi.hashtag_id, mptpi.min_score, mptpi.mtr_user_id, mptpi.created_at, mptpi.updated_at, mptpi.last_updated_at_desc, mptpi.last_updated_at_asc, h.hashtag FROM MTRPhoto.mtr_port_to_port_ids mptpi, MTRBack.hashtags h WHERE h.hashtag_id=mptpi.hashtag_id AND mptpi.`mtr_portfolio_id_1`=23429379 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','flou','cartonnette','kraft','papier','metal','autre_refus','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe')) 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`=23429379 AND mptpi.`type`=4417 AND mptpi.`hashtag_id` in (select hashtag_id FROM MTRBack.hashtags where hashtag in ('plastique','Carton_brun','flou','cartonnette','kraft','papier','metal','autre_refus','Carton_gris','environnement','Teint_Dans_La_Masse','mal_croppe')) AND mptpi.`min_score`=0.5 To do returned map {'environnement': {'main_port_id': 23429379, 'sub_port_id': 23429419, 'hashtag': 'environnement', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633288, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'autre_refus': {'main_port_id': 23429379, 'sub_port_id': 23429420, 'hashtag': 'autre_refus', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633289, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'Carton_gris': {'main_port_id': 23429379, 'sub_port_id': 23429421, 'hashtag': 'Carton_gris', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633290, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'Teint_Dans_La_Masse': {'main_port_id': 23429379, 'sub_port_id': 23429422, 'hashtag': 'Teint_Dans_La_Masse', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633291, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'cartonnette': {'main_port_id': 23429379, 'sub_port_id': 23429423, 'hashtag': 'cartonnette', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633292, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'mal_croppe': {'main_port_id': 23429379, 'sub_port_id': 23429424, 'hashtag': 'mal_croppe', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633293, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'flou': {'main_port_id': 23429379, 'sub_port_id': 23429425, 'hashtag': 'flou', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633294, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'plastique': {'main_port_id': 23429379, 'sub_port_id': 23429426, 'hashtag': 'plastique', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633295, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'metal': {'main_port_id': 23429379, 'sub_port_id': 23429427, 'hashtag': 'metal', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633296, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'papier': {'main_port_id': 23429379, 'sub_port_id': 23429428, 'hashtag': 'papier', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633297, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'kraft': {'main_port_id': 23429379, 'sub_port_id': 23429429, 'hashtag': 'kraft', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633298, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 42, 32), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}, 'Carton_brun': {'main_port_id': 23429379, 'sub_port_id': 23429431, 'hashtag': 'Carton_brun', 'pht': 4417, 'min_score': 0.5, 'mtr_user_id': 979, 'id': 15633299, 'last_updated_at': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_desc': datetime.datetime(2025, 5, 28, 23, 56, 58), 'last_updated_at_asc': datetime.datetime(2025, 5, 28, 23, 42, 32)}} insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429419,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429406 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429420,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429407 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429421,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429408 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429422,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429409 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429423,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429410 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429424,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429411 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429425,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429412 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429426,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429413 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429427,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429414 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429428,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429415 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429429,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429416 insert ignore into MTRUser.mtr_portfolio_photos(mtr_portfolio_id,mtr_photo_id,mtr_user_id) select 23429431,mtr_photo_id,mtr_user_id from MTRUser.mtr_portfolio_photos where mtr_portfolio_id = 23429417 lien utilise dans velours : https://www.fotonower.com/velours/23429419,23429420,23429421,23429422,23429423,23429424,23429425,23429426,23429427,23429428,23429429,23429431?tags=environnement,autre_refus,Carton_gris,Teint_Dans_La_Masse,cartonnette,mal_croppe,flou,plastique,metal,papier,kraft,Carton_brun After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23429379]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : ventilate_hashtags_in_portfolio we use saveGeneral [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] map_info['map_portfolio_photo'] : {23429379: [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070]} final : False mtd_id 4302 list_pids : [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] Looping around the photos to save general results len do output : 1 /23429379. 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, '2982225') ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '23429379', "{'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417}", None, None, None, None, '2982225'), ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225')] time used for this insertion : 0.5643548965454102 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.4192924499511719 time spend to save output : 0.5648245811462402 total time spend for step 1 : 0.9841170310974121 step2:final Thu May 29 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :0, first value : [] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23429379) 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 23429379 : SELECT photo_id, hashtag_id, ratio from MTRPhoto.photo_carac_ratio where hashtag_type = 3726 and photo_id in (1361572078,1361572075,1361572072,1361572070,1361572110,1361572107,1361572105,1361572103,1361572370,1361572366,1361572362,1361572359,1361572409,1361572406,1361572404,1361572397,1361572394,1361572442,1361572438,1361572435,1361572431,1361572428,1361572500,1361572497,1361572494,1361572490,1361572486,1361572474,1361572519,1361572517,1361572515,1361572568,1361572566,1361572557,1361572545,1361572543,1361572540,1361572595); 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([23429379]) Inside saveOutput : final : False verbose : True original output for save of step final : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} new output for save of step final : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] map_info['map_portfolio_photo'] : {23429379: [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070]} final : False mtd_id 4302 list_pids : [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] Looping around the photos to save general results len do output : 38 /1361572595.Didn't retrieve data . /1361572568.Didn't retrieve data . /1361572566.Didn't retrieve data . /1361572557.Didn't retrieve data . /1361572545.Didn't retrieve data . /1361572543.Didn't retrieve data . /1361572540.Didn't retrieve data . /1361572519.Didn't retrieve data . /1361572517.Didn't retrieve data . /1361572515.Didn't retrieve data . /1361572500.Didn't retrieve data . /1361572497.Didn't retrieve data . /1361572494.Didn't retrieve data . /1361572490.Didn't retrieve data . /1361572486.Didn't retrieve data . /1361572474.Didn't retrieve data . /1361572442.Didn't retrieve data . /1361572438.Didn't retrieve data . /1361572435.Didn't retrieve data . /1361572431.Didn't retrieve data . /1361572428.Didn't retrieve data . /1361572409.Didn't retrieve data . /1361572406.Didn't retrieve data . /1361572404.Didn't retrieve data . /1361572397.Didn't retrieve data . /1361572394.Didn't retrieve data . /1361572370.Didn't retrieve data . /1361572366.Didn't retrieve data . /1361572362.Didn't retrieve data . /1361572359.Didn't retrieve data . /1361572110.Didn't retrieve data . /1361572107.Didn't retrieve data . /1361572105.Didn't retrieve data . /1361572103.Didn't retrieve data . /1361572078.Didn't retrieve data . /1361572075.Didn't retrieve data . /1361572072.Didn't retrieve data . /1361572070.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, '2982225') ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 114 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', '23429379', '1361572595', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572568', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572566', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572557', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572545', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572543', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572540', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572519', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572517', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572515', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572500', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572497', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572494', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572490', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572486', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572474', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572442', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572438', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572435', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572431', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572428', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572409', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572406', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572404', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572397', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572394', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572370', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572366', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572362', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572359', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572110', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572107', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572105', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572103', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572078', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572075', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572072', '0.041850747942346195', None, None, None, None, '2982225'), ('4302', '23429379', '1361572070', '0.041850747942346195', None, None, None, None, '2982225')] time used for this insertion : 0.023825645446777344 save_final save missing photos in datou_result : time spend for datou_step_exec : 0.1481461524963379 time spend to save output : 0.02500128746032715 total time spend for step 2 : 0.17314743995666504 step3:velours_tree Thu May 29 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed complete output_args for input 0 : {23429379: [{'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417}]} input_args_next_step : {23429379: ()} output_args : {23429379: [{'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417}]} args : 23429379 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 : ({'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417},) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23429379) 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([23429379]) 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.3029475212097168 time spend to save output : 4.100799560546875e-05 total time spend for step 3 : 0.30298852920532227 step4:send_mail_cod Thu May 29 06:14:58 2025 VR 17-11-17 : now, only for linear exec dependencies tree, some output goes to fill the input of the next VR 22-3-18 : now we test the dependencies tree, but keep two separate code for datou_prepare_output_input until the code is correctly tested, clean and works in both case VR 22-3-18 : but we use the first code for the first step id = -1, build in the code of datou_exec VR 22-3-18 : we should manage here the case when we are at the first step instead of building this step before datou_exec Currently we do not manage missing dependencies information, that could maybe be correctly interpreted with default behavior Some of the step done at execution of the step could be done before when the tree of execution is build and the dependencies of different step analysed We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! complete output_args for input 2 : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} input_args_next_step : {1361572595: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572595 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572568 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572566 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572557 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572545 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572543 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572540 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572519 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572517 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572515 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572500 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572497 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572494 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572490 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572486 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572474 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572442 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572438 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572435 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572431 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572428 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572409 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572406 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572404 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572397 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572394 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572370 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572366 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572362 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572359 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572110 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572107 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572105 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572103 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572078 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572075 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572072 depend.output_id : 0 input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ()} output_args : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',)} args : 1361572070 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 : {23429379: [{'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417}]} input_args_next_step : {1361572595: ('0.041850747942346195',), 1361572568: ('0.041850747942346195',), 1361572566: ('0.041850747942346195',), 1361572557: ('0.041850747942346195',), 1361572545: ('0.041850747942346195',), 1361572543: ('0.041850747942346195',), 1361572540: ('0.041850747942346195',), 1361572519: ('0.041850747942346195',), 1361572517: ('0.041850747942346195',), 1361572515: ('0.041850747942346195',), 1361572500: ('0.041850747942346195',), 1361572497: ('0.041850747942346195',), 1361572494: ('0.041850747942346195',), 1361572490: ('0.041850747942346195',), 1361572486: ('0.041850747942346195',), 1361572474: ('0.041850747942346195',), 1361572442: ('0.041850747942346195',), 1361572438: ('0.041850747942346195',), 1361572435: ('0.041850747942346195',), 1361572431: ('0.041850747942346195',), 1361572428: ('0.041850747942346195',), 1361572409: ('0.041850747942346195',), 1361572406: ('0.041850747942346195',), 1361572404: ('0.041850747942346195',), 1361572397: ('0.041850747942346195',), 1361572394: ('0.041850747942346195',), 1361572370: ('0.041850747942346195',), 1361572366: ('0.041850747942346195',), 1361572362: ('0.041850747942346195',), 1361572359: ('0.041850747942346195',), 1361572110: ('0.041850747942346195',), 1361572107: ('0.041850747942346195',), 1361572105: ('0.041850747942346195',), 1361572103: ('0.041850747942346195',), 1361572078: ('0.041850747942346195',), 1361572075: ('0.041850747942346195',), 1361572072: ('0.041850747942346195',), 1361572070: ('0.041850747942346195',), 23429379: ()} output_args : {23429379: [{'environnement': 23429406, 'autre_refus': 23429407, 'Carton_gris': 23429408, 'Teint_Dans_La_Masse': 23429409, 'cartonnette': 23429410, 'mal_croppe': 23429411, 'flou': 23429412, 'plastique': 23429413, 'metal': 23429414, 'papier': 23429415, 'kraft': 23429416, 'Carton_brun': 23429417}]} args : 23429379 depend.output_id : 0 We should have FATAL ERROR but same_nb_input_output==True : this should be an optionnal input ! VR 22-3-18 : For now we do not clean correctly the datou structure input_args_next_step, len :39, first value : ('0.041850747942346195',) After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23429379) 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 (1361572595,1361572568,1361572566,1361572557,1361572545,1361572543,1361572540,1361572519,1361572517,1361572515,1361572500,1361572497,1361572494,1361572490,1361572486,1361572474,1361572442,1361572438,1361572435,1361572431,1361572428,1361572409,1361572406,1361572404,1361572397,1361572394,1361572370,1361572366,1361572362,1361572359,1361572110,1361572107,1361572105,1361572103,1361572078,1361572075,1361572072,1361572070) Found this number of photos: 38 ##### Call download_photos : nb_thread : 5 begin to download photo : 1361572070 begin to download photo : 1361572359 begin to download photo : 1361572409 begin to download photo : 1361572490 begin to download photo : 1361572543 download finish for photo 1361572359 begin to download photo : 1361572362 download finish for photo 1361572543 begin to download photo : 1361572545 download finish for photo 1361572070 begin to download photo : 1361572072 download finish for photo 1361572490 begin to download photo : 1361572494 download finish for photo 1361572362 begin to download photo : 1361572366 download finish for photo 1361572072 begin to download photo : 1361572075 download finish for photo 1361572545 begin to download photo : 1361572557 download finish for photo 1361572494 begin to download photo : 1361572497 download finish for photo 1361572366 begin to download photo : 1361572370 download finish for photo 1361572409 begin to download photo : 1361572428 download finish for photo 1361572075 begin to download photo : 1361572078 download finish for photo 1361572557 begin to download photo : 1361572566 download finish for photo 1361572497 begin to download photo : 1361572500 download finish for photo 1361572370 begin to download photo : 1361572394 download finish for photo 1361572428 begin to download photo : 1361572431 download finish for photo 1361572078 begin to download photo : 1361572103 download finish for photo 1361572566 begin to download photo : 1361572568 download finish for photo 1361572500 begin to download photo : 1361572515 download finish for photo 1361572394 begin to download photo : 1361572397 download finish for photo 1361572431 begin to download photo : 1361572435 download finish for photo 1361572103 begin to download photo : 1361572105 download finish for photo 1361572568 begin to download photo : 1361572595 download finish for photo 1361572515 begin to download photo : 1361572517 download finish for photo 1361572397 begin to download photo : 1361572404 download finish for photo 1361572105 begin to download photo : 1361572107 download finish for photo 1361572435 begin to download photo : 1361572438 download finish for photo 1361572595 download finish for photo 1361572404 begin to download photo : 1361572406 download finish for photo 1361572438 begin to download photo : 1361572442 download finish for photo 1361572517 begin to download photo : 1361572519 download finish for photo 1361572107 begin to download photo : 1361572110 download finish for photo 1361572406 download finish for photo 1361572442 begin to download photo : 1361572474 download finish for photo 1361572110 download finish for photo 1361572519 begin to download photo : 1361572540 download finish for photo 1361572474 begin to download photo : 1361572486 download finish for photo 1361572540 download finish for photo 1361572486 we have missing 0 photos in the step downloads : photo missing : [] try to delete the photos missing in DB ##### After download_photos length of list_filenames : 38 ; length of list_pids : 38 ; length of list_args : 38 results_Auto_P23429379_29-05-2025_06_14_59.pdf 23429407 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=23429407 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572301: '1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969119_0.png'} change filename to text .imagette234294071748492099/ imagette234294071748492099/1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969119_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/5add09a7fe4a0cb3d778064e1ad40fb3_18198871.png imagette234294071748492099 23429410 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=23429410 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572167: '1748468606_2434854_1361572075_5f6271c3d13ec81eb2bdcc1aff31f6f7_rle_crop_3814968470_0.png', 1361572168: '1748468606_2434854_1361572072_5b5345947d016b04e6711243f4856da7_rle_crop_3814968484_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/d0610df9ca632398bd62327e473ed1e7_7384685.png change filename to text .imagette234294101748492099/ imagette234294101748492099/1748468606_2434854_1361572072_5b5345947d016b04e6711243f4856da7_rle_crop_3814968484_0.png.png imagette234294101748492099/1748468606_2434854_1361572075_5f6271c3d13ec81eb2bdcc1aff31f6f7_rle_crop_3814968470_0.png.png imagette234294111748492100/ imagette234294121748492100/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/1428efac24a01dd9aceaeb2f51c9aa39_6817232.png imagette234294101748492099 23429411 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=23429411 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234294111748492100 23429412 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=23429412 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234294121748492100 23429413 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=23429413 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572302: '1748468846_2441208_1361572107_99aaff02020f90506b7a5746671c108e_rle_crop_3814969112_0.png', 1361572303: '1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969130_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/05109cf96e6bb5e0d29857b7befcb9a6_9461912.png change filename to text .imagette234294131748492100/ imagette234294131748492100/1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969130_0.png.png imagette234294131748492100/1748468846_2441208_1361572107_99aaff02020f90506b7a5746671c108e_rle_crop_3814969112_0.png.png wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/2220523e20e5c9ced3be7d78b0fb34ef_73955925.png imagette234294131748492100 23429414 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=23429414 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572171: '1748468606_2434854_1361572078_f75f7bec71314e7b2f6c63895a435ea2_rle_crop_3814968464_0.png'} change filename to text .imagette234294141748492100/ imagette234294141748492100/1748468606_2434854_1361572078_f75f7bec71314e7b2f6c63895a435ea2_rle_crop_3814968464_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/29cc195bd19812ae91d5219704d1f64e_9071962.png imagette234294141748492100 23429416 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=23429416 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572305: '1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969120_0.png', 1361572306: '1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969131_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/44fba36a87e1eb2d1eb6b7c897f0d62d_14064307.png change filename to text .imagette234294161748492100/ imagette234294161748492100/1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969131_0.png.png imagette234294161748492100/1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969120_0.png.png imagette234294081748492100/ wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/36baf42f7162c4a818a8e2ac33a1ccd6_3073442.png imagette234294161748492100 23429408 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=23429408 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {} imagette234294081748492100 23429409 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=23429409 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572165: '1748468606_2434854_1361572072_5b5345947d016b04e6711243f4856da7_rle_crop_3814968487_0.png', 1361572298: '1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969117_0.png', 1361572299: '1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969129_0.png'} change filename to text .wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/1b26cf57e8f518dcb0e23ccbdae1701f_77050181.png change filename to text .wget -O 2.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/111c5a7b8036bc70e13da33ee5ffdb9d_21169699.png change filename to text .imagette234294091748492100/ imagette234294091748492100/1748468846_2441208_1361572103_9f3f66b66a86f3f5696d5e282c3047f7_rle_crop_3814969129_0.png.png imagette234294091748492100/1748468606_2434854_1361572072_5b5345947d016b04e6711243f4856da7_rle_crop_3814968487_0.png.png imagette234294091748492100/1748468846_2441208_1361572105_f4f67fd39fb5b358196a92621822dc39_rle_crop_3814969117_0.png.png wget -O 3.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/33dd05667355a1548e1cd15b53c18b0f_30540542.png imagette234294091748492100 23429417 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=23429417 AND mpp.hide_status=0 ORDER BY mpp.order LIMIT 0, 20 map_photo_id_text : {1361572170: '1748468606_2434854_1361572078_f75f7bec71314e7b2f6c63895a435ea2_rle_crop_3814968462_0.png'} change filename to text .imagette234294171748492100/ imagette234294171748492100/1748468606_2434854_1361572078_f75f7bec71314e7b2f6c63895a435ea2_rle_crop_3814968462_0.png.png wget -O 1.png http://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/a56f4dc7e3cc805fe184ecbd5a944e21_12246499.png imagette234294171748492100 SELECT h.hashtag,pcr.value FROM MTRUser.portfolio_carac_ratio pcr, MTRBack.hashtags h where pcr.portfolio_id=23429379 and hashtag_type = 3726 and pcr.hashtag_id = h.hashtag_id; velour_link : https://www.fotonower.com/velours/23429419,23429420,23429421,23429422,23429423,23429424,23429425,23429426,23429427,23429428,23429429,23429431?tags=environnement,autre_refus,Carton_gris,Teint_Dans_La_Masse,cartonnette,mal_croppe,flou,plastique,metal,papier,kraft,Carton_brun your option no_mail is active, we will not send the real mail to your client args[1361572595] : ('0.041850747942346195',) no score found for photo 1361572595 We are sending mail with results at report@fotonower.com args[1361572568] : ('0.041850747942346195',) no score found for photo 1361572568 We are sending mail with results at report@fotonower.com args[1361572566] : ('0.041850747942346195',) no score found for photo 1361572566 We are sending mail with results at report@fotonower.com args[1361572557] : ('0.041850747942346195',) no score found for photo 1361572557 We are sending mail with results at report@fotonower.com args[1361572545] : ('0.041850747942346195',) no score found for photo 1361572545 We are sending mail with results at report@fotonower.com args[1361572543] : ('0.041850747942346195',) no score found for photo 1361572543 We are sending mail with results at report@fotonower.com args[1361572540] : ('0.041850747942346195',) no score found for photo 1361572540 We are sending mail with results at report@fotonower.com args[1361572519] : ('0.041850747942346195',) no score found for photo 1361572519 We are sending mail with results at report@fotonower.com args[1361572517] : ('0.041850747942346195',) no score found for photo 1361572517 We are sending mail with results at report@fotonower.com args[1361572515] : ('0.041850747942346195',) no score found for photo 1361572515 We are sending mail with results at report@fotonower.com args[1361572500] : ('0.041850747942346195',) no score found for photo 1361572500 We are sending mail with results at report@fotonower.com args[1361572497] : ('0.041850747942346195',) no score found for photo 1361572497 We are sending mail with results at report@fotonower.com args[1361572494] : ('0.041850747942346195',) no score found for photo 1361572494 We are sending mail with results at report@fotonower.com args[1361572490] : ('0.041850747942346195',) no score found for photo 1361572490 We are sending mail with results at report@fotonower.com args[1361572486] : ('0.041850747942346195',) no score found for photo 1361572486 We are sending mail with results at report@fotonower.com args[1361572474] : ('0.041850747942346195',) no score found for photo 1361572474 We are sending mail with results at report@fotonower.com args[1361572442] : ('0.041850747942346195',) no score found for photo 1361572442 We are sending mail with results at report@fotonower.com args[1361572438] : ('0.041850747942346195',) no score found for photo 1361572438 We are sending mail with results at report@fotonower.com args[1361572435] : ('0.041850747942346195',) no score found for photo 1361572435 We are sending mail with results at report@fotonower.com args[1361572431] : ('0.041850747942346195',) no score found for photo 1361572431 We are sending mail with results at report@fotonower.com args[1361572428] : ('0.041850747942346195',) no score found for photo 1361572428 We are sending mail with results at report@fotonower.com args[1361572409] : ('0.041850747942346195',) no score found for photo 1361572409 We are sending mail with results at report@fotonower.com args[1361572406] : ('0.041850747942346195',) no score found for photo 1361572406 We are sending mail with results at report@fotonower.com args[1361572404] : ('0.041850747942346195',) no score found for photo 1361572404 We are sending mail with results at report@fotonower.com args[1361572397] : ('0.041850747942346195',) no score found for photo 1361572397 We are sending mail with results at report@fotonower.com args[1361572394] : ('0.041850747942346195',) no score found for photo 1361572394 We are sending mail with results at report@fotonower.com args[1361572370] : ('0.041850747942346195',) no score found for photo 1361572370 We are sending mail with results at report@fotonower.com args[1361572366] : ('0.041850747942346195',) no score found for photo 1361572366 We are sending mail with results at report@fotonower.com args[1361572362] : ('0.041850747942346195',) no score found for photo 1361572362 We are sending mail with results at report@fotonower.com args[1361572359] : ('0.041850747942346195',) no score found for photo 1361572359 We are sending mail with results at report@fotonower.com args[1361572110] : ('0.041850747942346195',) no score found for photo 1361572110 We are sending mail with results at report@fotonower.com args[1361572107] : ('0.041850747942346195',) no score found for photo 1361572107 We are sending mail with results at report@fotonower.com args[1361572105] : ('0.041850747942346195',) no score found for photo 1361572105 We are sending mail with results at report@fotonower.com args[1361572103] : ('0.041850747942346195',) no score found for photo 1361572103 We are sending mail with results at report@fotonower.com args[1361572078] : ('0.041850747942346195',) no score found for photo 1361572078 We are sending mail with results at report@fotonower.com args[1361572075] : ('0.041850747942346195',) no score found for photo 1361572075 We are sending mail with results at report@fotonower.com args[1361572072] : ('0.041850747942346195',) no score found for photo 1361572072 We are sending mail with results at report@fotonower.com args[1361572070] : ('0.041850747942346195',) no score found for photo 1361572070 We are sending mail with results at report@fotonower.com refus_total : 0.041850747942346195 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=23429379 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_P23429379_29-05-2025_06_14_59.pdf results_Auto_P23429379_29-05-2025_06_14_59.pdf uploaded to url https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_29-05-2025_06_14_59.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','23429379','results_Auto_P23429379_29-05-2025_06_14_59.pdf','https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_29-05-2025_06_14_59.pdf','pdf','','0.32','0.041850747942346195') After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23429379]) Inside saveOutput : final : False verbose : True saveOutput not yet implemented for datou_step.type : send_mail_cod we use saveGeneral [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] map_info['map_portfolio_photo'] : {23429379: [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070]} final : False mtd_id 4302 list_pids : [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] 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, '2982225') ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225') 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', '23429379', '1361572595', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225')] time used for this insertion : 0.026506662368774414 save_final save missing photos in datou_result : time spend for datou_step_exec : 4.914484262466431 time spend to save output : 0.02696824073791504 total time spend for step 4 : 4.941452503204346 step5:split_time_score Thu May 29 06:15:03 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 : ['23429379'] 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 : [('23429379',)] After prepare type args : select max(UNIX_TIMESTAMP(created_at)) from MTRUser.mtr_portfolio_photos where mtr_portfolio_id in (23429379) Here we display some param of map_info ! map_filenames : {} map_photo_id_path_extension : {1361572543: {'path': 'temp/1748492098_833214_1361572543_c4dc751ad7c4769326616aec267e9708.jpg', 'extension': 'jpg'}, 1361572545: {'path': 'temp/1748492098_833214_1361572545_dac3e5d36d911ea50472a3faab7c764a.jpg', 'extension': 'jpg'}, 1361572557: {'path': 'temp/1748492098_833214_1361572557_fa0f986e17c2b69ac89a67820f8d58e5.jpg', 'extension': 'jpg'}, 1361572566: {'path': 'temp/1748492098_833214_1361572566_2600188eb9c3bc535cb2041bfd1bb13b.jpg', 'extension': 'jpg'}, 1361572568: {'path': 'temp/1748492098_833214_1361572568_080ed6b16be9a853c98c19394a1ac949.jpg', 'extension': 'jpg'}, 1361572595: {'path': 'temp/1748492098_833214_1361572595_3cdbb20a801d8633cb10bc41d6a755e5.jpg', 'extension': 'jpg'}, 1361572359: {'path': 'temp/1748492098_833214_1361572359_484d196ebdf300ca2d6ae274251a2071.jpg', 'extension': 'jpg'}, 1361572362: {'path': 'temp/1748492098_833214_1361572362_48dbc7e0bd8f8ee0b27f0ad3a1bb0d87.jpg', 'extension': 'jpg'}, 1361572366: {'path': 'temp/1748492098_833214_1361572366_2f175b47a1f021938b8b5eb01fb44b54.jpg', 'extension': 'jpg'}, 1361572370: {'path': 'temp/1748492098_833214_1361572370_3ebc3fc5314bc55076f8f8e60a775aff.jpg', 'extension': 'jpg'}, 1361572394: {'path': 'temp/1748492098_833214_1361572394_04ec57d9d30352e795ff8b92328112a0.jpg', 'extension': 'jpg'}, 1361572397: {'path': 'temp/1748492098_833214_1361572397_48a39e17f2201deac0011ad186917fbb.jpg', 'extension': 'jpg'}, 1361572404: {'path': 'temp/1748492098_833214_1361572404_eb8dae9db975d4ead93c6cff64a66cba.jpg', 'extension': 'jpg'}, 1361572406: {'path': 'temp/1748492098_833214_1361572406_25d56545f255c05a45fa0ac91ed365e5.jpg', 'extension': 'jpg'}, 1361572070: {'path': 'temp/1748492098_833214_1361572070_b4467ca893ce096c2217637d3926860f.jpg', 'extension': 'jpg'}, 1361572072: {'path': 'temp/1748492098_833214_1361572072_5b5345947d016b04e6711243f4856da7.jpg', 'extension': 'jpg'}, 1361572075: {'path': 'temp/1748492098_833214_1361572075_5f6271c3d13ec81eb2bdcc1aff31f6f7.jpg', 'extension': 'jpg'}, 1361572078: {'path': 'temp/1748492098_833214_1361572078_f75f7bec71314e7b2f6c63895a435ea2.jpg', 'extension': 'jpg'}, 1361572103: {'path': 'temp/1748492098_833214_1361572103_9f3f66b66a86f3f5696d5e282c3047f7.jpg', 'extension': 'jpg'}, 1361572105: {'path': 'temp/1748492098_833214_1361572105_f4f67fd39fb5b358196a92621822dc39.jpg', 'extension': 'jpg'}, 1361572107: {'path': 'temp/1748492098_833214_1361572107_99aaff02020f90506b7a5746671c108e.jpg', 'extension': 'jpg'}, 1361572110: {'path': 'temp/1748492098_833214_1361572110_875978cfdccf3fbe844debfdb9b86b28.jpg', 'extension': 'jpg'}, 1361572490: {'path': 'temp/1748492098_833214_1361572490_eafbfefb79046c1bac10399bba845927.jpg', 'extension': 'jpg'}, 1361572494: {'path': 'temp/1748492098_833214_1361572494_e6b1e7ca991aff804a5783837d5461c7.jpg', 'extension': 'jpg'}, 1361572497: {'path': 'temp/1748492098_833214_1361572497_acb50986225c6b3a525b94e3f27fc392.jpg', 'extension': 'jpg'}, 1361572500: {'path': 'temp/1748492098_833214_1361572500_5d2826b4d9411b82ca8419c97c0e5a9d.jpg', 'extension': 'jpg'}, 1361572515: {'path': 'temp/1748492098_833214_1361572515_1de306514de92ad8fd6a847fdd77b4c0.jpg', 'extension': 'jpg'}, 1361572517: {'path': 'temp/1748492098_833214_1361572517_a336b80c7b7276e709e05e82b1772387.jpg', 'extension': 'jpg'}, 1361572519: {'path': 'temp/1748492098_833214_1361572519_0f627f8544fe8e7f9e0608181119c451.jpg', 'extension': 'jpg'}, 1361572540: {'path': 'temp/1748492098_833214_1361572540_403a11200248bf6b2e831389da10aa92.jpg', 'extension': 'jpg'}, 1361572409: {'path': 'temp/1748492098_833214_1361572409_3a05423f5ba2cec1b51dc95de6e0d106.jpg', 'extension': 'jpg'}, 1361572428: {'path': 'temp/1748492098_833214_1361572428_864354e604aaf4f67d6cf9277c8e6c21.jpg', 'extension': 'jpg'}, 1361572431: {'path': 'temp/1748492098_833214_1361572431_2bcc1744f4552b77f9fe02e9c66098ec.jpg', 'extension': 'jpg'}, 1361572435: {'path': 'temp/1748492098_833214_1361572435_703a6ea5a6ffa346ed573df5b4f3c794.jpg', 'extension': 'jpg'}, 1361572438: {'path': 'temp/1748492098_833214_1361572438_7f3fba360ffed4fd1c5533862da4d256.jpg', 'extension': 'jpg'}, 1361572442: {'path': 'temp/1748492098_833214_1361572442_0597d1984274c78ba9b7ee1c72678640.jpg', 'extension': 'jpg'}, 1361572474: {'path': 'temp/1748492098_833214_1361572474_bb389f5731807c02e4e3d434de7f32ea.jpg', 'extension': 'jpg'}, 1361572486: {'path': 'temp/1748492098_833214_1361572486_e5eee98a11e959bc991d08292d6b81c7.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 = 23429379; (('arc_en_ciel_jrm_bis',), ('arc_en_ciel_jrm',)) TODO : Insert select and so on Begin split_port_in_batch_balle thcls : [{'id': 861, 'mtr_user_id': 31, 'name': 'Rungis_class_dechets_1212', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': 'Rungis_Aluminium,Rungis_Carton,Rungis_Papier,Rungis_Plastique_clair,Rungis_Plastique_dur,Rungis_Plastique_fonce,Rungis_Tapis_vide,Rungis_Tetrapak', 'svm_portfolios_learning': '1160730,571842,571844,571839,571933,571840,571841,572307', 'photo_hashtag_type': 999, 'photo_desc_type': 3963, 'type_classification': 'caffe', 'hashtag_id_list': '2107751280,2107750907,2107750908,2107750909,2107750910,2107750911,2107750912,2107750913'}] thcls : [{'id': 758, 'mtr_user_id': 31, 'name': 'Rungis_amount_dechets_fall_2018_v2', 'pb_hashtag_id': 0, 'live': b'\x00', 'list_hashtags': '05102018_Papier_non_papier_dense,05102018_Papier_non_papier_peu_dense,05102018_Papier_non_papier_presque_vide,05102018_Papier_non_papier_tres_dense,05102018_Papier_non_papier_tres_peu_dense', 'svm_portfolios_learning': '1108385,1108386,1108388,1108384,1108387', 'photo_hashtag_type': 856, 'photo_desc_type': 3853, 'type_classification': 'caffe', 'hashtag_id_list': '2107751013,2107751014,2107751015,2107751016,2107751017'}] select SUBSTRING(ph.text,16,2) as h, count(*) from MTRUser.mtr_portfolio_photos mpp inner join MTRBack.photos ph on mpp.mtr_photo_id = ph.photo_id where mpp.mtr_portfolio_id = 23429379 group by h (('23', 38),) 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=23429379 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 (23429379) 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 (23429379) AND cps.thcl in (758) order by cps.score desc LIMIT 0, 100000 ERROR counted https://github.com/fotonower/Velours/issues/663#issuecomment-421136223 {} 28052025 23429379 Nombre de photos uploadées : 38 / 23040 (0%) 28052025 23429379 Nombre de photos taguées (types de déchets): 0 / 38 (0%) 28052025 23429379 Nombre de photos taguées (volume) : 0 / 38 (0%) [{'photo_id': 1361572078, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/f75f7bec71314e7b2f6c63895a435ea2.jpg', 'username': None, 'uploaded_at': 1748468447, 'text': 'image_28052025_23_15_04_010152m0.jpg 1e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361572075, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/5f6271c3d13ec81eb2bdcc1aff31f6f7.jpg', 'username': None, 'uploaded_at': 1748468447, 'text': 'image_28052025_23_15_14_010135m0.jpg 2e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361572072, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/5b5345947d016b04e6711243f4856da7.jpg', 'username': None, 'uploaded_at': 1748468447, 'text': 'image_28052025_23_15_24_010134m0.jpg 3.0000000000000004e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}, {'photo_id': 1361572070, 'url': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/2025/5/28/b4467ca893ce096c2217637d3926860f.jpg', 'username': None, 'uploaded_at': 1748468447, 'text': 'image_28052025_23_15_34_010139m0.jpg 4e-05 for time 1, id_amount 2 this amount prod time diff : 1e-05'}] 0 [] elapsed_time : load_data_split_time_score 2.384185791015625e-06 elapsed_time : order_list_meta_photo_and_scores 7.3909759521484375e-06 ?????????????????????????????????????? elapsed_time : fill_and_build_computed_from_old_data 0.001859903335571289 INSERT INTO `MTRPhoto`.`dashboard_entry_day` (`dashboard_place_id`, `mtr_portfolio_id`, `date`) VALUES ( 10, 23429379, '2025-05-28' ) ON DUPLICATE KEY UPDATE updated_at=NOW(); INSERT INTO `MTRPhoto`.`dashboard_run_ids` (`dashboard_entry_day`, `mtr_user_id`, `misc_info`) VALUES (1841518,979,"{}"); elapsed_time : insert_dashboard_record_day_entry 0.0242002010345459 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= 1841518 AND ded.last_run_id=dri.id AND dri.dashboard_entry_day=ded.id AND dri.id=dr.dashboard_run_id [{'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23397772, 'dashboard_result_id': 11026782, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23398051, 'dashboard_result_id': 11026783, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23398303, 'dashboard_result_id': 11026784, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399179, 'dashboard_result_id': 11026785, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399344, 'dashboard_result_id': 11026786, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23399686, 'dashboard_result_id': 11026787, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400106, 'dashboard_result_id': 11026788, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400427, 'dashboard_result_id': 11026789, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23400761, 'dashboard_result_id': 11026790, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401154, 'dashboard_result_id': 11026791, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401510, 'dashboard_result_id': 11026792, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23401873, 'dashboard_result_id': 11026793, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402106, 'dashboard_result_id': 11026794, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402440, 'dashboard_result_id': 11026795, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23402734, 'dashboard_result_id': 11026796, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403490, 'dashboard_result_id': 11026797, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403648, 'dashboard_result_id': 11026798, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23403911, 'dashboard_result_id': 11026799, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23404230, 'dashboard_result_id': 11026800, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23404712, 'dashboard_result_id': 11026801, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405129, 'dashboard_result_id': 11026802, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405492, 'dashboard_result_id': 11026803, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23405806, 'dashboard_result_id': 11026804, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23406291, 'dashboard_result_id': 11026805, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23406782, 'dashboard_result_id': 11026806, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407058, 'dashboard_result_id': 11026807, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407390, 'dashboard_result_id': 11026808, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23407757, 'dashboard_result_id': 11026809, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408183, 'dashboard_result_id': 11026810, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408565, 'dashboard_result_id': 11026811, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_29-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23408918, 'dashboard_result_id': 11026812, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_29-05-2025_05_50_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23409657, 'dashboard_result_id': 11026813, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_29-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23410368, 'dashboard_result_id': 11026814, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_29-05-2025_05_51_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411041, 'dashboard_result_id': 11026815, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_29-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411222, 'dashboard_result_id': 11026816, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_29-05-2025_05_52_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411634, 'dashboard_result_id': 11026817, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_29-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23411947, 'dashboard_result_id': 11026818, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_29-05-2025_05_53_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23412231, 'dashboard_result_id': 11026819, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_29-05-2025_05_53_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23412706, 'dashboard_result_id': 11026820, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_29-05-2025_05_54_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413181, 'dashboard_result_id': 11026821, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_29-05-2025_05_54_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413509, 'dashboard_result_id': 11026822, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_29-05-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23413927, 'dashboard_result_id': 11026823, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_29-05-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23415509, 'dashboard_result_id': 11026824, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_29-05-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23415614, 'dashboard_result_id': 11026825, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_29-05-2025_05_56_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23416210, 'dashboard_result_id': 11026826, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_29-05-2025_05_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23416630, 'dashboard_result_id': 11026827, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_29-05-2025_05_57_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417059, 'dashboard_result_id': 11026828, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_29-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417365, 'dashboard_result_id': 11026829, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_29-05-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417708, 'dashboard_result_id': 11026830, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_29-05-2025_05_59_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23417977, 'dashboard_result_id': 11026831, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_29-05-2025_05_59_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23418390, 'dashboard_result_id': 11026832, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_29-05-2025_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23418851, 'dashboard_result_id': 11026833, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_29-05-2025_06_00_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23419247, 'dashboard_result_id': 11026834, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_29-05-2025_06_01_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23419604, 'dashboard_result_id': 11026835, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_29-05-2025_06_01_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420019, 'dashboard_result_id': 11026836, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_29-05-2025_06_02_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420326, 'dashboard_result_id': 11026837, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_29-05-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23420654, 'dashboard_result_id': 11026838, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_29-05-2025_06_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421006, 'dashboard_result_id': 11026839, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_29-05-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421668, 'dashboard_result_id': 11026840, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_29-05-2025_06_03_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421795, 'dashboard_result_id': 11026841, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_29-05-2025_06_04_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23421957, 'dashboard_result_id': 11026842, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_29-05-2025_06_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422300, 'dashboard_result_id': 11026843, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_29-05-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422770, 'dashboard_result_id': 11026844, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_29-05-2025_06_06_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23422994, 'dashboard_result_id': 11026845, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_29-05-2025_06_06_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423248, 'dashboard_result_id': 11026846, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_29-05-2025_06_07_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423625, 'dashboard_result_id': 11026847, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_29-05-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23423891, 'dashboard_result_id': 11026848, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_29-05-2025_06_08_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23424282, 'dashboard_result_id': 11026849, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_29-05-2025_06_09_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23424761, 'dashboard_result_id': 11026850, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_29-05-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425537, 'dashboard_result_id': 11026851, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_29-05-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425614, 'dashboard_result_id': 11026852, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_29-05-2025_06_10_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23425878, 'dashboard_result_id': 11026853, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_29-05-2025_06_11_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23426331, 'dashboard_result_id': 11026854, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_29-05-2025_06_11_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23426903, 'dashboard_result_id': 11026855, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_29-05-2025_06_12_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23427481, 'dashboard_result_id': 11026856, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_29-05-2025_06_12_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23427999, 'dashboard_result_id': 11026857, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_29-05-2025_06_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23428568, 'dashboard_result_id': 11026858, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_29-05-2025_06_13_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23428761, 'dashboard_result_id': 11026859, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_29-05-2025_06_14_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429050, 'dashboard_result_id': 11026860, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_29-05-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429379, 'dashboard_result_id': 11026861, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_28-05-2025_23_56_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23429676, 'dashboard_result_id': 11026862, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, 'pht': 3726}}"}, {'dashboat_entry_day': 1841518, 'dashboard_run_id': 1852764, 'mtr_portfolio_id': 23430028, 'dashboard_result_id': 11026863, 'hashtag': '_______JRM', 'completion_json': "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, '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 = 23397772 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': 2982146, 'mtr_portfolio_id': 23397772, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 32), 'result': '0.06446729513318857', 'result_long': None, 'result_double': None}] Qualite : 0.06446729513318857 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23397772 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23397772 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, 'pht': 3726}}" where mtr_portfolio_id = 23397772 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23397772 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026782, 0.06446729513318857, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23397772_29-05-2025_05_34_36.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23397774, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23397775, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23397776, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23397777, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23397778, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23397779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23397780, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23397781, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23397782, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23397783, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23397784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23397785, '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 = 23398051 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': 2982147, 'mtr_portfolio_id': 23398051, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 29), 'result': '0.04410996982505767', 'result_long': None, 'result_double': None}] Qualite : 0.04410996982505767 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23398051 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23398051 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, 'pht': 3726}}" where mtr_portfolio_id = 23398051 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23398051 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026783, 0.04410996982505767, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398051_29-05-2025_05_34_32.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398079, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398080, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398081, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398082, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398083, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398084, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398085, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398086, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398087, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398088, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398089, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398090, '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 = 23398303 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': 2982148, 'mtr_portfolio_id': 23398303, 'created_at': datetime.datetime(2025, 5, 29, 5, 34, 57), 'result': '0.046167851128557896', 'result_long': None, 'result_double': None}] Qualite : 0.046167851128557896 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23398303 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23398303 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, 'pht': 3726}}" where mtr_portfolio_id = 23398303 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23398303 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026784, 0.046167851128557896, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23398303_29-05-2025_05_34_58.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23398328, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23398329, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23398330, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23398331, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23398332, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23398333, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23398334, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23398335, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23398336, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23398337, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23398338, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23398339, '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 = 23399179 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': 2982149, 'mtr_portfolio_id': 23399179, 'created_at': datetime.datetime(2025, 5, 29, 5, 35, 32), 'result': '0.04962887737365328', 'result_long': None, 'result_double': None}] Qualite : 0.04962887737365328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399179 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399179 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, 'pht': 3726}}" where mtr_portfolio_id = 23399179 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23399179 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026785, 0.04962887737365328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399179_29-05-2025_05_35_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399205, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399206, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399207, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399208, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399209, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399210, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399211, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399212, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399213, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399214, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399215, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399216, '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 = 23399344 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': 2982150, 'mtr_portfolio_id': 23399344, 'created_at': datetime.datetime(2025, 5, 29, 5, 35, 59), 'result': '0.039297003774858966', 'result_long': None, 'result_double': None}] Qualite : 0.039297003774858966 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399344 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399344 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, 'pht': 3726}}" where mtr_portfolio_id = 23399344 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23399344 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026786, 0.039297003774858966, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399344_29-05-2025_05_36_02.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399351, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399352, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399353, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399354, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399355, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399356, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399357, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399358, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399359, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399360, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399361, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399362, '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 = 23399686 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': 2982151, 'mtr_portfolio_id': 23399686, 'created_at': datetime.datetime(2025, 5, 29, 5, 36, 29), 'result': '0.057971602056583645', 'result_long': None, 'result_double': None}] Qualite : 0.057971602056583645 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23399686 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23399686 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, 'pht': 3726}}" where mtr_portfolio_id = 23399686 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23399686 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026787, 0.057971602056583645, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23399686_29-05-2025_05_36_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23399693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23399694, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23399695, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23399696, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23399697, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23399698, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23399699, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23399700, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23399701, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23399702, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23399703, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23399704, '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 = 23400106 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': 2982152, 'mtr_portfolio_id': 23400106, 'created_at': datetime.datetime(2025, 5, 29, 5, 37, 1), 'result': '0.040960003672391186', 'result_long': None, 'result_double': None}] Qualite : 0.040960003672391186 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, 'pht': 3726}}" where mtr_portfolio_id = 23400106 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23400106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026788, 0.040960003672391186, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400106_29-05-2025_05_37_04.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400113, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400114, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400115, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400116, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400117, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400118, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400119, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400120, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400121, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400122, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400123, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400124, '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 = 23400427 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': 2982153, 'mtr_portfolio_id': 23400427, 'created_at': datetime.datetime(2025, 5, 29, 5, 37, 28), 'result': '0.03527445439329575', 'result_long': None, 'result_double': None}] Qualite : 0.03527445439329575 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400427 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400427 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, 'pht': 3726}}" where mtr_portfolio_id = 23400427 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23400427 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026789, 0.03527445439329575, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400427_29-05-2025_05_37_31.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400428, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400429, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400430, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400431, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400432, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400433, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400434, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400435, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400436, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400437, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400438, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400439, '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 = 23400761 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': 2982154, 'mtr_portfolio_id': 23400761, 'created_at': datetime.datetime(2025, 5, 29, 5, 38), 'result': '0.04834556117046673', 'result_long': None, 'result_double': None}] Qualite : 0.04834556117046673 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23400761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23400761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, 'pht': 3726}}" where mtr_portfolio_id = 23400761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23400761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026790, 0.04834556117046673, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23400761_29-05-2025_05_38_16.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23400770, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23400771, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23400772, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23400773, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23400774, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23400775, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23400776, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23400777, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23400778, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23400779, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23400780, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23400781, '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 = 23401154 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': 2982155, 'mtr_portfolio_id': 23401154, 'created_at': datetime.datetime(2025, 5, 29, 5, 38, 30), 'result': '0.05209534912863307', 'result_long': None, 'result_double': None}] Qualite : 0.05209534912863307 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401154 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401154 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, 'pht': 3726}}" where mtr_portfolio_id = 23401154 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23401154 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026791, 0.05209534912863307, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401154_29-05-2025_05_38_33.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23401157, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401158, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401159, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401160, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401161, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401162, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401163, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401164, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401165, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401166, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401167, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401168, '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 = 23401510 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': 2982156, 'mtr_portfolio_id': 23401510, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 1), 'result': '0.05398372108806439', 'result_long': None, 'result_double': None}] Qualite : 0.05398372108806439 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401510 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401510 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, 'pht': 3726}}" where mtr_portfolio_id = 23401510 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23401510 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026792, 0.05398372108806439, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401510_29-05-2025_05_39_04.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401538, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401539, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401541, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401543, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401544, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401545, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401546, '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 = 23401873 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': 2982157, 'mtr_portfolio_id': 23401873, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 28), 'result': '0.04021070389351016', 'result_long': None, 'result_double': None}] Qualite : 0.04021070389351016 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23401873 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23401873 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, 'pht': 3726}}" where mtr_portfolio_id = 23401873 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23401873 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026793, 0.04021070389351016, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23401873_29-05-2025_05_39_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23401886, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23401887, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23401888, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23401889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23401890, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23401891, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23401892, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23401893, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23401894, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23401895, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23401896, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23401897, '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 = 23402106 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': 2982158, 'mtr_portfolio_id': 23402106, 'created_at': datetime.datetime(2025, 5, 29, 5, 39, 59), 'result': '0.054699005347992234', 'result_long': None, 'result_double': None}] Qualite : 0.054699005347992234 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402106 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402106 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, 'pht': 3726}}" where mtr_portfolio_id = 23402106 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23402106 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026794, 0.054699005347992234, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402106_29-05-2025_05_40_03.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402132, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402133, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402134, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402135, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402136, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402137, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402138, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402139, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402140, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402141, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402142, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402143, '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 = 23402440 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': 2982159, 'mtr_portfolio_id': 23402440, 'created_at': datetime.datetime(2025, 5, 29, 5, 40, 31), 'result': '0.07668254743586937', 'result_long': None, 'result_double': None}] Qualite : 0.07668254743586937 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402440 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402440 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, 'pht': 3726}}" where mtr_portfolio_id = 23402440 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23402440 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026795, 0.07668254743586937, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402440_29-05-2025_05_40_35.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402441, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402442, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402443, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402444, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402445, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402446, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402447, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402448, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402449, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402450, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402451, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402452, '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 = 23402734 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': 2982160, 'mtr_portfolio_id': 23402734, 'created_at': datetime.datetime(2025, 5, 29, 5, 41), 'result': '0.09731431259366337', 'result_long': None, 'result_double': None}] Qualite : 0.09731431259366337 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23402734 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23402734 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, 'pht': 3726}}" where mtr_portfolio_id = 23402734 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23402734 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026796, 0.09731431259366337, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23402734_29-05-2025_05_41_01.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23402739, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23402740, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23402741, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23402742, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23402743, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23402744, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23402745, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23402746, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23402747, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23402748, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23402749, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23402750, '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 = 23403490 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': 2982161, 'mtr_portfolio_id': 23403490, 'created_at': datetime.datetime(2025, 5, 29, 5, 41, 28), 'result': '0.047276243456989483', 'result_long': None, 'result_double': None}] Qualite : 0.047276243456989483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403490 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403490 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, 'pht': 3726}}" where mtr_portfolio_id = 23403490 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23403490 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026797, 0.047276243456989483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403490_29-05-2025_05_41_29.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23403495, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403496, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403497, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403498, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403499, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403500, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403501, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403502, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403503, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403504, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403505, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403506, '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 = 23403648 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': 2982162, 'mtr_portfolio_id': 23403648, 'created_at': datetime.datetime(2025, 5, 29, 5, 41, 57), 'result': '0.051955341019003655', 'result_long': None, 'result_double': None}] Qualite : 0.051955341019003655 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403648 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403648 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, 'pht': 3726}}" where mtr_portfolio_id = 23403648 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23403648 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026798, 0.051955341019003655, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403648_29-05-2025_05_41_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403674, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403675, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403676, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403677, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403678, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403679, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403680, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403681, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403682, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403683, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403684, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403685, '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 = 23403911 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': 2982163, 'mtr_portfolio_id': 23403911, 'created_at': datetime.datetime(2025, 5, 29, 5, 42, 31), 'result': '0.06022705605938085', 'result_long': None, 'result_double': None}] Qualite : 0.06022705605938085 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23403911 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23403911 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, 'pht': 3726}}" where mtr_portfolio_id = 23403911 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23403911 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026799, 0.06022705605938085, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23403911_29-05-2025_05_42_36.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23403960, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23403961, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23403962, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23403963, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23403964, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23403965, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23403966, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23403967, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23403968, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23403969, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23403970, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23403971, '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 = 23404230 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': 2982164, 'mtr_portfolio_id': 23404230, 'created_at': datetime.datetime(2025, 5, 29, 5, 43), 'result': '0.05097279130524394', 'result_long': None, 'result_double': None}] Qualite : 0.05097279130524394 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23404230 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23404230 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, 'pht': 3726}}" where mtr_portfolio_id = 23404230 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23404230 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026800, 0.05097279130524394, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404230_29-05-2025_05_43_03.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404261, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404262, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404263, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404266, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404269, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404270, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404271, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404272, '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 = 23404712 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': 2982165, 'mtr_portfolio_id': 23404712, 'created_at': datetime.datetime(2025, 5, 29, 5, 44), 'result': '0.03663775467744422', 'result_long': None, 'result_double': None}] Qualite : 0.03663775467744422 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23404712 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23404712 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, 'pht': 3726}}" where mtr_portfolio_id = 23404712 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23404712 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026801, 0.03663775467744422, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23404712_29-05-2025_05_44_10.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23404713, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23404714, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23404715, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23404716, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23404717, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23404718, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23404719, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23404720, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23404721, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23404722, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23404723, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23404724, '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 = 23405129 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': 2982166, 'mtr_portfolio_id': 23405129, 'created_at': datetime.datetime(2025, 5, 29, 5, 44, 29), 'result': '0.0399876416811311', 'result_long': None, 'result_double': None}] Qualite : 0.0399876416811311 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405129 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405129 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, 'pht': 3726}}" where mtr_portfolio_id = 23405129 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23405129 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026802, 0.0399876416811311, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405129_29-05-2025_05_44_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405143, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405144, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405145, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405146, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405147, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405148, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405149, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405150, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405151, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405152, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405153, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405154, '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 = 23405492 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': 2982167, 'mtr_portfolio_id': 23405492, 'created_at': datetime.datetime(2025, 5, 29, 5, 44, 57), 'result': '0.04406196739968658', 'result_long': None, 'result_double': None}] Qualite : 0.04406196739968658 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405492 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405492 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, 'pht': 3726}}" where mtr_portfolio_id = 23405492 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23405492 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026803, 0.04406196739968658, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405492_29-05-2025_05_45_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405518, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405519, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405520, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405521, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405522, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405523, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405524, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405525, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405526, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405527, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405528, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405529, '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 = 23405806 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': 2982168, 'mtr_portfolio_id': 23405806, 'created_at': datetime.datetime(2025, 5, 29, 5, 45, 31), 'result': '0.06708666312804809', 'result_long': None, 'result_double': None}] Qualite : 0.06708666312804809 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23405806 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23405806 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, 'pht': 3726}}" where mtr_portfolio_id = 23405806 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23405806 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026804, 0.06708666312804809, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23405806_29-05-2025_05_45_35.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23405810, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23405811, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23405812, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23405813, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23405814, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23405815, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23405816, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23405817, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23405818, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23405819, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23405820, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23405821, '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 = 23406291 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': 2982169, 'mtr_portfolio_id': 23406291, 'created_at': datetime.datetime(2025, 5, 29, 5, 45, 58), 'result': '0.05929269609771722', 'result_long': None, 'result_double': None}] Qualite : 0.05929269609771722 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23406291 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23406291 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, 'pht': 3726}}" where mtr_portfolio_id = 23406291 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23406291 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026805, 0.05929269609771722, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406291_29-05-2025_05_46_00.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406299, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406300, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406301, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406302, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406303, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406304, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406305, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406306, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406307, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406308, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406309, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406310, '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 = 23406782 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': 2982170, 'mtr_portfolio_id': 23406782, 'created_at': datetime.datetime(2025, 5, 29, 5, 46, 29), 'result': '0.0489788193659915', 'result_long': None, 'result_double': None}] Qualite : 0.0489788193659915 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23406782 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23406782 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, 'pht': 3726}}" where mtr_portfolio_id = 23406782 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23406782 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026806, 0.0489788193659915, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23406782_29-05-2025_05_46_30.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23406789, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23406790, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23406791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23406792, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23406793, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23406794, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23406795, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23406796, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23406797, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23406798, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23406799, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23406800, '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 = 23407058 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': 2982171, 'mtr_portfolio_id': 23407058, 'created_at': datetime.datetime(2025, 5, 29, 5, 46, 58), 'result': '0.05797450955724542', 'result_long': None, 'result_double': None}] Qualite : 0.05797450955724542 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407058 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407058 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, 'pht': 3726}}" where mtr_portfolio_id = 23407058 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23407058 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026807, 0.05797450955724542, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407058_29-05-2025_05_47_01.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407088, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407089, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407090, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407091, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407092, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407093, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407094, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407095, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407096, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407097, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407098, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407099, '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 = 23407390 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': 2982172, 'mtr_portfolio_id': 23407390, 'created_at': datetime.datetime(2025, 5, 29, 5, 47, 30), 'result': '0.040121266727264626', 'result_long': None, 'result_double': None}] Qualite : 0.040121266727264626 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, 'pht': 3726}}" where mtr_portfolio_id = 23407390 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23407390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026808, 0.040121266727264626, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407390_29-05-2025_05_47_43.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23407406, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407408, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407409, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407411, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407412, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407413, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407414, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407415, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407416, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407417, '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 = 23407757 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': 2982173, 'mtr_portfolio_id': 23407757, 'created_at': datetime.datetime(2025, 5, 29, 5, 47, 57), 'result': '0.029008284827367545', 'result_long': None, 'result_double': None}] Qualite : 0.029008284827367545 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23407757 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23407757 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, 'pht': 3726}}" where mtr_portfolio_id = 23407757 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23407757 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026809, 0.029008284827367545, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23407757_29-05-2025_05_48_00.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23407764, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23407765, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23407766, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23407767, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23407768, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23407769, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23407770, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23407771, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23407772, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23407773, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23407774, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23407775, '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 = 23408183 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': 2982174, 'mtr_portfolio_id': 23408183, 'created_at': datetime.datetime(2025, 5, 29, 5, 48, 30), 'result': '0.07927348511599194', 'result_long': None, 'result_double': None}] Qualite : 0.07927348511599194 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408183 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408183 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, 'pht': 3726}}" where mtr_portfolio_id = 23408183 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23408183 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026810, 0.07927348511599194, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408183_29-05-2025_05_48_33.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408184, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408185, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408186, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408187, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408188, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408189, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408190, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408191, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408192, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408193, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408194, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408195, '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 = 23408565 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': 2982175, 'mtr_portfolio_id': 23408565, 'created_at': datetime.datetime(2025, 5, 29, 5, 49), 'result': '0.05417578488416244', 'result_long': None, 'result_double': None}] Qualite : 0.05417578488416244 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408565 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_29-05-2025_05_49_04.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408565 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_29-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, 'pht': 3726}}" where mtr_portfolio_id = 23408565 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23408565 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026811, 0.05417578488416244, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408565_29-05-2025_05_49_04.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408570, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408571, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408572, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408573, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408574, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408575, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408579, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408580, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408581, '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 = 23408918 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': 2982176, 'mtr_portfolio_id': 23408918, 'created_at': datetime.datetime(2025, 5, 29, 5, 49, 58), 'result': '0.05169601671952409', 'result_long': None, 'result_double': None}] Qualite : 0.05169601671952409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23408918 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_29-05-2025_05_50_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23408918 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_29-05-2025_05_50_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, 'pht': 3726}}" where mtr_portfolio_id = 23408918 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23408918 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026812, 0.05169601671952409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23408918_29-05-2025_05_50_01.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23408930, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23408931, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23408932, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23408933, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23408934, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23408935, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23408936, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23408937, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23408938, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23408939, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23408940, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23408941, '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 = 23409657 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': 2982177, 'mtr_portfolio_id': 23409657, 'created_at': datetime.datetime(2025, 5, 29, 5, 50, 30), 'result': '0.03510958973830518', 'result_long': None, 'result_double': None}] Qualite : 0.03510958973830518 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23409657 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_29-05-2025_05_50_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23409657 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_29-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, 'pht': 3726}}" where mtr_portfolio_id = 23409657 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23409657 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026813, 0.03510958973830518, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23409657_29-05-2025_05_50_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23409663, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23409664, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23409665, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23409666, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23409667, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23409668, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23409669, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23409670, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23409671, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23409672, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23409673, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23409674, '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 = 23410368 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': 2982178, 'mtr_portfolio_id': 23410368, 'created_at': datetime.datetime(2025, 5, 29, 5, 50, 58), 'result': '0.05992175238925569', 'result_long': None, 'result_double': None}] Qualite : 0.05992175238925569 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23410368 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_29-05-2025_05_51_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23410368 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_29-05-2025_05_51_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, 'pht': 3726}}" where mtr_portfolio_id = 23410368 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23410368 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026814, 0.05992175238925569, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23410368_29-05-2025_05_51_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23410369, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23410370, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23410371, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23410372, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23410373, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23410374, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23410375, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23410376, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23410377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23410378, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23410379, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23410380, '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 = 23411041 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': 2982179, 'mtr_portfolio_id': 23411041, 'created_at': datetime.datetime(2025, 5, 29, 5, 51, 31), 'result': '0.03982048580367304', 'result_long': None, 'result_double': None}] Qualite : 0.03982048580367304 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411041 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_29-05-2025_05_51_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411041 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_29-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, 'pht': 3726}}" where mtr_portfolio_id = 23411041 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23411041 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026815, 0.03982048580367304, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411041_29-05-2025_05_51_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411054, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411055, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411056, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411057, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411058, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411059, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411061, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411062, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411063, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411064, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411065, '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 = 23411222 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': 2982180, 'mtr_portfolio_id': 23411222, 'created_at': datetime.datetime(2025, 5, 29, 5, 51, 58), 'result': '0.035040148277756984', 'result_long': None, 'result_double': None}] Qualite : 0.035040148277756984 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411222 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_29-05-2025_05_52_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411222 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_29-05-2025_05_52_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, 'pht': 3726}}" where mtr_portfolio_id = 23411222 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23411222 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026816, 0.035040148277756984, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411222_29-05-2025_05_52_01.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411231, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411232, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411233, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411234, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411235, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411236, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411237, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411238, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411239, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411240, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411241, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411242, '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 = 23411634 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': 2982181, 'mtr_portfolio_id': 23411634, 'created_at': datetime.datetime(2025, 5, 29, 5, 52, 31), 'result': '0.06010927736496623', 'result_long': None, 'result_double': None}] Qualite : 0.06010927736496623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411634 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_29-05-2025_05_52_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411634 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_29-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, 'pht': 3726}}" where mtr_portfolio_id = 23411634 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23411634 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026817, 0.06010927736496623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411634_29-05-2025_05_52_32.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411649, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411651, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411652, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411653, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411654, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411655, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411656, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411657, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411658, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411659, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411660, '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 = 23411947 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': 2982182, 'mtr_portfolio_id': 23411947, 'created_at': datetime.datetime(2025, 5, 29, 5, 52, 59), 'result': '0.020884600403872355', 'result_long': None, 'result_double': None}] Qualite : 0.020884600403872355 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23411947 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_29-05-2025_05_53_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23411947 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_29-05-2025_05_53_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, 'pht': 3726}}" where mtr_portfolio_id = 23411947 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23411947 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026818, 0.020884600403872355, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23411947_29-05-2025_05_53_02.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23411954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23411955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23411956, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23411957, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23411958, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23411959, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23411960, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23411961, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23411962, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23411964, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23411965, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23411966, '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 = 23412231 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': 2982183, 'mtr_portfolio_id': 23412231, 'created_at': datetime.datetime(2025, 5, 29, 5, 53, 27), 'result': '0.02831631479652778', 'result_long': None, 'result_double': None}] Qualite : 0.02831631479652778 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23412231 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_29-05-2025_05_53_29.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23412231 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_29-05-2025_05_53_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, 'pht': 3726}}" where mtr_portfolio_id = 23412231 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23412231 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026819, 0.02831631479652778, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412231_29-05-2025_05_53_29.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412265, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412266, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412267, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412268, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412269, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412270, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412271, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412272, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412273, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412274, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412275, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412276, '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 = 23412706 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': 2982184, 'mtr_portfolio_id': 23412706, 'created_at': datetime.datetime(2025, 5, 29, 5, 54), 'result': '0.047081215825859196', 'result_long': None, 'result_double': None}] Qualite : 0.047081215825859196 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23412706 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_29-05-2025_05_54_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23412706 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_29-05-2025_05_54_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, 'pht': 3726}}" where mtr_portfolio_id = 23412706 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23412706 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026820, 0.047081215825859196, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23412706_29-05-2025_05_54_03.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23412758, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23412759, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23412760, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23412761, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23412762, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23412763, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23412764, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23412765, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23412766, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23412767, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23412768, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23412769, '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 = 23413181 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': 2982185, 'mtr_portfolio_id': 23413181, 'created_at': datetime.datetime(2025, 5, 29, 5, 54, 31), 'result': '0.040424502772721374', 'result_long': None, 'result_double': None}] Qualite : 0.040424502772721374 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413181 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_29-05-2025_05_54_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413181 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_29-05-2025_05_54_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, 'pht': 3726}}" where mtr_portfolio_id = 23413181 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23413181 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026821, 0.040424502772721374, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413181_29-05-2025_05_54_33.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413185, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413186, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413187, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413188, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413189, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413190, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413191, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413192, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413193, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413194, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413195, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413196, '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 = 23413509 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': 2982186, 'mtr_portfolio_id': 23413509, 'created_at': datetime.datetime(2025, 5, 29, 5, 55), 'result': '0.046956793488200574', 'result_long': None, 'result_double': None}] Qualite : 0.046956793488200574 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_29-05-2025_05_55_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_29-05-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, 'pht': 3726}}" where mtr_portfolio_id = 23413509 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23413509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026822, 0.046956793488200574, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413509_29-05-2025_05_55_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413546, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413547, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413548, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413549, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413550, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413551, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413553, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413554, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413555, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413556, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413557, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413558, '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 = 23413927 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': 2982187, 'mtr_portfolio_id': 23413927, 'created_at': datetime.datetime(2025, 5, 29, 5, 55, 29), 'result': '0.04699332506893065', 'result_long': None, 'result_double': None}] Qualite : 0.04699332506893065 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23413927 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_29-05-2025_05_55_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23413927 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_29-05-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, 'pht': 3726}}" where mtr_portfolio_id = 23413927 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23413927 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026823, 0.04699332506893065, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23413927_29-05-2025_05_55_32.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23413952, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23413953, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23413954, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23413955, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23413956, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23413957, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23413958, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23413959, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23413960, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23413961, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23413962, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23413963, '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 = 23415509 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': 2982188, 'mtr_portfolio_id': 23415509, 'created_at': datetime.datetime(2025, 5, 29, 5, 55, 58), 'result': '0.04062346698631859', 'result_long': None, 'result_double': None}] Qualite : 0.04062346698631859 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23415509 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_29-05-2025_05_55_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23415509 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_29-05-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, 'pht': 3726}}" where mtr_portfolio_id = 23415509 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23415509 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026824, 0.04062346698631859, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415509_29-05-2025_05_55_59.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415535, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415536, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415537, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415538, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415539, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415540, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415541, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415542, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415543, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415544, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415545, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415546, '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 = 23415614 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': 2982189, 'mtr_portfolio_id': 23415614, 'created_at': datetime.datetime(2025, 5, 29, 5, 56, 30), 'result': '0.029660217164606695', 'result_long': None, 'result_double': None}] Qualite : 0.029660217164606695 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23415614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_29-05-2025_05_56_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23415614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_29-05-2025_05_56_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, 'pht': 3726}}" where mtr_portfolio_id = 23415614 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23415614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026825, 0.029660217164606695, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23415614_29-05-2025_05_56_33.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23415639, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23415640, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23415641, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23415642, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23415643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23415644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23415645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23415646, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23415647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23415648, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23415649, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23415650, '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 = 23416210 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': 2982190, 'mtr_portfolio_id': 23416210, 'created_at': datetime.datetime(2025, 5, 29, 5, 56, 58), 'result': '0.05958409713836083', 'result_long': None, 'result_double': None}] Qualite : 0.05958409713836083 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23416210 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_29-05-2025_05_57_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23416210 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_29-05-2025_05_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, 'pht': 3726}}" where mtr_portfolio_id = 23416210 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23416210 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026826, 0.05958409713836083, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416210_29-05-2025_05_57_02.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23416262, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416263, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416264, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416265, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416266, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416267, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416268, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416269, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416270, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416271, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416272, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416273, '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 = 23416630 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': 2982191, 'mtr_portfolio_id': 23416630, 'created_at': datetime.datetime(2025, 5, 29, 5, 57, 30), 'result': '0.06007596501051313', 'result_long': None, 'result_double': None}] Qualite : 0.06007596501051313 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23416630 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_29-05-2025_05_57_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23416630 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_29-05-2025_05_57_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, 'pht': 3726}}" where mtr_portfolio_id = 23416630 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23416630 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026827, 0.06007596501051313, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23416630_29-05-2025_05_57_31.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23416679, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23416680, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23416681, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23416682, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23416683, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23416684, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23416685, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23416686, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23416687, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23416688, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23416689, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23416690, '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 = 23417059 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': 2982192, 'mtr_portfolio_id': 23417059, 'created_at': datetime.datetime(2025, 5, 29, 5, 58), 'result': '0.08064536484020123', 'result_long': None, 'result_double': None}] Qualite : 0.08064536484020123 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417059 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_29-05-2025_05_58_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417059 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_29-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, 'pht': 3726}}" where mtr_portfolio_id = 23417059 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23417059 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026828, 0.08064536484020123, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417059_29-05-2025_05_58_03.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417067, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417068, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417069, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417070, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417071, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417072, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417073, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417074, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417075, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417076, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417077, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417078, '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 = 23417365 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': 2982193, 'mtr_portfolio_id': 23417365, 'created_at': datetime.datetime(2025, 5, 29, 5, 58, 29), 'result': '0.03216283547221239', 'result_long': None, 'result_double': None}] Qualite : 0.03216283547221239 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417365 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_29-05-2025_05_58_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417365 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_29-05-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, 'pht': 3726}}" where mtr_portfolio_id = 23417365 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23417365 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026829, 0.03216283547221239, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417365_29-05-2025_05_58_32.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417373, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417374, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417375, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417376, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417377, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417378, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417379, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417380, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417381, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417382, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417383, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417384, '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 = 23417708 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': 2982194, 'mtr_portfolio_id': 23417708, 'created_at': datetime.datetime(2025, 5, 29, 5, 58, 59), 'result': '0.07657927948028243', 'result_long': None, 'result_double': None}] Qualite : 0.07657927948028243 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417708 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_29-05-2025_05_59_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417708 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_29-05-2025_05_59_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, 'pht': 3726}}" where mtr_portfolio_id = 23417708 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23417708 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026830, 0.07657927948028243, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417708_29-05-2025_05_59_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417721, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417722, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417723, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417724, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417725, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417726, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417727, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417728, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417729, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417730, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417731, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417732, '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 = 23417977 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': 2982195, 'mtr_portfolio_id': 23417977, 'created_at': datetime.datetime(2025, 5, 29, 5, 59, 28), 'result': '0.050367654277173796', 'result_long': None, 'result_double': None}] Qualite : 0.050367654277173796 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23417977 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_29-05-2025_05_59_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23417977 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_29-05-2025_05_59_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, 'pht': 3726}}" where mtr_portfolio_id = 23417977 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23417977 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026831, 0.050367654277173796, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23417977_29-05-2025_05_59_31.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23417978, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23417979, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23417980, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23417981, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23417982, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23417983, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23417984, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23417985, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23417986, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23417987, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23417988, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23417989, '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 = 23418390 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': 2982196, 'mtr_portfolio_id': 23418390, 'created_at': datetime.datetime(2025, 5, 29, 5, 59, 58), 'result': '0.05992345309797693', 'result_long': None, 'result_double': None}] Qualite : 0.05992345309797693 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23418390 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_29-05-2025_06_00_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23418390 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_29-05-2025_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, 'pht': 3726}}" where mtr_portfolio_id = 23418390 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23418390 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026832, 0.05992345309797693, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418390_29-05-2025_06_00_00.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23418397, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418398, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418399, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418400, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418401, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418402, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418403, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418404, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418405, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418406, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418407, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418408, '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 = 23418851 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': 2982197, 'mtr_portfolio_id': 23418851, 'created_at': datetime.datetime(2025, 5, 29, 6, 0, 30), 'result': '0.055527362424325336', 'result_long': None, 'result_double': None}] Qualite : 0.055527362424325336 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23418851 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_29-05-2025_06_00_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23418851 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_29-05-2025_06_00_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, 'pht': 3726}}" where mtr_portfolio_id = 23418851 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23418851 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026833, 0.055527362424325336, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23418851_29-05-2025_06_00_34.pdf', 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23418869, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23418870, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23418871, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23418872, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23418873, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23418874, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23418875, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23418876, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23418877, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23418878, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23418879, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23418880, '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 = 23419247 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': 2982198, 'mtr_portfolio_id': 23419247, 'created_at': datetime.datetime(2025, 5, 29, 6, 0, 59), 'result': '0.08505509729860483', 'result_long': None, 'result_double': None}] Qualite : 0.08505509729860483 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23419247 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_29-05-2025_06_01_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23419247 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_29-05-2025_06_01_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, 'pht': 3726}}" where mtr_portfolio_id = 23419247 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23419247 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026834, 0.08505509729860483, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419247_29-05-2025_06_01_03.pdf', 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419255, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419256, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419257, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419259, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419260, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419261, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419263, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419264, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419265, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419267, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419268, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419269, '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 = 23419604 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': 2982199, 'mtr_portfolio_id': 23419604, 'created_at': datetime.datetime(2025, 5, 29, 6, 1, 29), 'result': '0.04089961657379486', 'result_long': None, 'result_double': None}] Qualite : 0.04089961657379486 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23419604 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_29-05-2025_06_01_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23419604 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_29-05-2025_06_01_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, 'pht': 3726}}" where mtr_portfolio_id = 23419604 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23419604 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026835, 0.04089961657379486, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23419604_29-05-2025_06_01_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23419638, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23419639, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23419640, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23419641, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23419642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23419643, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23419644, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23419645, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23419646, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23419647, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23419648, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23419649, '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 = 23420019 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': 2982200, 'mtr_portfolio_id': 23420019, 'created_at': datetime.datetime(2025, 5, 29, 6, 1, 59), 'result': '0.04910440449094144', 'result_long': None, 'result_double': None}] Qualite : 0.04910440449094144 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420019 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_29-05-2025_06_02_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420019 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_29-05-2025_06_02_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, 'pht': 3726}}" where mtr_portfolio_id = 23420019 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23420019 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026836, 0.04910440449094144, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420019_29-05-2025_06_02_02.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420025, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420026, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420027, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420028, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420029, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420030, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420031, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420032, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420033, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420034, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420035, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420036, '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 = 23420326 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': 2982201, 'mtr_portfolio_id': 23420326, 'created_at': datetime.datetime(2025, 5, 29, 6, 2, 29), 'result': '0.04291116520127675', 'result_long': None, 'result_double': None}] Qualite : 0.04291116520127675 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420326 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_29-05-2025_06_02_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420326 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_29-05-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, 'pht': 3726}}" where mtr_portfolio_id = 23420326 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23420326 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026837, 0.04291116520127675, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420326_29-05-2025_06_02_32.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23420360, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420361, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420362, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420364, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420365, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420366, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420367, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420368, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420370, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420371, '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 = 23420654 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': 2982202, 'mtr_portfolio_id': 23420654, 'created_at': datetime.datetime(2025, 5, 29, 6, 3), 'result': '0.06198738022882409', 'result_long': None, 'result_double': None}] Qualite : 0.06198738022882409 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23420654 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_29-05-2025_06_03_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23420654 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_29-05-2025_06_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, 'pht': 3726}}" where mtr_portfolio_id = 23420654 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23420654 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026838, 0.06198738022882409, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23420654_29-05-2025_06_03_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23420692, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23420693, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23420694, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23420695, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23420696, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23420697, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23420698, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23420699, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23420700, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23420701, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23420702, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23420703, '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 = 23421006 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': 2982203, 'mtr_portfolio_id': 23421006, 'created_at': datetime.datetime(2025, 5, 29, 6, 3, 28), 'result': '0.05820317986214541', 'result_long': None, 'result_double': None}] Qualite : 0.05820317986214541 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421006 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_29-05-2025_06_03_31.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421006 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_29-05-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, 'pht': 3726}}" where mtr_portfolio_id = 23421006 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23421006 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026839, 0.05820317986214541, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421006_29-05-2025_06_03_31.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421014, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421015, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421016, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421017, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421018, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421019, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421020, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421021, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421022, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421023, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421024, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421025, '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 = 23421668 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': 2982204, 'mtr_portfolio_id': 23421668, 'created_at': datetime.datetime(2025, 5, 29, 6, 3, 58), 'result': '0.0545037807898262', 'result_long': None, 'result_double': None}] Qualite : 0.0545037807898262 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421668 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_29-05-2025_06_03_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421668 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_29-05-2025_06_03_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, 'pht': 3726}}" where mtr_portfolio_id = 23421668 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23421668 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026840, 0.0545037807898262, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421668_29-05-2025_06_03_59.pdf', 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421686, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421687, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421688, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421689, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421690, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23421691, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421692, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421693, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421694, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421695, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421696, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421697, '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 = 23421795 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': 2982205, 'mtr_portfolio_id': 23421795, 'created_at': datetime.datetime(2025, 5, 29, 6, 4, 30), 'result': '0.03204503728424993', 'result_long': None, 'result_double': None}] Qualite : 0.03204503728424993 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421795 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_29-05-2025_06_04_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421795 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_29-05-2025_06_04_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, 'pht': 3726}}" where mtr_portfolio_id = 23421795 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23421795 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026841, 0.03204503728424993, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421795_29-05-2025_06_04_32.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23421820, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421821, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23421822, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23421823, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23421824, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421825, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421826, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23421827, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23421828, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421829, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421830, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23421831, '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 = 23421957 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': 2982206, 'mtr_portfolio_id': 23421957, 'created_at': datetime.datetime(2025, 5, 29, 6, 4, 59), 'result': '0.05976031288446328', 'result_long': None, 'result_double': None}] Qualite : 0.05976031288446328 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23421957 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_29-05-2025_06_05_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23421957 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_29-05-2025_06_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, 'pht': 3726}}" where mtr_portfolio_id = 23421957 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23421957 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026842, 0.05976031288446328, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23421957_29-05-2025_06_05_02.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23421995, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23421996, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23421997, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23421998, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23421999, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422000, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422002, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422003, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422004, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422005, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422006, '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 = 23422300 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': 2982207, 'mtr_portfolio_id': 23422300, 'created_at': datetime.datetime(2025, 5, 29, 6, 5, 31), 'result': '0.06271035208941297', 'result_long': None, 'result_double': None}] Qualite : 0.06271035208941297 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422300 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_29-05-2025_06_05_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422300 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_29-05-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, 'pht': 3726}}" where mtr_portfolio_id = 23422300 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23422300 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026843, 0.06271035208941297, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422300_29-05-2025_06_05_33.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422325, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422326, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422327, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422328, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422329, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422330, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422331, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422332, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23422333, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422334, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422335, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422336, '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 = 23422770 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': 2982208, 'mtr_portfolio_id': 23422770, 'created_at': datetime.datetime(2025, 5, 29, 6, 6), 'result': '0.0173224976905885', 'result_long': None, 'result_double': None}] Qualite : 0.0173224976905885 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422770 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_29-05-2025_06_06_05.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422770 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_29-05-2025_06_06_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, 'pht': 3726}}" where mtr_portfolio_id = 23422770 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23422770 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026844, 0.0173224976905885, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422770_29-05-2025_06_06_05.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23422778, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23422779, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23422780, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23422781, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23422782, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23422783, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23422784, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23422785, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23422786, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23422787, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23422788, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23422789, '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 = 23422994 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': 2982209, 'mtr_portfolio_id': 23422994, 'created_at': datetime.datetime(2025, 5, 29, 6, 6, 30), 'result': '0.04774946244611464', 'result_long': None, 'result_double': None}] Qualite : 0.04774946244611464 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23422994 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_29-05-2025_06_06_36.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23422994 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_29-05-2025_06_06_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, 'pht': 3726}}" where mtr_portfolio_id = 23422994 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23422994 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026845, 0.04774946244611464, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23422994_29-05-2025_06_06_36.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423001, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423002, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423003, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423004, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423005, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423006, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423007, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423008, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423009, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423010, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423011, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423012, '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 = 23423248 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': 2982210, 'mtr_portfolio_id': 23423248, 'created_at': datetime.datetime(2025, 5, 29, 6, 7, 30), 'result': '0.039260231607825276', 'result_long': None, 'result_double': None}] Qualite : 0.039260231607825276 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423248 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_29-05-2025_06_07_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423248 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_29-05-2025_06_07_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, 'pht': 3726}}" where mtr_portfolio_id = 23423248 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23423248 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026846, 0.039260231607825276, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423248_29-05-2025_06_07_32.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423251, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423252, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423253, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423254, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423255, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423256, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423257, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423258, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423259, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423260, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423261, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423262, '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 = 23423625 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': 2982211, 'mtr_portfolio_id': 23423625, 'created_at': datetime.datetime(2025, 5, 29, 6, 7, 59), 'result': '0.06235487781244361', 'result_long': None, 'result_double': None}] Qualite : 0.06235487781244361 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423625 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_29-05-2025_06_08_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423625 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_29-05-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, 'pht': 3726}}" where mtr_portfolio_id = 23423625 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23423625 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026847, 0.06235487781244361, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423625_29-05-2025_06_08_01.pdf', 'metal': {'hashtag': 'metal', 'sub_port_id': 23423641, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423643, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423644, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423645, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423647, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423648, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423649, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423651, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423652, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423654, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423655, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423656, '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 = 23423891 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': 2982212, 'mtr_portfolio_id': 23423891, 'created_at': datetime.datetime(2025, 5, 29, 6, 8, 31), 'result': '0.04872447984434623', 'result_long': None, 'result_double': None}] Qualite : 0.04872447984434623 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23423891 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_29-05-2025_06_08_34.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23423891 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_29-05-2025_06_08_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, 'pht': 3726}}" where mtr_portfolio_id = 23423891 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23423891 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026848, 0.04872447984434623, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23423891_29-05-2025_06_08_34.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23423892, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23423893, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23423894, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23423895, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23423896, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23423897, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23423898, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23423899, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23423900, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23423901, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23423902, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23423903, '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 = 23424282 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': 2982213, 'mtr_portfolio_id': 23424282, 'created_at': datetime.datetime(2025, 5, 29, 6, 8, 57), 'result': '0.04437677344821136', 'result_long': None, 'result_double': None}] Qualite : 0.04437677344821136 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23424282 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_29-05-2025_06_09_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23424282 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_29-05-2025_06_09_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, 'pht': 3726}}" where mtr_portfolio_id = 23424282 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23424282 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026849, 0.04437677344821136, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424282_29-05-2025_06_09_00.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424287, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424288, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424289, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424290, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424291, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424292, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23424293, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424294, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424295, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424296, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424297, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424298, '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 = 23424761 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': 2982214, 'mtr_portfolio_id': 23424761, 'created_at': datetime.datetime(2025, 5, 29, 6, 9, 30), 'result': '0.05090078966903451', 'result_long': None, 'result_double': None}] Qualite : 0.05090078966903451 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23424761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_29-05-2025_06_09_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23424761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_29-05-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, 'pht': 3726}}" where mtr_portfolio_id = 23424761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23424761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026850, 0.05090078966903451, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23424761_29-05-2025_06_09_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23424786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23424787, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23424788, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23424789, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23424790, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23424791, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23424792, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23424793, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23424794, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23424795, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23424796, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23424797, '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 = 23425537 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': 2982215, 'mtr_portfolio_id': 23425537, 'created_at': datetime.datetime(2025, 5, 29, 6, 10), 'result': '0.029727841624104082', 'result_long': None, 'result_double': None}] Qualite : 0.029727841624104082 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425537 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_29-05-2025_06_10_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425537 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_29-05-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, 'pht': 3726}}" where mtr_portfolio_id = 23425537 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23425537 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026851, 0.029727841624104082, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425537_29-05-2025_06_10_01.pdf', 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425538, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425539, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425540, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425541, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425542, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425543, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425544, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425545, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425546, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425547, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425548, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425549, '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 = 23425614 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': 2982216, 'mtr_portfolio_id': 23425614, 'created_at': datetime.datetime(2025, 5, 29, 6, 10, 29), 'result': '0.031549489184334735', 'result_long': None, 'result_double': None}] Qualite : 0.031549489184334735 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425614 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_29-05-2025_06_10_32.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425614 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_29-05-2025_06_10_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, 'pht': 3726}}" where mtr_portfolio_id = 23425614 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23425614 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026852, 0.031549489184334735, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425614_29-05-2025_06_10_32.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23425640, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425641, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425642, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425643, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425644, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23425645, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425646, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425647, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425648, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425649, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425650, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425651, '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 = 23425878 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': 2982217, 'mtr_portfolio_id': 23425878, 'created_at': datetime.datetime(2025, 5, 29, 6, 10, 58), 'result': '0.06167488947219724', 'result_long': None, 'result_double': None}] Qualite : 0.06167488947219724 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23425878 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_29-05-2025_06_11_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23425878 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_29-05-2025_06_11_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, 'pht': 3726}}" where mtr_portfolio_id = 23425878 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23425878 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026853, 0.06167488947219724, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23425878_29-05-2025_06_11_01.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23425881, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23425882, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23425883, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23425884, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23425885, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23425886, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23425887, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23425888, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23425889, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23425890, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23425891, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23425892, '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 = 23426331 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': 2982218, 'mtr_portfolio_id': 23426331, 'created_at': datetime.datetime(2025, 5, 29, 6, 11, 30), 'result': '0.040713389022609056', 'result_long': None, 'result_double': None}] Qualite : 0.040713389022609056 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23426331 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_29-05-2025_06_11_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23426331 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_29-05-2025_06_11_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, 'pht': 3726}}" where mtr_portfolio_id = 23426331 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23426331 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026854, 0.040713389022609056, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426331_29-05-2025_06_11_33.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426361, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426362, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426363, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426364, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426365, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426366, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426367, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426368, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426369, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426370, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426371, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426372, '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 = 23426903 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': 2982219, 'mtr_portfolio_id': 23426903, 'created_at': datetime.datetime(2025, 5, 29, 6, 12), 'result': '0.0520061178454507', 'result_long': None, 'result_double': None}] Qualite : 0.0520061178454507 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23426903 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_29-05-2025_06_12_03.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23426903 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_29-05-2025_06_12_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, 'pht': 3726}}" where mtr_portfolio_id = 23426903 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23426903 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026855, 0.0520061178454507, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23426903_29-05-2025_06_12_03.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23426904, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23426905, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23426906, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23426907, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23426908, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23426909, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23426910, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23426911, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23426912, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23426913, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23426914, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23426915, '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 = 23427481 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': 2982220, 'mtr_portfolio_id': 23427481, 'created_at': datetime.datetime(2025, 5, 29, 6, 12, 31), 'result': '0.05666458950609962', 'result_long': None, 'result_double': None}] Qualite : 0.05666458950609962 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23427481 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_29-05-2025_06_12_35.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23427481 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_29-05-2025_06_12_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, 'pht': 3726}}" where mtr_portfolio_id = 23427481 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23427481 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026856, 0.05666458950609962, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427481_29-05-2025_06_12_35.pdf', 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23427532, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23427533, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23427534, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23427535, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23427536, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23427537, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23427538, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23427539, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23427540, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23427541, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23427542, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23427543, '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 = 23427999 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': 2982221, 'mtr_portfolio_id': 23427999, 'created_at': datetime.datetime(2025, 5, 29, 6, 12, 59), 'result': '0.04740686443786978', 'result_long': None, 'result_double': None}] Qualite : 0.04740686443786978 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23427999 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_29-05-2025_06_13_01.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23427999 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_29-05-2025_06_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, 'pht': 3726}}" where mtr_portfolio_id = 23427999 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23427999 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026857, 0.04740686443786978, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23427999_29-05-2025_06_13_01.pdf', 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428025, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428026, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428027, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428028, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428029, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428030, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428031, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428032, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428033, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428034, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428035, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428036, '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 = 23428568 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': 2982222, 'mtr_portfolio_id': 23428568, 'created_at': datetime.datetime(2025, 5, 29, 6, 13, 28), 'result': '0.057960767192571115', 'result_long': None, 'result_double': None}] Qualite : 0.057960767192571115 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23428568 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_29-05-2025_06_13_30.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23428568 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_29-05-2025_06_13_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, 'pht': 3726}}" where mtr_portfolio_id = 23428568 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23428568 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026858, 0.057960767192571115, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428568_29-05-2025_06_13_30.pdf', 'flou': {'hashtag': 'flou', 'sub_port_id': 23428569, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428570, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428571, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428572, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428573, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428574, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428575, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428576, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428577, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428578, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428579, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428580, '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 = 23428761 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': 2982223, 'mtr_portfolio_id': 23428761, 'created_at': datetime.datetime(2025, 5, 29, 6, 13, 59), 'result': '0.0604932399911551', 'result_long': None, 'result_double': None}] Qualite : 0.0604932399911551 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23428761 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_29-05-2025_06_14_02.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23428761 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_29-05-2025_06_14_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, 'pht': 3726}}" where mtr_portfolio_id = 23428761 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23428761 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026859, 0.0604932399911551, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23428761_29-05-2025_06_14_02.pdf', 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23428782, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23428783, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23428784, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23428785, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23428786, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23428787, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23428788, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23428789, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23428790, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23428791, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23428792, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23428793, '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 = 23429050 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': 2982224, 'mtr_portfolio_id': 23429050, 'created_at': datetime.datetime(2025, 5, 29, 6, 14, 28), 'result': '0.05962356837491364', 'result_long': None, 'result_double': None}] Qualite : 0.05962356837491364 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429050 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_29-05-2025_06_14_33.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429050 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_29-05-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, 'pht': 3726}}" where mtr_portfolio_id = 23429050 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23429050 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026860, 0.05962356837491364, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429050_29-05-2025_06_14_33.pdf', 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429055, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429056, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429057, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429058, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429059, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429060, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429061, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429062, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429063, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429064, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429065, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429066, '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 = 23429379 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': 2982225, 'mtr_portfolio_id': 23429379, 'created_at': datetime.datetime(2025, 5, 29, 6, 14, 58), 'result': '0.041850747942346195', 'result_long': None, 'result_double': None}] Qualite : 0.041850747942346195 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429379 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_29-05-2025_06_14_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429379 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_29-05-2025_06_14_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, 'pht': 3726}}" where mtr_portfolio_id = 23429379 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23429379 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026861, 0.041850747942346195, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429379_29-05-2025_06_14_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429406, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429407, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429408, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429409, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429410, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429411, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429412, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429413, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429414, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23429415, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429416, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429417, '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 = 23429676 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': 2980338, 'mtr_portfolio_id': 23429676, 'created_at': datetime.datetime(2025, 5, 29, 0, 11, 59), 'result': '0.023312111767794505', 'result_long': None, 'result_double': None}] Qualite : 0.023312111767794505 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23429676 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23429676 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, 'pht': 3726}}" where mtr_portfolio_id = 23429676 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23429676 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026862, 0.023312111767794505, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23429676_29-05-2025_00_12_00.pdf', 'papier': {'hashtag': 'papier', 'sub_port_id': 23429701, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23429702, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23429703, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23429704, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23429705, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23429706, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23429707, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23429708, 'pht': 3726}, 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23429709, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23429710, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23429711, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23429712, '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 = 23430028 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': 2980437, 'mtr_portfolio_id': 23430028, 'created_at': datetime.datetime(2025, 5, 29, 1, 25, 58), 'result': '0.05384384359324366', 'result_long': None, 'result_double': None}] Qualite : 0.05384384359324366 select url from MTRUser.mtr_files where mtd_id = 4302 and mtr_portfolio_id = 23430028 order by file_id desc limit 1 find url: https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf select completion_json, dashboard_run_id from MTRPhoto.dashboard_results where mtr_portfolio_id = 23430028 order by id desc limit 1 update MTRPhoto.dashboard_results set completion_json = "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, 'pht': 3726}}" where mtr_portfolio_id = 23430028 and dashboard_run_id = 1852764 SELECT name, created_at,limit_max FROM MTRDatou.mtr_datou WHERE id=4302 SELECT mtd.id, mtdt.`type`, mtd.`param`, mtd.param_json, mtdt.nb_input, mtdt.nb_output, mtdt.prod, mtdt.is_local, mtdt.is_datou_depend, mtdt.is_photo_id_local FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_step_types mtdt WHERE mtdt.`id`=mtd.`type` AND mtd.mtd_id=4302 SELECT mtd.id, mtd.mtd_id, mdsdt.id, mdsdt.name, mdsdt.description, msid.output_or_input, msid.data_order_id, mdsdt.type FROM MTRDatou.mtr_datou_step mtd, MTRDatou.mtr_datou_steptype_io_datatypes msid, MTRDatou.mtr_datou_step_data_types mdsdt WHERE mtd.`type`=msid.`mtr_datou_step_type` AND mtd.mtd_id= 4302 AND msid.data_type=mdsdt.id SELECT mts_id_output, id_output, mts_id_input, id_input FROM MTRDatou.mtr_datou_step_by_step WHERE mtd_id=4302 # VR 17-11-17 : to create in DB ! Here we check the datou graph and we reorder steps ! Tree builded and cycle checked, now we need to re-order the steps ! We have currenlty an error because there is no dependence between the last step for the case tile - detect - glue We can either keep the depence of, it is better to keep an order compatible with the id of steps if we do not have sons, so a lexical order : (number_son, step_id) All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! All sons are already in current list ! DONE and to test : checkNoCycle ! Here we check the consistency of inputs/outputs number between the given ones and the db ! eke 1-6-18 : checkConsistencyNbInputNbOutput should be processed after step reordering ! WARNING : number of outputs for step 13596 ventilate_hashtags_in_portfolio is not consistent : 2 used against 1 in the step definition ! Step 11881 final have less inputs used (1) than in the step definition (3) : maybe we manage optionnal inputs ! Step 11881 final have less outputs used (1) than in the step definition (2) : some outputs may be not used ! WARNING : number of outputs for step 13625 velours_tree is not consistent : 2 used against 1 in the step definition ! Step 11884 send_mail_cod have less inputs used (3) than in the step definition (5) : maybe we manage optionnal inputs ! Number of inputs / outputs for each step checked ! Here we check the consistency of outputs/inputs types during steps connections eke 1-6-18 : checkConsistencyTypeOutputInput should be processed after checkConsistencyNbInputNbOutput ! We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 3 of step 11884 have datatype=6 WARNING : type of output 1 of step 13596 doesn't seem to be define in the database( WARNING : type of input 3 of step 11881 doesn't seem to be define in the database( We ignore checkConsistencyTypeOutputInput for datou_step final ! WARNING : output 0 of step 13596 have datatype=10 whereas input 0 of step 13625 have datatype=18 WARNING : type of output 1 of step 13625 doesn't seem to be define in the database( WARNING : type of input 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`=23430028 AND mptpi.`type`=3726 To do INSERT IGNORE INTO MTRPhoto.dashboard_results (id, qualite, completion_json) VALUES (11026863, 0.05384384359324366, "{'max_time_prod_two_photos': 0, 'url_report': 'https://storage.sbg.cloud.ovh.net/v1/AUTH_3b171620e76e4af496c5fd050759c9f0/media.fotonower.com/results_Auto_P23430028_29-05-2025_01_25_59.pdf', 'environnement': {'hashtag': 'environnement', 'sub_port_id': 23430042, 'pht': 3726}, 'plastique': {'hashtag': 'plastique', 'sub_port_id': 23430043, 'pht': 3726}, 'metal': {'hashtag': 'metal', 'sub_port_id': 23430044, 'pht': 3726}, 'flou': {'hashtag': 'flou', 'sub_port_id': 23430045, 'pht': 3726}, 'Teint_Dans_La_Masse': {'hashtag': 'Teint_Dans_La_Masse', 'sub_port_id': 23430046, 'pht': 3726}, 'autre_refus': {'hashtag': 'autre_refus', 'sub_port_id': 23430047, 'pht': 3726}, 'cartonnette': {'hashtag': 'cartonnette', 'sub_port_id': 23430048, 'pht': 3726}, 'Carton_gris': {'hashtag': 'Carton_gris', 'sub_port_id': 23430049, 'pht': 3726}, 'kraft': {'hashtag': 'kraft', 'sub_port_id': 23430050, 'pht': 3726}, 'papier': {'hashtag': 'papier', 'sub_port_id': 23430051, 'pht': 3726}, 'mal_croppe': {'hashtag': 'mal_croppe', 'sub_port_id': 23430052, 'pht': 3726}, 'Carton_brun': {'hashtag': 'Carton_brun', 'sub_port_id': 23430053, '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 (23397772,23398051,23398303,23399179,23399344,23399686,23400106,23400427,23400761,23401154,23401510,23401873,23402106,23402440,23402734,23403490,23403648,23403911,23404230,23404712,23405129,23405492,23405806,23406291,23406782,23407058,23407390,23407757,23408183,23408565,23408918,23409657,23410368,23411041,23411222,23411634,23411947,23412231,23412706,23413181,23413509,23413927,23415509,23415614,23416210,23416630,23417059,23417365,23417708,23417977,23418390,23418851,23419247,23419604,23420019,23420326,23420654,23421006,23421668,23421795,23421957,23422300,23422770,23422994,23423248,23423625,23423891,23424282,23424761,23425537,23425614,23425878,23426331,23426903,23427481,23427999,23428568,23428761,23429050,23429379,23429676,23430028) result : ((1361412970,), (1361412973,), (1361412976,), (1361412978,), (1361413011,), (1361413012,), (1361413014,), (1361413016,), (1361413018,), (1361413022,), (1361413044,), (1361413046,), (1361413048,), (1361413081,), (1361413083,), (1361413086,), (1361413089,), (1361413094,), (1361413097,), (1361413115,), (1361413117,), (1361413120,), (1361413121,), (1361413124,), (1361413128,), (1361413147,), (1361413149,), (1361413151,), (1361413152,), (1361413154,), (1361413187,), (1361413195,), (1361413197,), (1361413199,), (1361413201,), (1361413203,), (1361413219,), (1361413221,), (1361413223,), (1361413225,), (1361413255,), (1361413258,), (1361413261,), (1361413264,), (1361413266,), (1361413268,), (1361413287,), (1361413291,), (1361413292,), (1361413315,), (1361413316,), (1361413317,), (1361413318,), (1361413340,), (1361413512,), (1361413509,), (1361413511,), (1361413543,), (1361413545,), (1361413546,), (1361413547,), (1361413548,), (1361413550,), (1361413572,), (1361413573,), (1361413574,), (1361413575,), (1361413576,), (1361413578,), (1361413603,), (1361413604,), (1361413605,), (1361413606,), (1361413640,), (1361413641,), (1361413642,), (1361413643,), (1361413647,), (1361413654,), (1361413678,), (1361413680,), (1361413682,), (1361413684,), (1361413686,), (1361413710,), (1361413712,), (1361413714,), (1361413716,), (1361413722,), (1361413758,), (1361413759,), (1361413760,), (1361413761,), (1361413762,), (1361413763,), (1361413786,), (1361413787,), (1361413788,), (1361413789,), (1361413818,), (1361413819,), (1361413820,), (1361413821,), (1361413822,), (1361413823,), (1361413847,), (1361413850,), (1361413852,), (1361413854,), (1361413878,), (1361413879,), (1361413880,), (1361413881,), (1361413905,), (1361413908,), (1361413909,), (1361413911,), (1361413913,), (1361413916,), (1361413937,), (1361413935,), (1361413936,), (1361413961,), (1361413962,), (1361413963,), (1361413992,), (1361413993,), (1361413994,), (1361413995,), (1361413996,), (1361414019,), (1361414020,), (1361414021,), (1361414022,), (1361414023,), (1361414032,), (1361414035,), (1361414037,), (1361419067,), (1361420894,), (1361420897,), (1361420919,), (1361420945,), (1361420966,), (1361420978,), (1361420984,), (1361420986,), (1361420987,), (1361420988,), (1361421007,), (1361421009,), (1361421012,), (1361421015,), (1361421037,), (1361421041,), (1361421044,), (1361421047,), (1361421050,), (1361421054,), (1361421081,), (1361421083,), (1361421084,), (1361421101,), (1361421105,), (1361421107,), (1361421110,), (1361421113,), (1361421115,), (1361421132,), (1361421134,), (1361421136,), (1361421138,), (1361421139,), (1361421157,), (1361421159,), (1361421161,), (1361421164,), (1361421165,), (1361421167,), (1361421183,), (1361421186,), (1361421224,), (1361421215,), (1361421217,), (1361421219,), (1361421250,), (1361421258,), (1361421260,), (1361421261,), (1361421262,), (1361421276,), (1361421279,), (1361421282,), (1361421306,), (1361421308,), (1361421331,), (1361421332,), (1361421335,), (1361421337,), (1361421338,), (1361421359,), (1361421361,), (1361421363,), (1361421365,), (1361421393,), (1361421395,), (1361421397,), (1361421400,), (1361421401,), (1361421408,), (1361421429,), (1361421431,), (1361421447,), (1361421449,), (1361421454,), (1361421460,), (1361421482,), (1361421485,), (1361421488,), (1361421492,), (1361421720,), (1361421819,), (1361421848,), (1361421874,), (1361421897,), (1361421928,), (1361422150,), (1361422175,), (1361422202,), (1361422439,), (1361422441,), (1361422443,), (1361422445,), (1361422446,), (1361422576,), (1361422603,), (1361422627,), (1361422654,), (1361422681,), (1361422750,), (1361422752,), (1361422775,), (1361422801,), (1361422827,), (1361422915,), (1361422883,), (1361422885,), (1361422887,), (1361422892,), (1361423170,), (1361423172,), (1361423174,), (1361423176,), (1361423197,), (1361423200,), (1361423203,), (1361423206,), (1361423227,), (1361423229,), (1361423231,), (1361423244,), (1361423249,), (1361423253,), (1361423255,), (1361423276,), (1361423314,), (1361423319,), (1361423322,), (1361423325,), (1361423339,), (1361423360,), (1361423407,), (1361423409,), (1361423411,), (1361423444,), (1361423446,), (1361423448,), (1361423450,), (1361423476,), (1361423479,), (1361423481,), (1361423483,), (1361423485,), (1361423503,), (1361423509,), (1361423511,), (1361423513,), (1361423527,), (1361423529,), (1361423531,), (1361423559,), (1361423563,), (1361423566,), (1361423568,), (1361423595,), (1361423588,), (1361423590,), (1361423592,), (1361423594,), (1361423615,), (1361423618,), (1361423621,), (1361423624,), (1361423626,), (1361423648,), (1361423649,), (1361423655,), (1361423682,), (1361423685,), (1361423687,), (1361423709,), (1361423711,), (1361423713,), (1361423714,), (1361423716,), (1361423718,), (1361423742,), (1361423744,), (1361423746,), (1361423748,), (1361423750,), (1361423776,), (1361423778,), (1361423780,), (1361423812,), (1361423820,), (1361423822,), (1361423824,), (1361423825,), (1361423826,), (1361424021,), (1361424048,), (1361424073,), (1361424099,), (1361424126,), (1361424149,), (1361424406,), (1361424434,), (1361424464,), (1361424494,), (1361424811,), (1361424814,), (1361424816,), (1361424818,), (1361424820,), (1361424821,), (1361424844,), (1361424861,), (1361424887,), (1361424940,), (1361425202,), (1361425204,), (1361425205,), (1361425207,), (1361425480,), (1361425510,), (1361425533,), (1361425558,), (1361425585,), (1361425646,), (1361425647,), (1361425649,), (1361425650,), (1361425653,), (1361425654,), (1361425658,), (1361425659,), (1361425662,), (1361425664,), (1361425673,), (1361425671,), (1361425697,), (1361425699,), (1361425700,), (1361425720,), (1361425727,), (1361425729,), (1361425731,), (1361425732,), (1361425734,), (1361425750,), (1361425753,), (1361425760,), (1361425761,), (1361425763,), (1361425764,), (1361425784,), (1361425786,), (1361425788,), (1361425812,), (1361425815,), (1361425817,), (1361425819,), (1361425820,), (1361425857,), (1361425860,), (1361425862,), (1361425869,), (1361425875,), (1361425877,), (1361425896,), (1361425898,), (1361425902,), (1361425908,), (1361425909,), (1361425929,), (1361425932,), (1361425935,), (1361425957,), (1361425960,), (1361425964,), (1361425968,), (1361425969,), (1361425971,), (1361425989,), (1361425991,), (1361425998,), (1361426001,), (1361426003,), (1361426026,), (1361426029,), (1361426032,), (1361426054,), (1361426057,), (1361426058,), (1361426060,), (1361426062,), (1361426063,), (1361426082,), (1361426084,), (1361426086,), (1361426088,), (1361426089,), (1361426108,), (1361426111,), (1361426113,), (1361426148,), (1361426135,), (1361426139,), (1361426142,), (1361426146,), (1361426147,), (1361426179,), (1361426181,), (1361426182,), (1361426183,), (1361426184,), (1361426185,), (1361426199,), (1361426201,), (1361426203,), (1361426204,), (1361426219,), (1361426220,), (1361426226,), (1361426232,), (1361426248,), (1361426249,), (1361426255,), (1361426258,), (1361426259,), (1361426260,), (1361426278,), (1361426281,), (1361426284,), (1361426285,), (1361426301,), (1361426313,), (1361426340,), (1361426366,), (1361426381,), (1361426390,), (1361426479,), (1361426480,), (1361426484,), (1361426491,), (1361426507,), (1361426508,), (1361426554,), (1361426555,), (1361426556,), (1361426584,), (1361426590,), (1361426592,), (1361426594,), (1361426596,), (1361426598,), (1361426614,), (1361426615,), (1361426616,), (1361426617,), (1361426645,), (1361426646,), (1361426648,), (1361426652,), (1361426659,), (1361426664,), (1361426666,), (1361426668,), (1361426714,), (1361426709,), (1361426711,), (1361426712,), (1361426713,), (1361426730,), (1361426732,), (1361426734,), (1361426736,), (1361426738,), (1361426757,), (1361426760,), (1361426761,), (1361426776,), (1361426783,), (1361426786,), (1361426789,), (1361426793,), (1361426795,), (1361426808,), (1361426812,), (1361426815,), (1361426818,), (1361426821,), (1361426844,), (1361426846,), (1361426848,), (1361426850,), (1361426867,), (1361426869,), (1361426871,), (1361426873,), (1361426874,), (1361426875,), (1361426888,), (1361426889,), (1361426890,), (1361426891,), (1361426893,), (1361426903,), (1361426921,), (1361426923,), (1361426928,), (1361426930,), (1361426947,), (1361426948,), (1361426949,), (1361426950,), (1361426951,), (1361426952,), (1361426980,), (1361426982,), (1361426983,), (1361426984,), (1361427002,), (1361427004,), (1361427005,), (1361427029,), (1361427032,), (1361427036,), (1361427037,), (1361427038,), (1361427050,), (1361427052,), (1361427053,), (1361427055,), (1361427056,), (1361427074,), (1361427071,), (1361427072,), (1361427073,), (1361427098,), (1361427107,), (1361427110,), (1361427111,), (1361427127,), (1361427131,), (1361427133,), (1361427134,), (1361427135,), (1361427136,), (1361427147,), (1361427148,), (1361427149,), (1361427150,), (1361427167,), (1361427169,), (1361427190,), (1361427192,), (1361427193,), (1361427194,), (1361427201,), (1361427205,), (1361427222,), (1361427223,), (1361427226,), (1361427249,), (1361427250,), (1361427251,), (1361427252,), (1361427254,), (1361427272,), (1361427273,), (1361427274,), (1361427275,), (1361427276,), (1361427293,), (1361427297,), (1361427301,), (1361427317,), (1361427318,), (1361427319,), (1361427321,), (1361427329,), (1361427331,), (1361427351,), (1361427353,), (1361427355,), (1361427357,), (1361427373,), (1361427374,), (1361427375,), (1361427376,), (1361427377,), (1361427378,), (1361427411,), (1361427412,), (1361427413,), (1361427414,), (1361427415,), (1361427416,), (1361427434,), (1361427561,), (1361427562,), (1361427563,), (1361427564,), (1361427580,), (1361427583,), (1361427585,), (1361427586,), (1361427587,), (1361427598,), (1361427601,), (1361427603,), (1361427604,), (1361427605,), (1361427624,), (1361427625,), (1361427630,), (1361427650,), (1361427651,), (1361427652,), (1361427653,), (1361427654,), (1361427676,), (1361427677,), (1361427678,), (1361427679,), (1361427704,), (1361427706,), (1361427709,), (1361427715,), (1361427716,), (1361427768,), (1361427772,), (1361427778,), (1361427801,), (1361427804,), (1361427805,), (1361427806,), (1361427807,), (1361427808,), (1361427831,), (1361427827,), (1361427829,), (1361427830,), (1361427849,), (1361427850,), (1361427851,), (1361427898,), (1361427899,), (1361427900,), (1361427906,), (1361427907,), (1361427908,), (1361427926,), (1361427927,), (1361427928,), (1361427929,), (1361427930,), (1361427950,), (1361427952,), (1361427953,), (1361427974,), (1361427975,), (1361427979,), (1361427980,), (1361428004,), (1361428005,), (1361428006,), (1361428007,), (1361428009,), (1361428017,), (1361428034,), (1361428036,), (1361428038,), (1361428058,), (1361428060,), (1361428062,), (1361428078,), (1361428081,), (1361428085,), (1361428095,), (1361428098,), (1361428100,), (1361428115,), (1361428116,), (1361428118,), (1361428149,), (1361428150,), (1361428151,), (1361428152,), (1361428153,), (1361428154,), (1361428171,), (1361428172,), (1361428173,), (1361428174,), (1361428175,), (1361428176,), (1361428197,), (1361428199,), (1361428201,), (1361428202,), (1361428220,), (1361428221,), (1361428222,), (1361428223,), (1361428224,), (1361428261,), (1361428254,), (1361428256,), (1361428258,), (1361428259,), (1361428260,), (1361428278,), (1361428279,), (1361428280,), (1361428297,), (1361428298,), (1361428299,), (1361428329,), (1361428330,), (1361428331,), (1361428332,), (1361428333,), (1361428353,), (1361428355,), (1361428357,), (1361428359,), (1361428361,), (1361428363,), (1361428380,), (1361428384,), (1361428387,), (1361428389,), (1361428390,), (1361428413,), (1361428416,), (1361428419,), (1361428422,), (1361428451,), (1361428455,), (1361428458,), (1361428461,), (1361428463,), (1361428481,), (1361428483,), (1361428485,), (1361428487,), (1361428508,), (1361428510,), (1361428512,), (1361428513,), (1361428515,), (1361428517,), (1361428537,), (1361428539,), (1361428541,), (1361428543,), (1361428562,), (1361428564,), (1361428566,), (1361428573,), (1361428576,), (1361428598,), (1361428601,), (1361428603,), (1361428605,), (1361428607,), (1361428626,), (1361428629,), (1361428631,), (1361428633,), (1361428635,), (1361428637,), (1361428657,), (1361428659,), (1361428661,), (1361428695,), (1361428684,), (1361428687,), (1361428689,), (1361428691,), (1361428693,), (1361428708,), (1361428763,), (1361430035,), (1361430064,), (1361430066,), (1361430090,), (1361430093,), (1361430096,), (1361430098,), (1361430118,), (1361430121,), (1361430143,), (1361430145,), (1361430215,), (1361430220,), (1361430269,), (1361430297,), (1361430294,), (1361430322,), (1361430326,), (1361430383,), (1361430386,), (1361430389,), (1361430391,), (1361430408,), (1361430572,), (1361430575,), (1361430578,), (1361430580,), (1361430615,), (1361430617,), (1361430619,), (1361430621,), (1361430623,), (1361430643,), (1361430645,), (1361430647,), (1361430651,), (1361430654,), (1361430692,), (1361430694,), (1361430696,), (1361430700,), (1361430710,), (1361430715,), (1361430739,), (1361430733,), (1361430735,), (1361430737,), (1361430774,), (1361430776,), (1361430779,), (1361430781,), (1361430782,), (1361430800,), (1361430802,), (1361430804,), (1361430806,), (1361430808,), (1361430824,), (1361430826,), (1361430828,), (1361430830,), (1361430832,), (1361430866,), (1361430869,), (1361430893,), (1361430896,), (1361430899,), (1361430901,), (1361430924,), (1361430927,), (1361430948,), (1361430952,), (1361430954,), (1361430976,), (1361430979,), (1361430981,), (1361430983,), (1361431001,), (1361431003,), (1361431034,), (1361431037,), (1361431039,), (1361431042,), (1361431046,), (1361431063,), (1361431065,), (1361431067,), (1361431069,), (1361431094,), (1361431097,), (1361431100,), (1361431103,), (1361431124,), (1361431126,), (1361431156,), (1361431158,), (1361431185,), (1361431179,), (1361431181,), (1361431183,), (1361431218,), (1361431221,), (1361431224,), (1361431227,), (1361431229,), (1361431247,), (1361431249,), (1361431251,), (1361431252,), (1361431255,), (1361431295,), (1361431298,), (1361431301,), (1361431303,), (1361431325,), (1361431545,), (1361431568,), (1361431603,), (1361431614,), (1361431686,), (1361431718,), (1361431752,), (1361431755,), (1361431759,), (1361431783,), (1361431785,), (1361431787,), (1361431806,), (1361431810,), (1361431812,), (1361431814,), (1361431843,), (1361431845,), (1361431962,), (1361431986,), (1361431988,), (1361431990,), (1361432014,), (1361432016,), (1361432018,), (1361432021,), (1361432047,), (1361432048,), (1361432051,), (1361432057,), (1361432059,), (1361432061,), (1361432157,), (1361432186,), (1361432320,), (1361432322,), (1361432351,), (1361432343,), (1361432345,), (1361432347,), (1361432349,), (1361432369,), (1361432371,), (1361432376,), (1361432408,), (1361432410,), (1361432413,), (1361432416,), (1361432435,), (1361432436,), (1361432440,), (1361432452,), (1361432454,), (1361432456,), (1361432458,), (1361432647,), (1361432656,), (1361432675,), (1361432682,), (1361432703,), (1361432711,), (1361432745,), (1361432748,), (1361432750,), (1361432752,), (1361432754,), (1361432772,), (1361432775,), (1361432778,), (1361432780,), (1361432782,), (1361432784,), (1361432800,), (1361432802,), (1361432805,), (1361432833,), (1361432834,), (1361432836,), (1361432839,), (1361432841,), (1361432843,), (1361432867,), (1361432869,), (1361432870,), (1361432872,), (1361432874,), (1361432893,), (1361432899,), (1361432902,), (1361432904,), (1361432905,), (1361432926,), (1361432930,), (1361432933,), (1361432935,), (1361432938,), (1361432945,), (1361432964,), (1361432966,), (1361432968,), (1361432970,), (1361432984,), (1361432987,), (1361432989,), (1361432993,), (1361432997,), (1361433030,), (1361433017,), (1361433019,), (1361433021,), (1361433049,), (1361433051,), (1361433053,), (1361433055,), (1361433057,), (1361433062,), (1361433095,), (1361433100,), (1361433103,), (1361433107,), (1361433110,), (1361433112,), (1361433128,), (1361433130,), (1361433132,), (1361433152,), (1361433155,), (1361433158,), (1361433160,), (1361433162,), (1361433180,), (1361433187,), (1361433189,), (1361433191,), (1361433193,), (1361433196,), (1361433218,), (1361433226,), (1361433230,), (1361433232,), (1361433258,), (1361433260,), (1361433262,), (1361433264,), (1361433266,), (1361433289,), (1361433292,), (1361433294,), (1361433297,), (1361433301,), (1361433322,), (1361433325,), (1361433328,), (1361433331,), (1361433333,), (1361433365,), (1361433367,), (1361433370,), (1361433373,), (1361433374,), (1361433394,), (1361433396,), (1361433398,), (1361433400,), (1361433401,), (1361433404,), (1361433424,), (1361433426,), (1361433428,), (1361433429,), (1361433480,), (1361433483,), (1361433486,), (1361433487,), (1361433493,), (1361433494,), (1361433496,), (1361433497,), (1361433499,), (1361433501,), (1361433503,), (1361433506,), (1361433509,), (1361433512,), (1361433527,), (1361433520,), (1361433522,), (1361433524,), (1361433526,), (1361433547,), (1361433549,), (1361433551,), (1361433573,), (1361433576,), (1361433578,), (1361433600,), (1361433602,), (1361433604,), (1361433606,), (1361433609,), (1361433631,), (1361433634,), (1361433636,), (1361433639,), (1361433641,), (1361433662,), (1361433664,), (1361433666,), (1361433687,), (1361433690,), (1361433692,), (1361433694,), (1361433701,), (1361433702,), (1361433721,), (1361433723,), (1361433725,), (1361433731,), (1361433751,), (1361433753,), (1361433755,), (1361433757,), (1361433777,), (1361433779,), (1361433781,), (1361433782,), (1361433785,), (1361433786,), (1361433805,), (1361433807,), (1361433809,), (1361433811,), (1361433820,), (1361433852,), (1361433855,), (1361433856,), (1361433858,), (1361433860,), (1361433862,), (1361433897,), (1361433901,), (1361433903,), (1361433906,), (1361433908,), (1361433933,), (1361433937,), (1361433941,), (1361433943,), (1361433946,), (1361433965,), (1361433967,), (1361433970,), (1361433973,), (1361433976,), (1361434013,), (1361434001,), (1361434004,), (1361434006,), (1361434007,), (1361434011,), (1361434035,), (1361434037,), (1361434039,), (1361434044,), (1361434062,), (1361434064,), (1361434066,), (1361434068,), (1361434089,), (1361434092,), (1361434094,), (1361434096,), (1361434098,), (1361434125,), (1361434127,), (1361434129,), (1361434131,), (1361434342,), (1361434366,), (1361434393,), (1361434419,), (1361434433,), (1361434533,), (1361434535,), (1361434537,), (1361434779,), (1361434789,), (1361434820,), (1361434832,), (1361434912,), (1361434915,), (1361434917,), (1361434919,), (1361434953,), (1361434957,), (1361435118,), (1361435146,), (1361435264,), (1361435267,), (1361435270,), (1361435297,), (1361435303,), (1361435305,), (1361435307,), (1361435309,), (1361435311,), (1361435330,), (1361435335,), (1361435358,), (1361435360,), (1361435362,), (1361435367,), (1361435371,), (1361435679,), (1361435623,), (1361435653,), (1361435811,), (1361435813,), (1361435815,), (1361435845,), (1361435871,), (1361435983,), (1361436000,), (1361436030,), (1361436059,), (1361436081,), (1361436083,), (1361436180,), (1361436208,), (1361436236,), (1361436255,), (1361436258,), (1361436261,), (1361436270,), (1361436277,), (1361436281,), (1361436306,), (1361436312,), (1361436316,), (1361436321,), (1361436324,), (1361436326,), (1361436350,), (1361436353,), (1361436355,), (1361436385,), (1361436388,), (1361436390,), (1361436392,), (1361436394,), (1361436429,), (1361436431,), (1361436433,), (1361436476,), (1361436479,), (1361436482,), (1361436532,), (1361436538,), (1361436541,), (1361436549,), (1361436571,), (1361436573,), (1361436575,), (1361436604,), (1361436606,), (1361436608,), (1361436610,), (1361436612,), (1361436637,), (1361436640,), (1361436643,), (1361436645,), (1361436647,), (1361436674,), (1361436676,), (1361436678,), (1361436680,), (1361436682,), (1361436684,), (1361436730,), (1361436725,), (1361436727,), (1361436761,), (1361436765,), (1361436767,), (1361436795,), (1361436798,), (1361436801,), (1361436946,), (1361436950,), (1361436953,), (1361436988,), (1361436990,), (1361436992,), (1361436994,), (1361437019,), (1361437022,), (1361437023,), (1361437049,), (1361437051,), (1361437114,), (1361437117,), (1361437149,), (1361437151,), (1361437153,), (1361437155,), (1361437157,), (1361437159,), (1361437222,), (1361437226,), (1361437232,), (1361437235,), (1361437236,), (1361437244,), (1361437274,), (1361437263,), (1361437265,), (1361437267,), (1361437269,), (1361437272,), (1361437300,), (1361437311,), (1361437339,), (1361437341,), (1361437345,), (1361437347,), (1361437395,), (1361437398,), (1361437401,), (1361437404,), (1361437437,), (1361437440,), (1361437443,), (1361437481,), (1361437483,), (1361437485,), (1361437487,), (1361437489,), (1361437524,), (1361437529,), (1361437533,), (1361437535,), (1361437564,), (1361437566,), (1361437568,), (1361437570,), (1361437572,), (1361437574,), (1361437604,), (1361437610,), (1361437615,), (1361437652,), (1361437656,), (1361437658,), (1361437660,), (1361437663,), (1361437667,), (1361437695,), (1361437698,), (1361437700,), (1361437747,), (1361437750,), (1361437753,), (1361437755,), (1361437757,), (1361437759,), (1361437789,), (1361437792,), (1361437795,), (1361437798,), (1361437800,), (1361437828,), (1361437831,), (1361437833,), (1361437866,), (1361437870,), (1361437874,), (1361437877,), (1361437879,), (1361437882,), (1361437943,), (1361437923,), (1361437933,), (1361437935,), (1361437938,), (1361437940,), (1361437971,), (1361437974,), (1361437977,), (1361437980,), (1361438015,), (1361438019,), (1361438022,), (1361438025,), (1361438027,), (1361438029,), (1361438060,), (1361438063,), (1361438065,), (1361438105,), (1361438107,), (1361438109,), (1361438151,), (1361438153,), (1361438194,), (1361438205,), (1361438211,), (1361438271,), (1361438274,), (1361438280,), (1361438334,), (1361438376,), (1361438379,), (1361438382,), (1361438385,), (1361438388,), (1361438432,), (1361438437,), (1361438475,), (1361438479,), (1361438481,), (1361438483,), (1361438485,), (1361438487,), (1361438512,), (1361438515,), (1361438517,), (1361438519,), (1361438522,), (1361438557,), (1361438559,), (1361438562,), (1361438586,), (1361438768,), (1361438771,), (1361438775,), (1361438804,), (1361438834,), (1361438858,), (1361439049,), (1361439024,), (1361439033,), (1361439035,), (1361439038,), (1361439042,), (1361439079,), (1361439083,), (1361439086,), (1361439088,), (1361439090,), (1361439119,), (1361439123,), (1361439127,), (1361439130,), (1361439168,), (1361439173,), (1361439175,), (1361439177,), (1361439179,), (1361439196,), (1361439200,), (1361439203,), (1361439207,), (1361439214,), (1361439221,), (1361439264,), (1361439272,), (1361439278,), (1361439324,), (1361439329,), (1361439331,), (1361439334,), (1361439337,), (1361439341,), (1361439372,), (1361439377,), (1361439380,), (1361439384,), (1361439387,), (1361439656,), (1361439686,), (1361439711,), (1361439738,), (1361439766,), (1361439793,), (1361440076,), (1361440109,), (1361440138,), (1361440403,), (1361440408,), (1361440411,), (1361440413,), (1361440420,), (1361440547,), (1361440552,), (1361440554,), (1361440557,), (1361440602,), (1361440605,), (1361440609,), (1361440611,), (1361440612,), (1361440892,), (1361440919,), (1361441461,), (1361441445,), (1361441450,), (1361441454,), (1361441458,), (1361441494,), (1361441508,), (1361441536,), (1361441562,), (1361441605,), (1361441638,), (1361441836,), (1361441840,), (1361441844,), (1361441848,), (1361441901,), (1361441909,), (1361441914,), (1361441943,), (1361441950,), (1361441953,), (1361441957,), (1361441994,), (1361441998,), (1361442001,), (1361442045,), (1361442049,), (1361442051,), (1361442054,), (1361442057,), (1361442093,), (1361442097,), (1361442099,), (1361442101,), (1361442103,), (1361442141,), (1361442146,), (1361442183,), (1361442187,), (1361442323,), (1361442326,), (1361442331,), (1361442408,), (1361442411,), (1361442414,), (1361442417,), (1361442420,), (1361442423,), (1361442453,), (1361442446,), (1361442449,), (1361442451,), (1361442488,), (1361442491,), (1361442492,), (1361442495,), (1361442499,), (1361442503,), (1361442524,), (1361442527,), (1361442531,), (1361442533,), (1361442573,), (1361442577,), (1361442580,), (1361442583,), (1361442586,), (1361442589,), (1361442615,), (1361442619,), (1361442622,), (1361442625,), (1361442628,), (1361442675,), (1361442679,), (1361442682,), (1361442684,), (1361442685,), (1361442715,), (1361442718,), (1361442721,), (1361442724,), (1361442726,), (1361442760,), (1361442763,), (1361442766,), (1361442769,), (1361442772,), (1361442807,), (1361442810,), (1361442813,), (1361442816,), (1361442877,), (1361442881,), (1361442884,), (1361442887,), (1361442890,), (1361442923,), (1361442927,), (1361442929,), (1361442932,), (1361442935,), (1361442975,), (1361442980,), (1361442982,), (1361442984,), (1361442986,), (1361442989,), (1361443022,), (1361443026,), (1361443028,), (1361443030,), (1361443033,), (1361443070,), (1361443073,), (1361443075,), (1361443077,), (1361443079,), (1361443108,), (1361443111,), (1361443114,), (1361443117,), (1361443156,), (1361443151,), (1361443154,), (1361443250,), (1361443391,), (1361443436,), (1361443438,), (1361443440,), (1361443448,), (1361443453,), (1361443569,), (1361443573,), (1361443576,), (1361443578,), (1361443587,), (1361443677,), (1361443681,), (1361443684,), (1361443738,), (1361443742,), (1361443781,), (1361443789,), (1361443792,), (1361443857,), (1361443902,), (1361443907,), (1361443910,), (1361444073,), (1361444099,), (1361444128,), (1361444365,), (1361444411,), (1361444449,), (1361444583,), (1361444900,), (1361444995,), (1361445024,), (1361445043,), (1361445156,), (1361445162,), (1361445165,), (1361445296,), (1361445324,), (1361445349,), (1361445362,), (1361445364,), (1361445592,), (1361445586,), (1361445589,), (1361445636,), (1361445640,), (1361445673,), (1361445676,), (1361445678,), (1361445680,), (1361445683,), (1361445711,), (1361445714,), (1361445717,), (1361445723,), (1361445724,), (1361445737,), (1361445741,), (1361445745,), (1361445747,), (1361445791,), (1361447382,), (1361450528,), (1361449920,), (1361450517,), (1361450521,), (1361450523,), (1361450525,), (1361450562,), (1361450566,), (1361450569,), (1361450607,), (1361450612,), (1361450616,), (1361450618,), (1361450648,), (1361450652,), (1361450655,), (1361450658,), (1361450660,), (1361450706,), (1361450708,), (1361450710,), (1361450751,), (1361450754,), (1361450757,), (1361450762,), (1361450768,), (1361450790,), (1361450792,), (1361450794,), (1361450801,), (1361450804,), (1361450813,), (1361450837,), (1361450841,), (1361450844,), (1361450847,), (1361450908,), (1361450911,), (1361450913,), (1361450952,), (1361451614,), (1361451657,), (1361451661,), (1361451666,), (1361451672,), (1361451720,), (1361451724,), (1361451770,), (1361451779,), (1361451782,), (1361451787,), (1361451791,), (1361451821,), (1361451823,), (1361451828,), (1361451830,), (1361451832,), (1361451859,), (1361451864,), (1361451867,), (1361451909,), (1361451913,), (1361451915,), (1361451917,), (1361451920,), (1361451954,), (1361451957,), (1361451960,), (1361451964,), (1361452002,), (1361452006,), (1361452009,), (1361452042,), (1361452048,), (1361452050,), (1361452056,), (1361452060,), (1361452091,), (1361452099,), (1361452103,), (1361452107,), (1361452177,), (1361452135,), (1361452138,), (1361452151,), (1361452174,), (1361452204,), (1361452209,), (1361452213,), (1361452216,), (1361452246,), (1361452250,), (1361452255,), (1361452301,), (1361452311,), (1361452315,), (1361452328,), (1361452340,), (1361452390,), (1361452394,), (1361452427,), (1361452524,), (1361452527,), (1361452570,), (1361452586,), (1361452597,), (1361452600,), (1361452632,), (1361452636,), (1361452640,), (1361452643,), (1361452680,), (1361452683,), (1361452684,), (1361452688,), (1361452691,), (1361452744,), (1361452747,), (1361452749,), (1361452752,), (1361452816,), (1361452820,), (1361452822,), (1361453013,), (1361453037,), (1361453041,), (1361453050,), (1361453057,), (1361453145,), (1361453153,), (1361453161,), (1361453177,), (1361453518,), (1361453530,), (1361453733,), (1361454772,), (1361454821,), (1361455596,), (1361455755,), (1361455772,), (1361455775,), (1361455789,), (1361455943,), (1361455954,), (1361455969,), (1361456114,), (1361456290,), (1361456311,), (1361456327,), (1361456343,), (1361456468,), (1361456483,), (1361456498,), (1361456675,), (1361456657,), (1361456870,), (1361456887,), (1361456903,), (1361456919,), (1361456929,), (1361457021,), (1361457043,), (1361457201,), (1361457211,), (1361457219,), (1361457339,), (1361457362,), (1361457388,), (1361457400,), (1361457414,), (1361457618,), (1361457642,), (1361457657,), (1361457873,), (1361457901,), (1361457928,), (1361457957,), (1361457981,), (1361457991,), (1361458188,), (1361458215,), (1361458249,), (1361458271,), (1361458562,), (1361458578,), (1361458586,), (1361458600,), (1361458876,), (1361458899,), (1361458934,), (1361460010,), (1361460029,), (1361460058,), (1361460368,), (1361460418,), (1361460440,), (1361460482,), (1361460791,), (1361460821,), (1361461194,), (1361461112,), (1361461127,), (1361461142,), (1361461157,), (1361461479,), (1361461519,), (1361461775,), (1361461791,), (1361461795,), (1361461945,), (1361461986,), (1361462009,), (1361462155,), (1361462170,), (1361462200,), (1361462216,), (1361462244,), (1361462261,), (1361462485,), (1361462521,), (1361462563,), (1361462613,), (1361462653,), (1361462880,), (1361462890,), (1361462906,), (1361462909,), (1361462931,), (1361463062,), (1361463068,), (1361463087,), (1361463103,), (1361463115,), (1361463230,), (1361463236,), (1361463257,), (1361463266,), (1361463440,), (1361463478,), (1361463660,), (1361463676,), (1361463685,), (1361463700,), (1361463808,), (1361463854,), (1361463858,), (1361463874,), (1361463927,), (1361463929,), (1361463932,), (1361463953,), (1361464007,), (1361464011,), (1361464015,), (1361464020,), (1361464064,), (1361464263,), (1361464265,), (1361464273,), (1361464278,), (1361464292,), (1361464596,), (1361464630,), (1361464664,), (1361464692,), (1361464719,), (1361464964,), (1361464967,), (1361464971,), (1361464973,), (1361464975,), (1361464978,), (1361465001,), (1361465005,), (1361465009,), (1361465068,), (1361465078,), (1361465081,), (1361465083,), (1361465124,), (1361465126,), (1361465128,), (1361465134,), (1361465137,), (1361465185,), (1361465189,), (1361465192,), (1361465384,), (1361465393,), (1361465564,), (1361465599,), (1361465615,), (1361465620,), (1361465634,), (1361465638,), (1361465803,), (1361465806,), (1361465808,), (1361465823,), (1361465850,), (1361465914,), (1361465917,), (1361465920,), (1361465923,), (1361465958,), (1361465965,), (1361465968,), (1361465972,), (1361466080,), (1361466085,), (1361466089,), (1361466095,), (1361466098,), (1361466102,), (1361466106,), (1361466148,), (1361466141,), (1361466202,), (1361466205,), (1361466207,), (1361466209,), (1361466212,), (1361466217,), (1361466244,), (1361466247,), (1361466254,), (1361466258,), (1361466261,), (1361466265,), (1361466332,), (1361466339,), (1361466344,), (1361466349,), (1361466356,), (1361466387,), (1361466394,), (1361466401,), (1361466414,), (1361466529,), (1361466532,), (1361466534,), (1361466536,), (1361466580,), (1361466585,), (1361466589,), (1361466626,), (1361466632,), (1361466638,), (1361466642,), (1361466644,), (1361466670,), (1361466675,), (1361466681,), (1361466717,), (1361466720,), (1361466722,), (1361466724,), (1361466727,), (1361466764,), (1361466770,), (1361466778,), (1361466806,), (1361466815,), (1361466823,), (1361466833,), (1361466867,), (1361466872,), (1361466913,), (1361466917,), (1361466955,), (1361467023,), (1361467011,), (1361467014,), (1361467017,), (1361467020,), (1361467064,), (1361467070,), (1361467073,), (1361467074,), (1361467076,), (1361467079,), (1361467107,), (1361467111,), (1361467113,), (1361467115,), (1361467148,), (1361467152,), (1361467154,), (1361467160,), (1361467162,), (1361467166,), (1361467196,), (1361467204,), (1361467209,), (1361467214,), (1361467219,), (1361467222,), (1361467315,), (1361467321,), (1361467324,), (1361467328,), (1361467332,), (1361467335,), (1361467478,), (1361467482,), (1361467488,), (1361467650,), (1361467655,), (1361467658,), (1361467661,), (1361467768,), (1361467772,), (1361467775,), (1361467791,), (1361467821,), (1361467822,), (1361467824,), (1361467962,), (1361467977,), (1361467988,), (1361468183,), (1361468200,), (1361468204,), (1361468226,), (1361468242,), (1361468358,), (1361468374,), (1361468387,), (1361468405,), (1361468421,), (1361468432,), (1361468561,), (1361468582,), (1361468599,), (1361468615,), (1361468630,), (1361468789,), (1361468805,), (1361468807,), (1361468819,), (1361469061,), (1361468990,), (1361469007,), (1361469020,), (1361469024,), (1361469040,), (1361469218,), (1361469234,), (1361469248,), (1361469302,), (1361469317,), (1361469450,), (1361469467,), (1361469482,), (1361469671,), (1361469686,), (1361469700,), (1361469718,), (1361469732,), (1361469892,), (1361469900,), (1361469917,), (1361469946,), (1361470117,), (1361470135,), (1361470157,), (1361470346,), (1361470361,), (1361470375,), (1361470383,), (1361470529,), (1361470539,), (1361470554,), (1361470569,), (1361470736,), (1361470937,), (1361470952,), (1361470968,), (1361471199,), (1361471297,), (1361471318,), (1361471349,), (1361471593,), (1361471610,), (1361471635,), (1361471650,), (1361471831,), (1361471848,), (1361471865,), (1361471882,), (1361472076,), (1361472094,), (1361472109,), (1361472125,), (1361472140,), (1361472155,), (1361472314,), (1361472332,), (1361472348,), (1361472522,), (1361492569,), (1361492572,), (1361492575,), (1361492619,), (1361492659,), (1361492663,), (1361492710,), (1361492751,), (1361492791,), (1361492796,), (1361492800,), (1361492804,), (1361492808,), (1361492834,), (1361492831,), (1361492869,), (1361492872,), (1361493010,), (1361493052,), (1361493056,), (1361493059,), (1361493062,), (1361493065,), (1361493098,), (1361493101,), (1361493104,), (1361493108,), (1361493134,), (1361493138,), (1361493142,), (1361493146,), (1361493150,), (1361493179,), (1361493184,), (1361493187,), (1361493189,), (1361493191,), (1361493224,), (1361493228,), (1361493267,), (1361493271,), (1361493275,), (1361493278,), (1361493283,), (1361493319,), (1361493323,), (1361493326,), (1361493328,), (1361493330,), (1361493334,), (1361493363,), (1361493366,), (1361493368,), (1361493371,), (1361493377,), (1361493406,), (1361493409,), (1361493411,), (1361493447,), (1361493466,), (1361493471,), (1361494248,), (1361494401,), (1361494403,), (1361494432,), (1361494499,), (1361494503,), (1361494506,), (1361494517,), (1361494545,), (1361494577,), (1361494841,), (1361494921,), (1361494951,), (1361494979,), (1361495008,), (1361495303,), (1361495307,), (1361495309,), (1361495331,), (1361495336,), (1361495346,), (1361495352,), (1361495363,), (1361495369,), (1361495396,), (1361495400,), (1361495402,), (1361495404,), (1361495408,), (1361495412,), (1361495437,), (1361495442,), (1361495445,), (1361495449,), (1361495543,), (1361495552,), (1361495568,), (1361495582,), (1361495587,), (1361495665,), (1361495698,), (1361495726,), (1361495751,), (1361495758,), (1361495858,), (1361495864,), (1361495929,), (1361496124,), (1361496127,), (1361496134,), (1361496146,), (1361496189,), (1361496198,), (1361496201,), (1361496203,), (1361496209,), (1361496212,), (1361496234,), (1361496238,), (1361496243,), (1361496246,), (1361496307,), (1361496309,), (1361496311,), (1361496313,), (1361496315,), (1361496318,), (1361496327,), (1361496328,), (1361496333,), (1361496375,), (1361496361,), (1361496367,), (1361496371,), (1361496929,), (1361496933,), (1361496937,), (1361496948,), (1361496985,), (1361496991,), (1361496994,), (1361496998,), (1361497003,), (1361497034,), (1361497035,), (1361497036,), (1361497037,), (1361497038,), (1361497039,), (1361497056,), (1361497061,), (1361497148,), (1361497185,), (1361497189,), (1361497193,), (1361497237,), (1361497242,), (1361497247,), (1361497283,), (1361497332,), (1361497337,), (1361497340,), (1361497345,), (1361497387,), (1361497396,), (1361497399,), (1361497402,), (1361497438,), (1361497444,), (1361497448,), (1361497451,), (1361497481,), (1361497489,), (1361497494,), (1361497496,), (1361497498,), (1361497504,), (1361497507,), (1361497511,), (1361497515,), (1361497520,), (1361497525,), (1361497532,), (1361497535,), (1361497538,), (1361497539,), (1361497542,), (1361497589,), (1361497595,), (1361497599,), (1361497602,), (1361497631,), (1361497635,), (1361497637,), (1361497641,), (1361497645,), (1361497721,), (1361497737,), (1361497749,), (1361497946,), (1361497962,), (1361497978,), (1361497996,), (1361498014,), (1361498220,), (1361498248,), (1361498273,), (1361498282,), (1361498298,), (1361498316,), (1361498692,), (1361498565,), (1361498661,), (1361498670,), (1361498926,), (1361498945,), (1361498965,), (1361499180,), (1361499191,), (1361499201,), (1361499217,), (1361499239,), (1361499392,), (1361499413,), (1361499433,), (1361499448,), (1361499465,), (1361499604,), (1361499618,), (1361499632,), (1361499646,), (1361499654,), (1361500019,), (1361500068,), (1361500099,), (1361500126,), (1361500417,), (1361500447,), (1361500475,), (1361500793,), (1361500829,), (1361500860,), (1361500892,), (1361500923,), (1361501191,), (1361501227,), (1361501251,), (1361501547,), (1361501570,), (1361501606,), (1361501937,), (1361501966,), (1361501988,), (1361502015,), (1361502041,), (1361502305,), (1361502327,), (1361502353,), (1361502391,), (1361502419,), (1361502693,), (1361502716,), (1361502733,), (1361502764,), (1361503032,), (1361503057,), (1361503091,), (1361503122,), (1361503147,), (1361503407,), (1361503434,), (1361503463,), (1361503491,), (1361503518,), (1361503918,), (1361503809,), (1361503857,), (1361503897,), (1361504196,), (1361504229,), (1361504250,), (1361504280,), (1361504310,), (1361504581,), (1361504603,), (1361504636,), (1361504651,), (1361504673,), (1361504698,), (1361504971,), (1361504997,), (1361505025,), (1361505350,), (1361505385,), (1361505412,), (1361505432,), (1361505451,), (1361505479,), (1361505731,), (1361505758,), (1361505787,), (1361505826,), (1361505853,), (1361506112,), (1361506209,), (1361506235,), (1361506256,), (1361506469,), (1361506486,), (1361506507,), (1361506533,), (1361506567,), (1361506865,), (1361506902,), (1361506931,), (1361506952,), (1361506987,), (1361507251,), (1361507278,), (1361507310,), (1361507649,), (1361507683,), (1361507715,), (1361507723,), (1361507749,), (1361507769,), (1361507988,), (1361508012,), (1361508040,), (1361508064,), (1361508081,), (1361508121,), (1361508346,), (1361508385,), (1361508425,), (1361509074,), (1361509097,), (1361509126,), (1361509154,), (1361509183,), (1361509210,), (1361509291,), (1361509325,), (1361509354,), (1361509379,), (1361509511,), (1361509486,), (1361509851,), (1361510207,), (1361510241,), (1361510268,), (1361510295,), (1361510577,), (1361510610,), (1361510651,), (1361510675,), (1361510972,), (1361510996,), (1361511018,), (1361511046,), (1361511079,), (1361511339,), (1361511358,), (1361511386,), (1361511724,), (1361511758,), (1361511784,), (1361511818,), (1361511845,), (1361511890,), (1361512129,), (1361512162,), (1361512190,), (1361512213,), (1361512262,), (1361512638,), (1361512679,), (1361512728,), (1361513084,), (1361513122,), (1361513162,), (1361513176,), (1361513185,), (1361513194,), (1361513416,), (1361513431,), (1361513444,), (1361513466,), (1361513492,), (1361513730,), (1361513769,), (1361513787,), (1361514319,), (1361514367,), (1361514398,), (1361514423,), (1361514452,), (1361514742,), (1361514771,), (1361514792,), (1361514816,), (1361514846,), (1361514872,), (1361515124,), (1361515149,), (1361515182,), (1361515596,), (1361515499,), (1361515544,), (1361515570,), (1361515908,), (1361515948,), (1361515953,), (1361516290,), (1361516318,), (1361516347,), (1361516398,), (1361516456,), (1361516825,), (1361516919,), (1361516945,), (1361516970,), (1361517504,), (1361517527,), (1361517552,), (1361517582,), (1361517653,), (1361517983,), (1361518018,), (1361518039,), (1361518065,), (1361518098,), (1361518418,), (1361518452,), (1361518516,), (1361518826,), (1361518855,), (1361518891,), (1361518918,), (1361518945,), (1361519202,), (1361519218,), (1361519249,), (1361519275,), (1361519313,), (1361519581,), (1361519609,), (1361519625,), (1361519657,), (1361519686,), (1361519714,), (1361519941,), (1361519991,), (1361520029,), (1361520356,), (1361520725,), (1361520749,), (1361520790,), (1361520839,), (1361521408,), (1361521443,), (1361521459,), (1361521487,), (1361521525,), (1361521886,), (1361521914,), (1361521946,), (1361522419,), (1361522371,), (1361522387,), (1361522404,), (1361522582,), (1361522610,), (1361522634,), (1361522643,), (1361522873,), (1361522890,), (1361522906,), (1361522916,), (1361523084,), (1361523100,), (1361523115,), (1361523129,), (1361523144,), (1361523154,), (1361523284,), (1361523298,), (1361523312,), (1361523325,), (1361523479,), (1361523497,), (1361523514,), (1361523526,), (1361523540,), (1361523719,), (1361523730,), (1361523739,), (1361523752,), (1361523761,), (1361523781,), (1361524002,), (1361524019,), (1361524030,), (1361524320,), (1361524325,), (1361524327,), (1361524329,), (1361524331,), (1361524334,), (1361524393,), (1361524398,), (1361524402,), (1361524406,), (1361524410,), (1361524414,), (1361524444,), (1361524450,), (1361524453,), (1361524494,), (1361524498,), (1361524502,), (1361524506,), (1361524511,), (1361524551,), (1361524557,), (1361524562,), (1361524570,), (1361524581,), (1361524590,), (1361524626,), (1361524628,), (1361524635,), (1361524644,), (1361524684,), (1361524692,), (1361524696,), (1361524699,), (1361524702,), (1361524704,), (1361524843,), (1361524837,), (1361524841,), (1361524874,), (1361524878,), (1361524928,), (1361524932,), (1361524935,), (1361524937,), (1361524980,), (1361524984,), (1361524989,), (1361524993,), (1361524996,), (1361525023,), (1361525028,), (1361525030,), (1361525033,), (1361525037,), (1361525077,), (1361525080,), (1361525082,), (1361525085,), (1361525117,), (1361525122,), (1361525125,), (1361525187,), (1361525205,), (1361525216,), (1361525226,), (1361525255,), (1361525296,), (1361525327,), (1361525381,), (1361525434,), (1361525549,), (1361525816,), (1361525823,), (1361525825,), (1361525839,), (1361525869,), (1361525989,), (1361525993,), (1361525996,), (1361525999,), (1361526002,), (1361526005,), (1361526043,), (1361526048,), (1361526051,), (1361526096,), (1361526101,), (1361526105,), (1361526114,), (1361526122,), (1361526196,), (1361526203,), (1361526204,), (1361526216,), (1361526224,), (1361526230,), (1361526268,), (1361526257,), (1361526262,), (1361526265,), (1361526300,), (1361526308,), (1361526311,), (1361526314,), (1361526318,), (1361526321,), (1361526347,), (1361526353,), (1361526361,), (1361526408,), (1361526412,), (1361526414,), (1361526501,), (1361526505,), (1361526966,), (1361526981,), (1361526989,), (1361526991,), (1361526994,), (1361527082,), (1361527087,), (1361527090,), (1361527221,), (1361527239,), (1361527258,), (1361527276,), (1361527285,), (1361527421,), (1361527437,), (1361527453,), (1361527470,), (1361527491,), (1361527508,), (1361527672,), (1361527683,), (1361527700,), (1361527716,), (1361527849,), (1361527858,), (1361527873,), (1361527883,), (1361527893,), (1361527909,), (1361528038,), (1361528053,), (1361528067,), (1361528085,), (1361528103,), (1361528119,), (1361528280,), (1361528270,), (1361528497,), (1361528522,), (1361528538,), (1361528553,), (1361528570,), (1361528580,), (1361528708,), (1361528725,), (1361528735,), (1361528750,), (1361528771,), (1361528787,), (1361528920,), (1361528932,), (1361528949,), (1361529133,), (1361529155,), (1361529170,), (1361529191,), (1361529201,), (1361529210,), (1361529337,), (1361529357,), (1361529375,), (1361529386,), (1361529406,), (1361529428,), (1361529564,), (1361529580,), (1361529599,), (1361529614,), (1361529772,), (1361529791,), (1361529810,), (1361529827,), (1361529849,), (1361529862,), (1361529982,), (1361529991,), (1361530001,), (1361530016,), (1361530031,), (1361530054,), (1361530189,), (1361530195,), (1361530198,), (1361530365,), (1361530396,), (1361530426,), (1361530436,), (1361530466,), (1361530614,), (1361530629,), (1361530639,), (1361530659,), (1361530930,), (1361530947,), (1361530982,), (1361531004,), (1361531031,), (1361531185,), (1361531201,), (1361531210,), (1361531228,), (1361531243,), (1361531264,), (1361531407,), (1361531680,), (1361531632,), (1361531647,), (1361531663,), (1361532072,), (1361532088,), (1361532097,), (1361532112,), (1361532256,), (1361532270,), (1361532285,), (1361532301,), (1361532460,), (1361532476,), (1361532491,), (1361532506,), (1361532527,), (1361532659,), (1361532676,), (1361532687,), (1361532701,), (1361532715,), (1361532730,), (1361532856,), (1361532883,), (1361532912,), (1361532927,), (1361533071,), (1361533086,), (1361533101,), (1361533116,), (1361533132,), (1361533284,), (1361533300,), (1361533310,), (1361533327,), (1361533344,), (1361533355,), (1361533470,), (1361533492,), (1361533509,), (1361533525,), (1361533682,), (1361533691,), (1361533719,), (1361533734,), (1361533886,), (1361533902,), (1361533923,), (1361533938,), (1361533950,), (1361533966,), (1361534057,), (1361534061,), (1361534075,), (1361534089,), (1361534254,), (1361534272,), (1361534290,), (1361534312,), (1361534333,), (1361534348,), (1361534491,), (1361534510,), (1361534531,), (1361534545,), (1361534707,), (1361534723,), (1361534739,), (1361534755,), (1361534776,), (1361534792,), (1361535029,), (1361534944,), (1361534986,), (1361535004,), (1361535290,), (1361535307,), (1361535322,), (1361535342,), (1361535419,), (1361535690,), (1361535707,), (1361535716,), (1361535732,), (1361535767,), (1361535784,), (1361535968,), (1361536040,), (1361536903,), (1361536917,), (1361536939,), (1361536948,), (1361537131,), (1361537144,), (1361537165,), (1361537203,), (1361537255,), (1361537296,), (1361537534,), (1361537550,), (1361537572,), (1361537790,), (1361537805,), (1361537831,), (1361537857,), (1361537872,), (1361537896,), (1361538065,), (1361538103,), (1361538143,), (1361538175,), (1361538193,), (1361538433,), (1361538477,), (1361538500,), (1361538508,), (1361538792,), (1361538802,), (1361538818,), (1361538857,), (1361539025,), (1361539047,), (1361539061,), (1361539070,), (1361539091,), (1361539235,), (1361539263,), (1361539276,), (1361539972,), (1361539996,), (1361540018,), (1361540033,), (1361540052,), (1361540100,), (1361540101,), (1361540120,), (1361540121,), (1361540133,), (1361540142,), (1361540151,), (1361540160,), (1361540195,), (1361540205,), (1361540298,), (1361540269,), (1361540280,), (1361540489,), (1361540516,), (1361540534,), (1361540555,), (1361540580,), (1361540599,), (1361540773,), (1361540787,), (1361540818,), (1361540862,), (1361540908,), (1361541170,), (1361541188,), (1361541202,), (1361541216,), (1361541236,), (1361541271,), (1361541483,), (1361541554,), (1361541589,), (1361541616,), (1361542336,), (1361544305,), (1361544396,), (1361544400,), (1361544447,), (1361544452,), (1361544456,), (1361544460,), (1361544463,), (1361544468,), (1361544493,), (1361544499,), (1361544504,), (1361544510,), (1361544543,), (1361544548,), (1361544784,), (1361544779,), (1361544834,), (1361544840,), (1361544842,), (1361544846,), (1361544850,), (1361544878,), (1361544883,), (1361544885,), (1361544888,), (1361544919,), (1361544923,), (1361544927,), (1361544931,), (1361544966,), (1361544975,), (1361544985,), (1361544988,), (1361544992,), (1361544996,), (1361545023,), (1361545028,), (1361545031,), (1361545034,), (1361545069,), (1361545073,), (1361545077,), (1361545080,), (1361545111,), (1361545115,), (1361545118,), (1361545120,), (1361545123,), (1361545126,), (1361545159,), (1361545165,), (1361545169,), (1361545173,), (1361545176,), (1361545181,), (1361545239,), (1361545244,), (1361545251,), (1361545306,), (1361545295,), (1361545298,), (1361545301,), (1361545303,), (1361545338,), (1361545342,), (1361545381,), (1361545386,), (1361545391,), (1361545396,), (1361545398,), (1361545433,), (1361545435,), (1361545440,), (1361545447,), (1361545451,), (1361545455,), (1361545479,), (1361545485,), (1361545490,), (1361545494,), (1361545675,), (1361545682,), (1361545685,), (1361545698,), (1361545764,), (1361545770,), (1361545775,), (1361545778,), (1361545783,), (1361545788,), (1361545882,), (1361545972,), (1361546168,), (1361546173,), (1361546176,), (1361546178,), (1361546180,), (1361546182,), (1361546208,), (1361546211,), (1361546217,), (1361546226,), (1361546234,), (1361546237,), (1361546259,), (1361546263,), (1361546265,), (1361546272,), (1361546276,), (1361546280,), (1361546304,), (1361546311,), (1361546317,), (1361546321,), (1361546353,), (1361546357,), (1361546361,), (1361546370,), (1361546381,), (1361546386,), (1361546412,), (1361546417,), (1361546421,), (1361546425,), (1361546437,), (1361546445,), (1361546473,), (1361546476,), (1361546480,), (1361546534,), (1361546519,), (1361546525,), (1361546528,), (1361546531,), (1361546582,), (1361546588,), (1361546599,), (1361546606,), (1361546612,), (1361546617,), (1361546634,), (1361546639,), (1361546647,), (1361546676,), (1361546681,), (1361546687,), (1361546751,), (1361546779,), (1361546807,), (1361546826,), (1361546832,), (1361546835,), (1361546956,), (1361546960,), (1361546963,), (1361546967,), (1361546985,), (1361547133,), (1361547162,), (1361547415,), (1361547420,), (1361547424,), (1361547428,), (1361547431,), (1361547458,), (1361547461,), (1361547463,), (1361547465,), (1361547468,), (1361547472,), (1361547498,), (1361547506,), (1361547516,), (1361547525,), (1361547530,), (1361547563,), (1361547568,), (1361547572,), (1361547577,), (1361547624,), (1361547655,), (1361547679,), (1361547682,), (1361547685,), (1361547719,), (1361547725,), (1361547728,), (1361547732,), (1361547735,), (1361547760,), (1361547763,), (1361547770,), (1361547777,), (1361547804,), (1361547811,), (1361547815,), (1361547818,), (1361548702,), (1361548920,), (1361548950,), (1361548982,), (1361549014,), (1361549022,), (1361549051,), (1361549054,), (1361549057,), (1361549066,), (1361549098,), (1361549102,), (1361549338,), (1361549393,), (1361549439,), (1361549466,), (1361549495,), (1361549524,), (1361550336,), (1361550362,), (1361550469,), (1361550474,), (1361550482,), (1361550490,), (1361550625,), (1361550587,), (1361550592,), (1361550594,), (1361550618,), (1361550673,), (1361550678,), (1361550682,), (1361550687,), (1361550712,), (1361550715,), (1361550718,), (1361550721,), (1361550786,), (1361550817,), (1361550847,), (1361550877,), (1361550906,), (1361550937,), (1361551155,), (1361551162,), (1361551167,), (1361551170,), (1361551172,), (1361551175,), (1361551205,), (1361551209,), (1361551213,), (1361551505,), (1361551540,), (1361551571,), (1361551577,), (1361551582,), (1361551600,), (1361551633,), (1361551638,), (1361551643,), (1361551647,), (1361551652,), (1361551657,), (1361551748,), (1361551756,), (1361551912,), (1361551915,), (1361551921,), (1361551927,), (1361551931,), (1361552065,), (1361552086,), (1361552093,), (1361552096,), (1361552102,), (1361552106,), (1361552209,), (1361552222,), (1361552227,), (1361552231,), (1361552235,), (1361552237,), (1361552260,), (1361552265,), (1361552268,), (1361552347,), (1361552351,), (1361552362,), (1361552367,), (1361552372,), (1361552573,), (1361552524,), (1361552540,), (1361552545,), (1361552548,), (1361552676,), (1361552685,), (1361552696,), (1361552699,), (1361552712,), (1361552744,), (1361552799,), (1361552878,), (1361552925,), (1361552938,), (1361552953,), (1361552970,), (1361552973,), (1361552976,), (1361553002,), (1361553008,), (1361553012,), (1361553016,), (1361553052,), (1361553057,), (1361553091,), (1361553097,), (1361553102,), (1361553148,), (1361553151,), (1361553187,), (1361553190,), (1361553193,), (1361553196,), (1361553199,), (1361553228,), (1361553234,), (1361553238,), (1361553244,), (1361553248,), (1361553251,), (1361553277,), (1361553283,), (1361553286,), (1361553289,), (1361553319,), (1361553324,), (1361553326,), (1361553329,), (1361553332,), (1361553334,), (1361553363,), (1361553366,), (1361553369,), (1361553404,), (1361553410,), (1361553507,), (1361553536,), (1361553567,), (1361553595,), (1361553598,), (1361553604,), (1361553839,), (1361553843,), (1361553887,), (1361553891,), (1361553894,), (1361553896,), (1361553924,), (1361553926,), (1361553928,), (1361553931,), (1361553960,), (1361553966,), (1361553970,), (1361554005,), (1361554011,), (1361554014,), (1361554056,), (1361554059,), (1361554062,), (1361554066,), (1361554070,), (1361554074,), (1361554100,), (1361554092,), (1361554096,), (1361554150,), (1361554155,), (1361554188,), (1361554192,), (1361554194,), (1361554333,), (1361554338,), (1361554345,), (1361554459,), (1361554467,), (1361554470,), (1361554475,), (1361554527,), (1361554533,), (1361554586,), (1361554587,), (1361554588,), (1361554589,), (1361554590,), (1361554665,), (1361554696,), (1361554725,), (1361554758,), (1361554863,), (1361554866,), (1361554878,), (1361554882,), (1361554932,), (1361554937,), (1361554939,), (1361554942,), (1361554946,), (1361554951,), (1361554977,), (1361554981,), (1361554984,), (1361554987,), (1361554992,), (1361554994,), (1361555026,), (1361555029,), (1361555032,), (1361555035,), (1361555038,), (1361555093,), (1361555096,), (1361555105,), (1361555109,), (1361555112,), (1361555256,), (1361555260,), (1361555263,), (1361555266,), (1361555341,), (1361555343,), (1361555350,), (1361555353,), (1361555359,), (1361555374,), (1361555507,), (1361555512,), (1361555516,), (1361555648,), (1361555652,), (1361555654,), (1361555690,), (1361555973,), (1361555825,), (1361555885,), (1361555917,), (1361555946,), (1361556085,), (1361556088,), (1361556090,), (1361556093,), (1361556096,), (1361556128,), (1361556132,), (1361556134,), (1361556169,), (1361556178,), (1361556182,), (1361556239,), (1361556244,), (1361556250,), (1361556261,), (1361556717,), (1361556737,), (1361556741,), (1361556746,), (1361556749,), (1361556979,), (1361557048,), (1361557053,), (1361557057,), (1361557078,), (1361557084,), (1361557287,), (1361557329,), (1361557356,), (1361557361,), (1361557502,), (1361557524,), (1361557528,), (1361557532,), (1361557536,), (1361557540,), (1361557573,), (1361557579,), (1361557583,), (1361557587,), (1361557622,), (1361557628,), (1361557634,), (1361557690,), (1361557696,), (1361557700,), (1361557704,), (1361557764,), (1361557769,), (1361557772,), (1361557775,), (1361557778,), (1361557965,), (1361557970,), (1361557974,), (1361557979,), (1361557996,), (1361558025,), (1361558055,), (1361558084,), (1361558147,), (1361558136,), (1361558141,), (1361558185,), (1361558192,), (1361558202,), (1361558208,), (1361558211,), (1361558248,), (1361558254,), (1361558257,), (1361558260,), (1361558264,), (1361558298,), (1361558302,), (1361558305,), (1361558309,), (1361558313,), (1361558348,), (1361558353,), (1361558471,), (1361558477,), (1361558481,), (1361558498,), (1361558544,), (1361558548,), (1361558551,), (1361558591,), (1361558597,), (1361558601,), (1361558604,), (1361558606,), (1361558632,), (1361558638,), (1361558641,), (1361558676,), (1361558681,), (1361558685,), (1361558688,), (1361558767,), (1361558772,), (1361558775,), (1361558778,), (1361558811,), (1361558891,), (1361558895,), (1361558899,), (1361558903,), (1361559009,), (1361559019,), (1361559025,), (1361559029,), (1361559104,), (1361559111,), (1361559115,), (1361559120,), (1361559156,), (1361559161,), (1361559165,), (1361559169,), (1361559173,), (1361560560,), (1361560692,), (1361560702,), (1361560792,), (1361560798,), (1361560803,), (1361560851,), (1361560854,), (1361560856,), (1361560858,), (1361560861,), (1361560905,), (1361560910,), (1361560915,), (1361560957,), (1361560963,), (1361560974,), (1361561024,), (1361561032,), (1361561036,), (1361561040,), (1361561044,), (1361561048,), (1361561090,), (1361561083,), (1361561087,), (1361561135,), (1361561140,), (1361561144,), (1361561147,), (1361561151,), (1361561155,), (1361561187,), (1361561190,), (1361561192,), (1361561194,), (1361561197,), (1361561198,), (1361561237,), (1361561239,), (1361561241,), (1361561243,), (1361561288,), (1361561292,), (1361561300,), (1361561307,), (1361561311,), (1361561314,), (1361561355,), (1361561358,), (1361561361,), (1361561407,), (1361561414,), (1361561416,), (1361561420,), (1361561424,), (1361561427,), (1361561465,), (1361561468,), (1361561470,), (1361561472,), (1361561474,), (1361561511,), (1361561519,), (1361561523,), (1361561527,), (1361561531,), (1361561535,), (1361561563,), (1361561565,), (1361561568,), (1361561569,), (1361561572,), (1361561576,), (1361561605,), (1361561609,), (1361561616,), (1361561626,), (1361561664,), (1361561667,), (1361561670,), (1361561673,), (1361561677,), (1361561707,), (1361561710,), (1361561714,), (1361561723,), (1361561726,), (1361561730,), (1361561787,), (1361561793,), (1361561797,), (1361561800,), (1361561808,), (1361561811,), (1361561814,), (1361561818,), (1361561820,), (1361561856,), (1361561839,), (1361561844,), (1361561847,), (1361561850,), (1361561853,), (1361561881,), (1361561885,), (1361561888,), (1361561891,), (1361561931,), (1361561935,), (1361561938,), (1361561941,), (1361561944,), (1361561973,), (1361561976,), (1361561979,), (1361561983,), (1361562020,), (1361562024,), (1361562029,), (1361562035,), (1361562038,), (1361562045,), (1361562067,), (1361562070,), (1361562072,), (1361562075,), (1361562078,), (1361562081,), (1361562105,), (1361562111,), (1361562115,), (1361562140,), (1361562143,), (1361562145,), (1361562147,), (1361562149,), (1361562152,), (1361562284,), (1361562293,), (1361562301,), (1361562307,), (1361562334,), (1361562342,), (1361562373,), (1361562376,), (1361562378,), (1361562387,), (1361562421,), (1361562425,), (1361562428,), (1361562444,), (1361562455,), (1361562456,), (1361562481,), (1361562484,), (1361562486,), (1361562543,), (1361562549,), (1361562555,), (1361562565,), (1361562569,), (1361562573,), (1361562637,), (1361562639,), (1361562645,), (1361562649,), (1361562652,), (1361562655,), (1361562677,), (1361562683,), (1361562689,), (1361562694,), (1361562740,), (1361562731,), (1361562733,), (1361562735,), (1361562737,), (1361562776,), (1361562780,), (1361562785,), (1361562811,), (1361562817,), (1361562849,), (1361562852,), (1361562854,), (1361562862,), (1361562894,), (1361562899,), (1361562906,), (1361562911,), (1361562913,), (1361562914,), (1361562936,), (1361562941,), (1361562944,), (1361562952,), (1361563003,), (1361563006,), (1361563010,), (1361563015,), (1361563017,), (1361563045,), (1361563049,), (1361563052,), (1361563055,), (1361563058,), (1361563060,), (1361563086,), (1361563088,), (1361563090,), (1361563095,), (1361563098,), (1361563125,), (1361563129,), (1361563132,), (1361563194,), (1361563203,), (1361563211,), (1361563217,), (1361563293,), (1361563298,), (1361563332,), (1361563335,), (1361563337,), (1361563339,), (1361563342,), (1361563370,), (1361563373,), (1361563480,), (1361563505,), (1361563537,), (1361563562,), (1361563792,), (1361563794,), (1361563932,), (1361563928,), (1361563965,), (1361563969,), (1361563972,), (1361564108,), (1361564111,), (1361564139,), (1361564141,), (1361564143,), (1361564187,), (1361564192,), (1361564197,), (1361564202,), (1361564207,), (1361564214,), (1361564299,), (1361564316,), (1361564324,), (1361564921,), (1361565044,), (1361565122,), (1361565187,), (1361565217,), (1361565505,), (1361565535,), (1361565563,), (1361565590,), (1361565621,), (1361565646,), (1361565685,), (1361565689,), (1361565692,), (1361565772,), (1361565778,), (1361565802,), (1361565898,), (1361565991,), (1361566268,), (1361566314,), (1361566417,), (1361566429,), (1361566447,), (1361566564,), (1361566575,), (1361566578,), (1361566583,), (1361566587,), (1361566833,), (1361566846,), (1361566856,), (1361566860,), (1361566882,), (1361566915,), (1361567017,), (1361567023,), (1361567054,), (1361567084,), (1361567112,), (1361567334,), (1361567322,), (1361567327,), (1361567331,), (1361567366,), (1361567370,), (1361567372,), (1361567374,), (1361567377,), (1361567451,), (1361567454,), (1361567457,), (1361567459,), (1361567461,), (1361567596,), (1361567628,), (1361567655,), (1361567657,), (1361567660,), (1361567689,), (1361567692,), (1361567697,), (1361567706,), (1361567712,), (1361567715,), (1361567752,), (1361567756,), (1361567758,), (1361567815,), (1361567821,), (1361567825,), (1361567829,), (1361567833,), (1361567836,), (1361567972,), (1361567999,), (1361568024,), (1361568057,), (1361568089,), (1361568116,), (1361568281,), (1361568307,), (1361568334,), (1361568372,), (1361568374,), (1361568376,), (1361568378,), (1361568381,), (1361568419,), (1361568424,), (1361568428,), (1361568435,), (1361568485,), (1361568492,), (1361568500,), (1361568526,), (1361568553,), (1361568581,), (1361568687,), (1361568691,), (1361568705,), (1361568709,), (1361568722,), (1361568794,), (1361568798,), (1361568800,), (1361568803,), (1361568806,), (1361568963,), (1361568849,), (1361568874,), (1361568906,), (1361568933,), (1361569017,), (1361569020,), (1361569023,), (1361569030,), (1361569037,), (1361569064,), (1361569067,), (1361569069,), (1361569071,), (1361569075,), (1361569081,), (1361569111,), (1361569114,), (1361569119,), (1361569122,), (1361569163,), (1361569168,), (1361569170,), (1361569173,), (1361569176,), (1361569312,), (1361569316,), (1361569319,), (1361569322,), (1361569346,), (1361569373,), (1361569375,), (1361569376,), (1361569395,), (1361569400,), (1361569403,), (1361569406,), (1361569409,), (1361569432,), (1361569484,), (1361570446,), (1361570467,), (1361570470,), (1361570474,), (1361570479,), (1361570483,), (1361570505,), (1361570508,), (1361570511,), (1361570513,), (1361570516,), (1361570519,), (1361570541,), (1361570549,), (1361570557,), (1361570575,), (1361570577,), (1361570579,), (1361570583,), (1361570588,), (1361570592,), (1361570616,), (1361570621,), (1361570627,), (1361570632,), (1361570661,), (1361570664,), (1361570667,), (1361570671,), (1361570691,), (1361570700,), (1361570703,), (1361570706,), (1361570707,), (1361570709,), (1361570724,), (1361570727,), (1361570729,), (1361570753,), (1361570755,), (1361570757,), (1361570759,), (1361570774,), (1361570806,), (1361570809,), (1361570812,), (1361570909,), (1361570919,), (1361570920,), (1361570947,), (1361570951,), (1361570955,), (1361570994,), (1361570981,), (1361570983,), (1361570985,), (1361570989,), (1361570991,), (1361571014,), (1361571017,), (1361571019,), (1361571022,), (1361571056,), (1361571058,), (1361571064,), (1361571077,), (1361571097,), (1361571100,), (1361571102,), (1361571105,), (1361571108,), (1361571109,), (1361571125,), (1361571130,), (1361571135,), (1361571138,), (1361571141,), (1361571165,), (1361571167,), (1361571169,), (1361571172,), (1361571197,), (1361571203,), (1361571211,), (1361571214,), (1361571216,), (1361571237,), (1361571239,), (1361571242,), (1361571245,), (1361571248,), (1361571250,), (1361571269,), (1361571272,), (1361571281,), (1361571313,), (1361571315,), (1361571317,), (1361571319,), (1361571322,), (1361571325,), (1361571348,), (1361571350,), (1361571353,), (1361571356,), (1361571359,), (1361571362,), (1361571385,), (1361571389,), (1361571391,), (1361571392,), (1361571422,), (1361571424,), (1361571428,), (1361571436,), (1361571443,), (1361571449,), (1361571498,), (1361571502,), (1361571505,), (1361571508,), (1361571511,), (1361571546,), (1361571535,), (1361571537,), (1361571540,), (1361571543,), (1361571567,), (1361571570,), (1361571573,), (1361571576,), (1361571579,), (1361571593,), (1361571595,), (1361571602,), (1361571605,), (1361571607,), (1361571634,), (1361571636,), (1361571638,), (1361571642,), (1361571644,), (1361571684,), (1361571687,), (1361571690,), (1361571691,), (1361571715,), (1361571719,), (1361571722,), (1361571725,), (1361571746,), (1361571785,), (1361571787,), (1361571789,), (1361571792,), (1361571796,), (1361571825,), (1361571827,), (1361571829,), (1361571831,), (1361571833,), (1361571835,), (1361571849,), (1361571852,), (1361571855,), (1361571858,), (1361571883,), (1361571889,), (1361571893,), (1361571895,), (1361571898,), (1361571900,), (1361571920,), (1361571925,), (1361571929,), (1361571932,), (1361571958,), (1361571960,), (1361571962,), (1361571964,), (1361571967,), (1361571970,), (1361571991,), (1361571994,), (1361572001,), (1361572008,), (1361572032,), (1361572038,), (1361572040,), (1361572042,), (1361572046,), (1361572048,), (1361572081,), (1361572070,), (1361572072,), (1361572075,), (1361572078,), (1361572103,), (1361572105,), (1361572107,), (1361572110,), (1361572359,), (1361572362,), (1361572366,), (1361572370,), (1361572394,), (1361572397,), (1361572404,), (1361572406,), (1361572409,), (1361572428,), (1361572431,), (1361572435,), (1361572438,), (1361572442,), (1361572474,), (1361572486,), (1361572490,), (1361572494,), (1361572497,), (1361572500,), (1361572515,), (1361572517,), (1361572519,), (1361572540,), (1361572543,), (1361572545,), (1361572557,), (1361572566,), (1361572568,), (1361572595,), (1361572586,), (1361572588,), (1361572590,), (1361572592,), (1361572618,), (1361572621,), (1361572624,), (1361572671,), (1361572672,), (1361572675,), (1361572678,), (1361572681,), (1361572683,), (1361572704,), (1361572707,), (1361572710,), (1361572714,), (1361572727,), (1361572728,), (1361572783,), (1361572786,), (1361572788,), (1361572789,), (1361572791,), (1361573193,), (1361573227,), (1361573232,), (1361573235,), (1361573239,), (1361573242,), (1361573261,), (1361573268,), (1361573271,), (1361573273,), (1361573275,), (1361573277,), (1361573296,), (1361573300,), (1361573305,), (1361573330,), (1361573333,), (1361573335,), (1361573337,), (1361573340,), (1361573343,), (1361573370,), (1361573362,), (1361573365,), (1361573367,), (1361573403,), (1361573405,), (1361573407,), (1361573410,), (1361573434,), (1361573439,), (1361573445,), (1361573448,), (1361573451,), (1361573455,), (1361573474,), (1361573476,), (1361573499,), (1361573502,), (1361573505,), (1361573508,), (1361573511,), (1361573519,), (1361573543,), (1361573545,), (1361573546,), (1361573549,), (1361573552,), (1361573574,), (1361573577,), (1361573580,), (1361573583,), (1361573586,), (1361573609,), (1361573611,), (1361573615,), (1361573618,), (1361573621,), (1361573624,), (1361573640,), (1361573644,), (1361573647,), (1361573650,), (1361573736,), (1361573737,), (1361573740,), (1361573745,), (1361573748,), (1361573751,), (1361573881,), (1361573884,), (1361573887,), (1361573890,), (1361573899,), (1361574041,), (1361574045,), (1361574048,), (1361574130,), (1361574134,), (1361574137,), (1361574140,), (1361574144,), (1361574194,), (1361574197,), (1361574200,), (1361574203,), (1361574206,), (1361574209,), (1361574211,), (1361574214,), (1361574244,), (1361574246,)) NUMBER BATCH : 0 # DISPLAY ALL COLLECTED DATA : {'28052025': {'nb_upload': 38, 'nb_taggue_class': 0, 'nb_taggue_densite': 0}} After datou_step_exec type output : map_portfolio_photo : len 1 keys : dict_keys([23429379]) Inside saveOutput : final : True verbose : True saveOutput not yet implemented for datou_step.type : split_time_score we use saveGeneral [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] map_info['map_portfolio_photo'] : {23429379: [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070]} final : True mtd_id 4302 list_pids : [1361572595, 1361572568, 1361572566, 1361572557, 1361572545, 1361572543, 1361572540, 1361572519, 1361572517, 1361572515, 1361572500, 1361572497, 1361572494, 1361572490, 1361572486, 1361572474, 1361572442, 1361572438, 1361572435, 1361572431, 1361572428, 1361572409, 1361572406, 1361572404, 1361572397, 1361572394, 1361572370, 1361572366, 1361572362, 1361572359, 1361572110, 1361572107, 1361572105, 1361572103, 1361572078, 1361572075, 1361572072, 1361572070] Looping around the photos to save general results len do output : 1 /23429379Didn'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, '2982225') ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225') ('4302', None, None, None, None, None, None, None, '2982225') ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225') begin to insert list_values into mtr_datou_result : length of list_values in save_final : 39 insert ignore into MTRPhoto.mtr_datou_result (mtd_id, mtr_portfolio_id,mtr_photo_id,result,result_long,result_double,hashtag_id,proba, mtr_current_id) values (%s,%s,%s,%s,%s,%s,%s,%s,%s) on duplicate key update mtr_portfolio_id = mtr_portfolio_id list_values : [('4302', None, '23429379', 'None', None, None, None, None, '2982225'), ('4302', '23429379', '1361572595', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572568', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572566', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572557', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572545', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572543', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572540', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572519', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572517', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572515', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572500', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572497', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572494', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572490', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572486', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572474', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572442', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572438', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572435', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572431', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572428', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572409', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572406', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572404', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572397', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572394', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572370', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572366', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572362', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572359', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572110', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572107', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572105', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572103', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572078', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572075', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572072', None, None, None, None, None, '2982225'), ('4302', '23429379', '1361572070', None, None, None, None, None, '2982225')] time used for this insertion : 0.027319669723510742 save_final save missing photos in datou_result : time spend for datou_step_exec : 8.534244537353516 time spend to save output : 0.027667999267578125 total time spend for step 5 : 8.561912536621094 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 (2982225) 3.23user 2.78system 0:16.68elapsed 36%CPU (0avgtext+0avgdata 167668maxresident)k 1240inputs+24120outputs (0major+88107minor)pagefaults 0swaps