1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,956 · python 20,426 · 6,408 files · digest f04d4637f52b · built in 1.5 s · crystals off
crates/cre8-app-matching-model/src/synthetic_book.rs
Items
const SYNTHETIC_ASSET_PREFIX const SYNTHETIC_MARKET_ID const SYNTHETIC_EPOCH struct SyntheticBookConfig impl SyntheticBookConfig struct ZipfSampler impl ZipfSampler
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| SyntheticBookConfig::sizedsrc/synthetic_book.rs:70 | method | 13 | 1 | 9 | 0 | 2.2 | |
| generate_synthetic_booksrc/synthetic_book.rs:191 | fn | 51 | 9 | 12 | 7 | 1.4 | |
| smallsrc/synthetic_book.rs:269 | fn | 3 | 1 | 5 | 1 | 1.2 | |
| matching_result_digestsrc/synthetic_book.rs:255 | fn | 7 | 1 | 2 | 0 | 0.9 | |
| synthetic_asset_idsrc/synthetic_book.rs:86 | fn | 3 | 1 | 3 | 0 | 0.9 | |
| ZipfSampler::samplesrc/synthetic_book.rs:120 | method | 5 | 1 | 2 | 1 | 0.8 | |
| synthetic_peer_idsrc/synthetic_book.rs:90 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| synthetic_position_idsrc/synthetic_book.rs:94 | fn | 3 | 1 | 1 | 0 | 0.7 | |
| ZipfSampler::newsrc/synthetic_book.rs:108 | method | 11 | 4 | 1 | 0 | 0.7 | |
| draw_sidesrc/synthetic_book.rs:132 | fn | 25 | 7 | 1 | 3 | 0.7 | |
| draw_want_expressionsrc/synthetic_book.rs:161 | fn | 28 | 6 | 1 | 6 | 0.7 | |
| synthetic_book_digestsrc/synthetic_book.rs:244 | fn | 8 | 2 | 1 | 0 | 0.6 | |
| same_config_same_book_and_seed_changes_itsrc/synthetic_book.rs:274 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| every_position_passes_submit_validationsrc/synthetic_book.rs:284 | fn | 22 | 5 | 0 | 7 | 0.5 | |
| skew_concentrates_legs_on_hot_assetssrc/synthetic_book.rs:308 | fn | 17 | 3 | 0 | 3 | 0.5 | |
| width_expression_reciprocal_and_peer_knobs_take_effectsrc/synthetic_book.rs:327 | fn | 25 | 3 | 0 | 2 | 0.5 | |
| result_digest_ignores_the_cache_flagsrc/synthetic_book.rs:354 | fn | 7 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.