Skip to content
1 viewer

rust 1,860,881 · typescript 235,770 · javascript 132,961 · python 20,426 · 6,411 files · digest 3bf1ccedeeb3 · built in 2 s · crystals off

allocation_from_weights

cre8_app_capitalstrategy::allocator::allocation_from_weights

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/allocator.rs:511 documented

104lines
6cyclomatic
2max nesting
44statements
0? exits
2params
1callers
6callees
0.7 (p63)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

Callers left, callees right, two hops each way (1 direct callers, 6 direct callees; the heaviest shown). Dashed edges are method calls resolved by name alone.

path · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 8 sitespath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitepath · 1 sitepath · 2 sitespath · 1 sitename · 1 sitecompute_plan_with_envelope_…app-capitalstrategy · cc 10cre8_app_capitalstrategy::decide::compute_plan_with_envelope_innercompute_allocation_with_str…app-capitalstrategy · cc 2cre8_app_capitalstrategy::allocator::compute_allocation_with_strategyallocation_from_weightsapp-capitalstrategy · cc 6cre8_app_capitalstrategy::allocator::allocation_from_weightsnow_msplatform-time · cc 1cre8_platform_time::now_mshorizon_bucket_nameapp-capitalstrategy · cc 7cre8_app_capitalstrategy::solver::horizon_bucket_nametotal_capitalapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::total_capitalactive_snapshotapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::active_snapshotadaptive_capital_per_oppapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::adaptive_capital_per_oppsanitizeapp-capitalstrategy · cc 2cre8_app_capitalstrategy::allocator::sanitizeconfigapp-capitalstrategy · cc 1cre8_app_capitalstrategy::config::configstateapp-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::statelive_capital_pool_usdapp-capitalstrategy · cc 2cre8_app_capitalstrategy::margin::live_capital_pool_usdforecast_multiplier_with_en…app-capitalstrategy · cc 3cre8_app_capitalstrategy::allocator::forecast_multiplier_with_enabledcapital_per_opp_from_multip…app-capitalstrategy · cc 1cre8_app_capitalstrategy::allocator::capital_per_opp_from_multipliersadaptive_multiplier_with_en…app-capitalstrategy · cc 3cre8_app_capitalstrategy::allocator::adaptive_multiplier_with_enabled

Control flow

Source not readable from this process.

Callers 1

Callees 6

Source not readable from this process.