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-chess/src/store.rs
Items
const BUCKET_PIECES const BUCKET_MOVES const BUCKET_PIECE_EVENTS const BUCKET_MATCHES const CAPTURE_REWARD_ASSET const WIN_REWARD_ASSET const PARTICIPATION_REWARD_ASSET const DDL struct ChessPieceCoreRow struct ChessPieceIdentityRow struct ChessPieceActorsRow struct ChessPieceBoardRow struct ChessPieceStateRow struct ChessPieceCountersRow struct ChessPieceTailRow struct ChessMoveCoreRow struct ChessMoveScopeRow struct ChessMoveActorsRow struct ChessMoveSquaresRow struct ChessMoveTailRow struct ChessPieceEventCoreRow struct ChessPieceEventTailRow struct ChessMatchCoreRow struct ChessMatchOutcomeRow struct ChessMatchGraphRow struct ChessMatchPayloadRow struct ChessMatchAuditRow
Functions
By call-graph weight (PageRank; 1.0 is the average function). 79 functions in all.
| function | kind | lines | cyclomatic | callers | callees | weight | crystal |
|---|---|---|---|---|---|---|---|
| ensure_tablessrc/store.rs:232 | fn | 3 | 1 | 15 | 1 | 5.8 | |
| ensure_tables_storagesrc/store.rs:236 | fn | 3 | 1 | 1 | 1 | 5.4 | |
| list_pieces_by_sessionsrc/store.rs:363 | fn | 3 | 1 | 21 | 1 | 4.4 | |
| list_pieces_by_session_storagesrc/store.rs:367 | fn | 34 | 4 | 1 | 5 | 4.3 | |
| next_turnsrc/store.rs:517 | fn | 4 | 2 | 5 | 0 | 2.8 | |
| initial_state_hashsrc/store.rs:477 | fn | 39 | 1 | 8 | 2 | 2.7 | |
| get_match_by_sessionsrc/store.rs:825 | fn | 3 | 1 | 15 | 2 | 2.3 | |
| project_match_clocksrc/store.rs:833 | fn | 32 | 5 | 3 | 5 | 2.2 | |
| list_pieces_by_room_storagesrc/store.rs:406 | fn | 34 | 4 | 1 | 5 | 2.1 | |
| get_piece_storagesrc/store.rs:339 | fn | 23 | 2 | 1 | 4 | 2.1 | |
| upsert_match_storagesrc/store.rs:731 | fn | 65 | 1 | 1 | 4 | 2.1 | |
| row_piecesrc/store.rs:1473 | fn | 25 | 1 | 3 | 3 | 2 | |
| list_pieces_by_roomsrc/store.rs:402 | fn | 3 | 1 | 4 | 1 | 1.9 | |
| row_json_orsrc/store.rs:1464 | fn | 7 | 1 | 4 | 1 | 1.9 | |
| get_piecesrc/store.rs:335 | fn | 3 | 1 | 3 | 1 | 1.9 | |
| upsert_matchsrc/store.rs:727 | fn | 3 | 1 | 12 | 1 | 1.8 | |
| accrue_agent_rewardsrc/store.rs:1196 | fn | 66 | 1 | 4 | 3 | 1.8 | |
| chess_state_payloadsrc/store.rs:441 | fn | 16 | 1 | 4 | 3 | 1.7 | |
| upsert_piece_storagesrc/store.rs:244 | fn | 22 | 1 | 1 | 5 | 1.7 | |
| sort_pieces_for_projectionsrc/store.rs:1421 | fn | 10 | 1 | 2 | 0 | 1.6 | |
| record_piece_event_storagesrc/store.rs:684 | fn | 42 | 1 | 1 | 3 | 1.5 | |
| get_match_by_session_storagesrc/store.rs:866 | fn | 36 | 4 | 1 | 4 | 1.5 | |
| upsert_piecesrc/store.rs:240 | fn | 3 | 1 | 6 | 1 | 1.4 | |
| initial_piecesrc/store.rs:110 | fn | 36 | 1 | 1 | 2 | 1.3 | |
| list_moves_by_session_storagesrc/store.rs:585 | fn | 34 | 4 | 1 | 4 | 1.3 | |
| piece_asset_balancessrc/store.rs:1165 | fn | 11 | 1 | 2 | 2 | 1.2 | |
| row_matchsrc/store.rs:1810 | fn | 28 | 1 | 3 | 5 | 1.2 | |
| list_piece_events_storagesrc/store.rs:1102 | fn | 35 | 4 | 1 | 4 | 1.2 | |
| record_piece_eventsrc/store.rs:680 | fn | 3 | 1 | 2 | 1 | 1.2 | |
| piece_payloadsrc/store.rs:458 | fn | 18 | 1 | 2 | 0 | 1.2 | |
| list_moves_for_piece_storagesrc/store.rs:624 | fn | 10 | 1 | 1 | 2 | 1.1 | |
| get_matchsrc/store.rs:797 | fn | 3 | 1 | 2 | 2 | 1.1 | |
| row_piece_coresrc/store.rs:1509 | fn | 9 | 1 | 1 | 1 | 1.1 | |
| row_piece_identitysrc/store.rs:1530 | fn | 13 | 1 | 1 | 2 | 1.1 | |
| row_piece_statesrc/store.rs:1587 | fn | 13 | 1 | 1 | 2 | 1.1 | |
| standard_initial_piecessrc/store.rs:35 | fn | 51 | 4 | 3 | 1 | 1 | |
| asset_holderssrc/store.rs:1140 | fn | 24 | 1 | 1 | 2 | 1 | |
| row_movesrc/store.rs:1634 | fn | 23 | 1 | 2 | 3 | 1 | |
| list_moves_for_piece_truthsrc/store.rs:636 | fn | 12 | 2 | 1 | 3 | 1 | |
| list_moves_for_piece_sqlsrc/store.rs:666 | fn | 13 | 1 | 1 | 4 | 1 | |
| record_move_storagesrc/store.rs:526 | fn | 54 | 1 | 1 | 3 | 1 | |
| get_match_storagesrc/store.rs:801 | fn | 23 | 2 | 1 | 4 | 1 | |
| row_piece_actorssrc/store.rs:1551 | fn | 6 | 1 | 1 | 1 | 0.9 | |
| row_piece_boardsrc/store.rs:1567 | fn | 8 | 1 | 1 | 1 | 0.9 | |
| row_piece_counterssrc/store.rs:1609 | fn | 7 | 1 | 1 | 2 | 0.9 | |
| row_piece_tailsrc/store.rs:1625 | fn | 7 | 1 | 1 | 2 | 0.9 | |
| list_moves_by_sessionsrc/store.rs:581 | fn | 3 | 1 | 3 | 1 | 0.9 | |
| piece_upsert_statementsrc/store.rs:289 | fn | 45 | 1 | 2 | 0 | 0.9 | |
| agent_reward_balancessrc/store.rs:1177 | fn | 18 | 1 | 3 | 1 | 0.9 | |
| row_move_scopesrc/store.rs:1692 | fn | 8 | 1 | 1 | 1 | 0.8 | |
| row_move_actorssrc/store.rs:1708 | fn | 3 | 1 | 1 | 1 | 0.8 | |
| row_piece_event_coresrc/store.rs:1779 | fn | 9 | 1 | 1 | 1 | 0.8 | |
| row_piece_event_tailsrc/store.rs:1799 | fn | 9 | 1 | 1 | 4 | 0.8 | |
| list_piece_eventssrc/store.rs:1098 | fn | 3 | 1 | 2 | 1 | 0.8 | |
| row_move_coresrc/store.rs:1669 | fn | 13 | 1 | 1 | 2 | 0.8 | |
| row_move_squaressrc/store.rs:1722 | fn | 9 | 1 | 1 | 3 | 0.8 | |
| row_move_tailsrc/store.rs:1741 | fn | 8 | 1 | 1 | 3 | 0.8 | |
| append_piece_move_from_truth_rowsrc/store.rs:650 | fn | 14 | 3 | 1 | 0 | 0.8 | |
| sort_moves_for_projectionsrc/store.rs:1433 | fn | 5 | 1 | 1 | 0 | 0.8 | |
| anchor_match_completionsrc/store.rs:943 | fn | 154 | 2 | 1 | 3 | 0.8 | |
| settle_capture_transfersrc/store.rs:1265 | fn | 76 | 2 | 1 | 4 | 0.7 | |
| row_piece_eventsrc/store.rs:1751 | fn | 17 | 1 | 1 | 2 | 0.7 | |
| list_moves_for_piecesrc/store.rs:620 | fn | 3 | 1 | 2 | 1 | 0.7 | |
| list_recent_matches_storagesrc/store.rs:908 | fn | 34 | 3 | 1 | 4 | 0.7 | |
| sanitize_graph_keysrc/store.rs:1402 | fn | 16 | 5 | 1 | 0 | 0.7 | |
| with_chess_match_graph_mutsrc/store.rs:1440 | fn | 12 | 1 | 1 | 3 | 0.7 | |
| upsert_piecessrc/store.rs:268 | fn | 19 | 2 | 2 | 5 | 0.7 | |
| row_match_coresrc/store.rs:1849 | fn | 9 | 1 | 1 | 1 | 0.7 | |
| row_match_outcomesrc/store.rs:1869 | fn | 9 | 1 | 1 | 2 | 0.7 | |
| row_match_graphsrc/store.rs:1886 | fn | 6 | 1 | 1 | 2 | 0.7 | |
| row_match_payloadsrc/store.rs:1901 | fn | 7 | 1 | 1 | 1 | 0.7 | |
| row_match_auditsrc/store.rs:1917 | fn | 7 | 1 | 1 | 2 | 0.7 | |
| display_asset_idsrc/store.rs:1925 | fn | 4 | 2 | 1 | 0 | 0.7 | |
| initialize_standard_setupsrc/store.rs:90 | fn | 19 | 3 | 1 | 6 | 0.6 | |
| inventory_payloadsrc/store.rs:1342 | fn | 38 | 4 | 1 | 3 | 0.6 | |
| list_recent_matchessrc/store.rs:904 | fn | 3 | 1 | 1 | 2 | 0.6 | |
| record_movesrc/store.rs:522 | fn | 3 | 1 | 1 | 1 | 0.6 | |
| board_payloadsrc/store.rs:1381 | fn | 20 | 4 | 0 | 0 | 0.5 | |
| with_chess_match_graph_mutsrc/store.rs:1454 | fn | 8 | 1 | 0 | 0 | 0.5 |
Source not readable from this process.