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.
搜索相关代码是程序员中的一项常见任务,随着开放代码存储库的规模不断增长,该任务对其生产力变得越来越重要,并且程序员有机会重复使用其中的资源。然而,在过去的十年中,程序员为了利用此类大量存储库的代码搜索工具几乎没有发展。程序员仍然通过指定关键字来搜索,这种方法可能会非常不一致,因为它取决于程序员提供的术语能力,该术语与存储库中的程序的实现或记录方式相匹配。这是有问题的,因为一个稍有错误的关键字可能会错过相关结果并大部分返回伪造的结果,从而降低了程序员的生产力。本研究旨在通过探索两个方面新颖的代码搜索来解决这些局限性。首先,它允许程序员以输入和输出的形式指定所需的代码行为来搜索代码。这消除了程序员的需求,可以想象如何实现问题的解决方案,而程序员可以专注于定义软件应该做什么。其次,给定描述代码存储库中描述所需行为和程序集的输入和输出,两者都自动编码为约束,拟议的方法采用约束求解器来识别存储库中的哪些程序可以满足程序员的规格,从而有效地解决了搜索。这样可以保证搜索结果按规定行为。开发这种方法需要应对几个基本挑战,包括映射的定义以自动有效地将程序编码为约束,以便求解器可以找到合适的解决方案。还必须制定系统的策略,以优化程序员的规格,当时它们的规格太弱并返回太多匹配,并放松约束,以便在没有确切的比赛时找到部分匹配项。支持部分匹配的组成的技术对于扩展大型和更多样化的搜索查询的方法也是必要的。最后,必须建立基础设施并进行研究,以确定所提出的方法在实践中是否可以具有成本效益。 这些技术的使用将改变程序员操作的方式,直接通过使他们能够在越来越丰富的代码存储库中真正利用现有代码来影响其生产率。
项目成果
期刊论文数量(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
相似国自然基金
靶向Treg-FOXP3小分子抑制剂的筛选及其在肺癌免疫治疗中的作用和机制研究
- 批准号:32370966
- 批准年份:2023
- 资助金额:50 万元
- 项目类别:面上项目
化学小分子激活YAP诱导染色质可塑性促进心脏祖细胞重编程的表观遗传机制研究
- 批准号:82304478
- 批准年份:2023
- 资助金额:30 万元
- 项目类别:青年科学基金项目
靶向小胶质细胞的仿生甘草酸纳米颗粒构建及作用机制研究:脓毒症相关性脑病的治疗新策略
- 批准号:82302422
- 批准年份:2023
- 资助金额:30 万元
- 项目类别:青年科学基金项目
HMGB1/TLR4/Cathepsin B途径介导的小胶质细胞焦亡在新生大鼠缺氧缺血脑病中的作用与机制
- 批准号:82371712
- 批准年份:2023
- 资助金额:49 万元
- 项目类别:面上项目
小分子无半胱氨酸蛋白调控生防真菌杀虫活性的作用与机理
- 批准号:32372613
- 批准年份:2023
- 资助金额:50 万元
- 项目类别:面上项目
相似海外基金
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
SHF: Small: MaPaMaP: Massively Parallel Solving of Math Problems
SHF:小型:MaPaMaP:数学问题的大规模并行解决
- 批准号:
2006363 - 财政年份:2019
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: MaPaMaP: Massively Parallel Solving of Math Problems
SHF:小型:MaPaMaP:数学问题的大规模并行解决
- 批准号:
1813993 - 财政年份:2018
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant
SHF: Small: Solving the Problems of Scalability and Portability while Maximizing Performance of Multiprecision Scalar and Vector Arithmetic on Clusters of GPUs
SHF:小型:解决可扩展性和可移植性问题,同时最大限度地提高 GPU 集群上多精度标量和矢量算术的性能
- 批准号:
1525754 - 财政年份:2015
- 资助金额:
$ 44.9万 - 项目类别:
Standard Grant