TL;DR
RulePad introduces intuitive techniques for authoring design rules using snippets and semi-natural language, making rule creation more accessible and efficient for developers compared to existing specialized tools.
Contribution
The paper presents novel snippet-based and semi-natural language methods for authoring design rules, implemented in the RulePad tool to improve usability and effectiveness.
Findings
Participants authored 13 times more query elements with RulePad.
RulePad significantly reduced authoring time.
Users showed greater willingness to adopt RulePad.
Abstract
Good documentation offers the promise of enabling developers to easily understand design decisions. Unfortunately, in practice, design documents are often rarely updated, becoming inaccurate, incomplete, and untrustworthy. A better solution is to enable developers to write down design rules which are checked against code for consistency. But existing rule checkers require learning specialized query languages or program analysis frameworks, creating a barrier to writing project-specific rules. We introduce two new techniques for authoring design rules: snippet-based authoring and semi-natural-language authoring. In snippet-based authoring, developers specify characteristics of elements to match by writing partial code snippets. In semi-natural language authoring, a textual representation offers a representation for understanding design rules and resolving ambiguities. We implemented…
Peer Reviews
No public reviews on file for this paper yet. If you reviewed it on a platform where reviews are public (OpenReview, ICLR, NeurIPS, ICML), you can paste yours below so the community can read it here.
Code & Models
Videos
No videos yet. Explain this paper in a talk, walkthrough, or lecture? Add one.
