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-location/src/generator.rs
Items
const LOCATION_PREFIX const DEFAULT_WINDOW_SECS const DEFAULT_TOP_K_PLACES const DEFAULT_TOP_K_PEERS struct PlaceStats struct PeerCoStats struct LocationBallotSurvey struct Accum struct GenerateBallotConfig
Functions
By call-graph weight (PageRank; 1.0 is the average function). 43 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| place_from_assetsrc/generator.rs:122 | fn | 5 | 2 | 3 | 0 | 2.9 | |
| possrc/generator.rs:418 | fn | 22 | 3 | 12 | 0 | 2.7 | |
| survey_peerssrc/generator.rs:192 | fn | 37 | 6 | 5 | 3 | 1.8 | |
| run_generate_ballotsrc/generator.rs:651 | fn | 12 | 1 | 4 | 7 | 1.5 | |
| build_ballotsrc/generator.rs:297 | fn | 39 | 6 | 4 | 3 | 1.4 | |
| survey_placessrc/generator.rs:128 | fn | 57 | 9 | 3 | 1 | 1.3 | |
| shared_liquiditysrc/generator.rs:277 | fn | 14 | 4 | 1 | 0 | 1.3 | |
| input_u64src/generator.rs:697 | fn | 3 | 1 | 2 | 0 | 1.3 | |
| memory_contextsrc/generator.rs:406 | fn | 3 | 1 | 3 | 1 | 1.2 | |
| filter_recentsrc/generator.rs:111 | fn | 8 | 3 | 3 | 1 | 1.1 | |
| input_stringsrc/generator.rs:693 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| survey_puresrc/generator.rs:99 | fn | 11 | 1 | 3 | 2 | 1 | |
| busiest_placesrc/generator.rs:232 | fn | 11 | 3 | 1 | 1 | 1 | |
| positions_by_peersrc/generator.rs:244 | fn | 9 | 3 | 1 | 0 | 1 | |
| peer_shared_liquiditysrc/generator.rs:254 | fn | 19 | 5 | 1 | 1 | 1 | |
| where_questionsrc/generator.rs:337 | fn | 25 | 1 | 1 | 0 | 0.9 | |
| whom_questionsrc/generator.rs:363 | fn | 34 | 1 | 1 | 0 | 0.9 | |
| surveysrc/generator.rs:86 | fn | 11 | 1 | 2 | 3 | 0.8 | |
| context_with_positionssrc/generator.rs:410 | fn | 7 | 2 | 2 | 2 | 0.8 | |
| generate_ballot_peer_idsrc/generator.rs:680 | fn | 5 | 1 | 1 | 1 | 0.7 | |
| generate_ballot_top_k_placessrc/generator.rs:686 | fn | 6 | 1 | 1 | 1 | 0.7 | |
| generate_ballot_configsrc/generator.rs:671 | fn | 8 | 1 | 1 | 3 | 0.7 | |
| empty_generate_ballot_responsesrc/generator.rs:701 | fn | 10 | 1 | 1 | 0 | 0.7 | |
| upsert_generated_ballotsrc/generator.rs:712 | fn | 4 | 1 | 1 | 1 | 0.7 | |
| generated_ballot_responsesrc/generator.rs:717 | fn | 11 | 1 | 1 | 0 | 0.7 | |
| place_extracted_from_location_assetsrc/generator.rs:442 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| places_ranked_by_engagementsrc/generator.rs:450 | fn | 16 | 1 | 0 | 2 | 0.5 | |
| place_survey_counts_want_volume_and_unlimited_top_ksrc/generator.rs:468 | fn | 11 | 1 | 0 | 2 | 0.5 | |
| peer_co_occurrence_counts_match_edgessrc/generator.rs:481 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| peer_co_occurrence_ties_sort_by_peer_idsrc/generator.rs:497 | fn | 14 | 1 | 0 | 2 | 0.5 | |
| empty_local_peer_returns_no_peerssrc/generator.rs:512 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| missing_local_peer_returns_no_peerssrc/generator.rs:519 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| filter_recent_zero_window_keeps_everythingsrc/generator.rs:525 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| filter_recent_drops_old_positionssrc/generator.rs:532 | fn | 5 | 1 | 0 | 2 | 0.5 | |
| survey_loads_positions_from_storesrc/generator.rs:539 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| ballot_emits_both_questions_when_data_presentsrc/generator.rs:548 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| generated_options_carry_only_tokens_ballot_substitutessrc/generator.rs:562 | fn | 29 | 3 | 0 | 3 | 0.5 | |
| no_data_yields_no_ballotsrc/generator.rs:593 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| run_generate_ballot_returns_empty_when_pool_has_no_location_datasrc/generator.rs:599 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| run_generate_ballot_accepts_peer_id_fallback_and_default_limitssrc/generator.rs:612 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| run_generate_ballot_upserts_generated_ballotsrc/generator.rs:620 | fn | 24 | 1 | 0 | 3 | 0.5 | |
| build_places_summarysrc/generator.rs:729 | fn | 12 | 2 | 0 | 0 | 0.5 | |
| build_peers_summarysrc/generator.rs:742 | fn | 12 | 2 | 0 | 0 | 0.5 |
Source not readable from this process.