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

Remove old serde; update unit tests #96

Merged
merged 1 commit into from
Feb 8, 2020
Merged

Conversation

vvmnnnkv
Copy link
Member

@vvmnnnkv vvmnnnkv commented Feb 8, 2020

This PR is part of #83: as we currently have Protocols and Plans migrated to protobuf and simple demo working with that, we can now remove old serde code.

This change also adds more unit tests to cover new and existing code, and fixes some issues found while adding unit tests.

@codecov
Copy link

codecov bot commented Feb 8, 2020

Codecov Report

Merging #96 into master will increase coverage by 14.81%.
The diff coverage is 94.73%.

Impacted file tree graph

@@             Coverage Diff             @@
##           master      #96       +/-   ##
===========================================
+ Coverage   71.15%   85.97%   +14.81%     
===========================================
  Files          21       18        -3     
  Lines         676      556      -120     
  Branches       85       80        -5     
===========================================
- Hits          481      478        -3     
+ Misses        174       67      -107     
+ Partials       21       11       -10
Impacted Files Coverage Δ
src/types/pointer-tensor.js 100% <ø> (+33.33%) ⬆️
src/types/message.js 84.31% <ø> (+18.07%) ⬆️
src/syft.js 47.82% <ø> (ø) ⬆️
src/protobuf/index.js 92% <100%> (ø) ⬆️
src/types/torch.js 90.9% <100%> (+30.19%) ⬆️
src/types/placeholder.js 100% <100%> (+60%) ⬆️
src/types/protocol.js 100% <100%> (+23.07%) ⬆️
src/types/plan.js 95.45% <80%> (+25.08%) ⬆️
src/webrtc.js 90.66% <0%> (+5.33%) ⬆️
... and 3 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 5decbaa...842662d. Read the comment docs.

@vvmnnnkv vvmnnnkv added this to In progress in Model-centric Federated Learning via automation Feb 8, 2020
@vvmnnnkv vvmnnnkv moved this from In progress to Review in progress in Model-centric Federated Learning Feb 8, 2020
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
package.json Show resolved Hide resolved
Model-centric Federated Learning automation moved this from Review in progress to Reviewer approved Feb 8, 2020
@cereallarceny cereallarceny merged commit d93524d into master Feb 8, 2020
Model-centric Federated Learning automation moved this from Reviewer approved to Done Feb 8, 2020
@cereallarceny cereallarceny deleted the vvm/remove-serde branch February 8, 2020 18:23
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

2 participants