-
Notifications
You must be signed in to change notification settings - Fork 12
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge remote-tracking branch 'pokt/issues/517/refactor/app-module' in…
…to issues/517/refactor/session-module * pokt/issues/517/refactor/app-module: [Code Health] test: add makefile target for E2E param update tests (#558) [Relayminer] Query for on-chain session param `num_blocks_per_session` (#538) chore: udpate comments refactor: rename methods which use default shared params with suffix `WithDefaultParams` [Relay Mining] Relay Mining math helpers (#549) [Relay Mining] Scaffold the RelayMiningDifficulty type (#548)
- Loading branch information
Showing
46 changed files
with
5,889 additions
and
200 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,15 @@ | ||
temperature: 0.5 | ||
maxTokens: 4096 | ||
--- | ||
<system> | ||
You are a principal software engineer. | ||
</system> | ||
|
||
{{{ input }}} | ||
|
||
You have been provided two files: | ||
1. A source code file | ||
2. A unit test file | ||
|
||
Please provide a list of unit test names/descriptions that you believe | ||
are still missing. Do not actually implement them. |
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,17 @@ | ||
temperature: 0.5 | ||
maxTokens: 4096 | ||
--- | ||
<system> | ||
You are a principal software engineer. | ||
</system> | ||
|
||
{{{ input }}} | ||
|
||
Write unit tests for the code selected., following each of these instructions: | ||
- Follow the best and latests practices of golang | ||
- Where appropriate use `github.com/stretchr/testify/require` | ||
- If necessary, create a tests struct to iterate over: `tests := []struct { | ||
- Include at least 2 edge cases and 5 core cases | ||
- The tests should be complete and sophisticated | ||
- Give the tests just as chat output, don't edit any file | ||
- Just give the code, no need for an explanation |
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
Large diffs are not rendered by default.
Oops, something went wrong.
Oops, something went wrong.