1 viewer
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-metering/src/receipt_path.rs
Items
const INTENT_LLM_COMPLETE const INTENT_VM_COMPUTE const COMPUTE_STEP_ASSET struct RecordingCommit impl RecordingCommit impl ManifoldCommitService for RecordingCommit
Functions
By call-graph weight (PageRank; 1.0 is the average function). 29 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| build_llm_receiptsrc/receipt_path.rs:59 | fn | 22 | 1 | 9 | 0 | 2 | |
| fake_responsesrc/receipt_path.rs:308 | fn | 10 | 1 | 11 | 0 | 2 | |
| build_compute_receiptsrc/receipt_path.rs:195 | fn | 22 | 1 | 4 | 0 | 1.5 | |
| commit_llm_receiptsrc/receipt_path.rs:130 | fn | 11 | 1 | 3 | 2 | 0.8 | |
| llm_per_token_contractsrc/receipt_path.rs:94 | fn | 18 | 1 | 3 | 2 | 0.8 | |
| compute_step_contractsrc/receipt_path.rs:219 | fn | 23 | 1 | 2 | 2 | 0.8 | |
| compute_universal_contractsrc/receipt_path.rs:263 | fn | 23 | 1 | 2 | 2 | 0.8 | |
| llm_complete_universal_contractsrc/receipt_path.rs:161 | fn | 17 | 1 | 2 | 2 | 0.7 | |
| commit_compute_receiptsrc/receipt_path.rs:288 | fn | 13 | 1 | 2 | 2 | 0.7 | |
| RecordingCommit::newsrc/receipt_path.rs:438 | method | 3 | 1 | 2 | 0 | 0.7 | |
| llm_per_call_contractsrc/receipt_path.rs:182 | fn | 9 | 1 | 1 | 2 | 0.6 | |
| compute_per_step_contractsrc/receipt_path.rs:244 | fn | 17 | 2 | 0 | 2 | 0.5 | |
| build_llm_receipt_carries_token_counts_in_payloadsrc/receipt_path.rs:320 | fn | 12 | 1 | 0 | 2 | 0.5 | |
| build_llm_receipt_handles_no_usagesrc/receipt_path.rs:334 | fn | 8 | 1 | 0 | 2 | 0.5 | |
| build_llm_receipt_records_tool_call_countsrc/receipt_path.rs:344 | fn | 9 | 1 | 0 | 2 | 0.5 | |
| per_token_contract_resolves_against_namespacesrc/receipt_path.rs:355 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| per_token_contract_writes_two_graph_edgessrc/receipt_path.rs:367 | fn | 10 | 1 | 0 | 4 | 0.5 | |
| per_call_contract_charges_flat_unitssrc/receipt_path.rs:379 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| universal_contract_matches_multiple_provider_model_pairssrc/receipt_path.rs:389 | fn | 22 | 2 | 0 | 4 | 0.5 | |
| engine_dispatches_receipt_to_correct_provider_contractsrc/receipt_path.rs:413 | fn | 12 | 1 | 0 | 4 | 0.5 | |
| RecordingCommit::tooksrc/receipt_path.rs:441 | method | 3 | 1 | 0 | 0 | 0.5 | |
| RecordingCommit::commitsrc/receipt_path.rs:446 | trait impl | 13 | 1 | 0 | 1 | 0.5 | |
| commit_llm_receipt_returns_not_configured_when_chokepoint_absentsrc/receipt_path.rs:462 | fn | 8 | 1 | 0 | 3 | 0.5 | |
| commit_llm_receipt_propagates_noop_not_configuredsrc/receipt_path.rs:472 | fn | 8 | 1 | 0 | 4 | 0.5 | |
| commit_llm_receipt_forwards_to_chokepointsrc/receipt_path.rs:482 | fn | 21 | 1 | 0 | 5 | 0.5 | |
| build_compute_receipt_carries_step_counts_in_payloadsrc/receipt_path.rs:505 | fn | 10 | 1 | 0 | 1 | 0.5 | |
| compute_step_contract_resolves_against_namespacesrc/receipt_path.rs:517 | fn | 10 | 1 | 0 | 3 | 0.5 | |
| compute_universal_contract_matches_subpathssrc/receipt_path.rs:529 | fn | 13 | 1 | 0 | 3 | 0.5 | |
| commit_compute_receipt_forwards_to_chokepointsrc/receipt_path.rs:544 | fn | 26 | 1 | 0 | 4 | 0.5 |
Source not readable from this process.