Skip to content
1 viewer

rust 1,847,280 · typescript 232,434 · javascript 131,101 · python 19,227 · 6,362 files · digest 755e2ee30522 · built in 2.3 s · crystals off

cre8-app-politics politics cargo crate

crates/cre8-app-politics · level 21 · 613 lines (487 code) · 5 files · 25 fns (0 tests) · cyclomatic Σ 80

7workspace deps
1direct dependents
8transitive dependents
7calls out
0calls in
23.5call-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.

Declared but never named in this crate's source: cre8-app-legislation (normal), cre8-app-person (normal).

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). 25 functions in all.

functionkindlinescyclomaticcallerscalleesweightcrystal
connectsrc/connection.rs:88fn104432.2
fallback_storesrc/connection.rs:257fn41102
dot_productsrc/prediction_engine.rs:279fn93201.8
lock_fallback_storesrc/connection.rs:249fn62311.8
simulate_strategic_electionsrc/prediction_engine.rs:114fn16324121.4
set_stancessrc/connection.rs:117fn151121.1
predict_votesrc/connection.rs:133fn425131.1
simulate_electionsrc/connection.rs:176fn193111.1
euclidean_distancesrc/prediction_engine.rs:289fn184101.1
stance_vidsrc/connection.rs:76fn31201
save_stancessrc/connection.rs:210fn122131
load_stancessrc/connection.rs:197fn61130.8
list_stance_peerssrc/connection.rs:230fn121120.8
predict_voting_rollcallsrc/prediction_engine.rs:23fn8917110.8
PoliticsApp::metasrc/app.rs:15trait impl31000.5
PoliticsApp::bootsrc/app.rs:19trait impl31000.5
PoliticsApp::handlesrc/app.rs:23trait impl31000.5
PoliticsApp::connectsrc/app.rs:27trait impl31010.5
PoliticsApp::connection_handlerssrc/app.rs:31trait impl31000.5
handle_set_stancessrc/connection.rs:99fn51010.5
handle_predict_votesrc/connection.rs:105fn51010.5
handle_simulate_electionsrc/connection.rs:111fn51010.5
load_stancessrc/connection.rs:205fn31010.5
save_stancessrc/connection.rs:224fn41010.5
list_stance_peerssrc/connection.rs:244fn31010.5

Outside the workspace

anyhow cre8-lib-ai hyperdb serde serde_json