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-capitalstrategy/src/hyperdensity.rs
Items
type BucketLevel const MAX_LEVEL const TRANSITION_CAP_PER_EDGE const REGIME_SIMILARITY const KIND_ASSET_BUCKET const KIND_JOINT_STATE type VertexId type AssetBucketPair type VertexWeight type PairWeight struct Transition enum BackendStorage impl BackendStorage struct HyperDensity impl HyperDensity static STORE const THRESHOLDS const DEFAULT_FORECAST_TAU_MS const FORECAST_MIN_SUPPORT static TAU struct ForecastNextState struct ForecastDrift struct Regime enum RegimeMode impl RegimeMode const CURRENT_REGIME_MIN_FRACTION struct TopEdge struct HyperDensityReport
Functions
By call-graph weight (PageRank; 1.0 is the average function). 79 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| BackendStorage::open_from_envsrc/hyperdensity.rs:173 | method | 26 | 3 | 2 | 1 | 11.4 | |
| storesrc/hyperdensity.rs:389 | fn | 3 | 1 | 17 | 1 | 9.5 | |
| HyperDensity::newsrc/hyperdensity.rs:262 | method | 9 | 1 | 2 | 1 | 9.1 | |
| edge_to_pairssrc/hyperdensity.rs:139 | fn | 5 | 1 | 11 | 1 | 4.3 | |
| parse_ab_vidsrc/hyperdensity.rs:128 | fn | 8 | 1 | 1 | 0 | 4.1 | |
| edge_countssrc/hyperdensity.rs:146 | fn | 7 | 1 | 10 | 0 | 3 | |
| pair_covariancesrc/hyperdensity.rs:650 | fn | 44 | 10 | 4 | 3 | 2.7 | |
| bucket_returnsrc/hyperdensity.rs:493 | fn | 10 | 5 | 4 | 3 | 2.5 | |
| observe_joint_state_kindsrc/hyperdensity.rs:546 | fn | 45 | 7 | 1 | 1 | 2.4 | |
| bucket_center_zsrc/hyperdensity.rs:867 | fn | 3 | 1 | 6 | 0 | 2.4 | |
| forecast_snapshotsrc/hyperdensity.rs:982 | fn | 39 | 3 | 2 | 3 | 2.3 | |
| observe_joint_statesrc/hyperdensity.rs:532 | fn | 3 | 1 | 13 | 1 | 2.2 | |
| project_target_distribution_fuzzysrc/hyperdensity.rs:722 | fn | 79 | 10 | 4 | 3 | 1.9 | |
| mine_regimessrc/hyperdensity.rs:1159 | fn | 7 | 3 | 4 | 4 | 1.7 | |
| forecast_tau_mssrc/hyperdensity.rs:930 | fn | 11 | 2 | 3 | 0 | 1.7 | |
| last_observed_statesrc/hyperdensity.rs:856 | fn | 9 | 1 | 6 | 2 | 1.6 | |
| compare_regimessrc/hyperdensity.rs:1317 | fn | 8 | 1 | 3 | 0 | 1.6 | |
| total_observationssrc/hyperdensity.rs:1701 | fn | 3 | 1 | 6 | 1 | 1.6 | |
| current_regimesrc/hyperdensity.rs:1390 | fn | 28 | 9 | 6 | 3 | 1.6 | |
| reportsrc/hyperdensity.rs:1639 | fn | 52 | 1 | 5 | 6 | 1.4 | |
| reset_for_testssrc/hyperdensity.rs:394 | fn | 5 | 2 | 8 | 2 | 1.2 | |
| coarse_bucketsrc/hyperdensity.rs:504 | fn | 9 | 3 | 1 | 0 | 1.2 | |
| fine_bucketsrc/hyperdensity.rs:514 | fn | 4 | 1 | 1 | 0 | 1.2 | |
| bucket_coarse_enabledsrc/hyperdensity.rs:520 | fn | 3 | 1 | 1 | 1 | 1.2 | |
| memory_usage_snapshotsrc/hyperdensity.rs:1709 | fn | 19 | 2 | 3 | 2 | 1.2 | |
| forecast_asset_drift_with_tausrc/hyperdensity.rs:1052 | fn | 43 | 9 | 4 | 1 | 1.1 | |
| ab_vidsrc/hyperdensity.rs:106 | fn | 3 | 1 | 2 | 0 | 1.1 | |
| RegimeMode::from_envsrc/hyperdensity.rs:1142 | method | 3 | 1 | 2 | 1 | 1.1 | |
| compare_joint_recordssrc/hyperdensity.rs:1310 | fn | 6 | 1 | 2 | 0 | 1 | |
| assign_projected_regime_idssrc/hyperdensity.rs:1299 | fn | 6 | 2 | 2 | 1 | 1 | |
| compare_weighted_dimensionssrc/hyperdensity.rs:1306 | fn | 3 | 1 | 2 | 0 | 1 | |
| joint_eidsrc/hyperdensity.rs:113 | fn | 11 | 3 | 2 | 0 | 1 | |
| forecast_next_states_with_tausrc/hyperdensity.rs:1035 | fn | 3 | 1 | 3 | 1 | 1 | |
| rehydrate_edgessrc/hyperdensity.rs:413 | fn | 66 | 8 | 1 | 2 | 1 | |
| forecast_asset_driftsrc/hyperdensity.rs:1046 | fn | 3 | 1 | 2 | 2 | 0.9 | |
| query_jointsrc/hyperdensity.rs:598 | fn | 28 | 4 | 1 | 3 | 0.9 | |
| mine_regimes_projectedsrc/hyperdensity.rs:1197 | fn | 49 | 4 | 1 | 7 | 0.9 | |
| mine_regimes_componentssrc/hyperdensity.rs:1431 | fn | 114 | 17 | 1 | 6 | 0.9 | |
| mine_regimes_greedysrc/hyperdensity.rs:1549 | fn | 59 | 7 | 1 | 6 | 0.9 | |
| single_statesrc/hyperdensity.rs:1852 | fn | 5 | 1 | 4 | 0 | 0.8 | |
| forecast_next_statessrc/hyperdensity.rs:1029 | fn | 3 | 1 | 2 | 2 | 0.8 | |
| query_cooccurrence_weightssrc/hyperdensity.rs:1347 | fn | 18 | 3 | 1 | 4 | 0.8 | |
| accumulate_projected_regime_weightssrc/hyperdensity.rs:1326 | fn | 20 | 5 | 2 | 0 | 0.8 | |
| project_target_marginalsrc/hyperdensity.rs:805 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| project_target_distribution_pairwisesrc/hyperdensity.rs:819 | fn | 35 | 7 | 2 | 1 | 0.8 | |
| regime_min_countsrc/hyperdensity.rs:72 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| jaccardsrc/hyperdensity.rs:1609 | fn | 5 | 2 | 2 | 1 | 0.7 | |
| transition_forecastsrc/hyperdensity.rs:871 | fn | 31 | 3 | 1 | 3 | 0.6 | |
| vertex_cooccur_minsrc/hyperdensity.rs:1171 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| live_joint_recordssrc/hyperdensity.rs:1251 | fn | 27 | 3 | 1 | 4 | 0.6 | |
| projected_regime_avg_similaritysrc/hyperdensity.rs:1279 | fn | 19 | 6 | 1 | 0 | 0.6 | |
| eviction_capsrc/hyperdensity.rs:58 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| project_target_distributionsrc/hyperdensity.rs:703 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| BackendStorage::graphsrc/hyperdensity.rs:200 | method | 7 | 2 | 0 | 0 | 0.5 | |
| BackendStorage::add_vertexsrc/hyperdensity.rs:208 | method | 7 | 2 | 0 | 0 | 0.5 | |
| BackendStorage::upsert_edgesrc/hyperdensity.rs:216 | method | 7 | 2 | 0 | 0 | 0.5 | |
| BackendStorage::delete_edgesrc/hyperdensity.rs:224 | method | 7 | 2 | 0 | 0 | 0.5 | |
| BackendStorage::is_durablesrc/hyperdensity.rs:232 | method | 7 | 2 | 0 | 0 | 0.5 | |
| HyperDensity::ensure_vertexsrc/hyperdensity.rs:273 | method | 18 | 2 | 0 | 1 | 0.5 | |
| HyperDensity::bump_edgesrc/hyperdensity.rs:298 | method | 39 | 2 | 0 | 4 | 0.5 | |
| HyperDensity::maybe_evictsrc/hyperdensity.rs:345 | method | 40 | 8 | 0 | 5 | 0.5 | |
| query_conditionalsrc/hyperdensity.rs:628 | fn | 17 | 4 | 0 | 1 | 0.5 | |
| RegimeMode::as_strsrc/hyperdensity.rs:1146 | method | 7 | 3 | 0 | 0 | 0.5 | |
| backend_is_durablesrc/hyperdensity.rs:1697 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| bucket_return_is_zero_for_degenerate_inputssrc/hyperdensity.rs:1734 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| bucket_return_classifies_z_scores_in_fine_modesrc/hyperdensity.rs:1742 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| bucket_center_z_clamps_to_max_levelsrc/hyperdensity.rs:1754 | fn | 8 | 1 | 0 | 1 | 0.5 | |
| equal_weight_dimensions_have_a_stable_lexical_ordersrc/hyperdensity.rs:1764 | fn | 5 | 1 | 0 | 1 | 0.5 | |
| equal_count_joint_records_have_a_stable_dimension_ordersrc/hyperdensity.rs:1771 | fn | 19 | 1 | 0 | 1 | 0.5 | |
| equal_count_regimes_receive_stable_ids_from_their_exemplarsrc/hyperdensity.rs:1792 | fn | 23 | 1 | 0 | 1 | 0.5 | |
| observe_joint_state_records_observationsrc/hyperdensity.rs:1817 | fn | 13 | 1 | 0 | 4 | 0.5 | |
| observe_joint_state_ignores_emptysrc/hyperdensity.rs:1832 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| memory_usage_snapshot_has_expected_keyssrc/hyperdensity.rs:1842 | fn | 6 | 2 | 0 | 1 | 0.5 | |
| recency_weight_decays_with_agesrc/hyperdensity.rs:1859 | fn | 15 | 2 | 0 | 1 | 0.5 | |
| forecast_tau_ms_is_finite_and_clampedsrc/hyperdensity.rs:1876 | fn | 4 | 2 | 0 | 1 | 0.5 | |
| forecast_next_states_weighs_recent_transitions_highersrc/hyperdensity.rs:1882 | fn | 23 | 1 | 0 | 5 | 0.5 | |
| forecast_next_states_gates_on_min_supportsrc/hyperdensity.rs:1907 | fn | 15 | 1 | 0 | 6 | 0.5 | |
| forecast_asset_drift_is_positive_when_levels_head_upsrc/hyperdensity.rs:1924 | fn | 23 | 2 | 0 | 5 | 0.5 | |
| forecast_asset_drift_is_negative_when_levels_head_downsrc/hyperdensity.rs:1949 | fn | 20 | 2 | 0 | 5 | 0.5 |
Source not readable from this process.