generated from opentensor/bittensor-subnet-template
-
Notifications
You must be signed in to change notification settings - Fork 15
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
feat: trending queries #301
Merged
Merged
Changes from 38 commits
Commits
Show all changes
40 commits
Select commit
Hold shift + click to select a range
d7bdf88
chore: installs sdk 0.2.5 locally, preps branch
grantdfoster ae05b2d
feat: incorporates new sdk, removes count and twitter config, updates…
grantdfoster d17dd34
fix: timedelta
grantdfoster 89c5e39
fix: validation function name
grantdfoster cbcf1a8
feat: miners define max count
grantdfoster 69b8853
fix: cleans up timeout and counts
grantdfoster 8774387
feat: reduce randomness (#302)
grantdfoster 0bf8f15
fix: increased test coverage
grantdfoster d917ff5
fix: cleans up tests
grantdfoster 1ef9dca
fix: makefile
grantdfoster 79a604f
fix: pushing config
grantdfoster 7bfa485
fix: backup fetch
grantdfoster 780fcd7
fix: naming
grantdfoster 9f923a7
fix: config and mapping
grantdfoster 37933ee
fix: removes mock
grantdfoster d7c68d1
fix: config for network
grantdfoster f069a95
chore: ports entire config
grantdfoster 9c88bc1
fix: adds tests
grantdfoster 1792cb3
fix: reverts makefile
grantdfoster 4f5ad44
fix: refactor forwarder
grantdfoster 9745fb8
fix: since
grantdfoster 1a98740
fix: update config
grantdfoster afafb01
fix: tempo blocktime
grantdfoster d5b003e
fix: test error string
grantdfoster efc3679
fix: bump version
grantdfoster 3e27141
fix: more tests
grantdfoster 8be84a8
fix: scoring test
grantdfoster 0b1f1b9
fix: cleanup unused files like docker and scrips
grantdfoster 38c23da
fix: remove miner test for protocol
grantdfoster e4bffa4
feat: adds max tweet count and refactors synapses
grantdfoster abe2118
fix: healthcheck import
grantdfoster 3aae362
fix: import
grantdfoster d35e655
fix: reverts makefile for deploy
grantdfoster f970b8b
fix: Fix tests by adding registered miner and validator wallets as se…
5u6r054 d7371f7
Merge branch 'main' into feat--trending-queries
grantdfoster 470887d
fix: vali test
grantdfoster bfcf40a
fix: twitter limit and makefile logging
grantdfoster 161e0bb
fix: state loading guards
grantdfoster 0a626d6
fix: improved error handling in recent tweets
grantdfoster 14fa81e
fix: adds requests library for better error handling
grantdfoster File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
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 |
---|---|---|
@@ -1,3 +1,3 @@ | ||
VALIDATOR_API_HOST=localhost | ||
VALIDATOR_API_HOST=127.0.0.1 | ||
VALIDATOR_API_PORT=8000 | ||
ORACLE_BASE_URL=http://localhost:8080/api/v1 | ||
ORACLE_BASE_URL=http://127.0.0.1:8080/api/v1 |
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,34 @@ | ||
{ | ||
"mainnet": { | ||
"organic": { | ||
"sample_size": 3, | ||
"timeout": 10 | ||
}, | ||
"synthetic": { | ||
"sample_size": 10, | ||
"timeout": 40, | ||
"blocks": 3 | ||
}, | ||
"healthcheck": { | ||
"timeout": 10, | ||
"sample_size": 25, | ||
"blocks": 360 | ||
} | ||
}, | ||
"testnet": { | ||
"organic": { | ||
"sample_size": 3, | ||
"timeout": 10 | ||
}, | ||
"synthetic": { | ||
"timeout": 10, | ||
"sample_size": 5, | ||
"blocks": 1 | ||
}, | ||
"healthcheck": { | ||
"timeout": 6, | ||
"sample_size": 25, | ||
"blocks": 180 | ||
} | ||
} | ||
} |
This file was deleted.
Oops, something went wrong.
This file was deleted.
Oops, something went wrong.
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
would that make sense that the sample size of the organic is defined by the requester instead of the miner?
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
we can definitely make a ticket for that - my concern is that there would need to be a hard-coded limit on the organic sample size, otherwise someone could spam the entire network and request 240 miners / call