Skip to content
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

go stats: new availability v3 formula #2896

Merged
merged 5 commits into from
May 11, 2020
Merged

Conversation

pro-wh
Copy link
Contributor

@pro-wh pro-wh commented May 7, 2020

here's the implementation of the new availability score v3 for May

@codecov
Copy link

codecov bot commented May 7, 2020

Codecov Report

Merging #2896 into master will increase coverage by 0.13%.
The diff coverage is n/a.

Impacted file tree graph

@@            Coverage Diff             @@
##           master    #2896      +/-   ##
==========================================
+ Coverage   67.80%   67.94%   +0.13%     
==========================================
  Files         352      352              
  Lines       34235    34232       -3     
==========================================
+ Hits        23214    23259      +45     
+ Misses       8032     7974      -58     
- Partials     2989     2999      +10     
Impacted Files Coverage Δ
go/common/grpc/policy/policy.go 64.38% <0.00%> (-6.85%) ⬇️
go/common/cbor/codec.go 77.14% <0.00%> (-5.72%) ⬇️
go/consensus/tendermint/apps/registry/query.go 80.00% <0.00%> (-5.00%) ⬇️
go/storage/api/root_cache.go 72.41% <0.00%> (-4.60%) ⬇️
.../consensus/tendermint/apps/epochtime_mock/state.go 78.72% <0.00%> (-4.26%) ⬇️
go/storage/mkvs/tree.go 89.28% <0.00%> (-3.58%) ⬇️
go/consensus/tendermint/registry/registry.go 68.89% <0.00%> (-3.15%) ⬇️
go/storage/mkvs/insert.go 87.75% <0.00%> (-2.73%) ⬇️
go/common/sgx/ias/mock.go 69.23% <0.00%> (-2.20%) ⬇️
go/keymanager/client/client.go 80.73% <0.00%> (-1.84%) ⬇️
... and 23 more

Continue to review full report at Codecov.

Legend - Click here to learn more
Δ = absolute <relative> (impact), ø = not affected, ? = missing data
Powered by Codecov. Last update 8868334...9e9c6b9. Read the comment docs.

@kostko kostko added the c:extra Category: extra label May 8, 2020
.changelog/2896.feature.md Show resolved Hide resolved
lastCommitHeight := height - 1

// Get validators.
// Hypothesis: this gets the validator set with priorities after they're incremented to get the round 0
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I assume you checked that this is actually the case?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I get the gist of it now

go/extra/stats/cmd/stats.go Show resolved Hide resolved
@pro-wh pro-wh force-pushed the pro-wh/feature/roundrobin branch from caaf7d6 to bf55c72 Compare May 8, 2020 18:10
@pro-wh pro-wh requested a review from kostko May 8, 2020 18:11
@pro-wh pro-wh force-pushed the pro-wh/feature/roundrobin branch from bf55c72 to 9e9c6b9 Compare May 11, 2020 17:40
@pro-wh pro-wh merged commit cdcc044 into master May 11, 2020
@pro-wh pro-wh deleted the pro-wh/feature/roundrobin branch May 11, 2020 17:58
pro-wh added a commit that referenced this pull request Jun 4, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
c:extra Category: extra
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants