1 viewer
rust 1,860,549 · typescript 235,540 · javascript 132,952 · python 20,426 · 6,408 files · digest f72e9ad3d771 · built in 1.3 s · crystals off
crates/cre8-app-capitalstrategy/src/learned_gains.rs
Items
const SIGNAL_FORECAST_TILT const SIGNAL_JOINT_UPLIFT const SIGNAL_TA const GAIN_MULT_MIN const GAIN_MULT_MAX const UPDATE_DAMPING const DELTA_FULL_STRENGTH const MIN_ATTRIBUTED_STEPS struct LearnedGain impl Default for LearnedGain struct LearnedGainEntry static GAINS
Functions
By call-graph weight (PageRank; 1.0 is the average function). 17 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| gainssrc/learned_gains.rs:90 | fn | 3 | 1 | 6 | 0 | 3 | |
| gain_multipliersrc/learned_gains.rs:96 | fn | 6 | 2 | 4 | 2 | 2.3 | |
| stored_multipliersrc/learned_gains.rs:108 | fn | 4 | 1 | 6 | 2 | 2 | |
| updated_multipliersrc/learned_gains.rs:115 | fn | 4 | 1 | 2 | 0 | 1.2 | |
| observe_attribution_innersrc/learned_gains.rs:136 | fn | 37 | 3 | 5 | 3 | 1.1 | |
| restore_entriessrc/learned_gains.rs:213 | fn | 14 | 2 | 2 | 2 | 1.1 | |
| reset_for_testsrc/learned_gains.rs:229 | fn | 3 | 1 | 5 | 2 | 1 | |
| snapshot_entriessrc/learned_gains.rs:197 | fn | 13 | 1 | 2 | 2 | 0.6 | |
| observe_replay_attributionsrc/learned_gains.rs:127 | fn | 6 | 2 | 1 | 2 | 0.6 | |
| LearnedGain::defaultsrc/learned_gains.rs:73 | trait impl | 3 | 1 | 0 | 0 | 0.5 | |
| status_jsonsrc/learned_gains.rs:175 | fn | 20 | 1 | 0 | 2 | 0.5 | |
| multiplier_defaults_to_onesrc/learned_gains.rs:239 | fn | 6 | 1 | 0 | 3 | 0.5 | |
| update_rule_is_damped_and_clampedsrc/learned_gains.rs:247 | fn | 20 | 3 | 0 | 1 | 0.5 | |
| observe_updates_both_signals_and_reportssrc/learned_gains.rs:269 | fn | 17 | 1 | 0 | 4 | 0.5 | |
| observe_skips_thin_replayssrc/learned_gains.rs:288 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| observe_ignores_non_finite_deltassrc/learned_gains.rs:299 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| snapshot_round_trips_and_reclampssrc/learned_gains.rs:309 | fn | 22 | 1 | 0 | 6 | 0.5 |
Source not readable from this process.