[beta] Add mechanism to encourage contributions to codebase
See original GitHub issueIssue Description
As a developer, having a notification on beta challenges that tests are incomplete would help me find issues to work on.
As a product owner, having a notification of missing tests on beta challenges will reduce the number of incoming tickets and duplicate tickets because users will know the challenge is incomplete.
Additionally, I think this could be easier for users to spot opportunities to work on the project.
example:
"id": "587d7b89367417b2b2512b48",
"title": "Use the Spread Operator",
"description": [
"ES6 introduces the <dfn>spread operator</dfn>, which allows us to expand arrays and other expressions in places where multiple parameters or elements are expected.",
"The ES5 code below uses <code>apply()</code> to compute the maximum value in an array:",
"<blockquote>var arr = [6, 89, 3, 45];<br>var maximus = Math.max.apply(null, arr); // returns 89</blockquote>",
"We had to use <code>Math.max.apply(null, arr)</code> because <code>Math.max(arr)</code> returns <code>NaN</code>. <code>Math.max()</code> expects comma-separated arguments, but not an array.",
"The spread operator makes this syntax much better to read and maintain.",
"<blockquote>const arr = [6, 89, 3, 45];<br>const maximus = Math.max(...arr); // returns 89</blockquote>",
"<code>...arr</code> returns an unpacked array. In other words, it <em>spreads</em> the array.",
"However, the spread operator only works in-place, like in an argument to a function or in an array literal. The following code will not work:",
"<blockquote>const spreaded = ...arr; // will throw a syntax error</blockquote>",
"<hr>",
"Copy all contents of <code>arr1</code> into another array <code>arr2</code> using the spread operator."
],
"challengeSeed": [
"const arr1 = ['JAN', 'FEB', 'MAR', 'APR', 'MAY'];",
"const arr2 = [];",
"// change code below this line",
"// change code above this line",
"arr1.push('JUN');",
"console.log(arr2); // arr2 should not be affected"
],
"tests": [
"// Test arr2 is correct copy of arr1",
"// Test arr1 has changed",
"// Test spread operator was used"
]
Issue Analytics
- State:
- Created 7 years ago
- Reactions:2
- Comments:7 (7 by maintainers)
Top Results From Across the Web
Contributor guidelines | Substrate_ Docs
As a member of the community, you are invited and encouraged to contribute to the ever-evolving technical documentation and to the code base....
Read more >Design Principles - React
Codemods enable us to move forward without stagnation in a massive codebase, and we encourage you to use them as well. You can...
Read more >Seamless Donations: A Platform for Global Fundraising and ...
Seamless Donations is so easy to install and configure that your Web site can accept donations via your Stripe or PayPal account within...
Read more >Why GitLab Ultimate?
GitLab Ultimate is ideal for organizations aiming to drive business results while managing priorities, security, risk, and compliance.
Read more >Eclipse Foundation Project Handbook
Committers and project leads are added to a project via election. ... Many projects use Gerrit to reduce barriers and encourage contribution to...
Read more >Top Related Medium Post
No results found
Top Related StackOverflow Question
No results found
Troubleshoot Live Code
Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start FreeTop Related Reddit Thread
No results found
Top Related Hackernoon Post
No results found
Top Related Tweet
No results found
Top Related Dev.to Post
No results found
Top Related Hashnode Post
No results found
Top GitHub Comments
Yes, you can create issues on this issue tracker. We will triage as deemed necessary.
In addition, this could also be a good use of the Projects feature of Github to keep it organized on here and connect them to issues or pulls or assigning!