anjor / anelace Goto Github PK
View Code? Open in Web Editor NEWLicense: Other
License: Other
The current output has inconsistent output likely due to concurrency synchronization problems. It's important for us to build out a set of test cases to ensure data integrity/determinism.
Steps to reproduce:
❯ cat ../maint/testdata/deterministic/random-1K-payload.dat | ./anelace --emit-stdout car-v1-stream --emit-stderr none | stream-commp
Ran on 10-core/10-thread Apple M1 Pro
Processing took 0.00 seconds using 0.94 vCPU and 5.97 MiB peak memory
Performing 2 system reads using 1.00 vCPU at about 1.43 MiB/s
Ingesting payload of: 1,024 bytes
Forming DAG covering: 1,079 bytes of 2 logical nodes
Dataset deduped into: 1,024 bytes over 1 unique leaf nodes
Linked as streams by: 55 bytes over 1 unique DAG-PB nodes
Taking a grand-total: 1,079 bytes, 105.37% of original, 0.9x smaller
CommPCid: baga6ea4seaqa2bkanxejmzehurpsnltfj62o4ti6py6frmiray4nrztaicleqdy
Payload: 1337 bytes
Unpadded piece: 2032 bytes
Padded piece: 2048 bytes
CARv1 detected in stream
and again:
❯ cat ../maint/testdata/deterministic/random-1K-payload.dat | ./anelace --emit-stdout car-v1-stream --emit-stderr none | stream-commp
Ran on 10-core/10-thread Apple M1 Pro
Processing took 0.00 seconds using 0.81 vCPU and 5.88 MiB peak memory
Performing 2 system reads using 0.99 vCPU at about 1.36 MiB/s
Ingesting payload of: 1,024 bytes
Forming DAG covering: 1,079 bytes of 2 logical nodes
Dataset deduped into: 1,024 bytes over 1 unique leaf nodes
Linked as streams by: 55 bytes over 1 unique DAG-PB nodes
Taking a grand-total: 1,079 bytes, 105.37% of original, 0.9x smaller
CommPCid: baga6ea4seaqpfe7llywlyuv7lthty7m3taugxv45dwji6vznylr33i5xkzfzijy
Payload: 1337 bytes
Unpadded piece: 2032 bytes
Padded piece: 2048 bytes
CARv1 detected in stream
Note commp is baga6ea4seaqa2bkanxejmzehurpsnltfj62o4ti6py6frmiray4nrztaicleqdy
in the first case and baga6ea4seaqpfe7llywlyuv7lthty7m3taugxv45dwji6vznylr33i5xkzfzijy
in the second case. These values should be identical.
this requires fixing tests
A declarative, efficient, and flexible JavaScript library for building user interfaces.
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
An Open Source Machine Learning Framework for Everyone
The Web framework for perfectionists with deadlines.
A PHP framework for web artisans
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
Some thing interesting about web. New door for the world.
A server is a program made to process requests and deliver data to clients.
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
Some thing interesting about visualization, use data art
Some thing interesting about game, make everyone happy.
We are working to build community through open source technology. NB: members must have two-factor auth.
Open source projects and samples from Microsoft.
Google ❤️ Open Source for everyone.
Alibaba Open Source for everyone
Data-Driven Documents codes.
China tencent open source team.