{"id":38880,"date":"2019-10-31T22:26:31","date_gmt":"2019-10-31T19:26:31","guid":{"rendered":"https:\/\/prohoster.info\/blog\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\/"},"modified":"2019-10-31T22:26:31","modified_gmt":"2019-10-31T19:26:31","slug":"nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","status":"publish","type":"post","link":"https:\/\/prohoster.info\/fr\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","title":{"rendered":"Un bogue dans le script Python a pu entra\u00eener des r\u00e9sultats incorrects dans plus de 100 publications en chimie","gt_translate_keys":[{"key":"rendered","format":"text"}]},"content":{"rendered":"<p>Un doctorant de l'universit\u00e9 hawa\u00efenne <noindex><a rel=\"nofollow\" href=\"https:\/\/www.vice.com\/en_us\/article\/zmjwda\/a-code-glitch-may-have-caused-errors-in-more-than-100-published-studies\">a d\u00e9couvert<\/a><\/noindex> un probl\u00e8me dans un script Python utilis\u00e9 pour des calculs  <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%A5%D0%B8%D0%BC%D0%B8%D1%87%D0%B5%D1%81%D0%BA%D0%B8%D0%B9_%D1%81%D0%B4%D0%B2%D0%B8%D0%B3\">du d\u00e9calage chimique<\/a><\/noindex>, d\u00e9terminant la structure chimique de la substance \u00e9tudi\u00e9e lors de l'analyse spectrale des signaux par la m\u00e9thode <noindex><a rel=\"nofollow\" href=\"https:\/\/ru.wikipedia.org\/wiki\/%D0%AF%D0%B4%D0%B5%D1%80%D0%BD%D1%8B%D0%B9_%D0%BC%D0%B0%D0%B3%D0%BD%D0%B8%D1%82%D0%BD%D1%8B%D0%B9_%D1%80%D0%B5%D0%B7%D0%BE%D0%BD%D0%B0%D0%BD%D1%81\">de la r\u00e9sonance magn\u00e9tique nucl\u00e9aire<\/a><\/noindex>. Au cours de la v\u00e9rification des r\u00e9sultats de recherche de l'un de ses professeurs, le doctorant a remarqu\u00e9 que l'ex\u00e9cution du script dans diff\u00e9rents syst\u00e8mes d'exploitation avec le m\u00eame ensemble de donn\u00e9es produisait des r\u00e9sultats diff\u00e9rents.<\/p>\n<p>Par exemple, lors de l'ex\u00e9cution sous macOS 10.14 et Ubuntu 16.04 pour l'ensemble de donn\u00e9es test\u00e9, le script <noindex><a rel=\"nofollow\" href=\"https:\/\/pubs.acs.org\/doi\/10.1021\/acs.orglett.9b03216\">fournissait<\/a><\/noindex> une valeur incorrecte de 172,4 au lieu de 173,2. Le script comprend environ 1000 lignes de code et est utilis\u00e9 par des chimistes depuis 2014. L'examen du code a montr\u00e9 que la sortie de la valeur incorrecte <noindex><a rel=\"nofollow\" href=\"https:\/\/twitter.com\/LucasCMoore\/status\/1181615421922824192\">\u00e9tait due<\/a><\/noindex> diff\u00e9rences lors du tri des fichiers dans diff\u00e9rents syst\u00e8mes d'exploitation. Les auteurs du script pensaient que la fonction \u00ab<noindex><a rel=\"nofollow\" href=\"https:\/\/docs.python.org\/3\/library\/glob.html\">glob()<\/a><\/noindex>\u00bb retourne toujours les fichiers tri\u00e9s par nom, alors que la documentation de glob indique que l'ordre de sortie n'est pas garanti. La correction consistait \u00e0 ajouter list_of_files.sort() apr\u00e8s l'appel de glob().<\/p>\n<p><center><noindex><a rel=\"nofollow\" href=\"https:\/\/pubs.acs.org\/na101\/home\/literatum\/publisher\/achs\/journals\/content\/orlef7\/0\/orlef7.ahead-of-print\/acs.orglett.9b03216\/20191007\/images\/medium\/ol9b03216_0003.gif\"><img decoding=\"async\" alt=\"Un bogue dans le script Python a pu entra\u00eener des r\u00e9sultats incorrects dans plus de 100 publications en chimie\" src=\"\/wp-content\/uploads\/2019\/10\/8fef91f04306986ab84d1484a5fc1a1c.jpg\" style=\"display:block;margin: 0 auto;\" \/><\/a><\/noindex><\/center><\/p>\n<p>Le probl\u00e8me d\u00e9couvert a remis en question la validit\u00e9 de plus de 100 publications en chimie, dont les conclusions \u00e9taient bas\u00e9es sur le d\u00e9calage chimique calcul\u00e9 par le script. Le nombre exact de recherches utilisant le script est inconnu, mais la publication contenant son code a \u00e9t\u00e9 cit\u00e9e dans 158 travaux. Aux auteurs de ces travaux, il a \u00e9t\u00e9 recommand\u00e9 d'\u00e9valuer la validit\u00e9 du script dans les syst\u00e8mes d'exploitation utilis\u00e9s pour les calculs et de r\u00e9aliser un recalcul afin de s'assurer de l'exactitude des valeurs calcul\u00e9es. Cet incident est un excellent exemple d\u00e9montrant que non seulement la qualit\u00e9 de la r\u00e9alisation de l'exp\u00e9rience, mais aussi la validit\u00e9 du traitement des donn\u00e9es obtenues dans les programmes qui, jusqu'\u00e0 pr\u00e9sent, ont \u00e9t\u00e9 largement utilis\u00e9s, peuvent influencer le r\u00e9sultat final.<br \/>\nUn doctorant de l'universit\u00e9 hawa\u00efenne a d\u00e9couvert un probl\u00e8me dans.<\/p>\n<p><noindex><a rel=\"nofollow\" name=\"link\"><\/a><\/noindex><\/p>\n<p>Source : <a \ncontent=\"nofollow\" rel=\"nofollow\" href=\"https:\/\/www.opennet.ru\/opennews\/art.shtml?num=51667\">opennet.ru<\/a><\/p>","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"excerpt":{"rendered":"<p>\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435, \u0438\u0441\u043f\u043e\u043b\u044c\u0437\u0443\u0435\u043c\u043e\u043c \u0434\u043b\u044f \u0432\u044b\u0447\u0438\u0441\u043b\u0435\u043d\u0438\u0439 \u0445\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0433\u043e \u0441\u0434\u0432\u0438\u0433\u0430, \u043e\u043f\u0440\u0435\u0434\u0435\u043b\u044f\u044e\u0449\u0435\u0433\u043e \u0445\u0438\u043c\u0438\u0447\u0435\u0441\u043a\u043e\u0435 \u0441\u0442\u0440\u043e\u0435\u043d\u0438\u0435 \u0438\u0437\u0443\u0447\u0430\u0435\u043c\u043e\u0433\u043e \u0432\u0435\u0449\u0435\u0441\u0442\u0432\u0430 \u043f\u0440\u0438 \u0441\u043f\u0435\u043a\u0442\u0440\u0430\u043b\u044c\u043d\u043e\u043c \u0430\u043d\u0430\u043b\u0438\u0437\u0435 \u0441\u0438\u0433\u043d\u0430\u043b\u043e\u0432 \u043c\u0435\u0442\u043e\u0434\u043e\u043c \u044f\u0434\u0435\u0440\u043d\u043e\u0433\u043e-\u043c\u0430\u0433\u043d\u0438\u0442\u043d\u043e\u0433\u043e \u0440\u0435\u0437\u043e\u043d\u0430\u043d\u0441\u0430. \u0412 \u0445\u043e\u0434\u0435 \u0432\u0435\u0440\u0438\u0444\u0438\u043a\u0430\u0446\u0438\u0438 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u043e\u0432 \u0438\u0441\u0441\u043b\u0435\u0434\u043e\u0432\u0430\u043d\u0438\u0439 \u043e\u0434\u043d\u043e\u0433\u043e \u0438\u0437 \u0441\u0432\u043e\u0438\u0445 \u043f\u0440\u043e\u0444\u0435\u0441\u0441\u043e\u0440\u043e\u0432 \u0430\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0437\u0430\u043c\u0435\u0442\u0438\u043b, \u0447\u0442\u043e \u043f\u0440\u0438 \u0432\u044b\u043f\u043e\u043b\u043d\u0435\u043d\u0438\u0438 \u0441\u043a\u0440\u0438\u043f\u0442\u0430 \u0432 \u0440\u0430\u0437\u043d\u044b\u0445 \u043e\u043f\u0435\u0440\u0430\u0446\u0438\u043e\u043d\u043d\u044b\u0445 \u0441\u0438\u0441\u0442\u0435\u043c\u0430\u0445 \u043d\u0430\u0434 \u043e\u0434\u043d\u0438\u043c \u0438 \u0442\u0435\u043c \u0436\u0435 \u043d\u0430\u0431\u043e\u0440\u043e\u043c \u0434\u0430\u043d\u043d\u044b\u0445 \u043d\u0430 \u0432\u044b\u0445\u043e\u0434\u0435 \u043f\u043e\u043b\u0443\u0447\u0430\u043b\u0441\u044f \u0440\u0430\u0437\u043d\u044b\u0439 \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442. [&hellip;]<\/p>\n","protected":false,"gt_translate_keys":[{"key":"rendered","format":"html"}]},"author":1,"featured_media":29167,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[702],"tags":[],"class_list":["post-38880","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-news"],"aioseo_notices":[],"aioseo_head":"\n\t\t<!-- All in One SEO 5.0.2 - aioseo.com -->\n\t<meta name=\"description\" content=\"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.\" \/>\n\t<meta name=\"robots\" content=\"max-image-preview:large\" \/>\n\t<meta name=\"author\" content=\"Yuri Gagarin\"\/>\n\t<link rel=\"canonical\" href=\"https:\/\/prohoster.info\/fr\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\" \/>\n\t<meta name=\"generator\" content=\"All in One SEO (AIOSEO) 5.0.2\" \/>\n\t\t<meta property=\"og:locale\" content=\"fr_FR\" \/>\n\t\t<meta property=\"og:site_name\" content=\"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b\" \/>\n\t\t<meta property=\"og:type\" content=\"article\" \/>\n\t\t<meta property=\"og:title\" content=\"\ud83e\udd47\u041d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0432 \u0431\u043e\u043b\u0435\u0435 100 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043f\u043e \u0445\u0438\u043c\u0438\u0438 | ProHoster\" \/>\n\t\t<meta property=\"og:description\" content=\"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.\" \/>\n\t\t<meta property=\"og:url\" content=\"https:\/\/prohoster.info\/fr\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii\" \/>\n\t\t<meta property=\"og:image\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:secure_url\" content=\"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg\" \/>\n\t\t<meta property=\"og:image:width\" content=\"350\" \/>\n\t\t<meta property=\"og:image:height\" content=\"350\" \/>\n\t\t<meta property=\"article:published_time\" content=\"2019-10-31T19:26:31+00:00\" \/>\n\t\t<meta property=\"article:modified_time\" content=\"2019-10-31T19:26:31+00:00\" \/>\n\t\t<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<meta property=\"article:author\" content=\"https:\/\/www.facebook.com\/prohoster\" \/>\n\t\t<!-- All in One SEO -->\n\n","aioseo_head_json":{"title":"\ud83e\udd47Une d\u00e9faillance dans le script Python a pu entra\u00eener des r\u00e9sultats erron\u00e9s dans plus de 100 publications en chimie | ProHoster","description":"\ud83e\udd47Une d\u00e9faillance dans le script Python a pu entra\u00eener des r\u00e9sultats erron\u00e9s dans plus de 100 publications en chimie | ProHoster","canonical_url":"https:\/\/prohoster.info\/fr\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","robots":"max-image-preview:large","keywords":"","webmasterTools":{"miscellaneous":""},"schema":null,"og:locale":"fr_FR","og:site_name":"ProHoster | \u041a\u0443\u043f\u0438\u0442\u044c \u043d\u0430\u0434\u0435\u0436\u043d\u044b\u0439 \u0445\u043e\u0441\u0442\u0438\u043d\u0433 \u0434\u043b\u044f \u0441\u0430\u0439\u0442\u043e\u0432 \u0441 \u0437\u0430\u0449\u0438\u0442\u043e\u0439 \u043e\u0442 DDoS, VPS VDS \u0441\u0435\u0440\u0432\u0435\u0440\u044b","og:type":"article","og:title":"\ud83e\udd47\u041d\u0435\u0434\u043e\u0440\u0430\u0431\u043e\u0442\u043a\u0430 \u0432 Python-\u0441\u043a\u0440\u0438\u043f\u0442\u0435 \u043c\u043e\u0433\u043b\u0430 \u043f\u0440\u0438\u0432\u0435\u0441\u0442\u0438 \u043a \u043d\u0435\u0432\u0435\u0440\u043d\u044b\u043c \u0440\u0435\u0437\u0443\u043b\u044c\u0442\u0430\u0442\u0430\u043c \u0432 \u0431\u043e\u043b\u0435\u0435 100 \u043f\u0443\u0431\u043b\u0438\u043a\u0430\u0446\u0438\u044f\u0445 \u043f\u043e \u0445\u0438\u043c\u0438\u0438 | ProHoster","og:description":"\u0410\u0441\u043f\u0438\u0440\u0430\u043d\u0442 \u0433\u0430\u0432\u0430\u0439\u0441\u043a\u043e\u0433\u043e \u0443\u043d\u0438\u0432\u0435\u0440\u0441\u0438\u0442\u0435\u0442\u0430 \u043e\u0431\u043d\u0430\u0440\u0443\u0436\u0438\u043b \u043f\u0440\u043e\u0431\u043b\u0435\u043c\u0443 \u0432.","og:url":"https:\/\/prohoster.info\/fr\/blog\/news\/nedorabotka-v-python-skripte-mogla-privesti-k-nevernym-rezultatam-v-bolee-100-publikatsiyah-po-himii","og:image":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:secure_url":"https:\/\/prohoster.info\/wp-content\/uploads\/2021\/11\/logo-350.jpg","og:image:width":350,"og:image:height":350,"article:published_time":"2019-10-31T19:26:31+00:00","article:modified_time":"2019-10-31T19:26:31+00:00","article:publisher":"https:\/\/www.facebook.com\/prohoster","article:author":"https:\/\/www.facebook.com\/prohoster"},"aioseo_meta_data":{"post_id":"38880","title":null,"description":null,"keywords":null,"keyphrases":null,"primary_term":null,"canonical_url":null,"og_title":null,"og_description":null,"og_object_type":"default","og_image_type":"default","og_image_url":null,"og_image_width":null,"og_image_height":null,"og_image_custom_url":null,"og_image_custom_fields":null,"og_video":null,"og_custom_url":null,"og_article_section":null,"og_article_tags":null,"twitter_use_og":false,"twitter_card":"default","twitter_image_type":"default","twitter_image_url":null,"twitter_image_custom_url":null,"twitter_image_custom_fields":null,"twitter_title":null,"twitter_description":null,"schema":{"blockGraphs":[],"customGraphs":[],"default":{"data":{"Article":[],"Course":[],"Dataset":[],"FAQPage":[],"Movie":[],"Person":[],"Product":[],"ProductReview":[],"Car":[],"Recipe":[],"Service":[],"SoftwareApplication":[],"WebPage":[]},"graphName":"","isEnabled":true},"graphs":[]},"schema_type":null,"schema_type_options":null,"pillar_content":false,"robots_default":true,"robots_noindex":false,"robots_noarchive":false,"robots_nosnippet":false,"robots_nofollow":false,"robots_noimageindex":false,"robots_noodp":false,"robots_notranslate":false,"robots_max_snippet":null,"robots_max_videopreview":null,"robots_max_imagepreview":"large","priority":null,"frequency":null,"local_seo":null,"seo_analyzer_scan_date":"2026-01-23 23:47:19","breadcrumb_settings":null,"limit_modified_date":false,"reviewed_by":null,"ai":null,"created":"2021-03-01 01:00:28","updated":"2026-01-23 23:47:19","focus_keyword":null,"additional_keywords":null,"truseo_locale":null},"gt_translate_keys":[{"key":"link","format":"url"}],"_links":{"self":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/38880","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/comments?post=38880"}],"version-history":[{"count":0,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/posts\/38880\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media\/29167"}],"wp:attachment":[{"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/media?parent=38880"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/categories?post=38880"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/prohoster.info\/fr\/wp-json\/wp\/v2\/tags?post=38880"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}