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/coherence.rs
Items
enum AgentStatus impl Default for AgentStatus impl AgentStatus const DORMANT_REASON_KEY const DORMANT_SINCE_KEY const DORMANT_REASON_BUDGET enum CoherenceVerdict struct CoherenceReport struct CoherenceDrift struct CoherenceScan
Functions
By call-graph weight (PageRank; 1.0 is the average function). 40 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| AgentStatus::defaultsrc/coherence.rs:64 | trait impl | 3 | 1 | 2 | 0 | 5.6 | |
| agent_statussrc/coherence.rs:91 | fn | 12 | 2 | 21 | 2 | 4.6 | |
| AgentStatus::from_str_defaultsrc/coherence.rs:78 | method | 8 | 4 | 4 | 1 | 3.7 | |
| receipt_with_payloadsrc/coherence.rs:539 | fn | 3 | 1 | 11 | 1 | 2.1 | |
| classify_receiptsrc/coherence.rs:252 | fn | 33 | 6 | 2 | 0 | 2.1 | |
| set_agent_statussrc/coherence.rs:107 | fn | 16 | 2 | 8 | 0 | 1.9 | |
| profile_stakingsrc/coherence.rs:523 | fn | 15 | 1 | 10 | 0 | 1.9 | |
| agent_record_with_statussrc/coherence.rs:409 | fn | 16 | 2 | 9 | 0 | 1.8 | |
| scan_and_emit_coherencesrc/coherence.rs:337 | fn | 27 | 5 | 1 | 3 | 1.7 | |
| agent_metadata_mutsrc/coherence.rs:185 | fn | 3 | 1 | 2 | 0 | 1.6 | |
| record_emitssrc/coherence.rs:644 | fn | 10 | 1 | 6 | 1 | 1.4 | |
| naive_value_coherencesrc/coherence.rs:223 | fn | 27 | 5 | 6 | 1 | 1.3 | |
| set_agent_dormant_for_budgetsrc/coherence.rs:144 | fn | 11 | 2 | 4 | 2 | 1.2 | |
| dormant_reasonsrc/coherence.rs:167 | fn | 8 | 1 | 5 | 0 | 1.2 | |
| is_budget_dormantsrc/coherence.rs:178 | fn | 3 | 2 | 7 | 2 | 1 | |
| affirmed_stakesrc/coherence.rs:369 | fn | 7 | 3 | 1 | 0 | 1 | |
| drift_fromsrc/coherence.rs:380 | fn | 18 | 2 | 1 | 0 | 1 | |
| clear_dormant_reasonsrc/coherence.rs:158 | fn | 7 | 2 | 2 | 1 | 0.7 | |
| AgentStatus::as_strsrc/coherence.rs:70 | method | 7 | 3 | 0 | 0 | 0.5 | |
| status_defaults_to_active_when_field_missingsrc/coherence.rs:427 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| status_reads_explicit_valuesrc/coherence.rs:433 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| status_unknown_string_falls_back_to_activesrc/coherence.rs:442 | fn | 4 | 1 | 0 | 2 | 0.5 | |
| status_defaults_for_non_agents_and_replaces_non_object_metadatasrc/coherence.rs:448 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| set_agent_status_round_tripssrc/coherence.rs:460 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| set_status_creates_namespace_when_absentsrc/coherence.rs:469 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| budget_sleep_carries_a_reason_and_a_stamp_that_waking_removessrc/coherence.rs:478 | fn | 16 | 1 | 0 | 7 | 0.5 | |
| an_operator_set_dormant_record_carries_no_reasonsrc/coherence.rs:496 | fn | 7 | 1 | 0 | 5 | 0.5 | |
| budget_sleep_builds_the_agent_namespace_when_metadata_is_not_an_objectsrc/coherence.rs:505 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| agent_status_str_roundtripssrc/coherence.rs:514 | fn | 6 | 2 | 0 | 1 | 0.5 | |
| coherent_receipt_matches_staked_answersrc/coherence.rs:544 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| contradicting_receipt_chooses_different_optionsrc/coherence.rs:559 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| unrelated_receipts_dont_affect_scoresrc/coherence.rs:573 | fn | 21 | 1 | 0 | 3 | 0.5 | |
| mixed_receipts_compute_scoresrc/coherence.rs:596 | fn | 30 | 1 | 0 | 3 | 0.5 | |
| fallback_option_id_payload_workssrc/coherence.rs:628 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| scan_emits_aligned_for_affirmative_matchsrc/coherence.rs:656 | fn | 16 | 1 | 0 | 3 | 0.5 | |
| scan_does_not_mint_for_touch_without_choicesrc/coherence.rs:674 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| scan_records_drift_for_contradictionsrc/coherence.rs:688 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| scan_ignores_unrelated_receiptssrc/coherence.rs:705 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| scan_amount_floors_at_one_and_tracks_weightsrc/coherence.rs:714 | fn | 28 | 2 | 0 | 2 | 0.5 | |
| scan_mixed_batch_splits_aligned_and_driftsrc/coherence.rs:744 | fn | 12 | 1 | 0 | 3 | 0.5 |
Source not readable from this process.