Skip to content
1 viewer

rust 1,961,941 · typescript 233,850 · javascript 141,145 · python 22,871 · 6,801 files · digest 6d882eacc8db · built in 12.5 s · crystals off

crates/cre8-app-agent/src/alignment.rs

cre8-app-agent · module alignment · src · 618 lines (470 code, 69 comment) · sha f9428d95dee582c0

Items

trait ProfileLookup struct InMemoryProfileLookup impl InMemoryProfileLookup impl ProfileLookup for InMemoryProfileLookup struct FindAlignedPeersTool impl FindAlignedPeersTool struct FindArgs struct AlignmentMatch impl Tool for FindAlignedPeersTool struct MeritTool impl MeritTool struct AgentMerit impl Tool for MeritTool struct EmptyMeritSource impl MeritDataSource for EmptyMeritSource

Functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
InMemoryProfileLookup::newsrc/alignment.rs:52method311902.9
freshsrc/alignment.rs:356fn2111162
FindAlignedPeersTool::newsrc/alignment.rs:103method31801.6
profile_with_entrysrc/alignment.rs:380fn151601.3
MeritTool::newsrc/alignment.rs:233method31301
agent_alignment_toolssrc/alignment.rs:332fn112441
FindAlignedPeersTool::namesrc/alignment.rs:138trait impl31100.9
MeritTool::namesrc/alignment.rs:266trait impl31100.9
MeritTool::with_sourcesrc/alignment.rs:240method31200.8
rep_ofsrc/alignment.rs:91fn31210.7
default_min_similaritysrc/alignment.rs:121fn31100.6
default_limitsrc/alignment.rs:125fn31100.6
InMemoryProfileLookup::insertsrc/alignment.rs:56method31000.5
InMemoryProfileLookup::lookupsrc/alignment.rs:62trait impl41010.5
InMemoryProfileLookup::peer_universesrc/alignment.rs:67trait impl41000.5
lookup_returns_seeded_and_empty_profilessrc/alignment.rs:78fn91020.5
FindAlignedPeersTool::specsrc/alignment.rs:142trait impl301010.5
FindAlignedPeersTool::executesrc/alignment.rs:173trait impl485040.5
MeritTool::specsrc/alignment.rs:270trait impl181010.5
MeritTool::executesrc/alignment.rs:289trait impl352050.5
EmptyMeritSource::rep_historysrc/alignment.rs:399trait impl31000.5
EmptyMeritSource::ballot_responsessrc/alignment.rs:403trait impl31000.5
EmptyMeritSource::payout_outcomessrc/alignment.rs:407trait impl31000.5
EmptyMeritSource::offers_tosrc/alignment.rs:411trait impl31000.5
EmptyMeritSource::agent_receiptssrc/alignment.rs:415trait impl31000.5
profile_lookup_returns_empty_profile_for_unknown_peersrc/alignment.rs:421fn81010.5
alignment_tool_specs_are_named_and_describe_inputssrc/alignment.rs:431fn121030.5
find_aligned_returns_peers_above_thresholdsrc/alignment.rs:447fn151030.5
find_aligned_filters_by_min_repsrc/alignment.rs:464fn131040.5
find_aligned_excludes_selfsrc/alignment.rs:479fn91030.5
find_aligned_sorts_by_similarity_then_repsrc/alignment.rs:490fn421030.5
find_aligned_respects_limitsrc/alignment.rs:534fn112030.5
find_aligned_defaults_invalid_arguments_and_tie_breaks_by_repsrc/alignment.rs:547fn171040.5
merit_returns_rep_and_profile_fieldssrc/alignment.rs:568fn181030.5
merit_with_source_uses_full_merit_walker_pathsrc/alignment.rs:588fn81030.5
agent_alignment_tools_returns_two_toolssrc/alignment.rs:600fn81020.5
agent_alignment_tools_can_wire_merit_sourcesrc/alignment.rs:610fn81030.5

Source not readable from this process.