-
Notifications
You must be signed in to change notification settings - Fork 53
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #454 from dictu-lang/develop
Release 0.21.0
- Loading branch information
Showing
42 changed files
with
911 additions
and
45 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,74 @@ | ||
name: Bug Report | ||
description: Create a bug-report to help us address errors and bugs. | ||
title: "[BUG]" | ||
labels: [bug] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the bug you encountered. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Current Behavior | ||
description: A concise description of what you're experiencing. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Expected Behavior | ||
description: A concise description of what you expected to happen. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Steps To Reproduce | ||
description: Steps to reproduce the behavior. | ||
placeholder: | | ||
1. In this environment... | ||
2. With this config... | ||
3. Run '...' | ||
4. See error... | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Anything else? | ||
description: | | ||
Links? References? Anything that will give us more context about the issue you are encountering! | ||
Tip: You can attach images or log files by clicking this area to highlight it and then dragging files in. | ||
validations: | ||
required: false | ||
|
||
--- | ||
name: Bug Report | ||
about: Create a bug-report to help us address errors and bugs. | ||
title: 'BUG' | ||
labels: "bug" | ||
|
||
--- | ||
|
||
**Description** | ||
|
||
<!--A clear and concise description of what the bug is.--> | ||
|
||
**Error Code:** | ||
|
||
Error Message Displayed: | ||
|
||
**Working Environment** | ||
|
||
Operating System (eg Linux): | ||
|
||
Dictu Version: | ||
|
||
**Screenshots** | ||
|
||
Please add a screenshot if applicable | ||
|
||
[Optional] **Additional Context** | ||
|
||
Add any other context about the problem here. |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1 @@ | ||
blank_issues_enabled: true |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,49 @@ | ||
name: Feature Request | ||
description: Suggest an idea for this project. | ||
title: "[FEATURE]" | ||
labels: [feature request] | ||
body: | ||
- type: checkboxes | ||
attributes: | ||
label: Is there an existing issue for this? | ||
description: Please search to see if an issue already exists for the feature you are requesting. | ||
options: | ||
- label: I have searched the existing issues | ||
required: true | ||
- type: textarea | ||
attributes: | ||
label: Is your feature request related to a problem? | ||
description: A clear and concise description of what the problem is. Ex. I'm always frustrated when [...] | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Describe the solution you'd like | ||
description: A clear and concise description of what you want to happen. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Describe alternatives you've considered | ||
description: A clear and concise description of any alternative solutions or features you've considered. | ||
validations: | ||
required: false | ||
- type: textarea | ||
attributes: | ||
label: Additional context | ||
description: Add any other context such as screenshots, schematics, about the feature request here. | ||
validations: | ||
required: false | ||
|
||
--- | ||
name: Feature Request | ||
about: Suggest an idea for this project | ||
title: '[FEATURE]' | ||
labels: "feature request" | ||
|
||
--- | ||
name: Feature/Enhancement request | ||
about: Suggest an idea for this project. | ||
title: "[FEATURE]" | ||
labels: feature request | ||
--- |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,53 @@ | ||
<!---- This is the PR Template !--> | ||
|
||
<!-- Make sure to follow each step so that your PR is explained and easy to read !--> | ||
|
||
<!-- This will allow maintainers and other potential contributors to understand the changes being carried out !--> | ||
|
||
<!--- Thanks for considering that !--> | ||
|
||
### Well detailed description of the change : | ||
|
||
<!-- Explain what you have done !--> | ||
|
||
I worked on the ..... | ||
|
||
# | ||
|
||
### Context of the change : | ||
|
||
<!-- Make sure to answer to these questions !--> | ||
|
||
- Why is this change required ? | ||
|
||
<!-- Link the issue below if you are resolving an issue !--> | ||
|
||
- Does it solve a problem ? (please link the issue) | ||
|
||
# | ||
|
||
### Type of change : | ||
|
||
<!-- Please select relevant options --> | ||
|
||
<!-- add a x in [ ] if true !--> | ||
|
||
<!-- Delete options that aren't relevant!--> | ||
|
||
|
||
- [ ] Bug fix | ||
|
||
- [ ] New feature | ||
|
||
- [ ] Breaking change (fix or feature that would cause existing functionality to not work as expected) | ||
|
||
# | ||
|
||
### Preview (Screenshots) : | ||
|
||
<!-- While providing screenshots, delete the text below !--> | ||
|
||
<!-- try as much as possible to explain each change in each screenshot !--> | ||
|
||
<p align="center">If it is possible, please link screenshots of your changes preview ! | ||
</p> |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,27 @@ | ||
def iterative_fibonacci(n) { | ||
var a = 0, b = 1, c = 0; | ||
for (var i = 1; i < n; i += 1) { | ||
c = a; | ||
a = b; | ||
b = b + c; | ||
} | ||
return b; | ||
} | ||
|
||
var memoization_dict = {}; | ||
def memoized_recursive_fibonacci(n) { | ||
if (memoization_dict.exists(n)) return memoization_dict[n]; | ||
if (n < 2) return n; | ||
var result = memoized_recursive_fibonacci(n - 2) + memoized_recursive_fibonacci(n - 1); | ||
memoization_dict[n] = result; | ||
return result; | ||
} | ||
|
||
def recursive_fibonacci(n) { | ||
if (n < 2) return n; | ||
return recursive_fibonacci(n - 2) + recursive_fibonacci(n - 1); | ||
} | ||
|
||
print('iterative_fibonacci(100) = {}'.format(iterative_fibonacci(100))); | ||
print('memoized_recursive_fibonacci(100) = {}'.format(memoized_recursive_fibonacci(100))); | ||
print('recursive_fibonacci(10) = {}'.format(recursive_fibonacci(10))); |
Oops, something went wrong.