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-ad/src/model.rs
Items
const KIND_AD_CAMPAIGN const KIND_AD_IMPRESSION const KIND_AD_ENGAGEMENT const EDGE_IMPRESSION const EDGE_ENGAGEMENT const ASSET_AD_ATTENTION enum PricingModel impl Default for PricingModel enum AdStatus impl AdStatus struct AlignmentTargeting const MIN_AFFINITY_FLOOR const DEFAULT_BUDGET_ASSET const PLATFORM_BENEFICIARY const PUBLISHER_REVENUE_BPS struct BrandSafety struct Campaign impl Campaign struct Impression struct Engagement const KIND_AD_PLATFORM_ACCOUNT enum BillingMode impl BillingMode enum PlacementStatus impl PlacementStatus struct PlatformAccount struct ExternalPlacement impl Campaign struct ViewerSignal impl ViewerSignal const W_GOAL const W_HABIT const W_INTEREST struct MatchResult struct AuctionCandidate impl AuctionCandidate struct AuctionWin
Functions
By call-graph weight (PageRank; 1.0 is the average function). 73 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| Campaign::remaining_budgetsrc/model.rs:324 | method | 3 | 1 | 11 | 0 | 3.7 | |
| hashed_idsrc/model.rs:47 | fn | 8 | 1 | 5 | 0 | 3.5 | |
| load_campaignsrc/model.rs:805 | fn | 3 | 1 | 14 | 3 | 2.1 | |
| lower_setsrc/model.rs:775 | fn | 3 | 1 | 3 | 0 | 1.9 | |
| targetingsrc/model.rs:874 | fn | 8 | 1 | 4 | 0 | 1.9 | |
| campaign_vidsrc/model.rs:36 | fn | 3 | 1 | 5 | 0 | 1.7 | |
| list_campaignssrc/model.rs:809 | fn | 8 | 1 | 5 | 2 | 1.6 | |
| engagement_costsrc/model.rs:656 | fn | 7 | 3 | 2 | 2 | 1.5 | |
| AuctionCandidate::ecpmsrc/model.rs:721 | method | 3 | 1 | 1 | 0 | 1.5 | |
| Campaign::is_livesrc/model.rs:329 | method | 3 | 2 | 3 | 2 | 1.5 | |
| is_billable_interactionsrc/model.rs:675 | fn | 3 | 1 | 1 | 0 | 1.5 | |
| impression_vidsrc/model.rs:39 | fn | 3 | 1 | 7 | 0 | 1.2 | |
| engagement_intensitysrc/model.rs:639 | fn | 9 | 5 | 2 | 0 | 1.2 | |
| match_scoresrc/model.rs:601 | fn | 35 | 6 | 4 | 3 | 1.2 | |
| run_auctionsrc/model.rs:740 | fn | 32 | 3 | 4 | 1 | 1.2 | |
| cpm_engagement_costsrc/model.rs:664 | fn | 3 | 2 | 1 | 0 | 1.1 | |
| cpc_engagement_costsrc/model.rs:668 | fn | 6 | 3 | 1 | 1 | 1.1 | |
| candidatesrc/model.rs:1067 | fn | 3 | 1 | 3 | 0 | 1.1 | |
| AdStatus::is_servablesrc/model.rs:110 | method | 3 | 1 | 1 | 0 | 1.1 | |
| default_min_affinitysrc/model.rs:179 | fn | 3 | 1 | 1 | 0 | 1.1 | |
| revenue_splitsrc/model.rs:215 | fn | 7 | 3 | 2 | 0 | 1.1 | |
| engagement_idsrc/model.rs:67 | fn | 3 | 1 | 3 | 1 | 1.1 | |
| billable_costsrc/model.rs:683 | fn | 14 | 3 | 2 | 1 | 1 | |
| passes_brand_safetysrc/model.rs:236 | fn | 11 | 5 | 2 | 1 | 0.9 | |
| recent_spendsrc/model.rs:385 | fn | 7 | 2 | 2 | 0 | 0.9 | |
| campaignsrc/model.rs:883 | fn | 23 | 1 | 3 | 1 | 0.9 | |
| list_platform_accountssrc/model.rs:546 | fn | 8 | 1 | 2 | 2 | 0.9 | |
| ViewerSignal::all_tagssrc/model.rs:573 | method | 6 | 1 | 2 | 0 | 0.9 | |
| agency_unitssrc/model.rs:538 | fn | 3 | 1 | 2 | 0 | 0.8 | |
| platform_account_vidsrc/model.rs:401 | fn | 3 | 1 | 3 | 0 | 0.8 | |
| jaccard_sharedsrc/model.rs:793 | fn | 9 | 4 | 1 | 0 | 0.8 | |
| campaign_idsrc/model.rs:57 | fn | 3 | 1 | 3 | 1 | 0.8 | |
| load_platform_accountsrc/model.rs:542 | fn | 3 | 1 | 4 | 3 | 0.8 | |
| request_statussrc/model.rs:130 | fn | 15 | 6 | 2 | 1 | 0.8 | |
| token_setsrc/model.rs:780 | fn | 11 | 4 | 2 | 0 | 0.8 | |
| list_impressionssrc/model.rs:818 | fn | 8 | 1 | 4 | 2 | 0.7 | |
| pace_factorsrc/model.rs:252 | fn | 7 | 2 | 2 | 0 | 0.7 | |
| shade_bidsrc/model.rs:261 | fn | 3 | 1 | 2 | 0 | 0.7 | |
| engagement_vidsrc/model.rs:42 | fn | 3 | 1 | 4 | 0 | 0.7 | |
| Campaign::placement_mutsrc/model.rs:531 | method | 3 | 1 | 2 | 0 | 0.7 | |
| apply_fundingsrc/model.rs:149 | fn | 10 | 4 | 2 | 1 | 0.7 | |
| sane_min_affinitysrc/model.rs:190 | fn | 6 | 3 | 3 | 1 | 0.7 | |
| list_engagementssrc/model.rs:827 | fn | 8 | 1 | 3 | 2 | 0.7 | |
| impression_idsrc/model.rs:62 | fn | 3 | 1 | 2 | 1 | 0.6 | |
| active_goals_for_accountsrc/model.rs:837 | fn | 6 | 2 | 2 | 2 | 0.6 | |
| signal_from_goalssrc/model.rs:847 | fn | 6 | 1 | 2 | 2 | 0.6 | |
| PricingModel::defaultsrc/model.rs:86 | trait impl | 3 | 1 | 1 | 0 | 0.5 | |
| platform_account_idsrc/model.rs:407 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| placement_idsrc/model.rs:411 | fn | 3 | 1 | 1 | 1 | 0.5 | |
| BillingMode::parsesrc/model.rs:430 | method | 7 | 3 | 1 | 0 | 0.5 | |
| fresh_graphsrc/model.rs:862 | fn | 3 | 1 | 1 | 0 | 0.5 | |
| fresh_file_graphsrc/model.rs:866 | fn | 7 | 1 | 1 | 0 | 0.5 | |
| AdStatus::as_strsrc/model.rs:114 | method | 10 | 6 | 0 | 0 | 0.5 | |
| default_budget_assetsrc/model.rs:209 | fn | 3 | 1 | 0 | 0 | 0.5 | |
| PlacementStatus::as_strsrc/model.rs:451 | method | 7 | 3 | 0 | 0 | 0.5 | |
| Campaign::placementsrc/model.rs:527 | method | 3 | 1 | 0 | 0 | 0.5 | |
| ids_defaults_and_serde_defaults_are_stablesrc/model.rs:908 | fn | 33 | 1 | 0 | 8 | 0.5 | |
| aligned_viewer_scores_with_explainable_whysrc/model.rs:943 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| goal_token_and_cross_facet_overlap_are_explainablesrc/model.rs:960 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| unaligned_viewer_scores_zerosrc/model.rs:974 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| cost_and_intensity_track_engagement_kindsrc/model.rs:984 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| cpm_and_cpc_bill_once_per_impression_and_never_past_the_budgetsrc/model.rs:1001 | fn | 12 | 1 | 0 | 1 | 0.5 | |
| advertiser_status_moves_are_limited_and_ended_is_terminalsrc/model.rs:1015 | fn | 15 | 1 | 0 | 2 | 0.5 | |
| funding_revives_draft_and_exhausted_but_not_endedsrc/model.rs:1032 | fn | 17 | 1 | 0 | 3 | 0.5 | |
| recent_spend_sums_real_costs_inside_the_windowsrc/model.rs:1051 | fn | 15 | 1 | 0 | 1 | 0.5 | |
| auction_ranks_by_ecpm_not_bid_alonesrc/model.rs:1072 | fn | 7 | 1 | 0 | 2 | 0.5 | |
| auction_charges_generalized_second_pricesrc/model.rs:1081 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| auction_drops_candidates_below_floor_and_caps_to_budgetsrc/model.rs:1091 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| brand_safety_excludes_surface_and_tagssrc/model.rs:1105 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| pacing_shades_bid_as_spend_approaches_daily_budgetsrc/model.rs:1117 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| revenue_split_gives_publisher_their_sharesrc/model.rs:1127 | fn | 9 | 1 | 0 | 1 | 0.5 | |
| remaining_budget_and_livenesssrc/model.rs:1138 | fn | 30 | 1 | 0 | 2 | 0.5 | |
| graph_read_helpers_and_goal_signal_round_tripsrc/model.rs:1170 | fn | 81 | 1 | 0 | 16 | 0.5 |
Source not readable from this process.