Skip to content
1 viewer

rust 1,854,395 · typescript 233,161 · javascript 131,995 · python 19,227 · 6,379 files · digest 17dcda71e44b · built in 1.5 s · crystals off

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

cre8-app-agent · module alignment · src · 619 lines (470 code, 70 comment) · sha df49e7762f28aaf7

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:52method311903
freshsrc/alignment.rs:357fn2111162
FindAlignedPeersTool::newsrc/alignment.rs:103method31801.6
profile_with_entrysrc/alignment.rs:381fn151601.3
MeritTool::newsrc/alignment.rs:234method31301
agent_alignment_toolssrc/alignment.rs:333fn112441
FindAlignedPeersTool::namesrc/alignment.rs:138trait impl31100.9
MeritTool::namesrc/alignment.rs:267trait impl31100.9
MeritTool::with_sourcesrc/alignment.rs:241method31200.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:271trait impl181010.5
MeritTool::executesrc/alignment.rs:290trait impl352050.5
EmptyMeritSource::rep_historysrc/alignment.rs:400trait impl31000.5
EmptyMeritSource::ballot_responsessrc/alignment.rs:404trait impl31000.5
EmptyMeritSource::payout_outcomessrc/alignment.rs:408trait impl31000.5
EmptyMeritSource::offers_tosrc/alignment.rs:412trait impl31000.5
EmptyMeritSource::agent_receiptssrc/alignment.rs:416trait impl31000.5
profile_lookup_returns_empty_profile_for_unknown_peersrc/alignment.rs:422fn81010.5
alignment_tool_specs_are_named_and_describe_inputssrc/alignment.rs:432fn121030.5
find_aligned_returns_peers_above_thresholdsrc/alignment.rs:448fn151030.5
find_aligned_filters_by_min_repsrc/alignment.rs:465fn131040.5
find_aligned_excludes_selfsrc/alignment.rs:480fn91030.5
find_aligned_sorts_by_similarity_then_repsrc/alignment.rs:491fn421030.5
find_aligned_respects_limitsrc/alignment.rs:535fn112030.5
find_aligned_defaults_invalid_arguments_and_tie_breaks_by_repsrc/alignment.rs:548fn171040.5
merit_returns_rep_and_profile_fieldssrc/alignment.rs:569fn181030.5
merit_with_source_uses_full_merit_walker_pathsrc/alignment.rs:589fn81030.5
agent_alignment_tools_returns_two_toolssrc/alignment.rs:601fn81020.5
agent_alignment_tools_can_wire_merit_sourcesrc/alignment.rs:611fn81030.5

Source not readable from this process.