Skip to content
1 viewer

rust 1,859,748 · typescript 235,215 · javascript 132,950 · python 20,426 · 6,405 files · digest 9ba5c926519d · built in 1.7 s · crystals off

write_snapshot

cre8_app_capitalstrategy::persistence::write_snapshot

fn · cre8-app-capitalstrategy · crates/cre8-app-capitalstrategy/src/persistence.rs:235 documented

13lines
2cyclomatic
1max nesting
9statements
4? exits
1params
1callers
3callees
0.6 (p47)call-graph weight

Crystal

no crystal was derived for this function

Call neighbourhood

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

path · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 sitename · 1 sitepath · 1 sitepath · 1 sitepath · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitename · 1 sitemethod · 1 siterun_slow_path_if_dueapp-capitalstrategy · cc 5cre8_app_capitalstrategy::init::run_slow_path_if_duesnapshot_if_dueapp-capitalstrategy · cc 6cre8_app_capitalstrategy::persistence::snapshot_if_duewrite_snapshotapp-capitalstrategy · cc 2cre8_app_capitalstrategy::persistence::write_snapshotAppViewStructure::parentruntime-contracts · cc 1cre8_runtime_contracts::view_structure::AppViewStructure::parentsnapshot_pathapp-capitalstrategy · cc 1cre8_app_capitalstrategy::persistence::snapshot_pathbuild_snapshotapp-capitalstrategy · cc 3cre8_app_capitalstrategy::persistence::build_snapshotdata_dirapp-capitalstrategy · cc 3cre8_app_capitalstrategy::persistence::data_dirtotal_observationsapp-capitalstrategy · cc 1cre8_app_capitalstrategy::hyperdensity::total_observationscurrent_modeapp-capitalstrategy · cc 1cre8_app_capitalstrategy::persistence::current_modesnapshot_entriesapp-capitalstrategy · cc 1cre8_app_capitalstrategy::learned_gains::snapshot_entriessnapshot_stored_decisionsapp-capitalstrategy · cc 3cre8_app_capitalstrategy::hindsight::snapshot_stored_decisionscollect_trades_for_snapshotapp-capitalstrategy · cc 2cre8_app_capitalstrategy::persistence::collect_trades_for_snapshotcollect_kind_env_statsapp-capitalstrategy · cc 2cre8_app_capitalstrategy::persistence::collect_kind_env_statscollect_solver_env_statsapp-capitalstrategy · cc 2cre8_app_capitalstrategy::persistence::collect_solver_env_statscollect_hyper_top_edgesapp-capitalstrategy · cc 2cre8_app_capitalstrategy::persistence::collect_hyper_top_edges

Control flow

Source not readable from this process.

Callers 1

Callees 3

Source not readable from this process.