|
| 1 | +expr techNoun [bug, case, change, comment, feature, fix, log, note, problem, reason, report, repro, reproduction, request, response, scenario, screenshot, solution, step, summary, test, ticket, answer, example, explanation, idea, issue, update] |
| 2 | +expr requestNounHead @techNoun |
| 3 | +expr requestBareNounPhrase [@requestNounHead, (ADJ @requestNounHead), (ADJ ADJ @requestNounHead), (ADV ADJ @requestNounHead), (ADV ADJ ADJ @requestNounHead), (@requestNounHead @requestNounHead), (ADJ @requestNounHead @requestNounHead), (ADV ADJ @requestNounHead @requestNounHead)] |
| 4 | +expr narrativeNoun [portrait, nest, glass, hand, coin, toy, victor] |
| 5 | +expr narrativeBareNounPhrase [@narrativeNoun, (ADJ @narrativeNoun)] |
| 6 | + |
| 7 | +expr requestMissingDet <([get, provide, give, send, share, attach, include, add, need, want, see, submit, create, report, file, reproduce] @requestBareNounPhrase), ( )> |
| 8 | +expr narrativeVerbObjectMissingDet <([painted, built, dropped, raised, found, hid, cheered] @narrativeBareNounPhrase), ( )> |
| 9 | +expr narrativePrepObjectMissingDet <([in, on] [studio, tree, floor]), ( )> |
| 10 | + |
| 11 | +expr main [@requestMissingDet, @narrativeVerbObjectMissingDet, @narrativePrepObjectMissingDet] |
| 12 | + |
| 13 | +let message "Add a determiner before this noun phrase." |
| 14 | +let description "Detects likely missing determiners in common request phrases and offers to insert one where necessary." |
| 15 | +let kind "Grammar" |
| 16 | +let becomes [" the ", " a ", " an "] |
| 17 | + |
| 18 | +test "would it be possible to get reproducible example of this?" "would it be possible to get a reproducible example of this?" |
| 19 | +test "Would it be possible to get reproducible bug report?" "Would it be possible to get a reproducible bug report?" |
| 20 | +test "Please provide detailed reproduction of this issue." "Please provide a detailed reproduction of this issue." |
| 21 | +test "Can you send minimal test case?" "Can you send a minimal test case?" |
| 22 | +test "We need quick response." "We need a quick response." |
| 23 | +test "I can attach short log." "I can attach a short log." |
| 24 | +test "Please share minimal repro." "Please share a minimal repro." |
| 25 | +test "Could you submit small change?" "Could you submit a small change?" |
| 26 | +test "Please provide reproducible example, thanks." "Please provide a reproducible example, thanks." |
| 27 | +test "We should create clear summary." "We should create a clear summary." |
| 28 | +test "Please provide the report." "Please provide the report." |
| 29 | +test "Please provide your report." "Please provide your report." |
| 30 | +test "Please provide another report." "Please provide another report." |
| 31 | +test "Please provide more detailed report." "Please provide a more detailed report." |
| 32 | +test "We can file short ticket." "We can file a short ticket." |
| 33 | +test "Could you reproduce minimal scenario?" "Could you reproduce a minimal scenario?" |
| 34 | +test "Please send clear explanation." "Please send a clear explanation." |
| 35 | +test "We need simple fix." "We need a simple fix." |
| 36 | +test "I want quick update." "I want a quick update." |
| 37 | +test "Could you share detailed response?" "Could you share a detailed response?" |
| 38 | +test "Please attach short screenshot." "Please attach a short screenshot." |
| 39 | +test "We should include short note." "We should include a short note." |
| 40 | +test "Please give minimal reproduction." "Please give a minimal reproduction." |
| 41 | +test "Can you add brief comment?" "Can you add a brief comment?" |
| 42 | +test "We want new feature." "We want a new feature." |
| 43 | +test "They need clear solution." "They need a clear solution." |
| 44 | + |
| 45 | +allows "Please provide an example of this." |
| 46 | +allows "Please provide the example." |
| 47 | +allows "Please provide your example." |
| 48 | +allows "Please provide another example." |
| 49 | +test "We want detailed explanation." "We want a detailed explanation." |
| 50 | +test "We need quick answer." "We need a quick answer." |
| 51 | +test "Please send clear update." "Please send a clear update." |
| 52 | +test "Please provide brief summary." "Please provide a brief summary." |
| 53 | + |
| 54 | +test "The artist painted portrait in studio." "The artist painted a portrait in the studio." |
| 55 | +test "The bird built nest in tree." "The bird built a nest in the tree." |
| 56 | +test "The child dropped glass on floor." "The child dropped the glass on the floor." |
| 57 | +test "The student raised hand quietly." "The student raised a hand quietly." |
| 58 | +test "The child found coin outside." "The child found a coin outside." |
| 59 | +test "The child hid toy nearby." "The child hid a toy nearby." |
| 60 | +test "The crowd cheered victor loudly." "The crowd cheered the victor loudly." |
| 61 | + |
| 62 | +allows "Let's do this for good measure." |
| 63 | +allows "This is a test to make sure we don't split up paragraphs on newlines." |
| 64 | +allows "This URL is used by the console to properly generate URLs when using the Artisan command line tool." |
| 65 | +allows "The timezone is set to \"UTC\" by default as it is suitable for most use cases." |
| 66 | +allows "This option can be set to any locale for which you plan to have translation strings." |
| 67 | +allows "Use it to show ownership." |
| 68 | +allows "This rule attempts to find common errors with redundancy and contractions that may lead to confusion for readers." |
| 69 | +allows "ACF is a powerful tool that allows you to add custom fields to your content, providing greater flexibility in how you manage and display information." |
| 70 | +allows "Historical records, colonial archives (however problematic their provenance), and oral histories from surviving communities, even if fragmented and distorted, provide crucial data points." |
| 71 | +allows "Traditional cartography relies on observable features – mountains, rivers, coastlines – to create representations of space." |
| 72 | +allows "My grandfather built timepieces to mark the passage of moments." |
| 73 | +allows "I made a note to encourage Eleanor to share more stories with him; reminiscing often proved beneficial for patients struggling with respiratory distress." |
0 commit comments