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/predict.rs
Items
const DEFAULT_TTL_SECS const DEFAULT_DECAY_HALF_LIFE const DEFAULT_HORIZON_SECS const BUCKET_COUNT const BUCKET_RANGE const MAX_PROJECTION_ASSETS const MAX_PROJECTION_POSITIONS const SECONDS_PER_YEAR const MIN_BAR_SAMPLES const MIN_BAR_SAMPLES const DEFAULT_SURFACE_HORIZONS const SURFACE_BUCKET_COUNT const SURFACE_BUCKET_RANGE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 40 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| sanitizesrc/predict.rs:276 | fn | 3 | 2 | 9 | 0 | 2.8 | |
| extract_pricessrc/predict.rs:995 | fn | 30 | 7 | 2 | 0 | 1.4 | |
| compute_density_surface_2dsrc/predict.rs:733 | fn | 87 | 6 | 4 | 10 | 1.3 | |
| convolve_surfacesrc/predict.rs:526 | fn | 57 | 3 | 5 | 4 | 1.2 | |
| compute_prediction_surfacesrc/predict.rs:190 | fn | 9 | 1 | 3 | 2 | 1.2 | |
| compute_asset_correlationssrc/predict.rs:585 | fn | 19 | 3 | 2 | 6 | 1.2 | |
| compute_prediction_surface_with_pricessrc/predict.rs:203 | fn | 66 | 2 | 3 | 5 | 1.2 | |
| compute_price_densitysrc/predict.rs:319 | fn | 92 | 9 | 2 | 8 | 1 | |
| autocorr_half_life_secssrc/predict.rs:952 | fn | 39 | 9 | 1 | 3 | 0.8 | |
| build_paint_contextsrc/predict.rs:415 | fn | 47 | 3 | 2 | 7 | 0.7 | |
| mutate_positionssrc/predict.rs:34 | fn | 21 | 5 | 2 | 0 | 0.7 | |
| build_projected_bucketssrc/predict.rs:93 | fn | 88 | 5 | 1 | 4 | 0.7 | |
| apply_time_decaysrc/predict.rs:280 | fn | 11 | 3 | 1 | 1 | 0.7 | |
| select_top_assetssrc/predict.rs:293 | fn | 16 | 4 | 1 | 0 | 0.7 | |
| identity_correlation_matrixsrc/predict.rs:605 | fn | 9 | 2 | 1 | 0 | 0.7 | |
| collect_asset_returnssrc/predict.rs:615 | fn | 21 | 3 | 1 | 3 | 0.7 | |
| common_return_timestampssrc/predict.rs:637 | fn | 10 | 1 | 1 | 0 | 0.7 | |
| mean_returnssrc/predict.rs:648 | fn | 14 | 1 | 1 | 0 | 0.7 | |
| return_std_devssrc/predict.rs:663 | fn | 17 | 1 | 1 | 0 | 0.7 | |
| fill_pearson_correlationssrc/predict.rs:681 | fn | 34 | 7 | 1 | 0 | 0.7 | |
| project_bucketsrc/predict.rs:60 | fn | 30 | 1 | 1 | 5 | 0.6 | |
| sigmoidsrc/predict.rs:272 | fn | 3 | 1 | 1 | 0 | 0.6 | |
| closest_envelope_namesrc/predict.rs:822 | fn | 11 | 3 | 1 | 0 | 0.6 | |
| uniform_densitysrc/predict.rs:834 | fn | 9 | 1 | 1 | 0 | 0.6 | |
| build_bucket_densitysrc/predict.rs:844 | fn | 21 | 4 | 1 | 1 | 0.6 | |
| compute_surface_diagnosticssrc/predict.rs:867 | fn | 81 | 10 | 1 | 2 | 0.6 | |
| internal_positionsrc/predict.rs:1053 | fn | 11 | 1 | 1 | 1 | 0.6 | |
| compute_vwap_statssrc/predict.rs:464 | fn | 13 | 5 | 1 | 0 | 0.6 | |
| compute_signed_flowsrc/predict.rs:480 | fn | 21 | 5 | 1 | 1 | 0.6 | |
| hour_of_day_utcsrc/predict.rs:503 | fn | 7 | 1 | 1 | 1 | 0.6 | |
| pick_active_regime_exemplarsrc/predict.rs:513 | fn | 4 | 1 | 1 | 1 | 0.6 | |
| depth_snapshot_forsrc/predict.rs:519 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| compute_prediction_surface_with_empty_inputs_does_not_panicsrc/predict.rs:1032 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| convolve_surface_with_empty_surface_returns_empty_expectationssrc/predict.rs:1040 | fn | 6 | 1 | 0 | 2 | 0.5 | |
| compute_density_surface_2d_with_empty_horizons_returns_empty_slicessrc/predict.rs:1048 | fn | 4 | 1 | 0 | 1 | 0.5 | |
| surface_projects_internal_assets_when_the_universe_prices_themsrc/predict.rs:1066 | fn | 24 | 1 | 0 | 4 | 0.5 | |
| extract_prices_falls_back_to_the_internal_book_sidesrc/predict.rs:1092 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| test_incremental_matcher_consistencysrc/predict.rs:1106 | fn | 46 | 1 | 0 | 4 | 0.5 | |
| test_depth_support_paint_modulates_densitysrc/predict.rs:1154 | fn | 21 | 1 | 0 | 3 | 0.5 | |
| test_compute_asset_correlations_identity_and_calculationsrc/predict.rs:1177 | fn | 8 | 1 | 0 | 1 | 0.5 |
Source not readable from this process.