SHF: Small: Solving the Search for Relevant Code in Large Repositories with Lightweight Specifications
SHF:小:用轻量级规范解决大型存储库中相关代码的搜索
基本信息
- 批准号:1218265
- 负责人:
- 金额:$ 44.9万
- 依托单位:
- 依托单位国家:美国
- 项目类别:Standard Grant
- 财政年份:2012
- 资助国家:美国
- 起止时间:2012-08-01 至 2016-07-31
- 项目状态:已结题
- 来源:
- 关键词:
项目摘要
Searching for relevant code is a common task among programmers, one that is becoming more crucial to their productivity as open code repositories grow in size and programmers have the opportunity to reuse the resources therein. Yet, the code search tools for programmers to leverage such massive repositories have barely evolved in the last decade. Programmers still search by specifying keywords, an approach that may perform very inconsistently as it depends on the programmer's ability to provide terms that match how the programs in the repository are implemented or documented. This is problematic because a slightly wrong keyword could miss relevant results and return mostly spurious results, reducing programmer's productivity.This research aims to address these limitations by exploring a code search that is novel in two aspects. First, it allows programmers to search for code by specifying desired code behavior in the form of inputs and outputs. This removes the need for the programmer to imagine how the solution to a problem may have been implemented, and instead the programmer can concentrate on defining what the software should do. Second, given the inputs and outputs describing the desired behavior and the set of programs in a code repository, both automatically encoded as constraints, the proposed approach employs a constraints solver to identify what programs in the repository could satisfy the programmers' specifications, effectively solving the search. This guarantees the search results behave as specified. Developing this approach requires tackling several fundamental challenges including the definition of mappings to automatically and efficiently encode programs as constraints so that solvers can find suitable solutions. Systematic strategies must also be developed to refine the programmers' specifications when they are too weak and return too many matches, and to relax the constraints in order to find partial matches when exact ones are not available. Techniques to support the composition of partial matches will also be necessary to scale the approach to larger and more diverse search queries. Last, infrastructure must be built and studies conducted to determine whether the proposed approach can be cost-effective in practice. Use of these techniques will change the way programmers operate, directly impacting their productivity by enabling them to truly leverage existing code in increasingly rich code repositories.
搜索相关代码是程序员的一项常见任务,随着开放代码库的规模不断扩大,程序员有机会重用其中的资源,搜索相关代码对他们的生产力变得越来越重要。然而,在过去的十年里,程序员利用如此庞大的存储库的代码搜索工具几乎没有发展。程序员仍然通过指定关键字进行搜索,这种方法可能执行得非常不一致,因为它取决于程序员提供与存储库中的程序如何实现或记录相匹配的术语的能力。这是有问题的,因为一个稍微错误的关键字可能会错过相关的结果,并返回大多是虚假的结果,降低程序员的productions.This研究旨在通过探索代码搜索,是在两个方面的新颖性,以解决这些限制。首先,它允许程序员通过以输入和输出的形式指定所需的代码行为来搜索代码。这消除了程序员想象问题的解决方案是如何实现的需要,相反,程序员可以专注于定义软件应该做什么。第二,给定描述期望行为的输入和输出以及代码库中的程序集,两者都被自动编码为约束,所提出的方法采用约束求解器来识别库中的哪些程序可以满足程序员的规范,从而有效地解决搜索。这保证了搜索结果按指定的方式运行。开发这种方法需要解决几个基本挑战,包括定义映射以自动有效地将程序编码为约束,以便求解器可以找到合适的解决方案。还必须制定系统的策略,当程序员的规范太弱并返回太多匹配时,改进程序员的规范,并放松约束,以便在精确的匹配不可用时找到部分匹配。支持部分匹配的组成的技术也将是必要的,以扩大更大和更多样化的搜索查询的方法。最后,必须建立基础设施,并进行研究,以确定拟议的方法在实践中是否具有成本效益。 这些技术的使用将改变程序员的操作方式,通过使他们能够真正利用日益丰富的代码库中的现有代码,直接影响他们的生产力。
项目成果
期刊论文数量(0)
专著数量(0)
科研奖励数量(0)
会议论文数量(0)
专利数量(0)
数据更新时间:{{ journalArticles.updateTime }}
{{
item.title }}
{{ item.translation_title }}
- DOI:
{{ item.doi }} - 发表时间:
{{ item.publish_year }} - 期刊:
- 影响因子:{{ item.factor }}
- 作者:
{{ item.authors }} - 通讯作者:
{{ item.author }}
数据更新时间:{{ journalArticles.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ monograph.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ sciAawards.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ conferencePapers.updateTime }}
{{ item.title }}
- 作者:
{{ item.author }}
数据更新时间:{{ patent.updateTime }}
Sebastian Elbaum其他文献
The SGSM framework: Enabling the specification and monitor synthesis of safe driving properties through scene graphs
- DOI:
10.1016/j.scico.2024.103252 - 发表时间:
2025-05-01 - 期刊:
- 影响因子:
- 作者:
Trey Woodlief;Felipe Toledo;Sebastian Elbaum;Matthew B. Dwyer - 通讯作者:
Matthew B. Dwyer
Experimental program analysis
- DOI:
10.1016/j.infsof.2009.10.002 - 发表时间:
2010-04-01 - 期刊:
- 影响因子:
- 作者:
Joseph R. Ruthruff;Sebastian Elbaum;Gregg Rothermel - 通讯作者:
Gregg Rothermel
Sebastian Elbaum的其他文献
{{
item.title }}
{{ item.translation_title }}
- DOI:
{{ item.doi }} - 发表时间:
{{ item.publish_year }} - 期刊:
- 影响因子:{{ item.factor }}
- 作者:
{{ item.authors }} - 通讯作者:
{{ item.author }}
{{ truncateString('Sebastian Elbaum', 18)}}的其他基金
Workshop on Software Engineering for Robotics Systems (SE4Robotics)
机器人系统软件工程研讨会(SE4Robotics)
- 批准号:
2332991 - 财政年份:2023
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Medium: More Reliable Image Networks through Scene-based Specification, Neuro-symbolic Training, and Systematic Specification-driven Testing
SHF:中:通过基于场景的规范、神经符号训练和系统规范驱动测试实现更可靠的图像网络
- 批准号:
2312487 - 财政年份:2023
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
NRI: INT: COLLAB: Raining Drones: Mid-Air Release & Recovery of Atmospheric Sensing Systems
NRI:INT:协作:无人机下雨:空中发布
- 批准号:
1924777 - 财政年份:2019
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF:Small: Holistic Analysis: integrating the semantics of the world and the code
SHF:Small:整体分析:整合世界语义和代码
- 批准号:
1853374 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF:Small: Holistic Analysis: integrating the semantics of the world and the code
SHF:Small:整体分析:整合世界语义和代码
- 批准号:
1718040 - 财政年份:2017
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small:Testing in the Presence of Continuous Change
SHF:小:在持续变化的情况下进行测试
- 批准号:
1526652 - 财政年份:2015
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: T2T: A Framework for Amplifying Testing Resources
SHF:小型:T2T:扩大测试资源的框架
- 批准号:
0915526 - 财政年份:2009
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
CAREER: Leveraging Field Data to Test Highly-Configurable and Rapidly-Evolving Pervasive Systems
职业:利用现场数据测试高度可配置且快速发展的普及系统
- 批准号:
0347518 - 财政年份:2004
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
ITR: Collaborative Research: Dependable End-User Software
ITR:协作研究:可靠的最终用户软件
- 批准号:
0324861 - 财政年份:2003
- 资助金额:
$ 44.9万 - 项目类别:
Continuing Grant
ITR: Collaborative Research: A New Generation of Scalable, Cost-Effective Regression Testing Techniques
ITR:协作研究:新一代可扩展、经济高效的回归测试技术
- 批准号:
0080898 - 财政年份:2000
- 资助金额:
$ 44.9万 - 项目类别:
Continuing Grant
相似国自然基金
昼夜节律性small RNA在血斑形成时间推断中的法医学应用研究
- 批准号:
- 批准年份:2024
- 资助金额:0.0 万元
- 项目类别:省市级项目
tRNA-derived small RNA上调YBX1/CCL5通路参与硼替佐米诱导慢性疼痛的机制研究
- 批准号:n/a
- 批准年份:2022
- 资助金额:10.0 万元
- 项目类别:省市级项目
Small RNA调控I-F型CRISPR-Cas适应性免疫性的应答及分子机制
- 批准号:32000033
- 批准年份:2020
- 资助金额:24.0 万元
- 项目类别:青年科学基金项目
Small RNAs调控解淀粉芽胞杆菌FZB42生防功能的机制研究
- 批准号:31972324
- 批准年份:2019
- 资助金额:58.0 万元
- 项目类别:面上项目
变异链球菌small RNAs连接LuxS密度感应与生物膜形成的机制研究
- 批准号:81900988
- 批准年份:2019
- 资助金额:21.0 万元
- 项目类别:青年科学基金项目
肠道细菌关键small RNAs在克罗恩病发生发展中的功能和作用机制
- 批准号:31870821
- 批准年份:2018
- 资助金额:56.0 万元
- 项目类别:面上项目
基于small RNA 测序技术解析鸽分泌鸽乳的分子机制
- 批准号:31802058
- 批准年份:2018
- 资助金额:26.0 万元
- 项目类别:青年科学基金项目
Small RNA介导的DNA甲基化调控的水稻草矮病毒致病机制
- 批准号:31772128
- 批准年份:2017
- 资助金额:60.0 万元
- 项目类别:面上项目
基于small RNA-seq的针灸治疗桥本甲状腺炎的免疫调控机制研究
- 批准号:81704176
- 批准年份:2017
- 资助金额:20.0 万元
- 项目类别:青年科学基金项目
水稻OsSGS3与OsHEN1调控small RNAs合成及其对抗病性的调节
- 批准号:91640114
- 批准年份:2016
- 资助金额:85.0 万元
- 项目类别:重大研究计划
相似海外基金
AF: Small: RUI: Toward High-Performance Block Krylov Subspace Algorithms for Solving Large-Scale Linear Systems
AF:小:RUI:用于求解大规模线性系统的高性能块 Krylov 子空间算法
- 批准号:
2327619 - 财政年份:2023
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: Efficient, Deterministic and Formally Certified Methods for Solving Low-dimensional Linear Programs with Floating-point Precision
SHF:小型:用于以浮点精度求解低维线性程序的高效、确定性且经过正式认证的方法
- 批准号:
2312220 - 财政年份:2023
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: Solving the Parallel Functional Programming Challenge
SHF:小型:解决并行函数式编程挑战
- 批准号:
2115104 - 财政年份:2021
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
AF: Small: Solving and Simplifying Algebraic, Differential, and Difference Equations.
AF:小:求解和简化代数方程、微分方程和差分方程。
- 批准号:
2007959 - 财政年份:2020
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: MaPaMaP: Massively Parallel Solving of Math Problems
SHF:小型:MaPaMaP:数学问题的大规模并行解决
- 批准号:
2006363 - 财政年份:2019
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
RI: Small: Applying discrete reasoning steps in solving natural language processing tasks
RI:小:应用离散推理步骤解决自然语言处理任务
- 批准号:
1814522 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: MaPaMaP: Massively Parallel Solving of Math Problems
SHF:小型:MaPaMaP:数学问题的大规模并行解决
- 批准号:
1813993 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
CSR: Small: Heterogeneous Storage Systems with Emerging Technologies for Solving Big Data Problems
CSR:小型:利用新兴技术解决大数据问题的异构存储系统
- 批准号:
1812537 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
Design of support measures based on a mechanism that balances management problem solving and green management of small and medium-sized enterprises
基于中小企业管理问题解决与绿色管理平衡机制的支持措施设计
- 批准号:
18K11764 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Grant-in-Aid for Scientific Research (C)
AF: Small: Algorithms for Solving Real-Life Instances of Optimization and Clustering Problems
AF:小:解决现实生活中优化和聚类问题实例的算法
- 批准号:
1718820 - 财政年份:2017
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant