近年来,随着软件开发领域代码规模持续扩大、功能需求与系统架构日趋复杂,自动化工具已成为提升开发效率的核心支撑,其中生成式大语言模型(large language model,LLM)在软件开发领域得到了广泛应用.尽管LLM能显著缩短开发周期,但研究表...近年来,随着软件开发领域代码规模持续扩大、功能需求与系统架构日趋复杂,自动化工具已成为提升开发效率的核心支撑,其中生成式大语言模型(large language model,LLM)在软件开发领域得到了广泛应用.尽管LLM能显著缩短开发周期,但研究表明,LLM生成的代码常存在安全漏洞,可能引发系统风险.已有研究发现LLM的输出结果会受提示语言差异的影响,然而针对不同提示语言生成代码安全性的研究与评价仍较为匮乏.本文旨在探究输入英文提示语言与中文提示语言对代码安全性的影响,并对其进行系统性评估.通过在LLM中分别使用英文和中文文本指示代码生成,分析生成代码的安全性差异.实验结果表明,当以英文作为提示语言输入时,LLM生成的代码中出现的漏洞和bug数量相对较少;而以中文作为提示语言输入时,生成的代码则更容易出现安全漏洞.展开更多
Coal-based soild wastes(CBSWs)are industrial byproducts that can be harmful to the environment.The exploitation and utilization of CBsWs offer societal advantages such as resource conservation,pollution reduction,and ...Coal-based soild wastes(CBSWs)are industrial byproducts that can be harmful to the environment.The exploitation and utilization of CBsWs offer societal advantages such as resource conservation,pollution reduction,and cost-effective production.However,environmentally sustainable management remains a worldwide challenge due to the substantial production volume and limited disposal capacity of CBSWs.The physicochemical properties and utilization of CBSWs are summarized,including fly ash,coal gangue and coal gasification slag.It also presents the current global applications status of CBSWs resources and examines market supply and demand.Subsequently,the paper provides an overview of studies on ways to utilise CBSWs,highlighting the primary avenues of CBSWs resource utilization which are mainly from the fields of chemical materials,metallurgy and agriculture.Furthermore,a comparative evaluation of the various methods for CBSWs resource recovery is conducted,outlining their respective advantages and disadvantages.The future development of CBSWs recycling processes is also discussed.The review concludes that while there is a growing need for attention in CBSWs recycling,its utilization will involve a combination of both large-scale treatment and refinement processes.The paper aims to offer references and insights for the effective utilization and environmental protection of CBSWs.Future direction will focus on the collaborative utilization of CBSWs,emphasizing on the combination of large-scale and high-value utilization.In addition,there is a need to establish a comprehensive database based on on-site production practices,explore on-site solutions to reduce transportation costs,and improve physicochemical properties during the production process.展开更多
文摘近年来,随着软件开发领域代码规模持续扩大、功能需求与系统架构日趋复杂,自动化工具已成为提升开发效率的核心支撑,其中生成式大语言模型(large language model,LLM)在软件开发领域得到了广泛应用.尽管LLM能显著缩短开发周期,但研究表明,LLM生成的代码常存在安全漏洞,可能引发系统风险.已有研究发现LLM的输出结果会受提示语言差异的影响,然而针对不同提示语言生成代码安全性的研究与评价仍较为匮乏.本文旨在探究输入英文提示语言与中文提示语言对代码安全性的影响,并对其进行系统性评估.通过在LLM中分别使用英文和中文文本指示代码生成,分析生成代码的安全性差异.实验结果表明,当以英文作为提示语言输入时,LLM生成的代码中出现的漏洞和bug数量相对较少;而以中文作为提示语言输入时,生成的代码则更容易出现安全漏洞.
基金supported by the following:“National Natural Science Foundation of China”(22478231)“Natural Science Foundation of Henan”(242300421449)“Fundamental Research Program of Shanxi Province”(202403021221011).
文摘Coal-based soild wastes(CBSWs)are industrial byproducts that can be harmful to the environment.The exploitation and utilization of CBsWs offer societal advantages such as resource conservation,pollution reduction,and cost-effective production.However,environmentally sustainable management remains a worldwide challenge due to the substantial production volume and limited disposal capacity of CBSWs.The physicochemical properties and utilization of CBSWs are summarized,including fly ash,coal gangue and coal gasification slag.It also presents the current global applications status of CBSWs resources and examines market supply and demand.Subsequently,the paper provides an overview of studies on ways to utilise CBSWs,highlighting the primary avenues of CBSWs resource utilization which are mainly from the fields of chemical materials,metallurgy and agriculture.Furthermore,a comparative evaluation of the various methods for CBSWs resource recovery is conducted,outlining their respective advantages and disadvantages.The future development of CBSWs recycling processes is also discussed.The review concludes that while there is a growing need for attention in CBSWs recycling,its utilization will involve a combination of both large-scale treatment and refinement processes.The paper aims to offer references and insights for the effective utilization and environmental protection of CBSWs.Future direction will focus on the collaborative utilization of CBSWs,emphasizing on the combination of large-scale and high-value utilization.In addition,there is a need to establish a comprehensive database based on on-site production practices,explore on-site solutions to reduce transportation costs,and improve physicochemical properties during the production process.