Skip to content
1 viewer

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-agent/src/value_profile.rs

cre8-app-agent · module value_profile · src · 609 lines (478 code, 88 comment) · sha 7c53317d312c64df

Items

struct ProfileEntry struct ValueProfile struct EntryKey impl EntryKey impl ValueProfile

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
ValueProfile::from_responsessrc/value_profile.rs:87method4172134.2
single_responsesrc/value_profile.rs:239fn2821603.1
ValueProfile::emptysrc/value_profile.rs:78method311302.2
EntryKey::newsrc/value_profile.rs:70method31402.1
stake_from_responsesrc/value_profile.rs:185fn124101.7
extract_choicessrc/value_profile.rs:201fn306101.7
ValueProfile::dimension_countsrc/value_profile.rs:130method31801.6
ValueProfile::normsrc/value_profile.rs:139method31201.3
ValueProfile::shared_answerssrc/value_profile.rs:166method31301
ValueProfile::cosine_similaritysrc/value_profile.rs:146method176110.8
ValueProfile::entries_for_ballotsrc/value_profile.rs:172method62100.6
ValueProfile::is_emptysrc/value_profile.rs:134method31000.5
from_responses_extracts_single_answerssrc/value_profile.rs:271fn171030.5
from_responses_aggregates_stake_into_weightsrc/value_profile.rs:290fn161020.5
from_responses_handles_multi_answerssrc/value_profile.rs:308fn182040.5
from_responses_handles_scale_answerssrc/value_profile.rs:328fn111030.5
from_responses_handles_rank_with_decaysrc/value_profile.rs:341fn221030.5
from_responses_skips_empty_rank_answerssrc/value_profile.rs:365fn101030.5
from_responses_skips_open_and_manifoldsrc/value_profile.rs:377fn131030.5
from_responses_filters_other_peerssrc/value_profile.rs:392fn161030.5
from_responses_aggregates_repeat_answerssrc/value_profile.rs:410fn211030.5
cosine_self_similarity_is_onesrc/value_profile.rs:435fn101020.5
cosine_no_overlap_is_zerosrc/value_profile.rs:447fn211020.5
cosine_with_empty_profile_is_zerosrc/value_profile.rs:470fn141030.5
cosine_partial_overlap_is_normalizedsrc/value_profile.rs:486fn361020.5
cosine_disagreement_on_same_question_is_zerosrc/value_profile.rs:524fn231020.5
shared_answers_returns_intersectionsrc/value_profile.rs:551fn261030.5
entries_for_ballot_filters_correctlysrc/value_profile.rs:579fn221030.5
empty_profile_norm_and_dimension_countsrc/value_profile.rs:603fn61030.5

Source not readable from this process.