oscoin / osrank-rs

A pre-alpha osrank implementation in Rust.
http://oscoin.io/
3 stars 3 forks source link

Fix #88 (pass rngSeed CLI) #91

Closed adinapoli-mndc closed 5 years ago

adinapoli-mndc commented 5 years ago

Fixes #88. Now osrank-rank can be passed an extra --initial-seed <u64> argument to override the initial RNG seed. For example:

RUST_LOG=debug ./target/release/osrank-rank \
--contribs ../osrank-rs-ecosystems/ecosystems/cargo_contributions.csv \
--deps ../osrank-rs-ecosystems/ecosystems/cargo_dependencies.csv \
--deps-meta ../osrank-rs-ecosystems/ecosystems/cargo_dependencies_meta.csv \
-o ../cargo_rank3.csv --iter 1 --initial-seed 42

Fixes #88 .

adinapoli-mndc commented 5 years ago

@MeBrei I am skipping the usual review-merge feedback cycle to expedite this, so that I can unblock Ank & Andrew 😉