Skip to content
1 viewer

rust 1,863,570 · typescript 235,774 · javascript 133,179 · python 20,426 · 6,416 files · digest 72c4f5c61f73 · built in 1.7 s · crystals off

crates/cre8-app-capitalstrategy/src/allocator.rs

cre8-app-capitalstrategy · module allocator · src · 865 lines (586 code, 197 comment) · sha 56924dd6c6bb9adf

Items

const CAPITAL_PER_OPP const MAX_PER_ASSET_FRAC const ELIGIBILITY_THRESHOLD const UNATTRIBUTED_KEY const REALIZED_WINDOW const ADAPTIVE_MIN_SAMPLES const ADAPTIVE_GAIN struct AllocatorState static STATE const REGIME_MEMBERSHIP_MIN_FRACTION const FORECAST_DISCOUNT_FLOOR struct Eval

Functions

By call-graph weight (PageRank; 1.0 is the average function). 35 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
statesrc/allocator.rs:76fn31704.4
multiplier_from_meansrc/allocator.rs:147fn62301.4
regime_lit_fractionsrc/allocator.rs:212fn82101.3
candidate_budgetsrc/allocator.rs:618fn72301.2
pairssrc/allocator.rs:749fn31301.1
total_capitalsrc/allocator.rs:32fn31311
active_snapshotsrc/allocator.rs:117fn31311
compute_allocationsrc/allocator.rs:486fn41211
guardsrc/allocator.rs:667fn31411
reset_for_testssrc/allocator.rs:656fn52910.9
departure_probabilitysrc/allocator.rs:225fn188310.9
compute_continuous_allocationsrc/allocator.rs:320fn16412370.9
forecast_discount_multipliersrc/allocator.rs:248fn103200.9
forecast_multiplier_with_enabledsrc/allocator.rs:274fn223230.9
compute_allocation_with_strategysrc/allocator.rs:496fn102130.8
record_opensrc/allocator.rs:82fn153210.8
capital_per_opp_from_multiplierssrc/allocator.rs:300fn31200.8
forecastsrc/allocator.rs:741fn71200.8
check_candidate_allocationsrc/allocator.rs:629fn215420.8
live_departure_probabilitysrc/allocator.rs:262fn61140.7
allocation_from_weightssrc/allocator.rs:511fn1046160.7
adaptive_multiplier_with_enabledsrc/allocator.rs:157fn133220.7
adaptive_capital_per_oppsrc/allocator.rs:309fn71240.7
sanitizesrc/allocator.rs:651fn32200.7
record_realized_outcomesrc/allocator.rs:133fn125210.7
scoredsrc/allocator.rs:671fn201200.7
record_closesrc/allocator.rs:99fn175110.6
allocation_respects_open_capital_across_multiple_firessrc/allocator.rs:693fn171050.5
strongest_rate_can_receive_double_base_notionalsrc/allocator.rs:712fn111040.5
adaptive_multiplier_curve_is_bounded_and_signedsrc/allocator.rs:725fn133010.5
departure_probability_sums_mass_off_the_current_regimesrc/allocator.rs:754fn231030.5
departure_probability_fails_open_on_missing_or_bad_datasrc/allocator.rs:779fn121030.5
forecast_discount_is_bounded_and_composes_with_adaptivesrc/allocator.rs:793fn261030.5
forecast_gate_respects_enable_flag_and_fails_open_livesrc/allocator.rs:821fn121020.5
adaptive_gate_needs_min_samples_and_respects_enable_flagsrc/allocator.rs:835fn303060.5

Source not readable from this process.