rust 1,881,928 · typescript 232,735 · javascript 135,225 · python 22,871 · 6,535 files · digest 6ada5d5e50d2 · built in 13.6 s · crystals off
crates/cre8-app-agent/src/view_economy.rs
Items
const AGENT_ECONOMY_VIEW_ID const AGENT_ECONOMY_TITLE const AGENT_ECONOMY_DETAIL_VIEW_ID const AGENT_ECONOMY_PATCH_PATH const AGENT_ECONOMY_LIVE_SLOT_ID const AGENT_ECONOMY_LIVE_CONTENT_ID const AGENT_SCAN_LIMIT const RECEIPT_QUERY_LIMIT const TABLE_ROW_LIMIT const DEFAULT_WINDOW_HOURS const CHART_BUCKETS static AGENT_ECONOMY_DOCUMENT_ROUTES static AGENT_ECONOMY_DETAIL_DOCUMENT_ROUTES static AGENT_ECONOMY_TEMPLATE_SPEC static AGENT_ECONOMY_DETAIL_TEMPLATE_SPEC struct AgentEconomyRow impl AgentEconomyRow struct EconomyViewModel impl EconomyViewModel const AGENT_ECONOMY_PAGE_STYLE
Functions
By call-graph weight (PageRank; 1.0 is the average function). 72 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| populated_modelsrc/view_economy.rs:1079 | fn | 27 | 1 | 15 | 4 | 2.7 | |
| build_economy_treesrc/view_economy.rs:609 | fn | 66 | 5 | 9 | 19 | 2.5 | |
| dashsrc/view_economy.rs:1009 | fn | 3 | 1 | 5 | 0 | 2.3 | |
| render_economy_documentsrc/view_economy.rs:151 | fn | 31 | 1 | 2 | 6 | 1.7 | |
| clamp_percentsrc/view_economy.rs:1025 | fn | 3 | 2 | 4 | 0 | 1.7 | |
| AgentEconomyRow::is_pausedsrc/view_economy.rs:241 | method | 3 | 1 | 4 | 0 | 1.5 | |
| tag_countsrc/view_economy.rs:1107 | fn | 9 | 3 | 6 | 0 | 1.5 | |
| accountsrc/view_economy.rs:1064 | fn | 12 | 1 | 3 | 0 | 1.3 | |
| build_rowssrc/view_economy.rs:529 | fn | 31 | 2 | 3 | 4 | 1.3 | |
| receiptsrc/view_economy.rs:1053 | fn | 10 | 1 | 2 | 0 | 1.2 | |
| economy_live_htmlsrc/view_economy.rs:964 | fn | 42 | 3 | 6 | 7 | 1.2 | |
| EconomyViewModel::fill_bucketssrc/view_economy.rs:355 | method | 20 | 4 | 2 | 0 | 1.2 | |
| tree_jsonsrc/view_economy.rs:1127 | fn | 3 | 1 | 6 | 1 | 1.2 | |
| economy_panelsrc/view_economy.rs:938 | fn | 7 | 1 | 5 | 0 | 1.1 | |
| AgentEconomyRow::is_brokesrc/view_economy.rs:247 | method | 3 | 2 | 3 | 0 | 1.1 | |
| table_rowsrc/view_economy.rs:929 | fn | 6 | 2 | 5 | 0 | 1.1 | |
| EconomyViewModel::quota_heldsrc/view_economy.rs:408 | method | 8 | 2 | 5 | 0 | 1 | |
| load_quota_flowssrc/view_economy.rs:500 | fn | 26 | 3 | 1 | 1 | 1 | |
| read_error_bannersrc/view_economy.rs:918 | fn | 3 | 1 | 4 | 1 | 1 | |
| economy_focus_route_contextsrc/view_economy.rs:132 | fn | 7 | 1 | 1 | 0 | 0.9 | |
| economy_detail_template_contextsrc/view_economy.rs:147 | fn | 3 | 1 | 1 | 1 | 0.9 | |
| EconomyViewModel::burned_totalsrc/view_economy.rs:417 | method | 3 | 1 | 3 | 0 | 0.9 | |
| EconomyViewModel::paused_rowssrc/view_economy.rs:400 | method | 3 | 2 | 3 | 2 | 0.9 | |
| optional_amountsrc/view_economy.rs:1014 | fn | 3 | 1 | 3 | 1 | 0.8 | |
| text_nodesrc/view_economy.rs:922 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| EconomyViewModel::loadsrc/view_economy.rs:294 | method | 56 | 4 | 2 | 6 | 0.8 | |
| economy_panel_forsrc/view_economy.rs:946 | fn | 11 | 1 | 2 | 0 | 0.8 | |
| quota_forsrc/view_economy.rs:477 | fn | 3 | 1 | 1 | 0 | 0.8 | |
| apply_receiptsrc/view_economy.rs:568 | fn | 38 | 9 | 1 | 0 | 0.8 | |
| EconomyViewModel::earned_totalsrc/view_economy.rs:421 | method | 3 | 1 | 2 | 0 | 0.8 | |
| EconomyViewModel::premium_totalsrc/view_economy.rs:425 | method | 3 | 1 | 2 | 0 | 0.8 | |
| EconomyViewModel::rounds_totalsrc/view_economy.rs:429 | method | 3 | 1 | 2 | 0 | 0.7 | |
| EconomyViewModel::balance_ledger_emptysrc/view_economy.rs:446 | method | 3 | 2 | 2 | 0 | 0.7 | |
| EconomyViewModel::load_flow_corroborationsrc/view_economy.rs:379 | method | 16 | 3 | 1 | 1 | 0.6 | |
| load_quota_balancessrc/view_economy.rs:461 | fn | 13 | 2 | 1 | 1 | 0.6 | |
| load_swarm_receiptssrc/view_economy.rs:484 | fn | 12 | 2 | 1 | 1 | 0.6 | |
| balances_sectionsrc/view_economy.rs:679 | fn | 55 | 3 | 1 | 5 | 0.6 | |
| spend_earn_sectionsrc/view_economy.rs:736 | fn | 47 | 2 | 1 | 5 | 0.6 | |
| flow_corroboration_sectionsrc/view_economy.rs:786 | fn | 44 | 5 | 1 | 3 | 0.6 | |
| escalation_sectionsrc/view_economy.rs:832 | fn | 38 | 3 | 1 | 5 | 0.6 | |
| paused_sectionsrc/view_economy.rs:873 | fn | 35 | 2 | 1 | 4 | 0.6 | |
| has_tag_undersrc/view_economy.rs:1117 | fn | 9 | 4 | 1 | 1 | 0.6 | |
| economy_route_contextsrc/view_economy.rs:128 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| economy_template_contextsrc/view_economy.rs:143 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| handle_agent_economy_patchsrc/view_economy.rs:187 | fn | 9 | 1 | 0 | 5 | 0.5 | |
| AgentEconomyRow::burn_percentsrc/view_economy.rs:232 | method | 8 | 2 | 0 | 1 | 0.5 | |
| AgentEconomyRow::escalation_percentsrc/view_economy.rs:251 | method | 6 | 2 | 0 | 1 | 0.5 | |
| EconomyViewModel::active_countsrc/view_economy.rs:396 | method | 3 | 1 | 0 | 1 | 0.5 | |
| EconomyViewModel::burn_percentsrc/view_economy.rs:434 | method | 9 | 2 | 0 | 3 | 0.5 | |
| paused_reasonsrc/view_economy.rs:909 | fn | 8 | 4 | 0 | 3 | 0.5 | |
| optional_percentsrc/view_economy.rs:1018 | fn | 3 | 1 | 0 | 1 | 0.5 | |
| format_utcsrc/view_economy.rs:1029 | fn | 6 | 2 | 0 | 1 | 0.5 | |
| payload_builds_a_typed_page_with_every_panelsrc/view_economy.rs:1132 | fn | 24 | 2 | 0 | 4 | 0.5 | |
| the_only_raw_html_is_the_live_slot_fallbacksrc/view_economy.rs:1161 | fn | 5 | 1 | 0 | 4 | 0.5 | |
| roster_failure_replaces_the_panels_with_one_bannersrc/view_economy.rs:1168 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| balance_failure_renders_an_error_instead_of_a_holdings_tablesrc/view_economy.rs:1179 | fn | 14 | 1 | 0 | 6 | 0.5 | |
| receipt_failure_takes_out_the_spend_and_escalation_tables_onlysrc/view_economy.rs:1195 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| each_flow_side_fails_on_its_ownsrc/view_economy.rs:1207 | fn | 11 | 2 | 0 | 2 | 0.5 | |
| an_empty_ledger_is_not_reported_as_zero_balancessrc/view_economy.rs:1222 | fn | 16 | 2 | 0 | 5 | 0.5 | |
| rows_carry_measured_burn_earn_and_tier_countssrc/view_economy.rs:1240 | fn | 21 | 1 | 0 | 4 | 0.5 | |
| the_meter_clamps_and_refuses_an_unknown_denominatorsrc/view_economy.rs:1263 | fn | 19 | 1 | 0 | 2 | 0.5 | |
| the_meter_markup_carries_a_clamped_custom_propertysrc/view_economy.rs:1284 | fn | 13 | 1 | 0 | 2 | 0.5 | |
| the_live_block_names_the_ledger_and_carries_the_patch_targetsrc/view_economy.rs:1299 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| the_patch_value_is_a_well_formed_frame_on_the_content_blocksrc/view_economy.rs:1316 | fn | 9 | 1 | 0 | 4 | 0.5 | |
| focus_route_context_rejects_a_blank_agent_idsrc/view_economy.rs:1327 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| a_focused_render_keeps_only_that_agents_rowssrc/view_economy.rs:1338 | fn | 12 | 1 | 0 | 3 | 0.5 | |
| buckets_split_the_window_and_separate_burn_from_creditsrc/view_economy.rs:1352 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| document_routes_and_template_spec_agree_on_the_view_idsrc/view_economy.rs:1364 | fn | 9 | 1 | 0 | 0 | 0.5 | |
| detail_document_uses_detail_registration_identitysrc/view_economy.rs:1375 | fn | 6 | 1 | 0 | 1 | 0.5 | |
| the_economy_report_builds_the_dashboard_shape_it_declaressrc/view_economy.rs:1386 | fn | 15 | 1 | 0 | 3 | 0.5 | |
| a_failed_roster_read_shows_the_unavailable_mark_rather_than_zero_agentssrc/view_economy.rs:1405 | fn | 7 | 1 | 0 | 3 | 0.5 | |
| focused_economy_panel_keeps_agent_and_window_in_poll_urlsrc/view_economy.rs:1414 | fn | 5 | 1 | 0 | 2 | 0.5 |
Source not readable from this process.