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

cre8-app-ballot-model ballot cargo crate

Shared Ballot types — BallotRecord, AssetBalance, etc. Depends on cre8-app-matching-model for PositionRecord. Lifted from the old root ballot model.

crates/cre8-app-ballot-model · level 5 · 2,016 lines (1,763 code) · 3 files · 101 fns (29 tests) · cyclomatic Σ 202

6workspace deps
6direct dependents
28transitive dependents
11calls out
19calls in
101call-graph weight
0.0%exact crystals

Neighbourhood

Left: crates that declare this one. Right: crates it declares (dev-dependencies included). Edge width grows with resolved calls.

normal dep · 0 calls · source referencenormal dep · 15 calls · source referencenormal dep · 7 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 2 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 4 calls · source referencenormal dep · 0 calls · source referencedev dep · 0 calls · incomplete scannormal dep · 0 calls · source referenceapp-ballot-modelL5 · 1,763 linescre8-app-ballot-modelapp-agentL24 · 25,428 linescre8-app-agentapp-ballotL19 · 7,101 linescre8-app-ballotapp-matching-modelL4 · 7,752 linescre8-app-matching-modelplatform-entropyL3 · 59 linescre8-platform-entropyplatform-timeL3 · 65 linescre8-platform-timequestion-modelL0 · 49 linescre8-question-modelutil-cryptoL3 · 749 linescre8-util-cryptoutil-textL0 · 37 linescre8-util-textapp-legislationL21 · 5,309 linescre8-app-legislationapp-locationL20 · 3,821 linescre8-app-locationapp-propertyL21 · 11,091 linescre8-app-propertyruntime-test-suiteL0 · 0 linescre8-runtime-test-suitetest-helpersL29 · 557 linescre8-test-helpers

Files

lowhigh

File call graph

Resolved calls between this crate's files, callers left of callees.

Heaviest functions

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

functionkindlinescyclomaticcallerscalleesweightcrystal
slugsrc/lib.rs:878fn31713.9
optionsrc/lib.rs:918fn31702.7
merge_assetssrc/lib.rs:413fn144602.7
SeedTemplate::ballotsrc/seeding.rs:27method5310502.6
build_response_and_position_setsrc/lib.rs:315fn6731792.6
short_hashsrc/lib.rs:909fn31312.3
valid_idsrc/program.rs:32fn55502.3
option_balancesrc/lib.rs:630fn51332.2
questionsrc/lib.rs:922fn1611412
option_by_idsrc/lib.rs:858fn31401.7
parse_single_answersrc/lib.rs:504fn113101.6
programsrc/program.rs:217fn281411.6
split_expression_assetssrc/lib.rs:869fn81101.5
answer_text_renderer_forsrc/lib.rs:767fn71121.5
answer_parser_forsrc/lib.rs:272fn71121.5
resolve_manifold_oncesrc/lib.rs:720fn176341.4
split_option_directionsrc/lib.rs:621fn72301.4
manifold_answer_textsrc/lib.rs:824fn61301.3
default_asset_resolver_forsrc/lib.rs:593fn71121.3
parse_single_question_answersrc/lib.rs:291fn31211.3
boundedsrc/program.rs:29fn33301.3
templatesrc/seeding.rs:106fn101301.3
default_manifold_assetssrc/lib.rs:675fn61311.2
answer_value_textsrc/lib.rs:760fn41311.2
ballot_withsrc/lib.rs:939fn211801.2
resolve_bindingsrc/lib.rs:751fn84131.2
parse_answer_valuesrc/lib.rs:261fn82311.2
partition_asset_mapssrc/lib.rs:428fn124311.1
answer_text_rendererssrc/lib.rs:775fn101161.1
question_answer_parserssrc/lib.rs:280fn101161.1
option_asset_or_defaultsrc/lib.rs:862fn61111.1
answer_label_textsrc/lib.rs:831fn82331.1
resolve_question_assetssrc/lib.rs:383fn72321.1
parse_multi_answersrc/lib.rs:516fn203101
parse_scale_answersrc/lib.rs:537fn91101
parse_open_answersrc/lib.rs:547fn81101
parse_rank_answersrc/lib.rs:556fn203101
parse_manifold_answersrc/lib.rs:577fn81101
default_asset_resolverssrc/lib.rs:601fn101161
resolve_default_assetssrc/lib.rs:586fn41110.9

Outside the workspace

anyhow serde serde_json