In the presented work, a harmonic analysis has been implemented to determine the resonance occurrence node of the Sepic DC-DC converter. the simulation studies were implemented in MATLAB/Simulink. Two cases of transis...
详细信息
Purpose: there is a lack of suitable recommendation systems to assist engineering teaching. the existing traditional engineering pedagogies lack learning interests for postgraduate students. the knowledge graph-based ...
详细信息
One of the most common reasons women can9;t conceive is a hormonal issue called polycystic ovarian syndrome (PCOS). Symptoms of polycystic ovarian syndrome include being overweight, having excessive body hair, mens...
详细信息
Open Source license is a prerequisite for open source software, which regulates the use, modification, redistribution, and attribution of the software. Open source license is crucial to the community development and c...
详细信息
ISBN:
(纸本)9798350322637
Open Source license is a prerequisite for open source software, which regulates the use, modification, redistribution, and attribution of the software. Open source license is crucial to the community development and commercial interests of an OSS project, yet choosing a proper license from hundreds of licenses remains challenging. Tools assisting developers to understand the terms and pick the right license have been emerging, while inferring license compatibility on the dependency tree and satisfying the complex needs of developers are beyond the capability of most of them. thus we propose LicenseRec, an open source license recommendation tool that helps to bridge the gap. LicenseRec performs fine-grained license compatibility checks on OSS projects' code and dependencies, and assists developers to choose the optimal license through an interactive wizard with guidelines of three aspects: personal open source style, business pattern, and community development. the usefulness of LicenseRec is confirmed by the consistent positive feedback from 10 software developers with academic and industrial backgrounds. Our tool is accessible at https://*** and a video showcasing the tool is available at https://***.
Selecting the best code solution from multiple generated ones is an essential task in code generation, which can be achieved by using some reliable validators (e.g., developer-written test cases) for assistance. Since...
详细信息
ISBN:
(纸本)9798400712487
Selecting the best code solution from multiple generated ones is an essential task in code generation, which can be achieved by using some reliable validators (e.g., developer-written test cases) for assistance. Since reliable test cases are not always available and can be expensive to build in practice, researchers propose to automatically generate test cases to assess code solutions. However, when both code solutions and test cases are plausible and not reliable, selecting the best solution becomes challenging. Although some heuristic strategies have been proposed to tackle this problem, they lack a strong theoretical guarantee and it is still an open question whether an optimal selection strategy exists. Our work contributes in two ways. First, we show that within a Bayesian framework, the optimal selection strategy can be defined based on the posterior probability of the observed passing states between solutions and tests. the problem of identifying the best solution is then framed as an integer programming problem. Second, we propose an efficient approach for approximating this optimal (yet uncomputable) strategy, where the approximation error is bounded by the correctness of prior knowledge. We then incorporate effective prior knowledge to tailor code generation tasks. Boththeoretical and empirical studies confirm that existing heuristics are limited in selecting the best solutions with plausible test cases. Our proposed approximated optimal strategy B-4 significantly surpasses existing heuristics in selecting code solutions generated by large language models (LLMs) with LLM-generated tests, achieving a relative performance improvement by up to 50% over the strongest heuristic and 246% over the random selection in the most challenging scenarios. Our code is publicly available at https://***/ZJU-CTAG/B4.
Sentence with polysemous words can easily be interpreted as different meanings by different people even in a specific context, which will significantly reduce the quality of requirements documents. However, existing a...
详细信息
the surge in software development and products that use software have intensified the risk of software vulnerabilities. the difficulty of maintaining code security has been exacerbated by the growing software ecosyste...
详细信息
this article explores the potential of implementing a microgrid (MG) in Iran to generate green hydrogen from renewable energy sources, specifically to meet the energy demands of large-scale industrial operations. To d...
详细信息
Containerized plant factories have been used progressively in recent years to cultivate vegetables and seedlings in dry desert regions, but their large-scale promotion remains hampered by their high construction and e...
详细信息
In recent years, interest in the automation of agricultural and industrial processes has increased. Fruit segmentation is essential for quality control, harvest optimization, and yield estimation. However, some challe...
详细信息
暂无评论