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-prediction prediction cargo crate

PredictionApp extracted app crate.

crates/cre8-app-prediction · level 19 · 3,920 lines (3,206 code) · 14 files · 214 fns (50 tests) · cyclomatic Σ 390

13workspace deps
5direct dependents
24transitive dependents
60calls out
20calls in
179call-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 · 4 calls · source referencedev dep · 0 calls · incomplete scannormal dep · 1 calls · source referencenormal dep · 6 calls · source referencenormal dep · 7 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · source referencenormal dep · 12 calls · source referencenormal dep · 2 calls · source referencenormal dep · 9 calls · source referencenormal dep · 6 calls · source referencenormal dep · 13 calls · source referencenormal dep · 1 calls · source referencenormal dep · 0 calls · incomplete scannormal dep · 0 calls · source referencenormal dep · 3 calls · source referencenormal dep · 6 calls · source referencenormal dep · 9 calls · source referencenormal dep · 0 calls · source referencedev dep · 0 calls · incomplete scanapp-predictionL19 · 3,206 linescre8-app-predictionapp-agentL24 · 25,428 linescre8-app-agentapp-capitalstrategyL19 · 85,927 linescre8-app-capitalstrategyapp-marketL20 · 16,894 linescre8-app-marketapp-manifoldL10 · 18,941 linescre8-app-manifoldapp-matchingL17 · 23,403 linescre8-app-matchingapp-matching-modelL4 · 7,752 linescre8-app-matching-modelapp-networkL11 · 15,383 linescre8-app-networkapp-protocolL9 · 26,097 linescre8-app-protocolapp-truthL7 · 20,485 linescre8-app-truthapp-walletL18 · 6,665 linescre8-app-walletplatform-timeL3 · 65 linescre8-platform-timeruntime-app-typesL6 · 2,860 linescre8-runtime-app-typesruntime-contractsL0 · 6,322 linescre8-runtime-contractsruntime-coreL2 · 747 linescre8-runtime-coreruntime-hostL1 · 1,649 linescre8-runtime-hostutil-cryptoL3 · 749 linescre8-util-cryptoapp-sportsL20 · 4,483 linescre8-app-sportsapp-weatherL20 · 2,867 linescre8-app-weatherruntime-app-catalogL28 · 681 linescre8-runtime-app-catalogruntime-test-suiteL0 · 0 linescre8-runtime-test-suite

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

functionkindlinescyclomaticcallerscalleesweightcrystal
compute_probability_overlaysrc/pricing.rs:52fn4210703.5
derive_ballot_idsrc/ballot_store.rs:37fn41413.5
matched_event_outcomesrc/resolution.rs:198fn92102.7
compute_prediction_resolutionsrc/resolution.rs:161fn3631812.6
outcomessrc/resolution.rs:535fn611202.4
ResolutionBallot::tallysrc/ballot.rs:52method184242.4
connectsrc/connection.rs:146fn256372.2
positionsrc/resolution.rs:517fn1731102.2
StoredBallot::newsrc/ballot_store.rs:70method131712
list_ballotssrc/ballot_store.rs:145fn103342
list_open_ballotssrc/ballot_store.rs:156fn61521.9
ResolutionBallot::newsrc/ballot.rs:37method31801.8
unregistered_winning_outcome_responsesrc/connection.rs:463fn151101.7
configsrc/live_markets.rs:44fn102301.7
compute_payout_tablesrc/resolution.rs:114fn3981001.7
ResolutionBallot::cast_votesrc/ballot.rs:41method1031011.6
EventSettlement::is_appliedsrc/resolution.rs:228method31201.5
settleable_event_outcomessrc/connection.rs:414fn143251.4
require_registered_winning_outcomesrc/connection.rs:429fn172211.4
register_prediction_contractsrc/contract.rs:132fn151241.4
fixture_inputssrc/resolution.rs:638fn101621.4
votesrc/ballot.rs:115fn101701.4
observe_marketssrc/market_observation.rs:58fn5513221.4
register_prediction_observation_with_writersrc/contract.rs:178fn9715251.3
prediction_resolution_input_hashsrc/resolution.rs:473fn201411.3
prediction_smoke_contextsrc/bin/prediction_smoke/run.rs:170fn51111.2
find_open_ballot_for_eventsrc/ballot_store.rs:166fn52721.2
PredictionContractSpec::outcome_metadatasrc/contract.rs:105method141311.2
load_event_settlementsrc/resolution.rs:251fn31121.2
ballot_vidsrc/ballot_store.rs:31fn31201.2
upsert_ballotsrc/ballot_store.rs:110fn264421.2
prediction_resolution_output_hashsrc/resolution.rs:496fn151511.2
parse_actionsrc/connection.rs:128fn164201.2
prediction_open_ballotsrc/connection.rs:546fn113231.2
prediction_cast_votesrc/connection.rs:607fn355281.2
prediction_resolve_assrc/connection.rs:179fn102421.2
ledger_itersrc/bin/prediction_smoke/run.rs:333fn81101.2
required_asset_namespacesrc/connection.rs:479fn71101.1
parse_ballotsrc/ballot_store.rs:186fn161201.1
apply_prediction_resolutionsrc/resolution.rs:283fn3122111.1

Outside the workspace

anyhow chrono hyperdb serde serde_json sha2