Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/aaronjmars/MiroShark
/ functions
Functions
3,647 in github.com/aaronjmars/MiroShark
⨍
Functions
3,647
◇
Types & classes
172
↳
Endpoints
175
↓ 1 callers
Function
main
Run all smoke tests
scripts/smoke_test.py:88
↓ 1 callers
Function
main
Main function
scripts/synthetic_seed.py:98
↓ 1 callers
Function
mask_token
Show the leading agent id prefix of a token for log lines / UI. Tokens look like ``agent_abc123:long-secret``. We surface the agent-id half (
backend/app/services/waybackclaw_publisher.py:169
↓ 1 callers
Function
mask_token
Show the first 6 chars of an auth token for log lines / UI. Mirrors :func:`webhook_service.mask_url`: never echo the full secret back to logs
backend/app/services/dkg_publisher.py:177
↓ 1 callers
Method
mute
r"""Mute a user. Allows agent to mute another user. Checks for an existing mute record before adding a new one to the database.
backend/wonderwall/social_agent/agent_action.py:445
↓ 1 callers
Function
normalise_sort
Default to ``date`` for any unrecognised input.
backend/app/services/gallery_filters.py:115
↓ 1 callers
Function
normalize_similarity_adjustments
Normalize the adjustments to keep them in scale with overall similarities. Args: post_scores (list): List of post scores. ba
backend/wonderwall/social_platform/recsys.py:601
↓ 1 callers
Function
outcome_reader
(_sim_dir)
backend/tests/test_unit_feed.py:482
↓ 1 callers
Method
panorama_search
[PanoramaSearch - Breadth Search] Get a comprehensive panoramic view, including all related content and historical/expired informati
backend/app/services/graph_tools.py:1095
↓ 1 callers
Function
parseAllowedHosts
Build Vite allowedHosts from Traefik DNS vars + optional extras.
frontend/vite.config.js:11
↓ 1 callers
Function
parse_tr_call
Body starts with `tr(` or `$tr(`, then args, then `)`. Returns (en, de, fr) or None if not parseable.
scripts/scan_i18n.py:99
↓ 1 callers
Method
perform_action_by_llm
(self)
backend/wonderwall/social_agent/agent.py:254
↓ 1 callers
Method
perform_interview
Perform an interview with the agent.
backend/wonderwall/social_agent/agent.py:487
↓ 1 callers
Function
phase1_ontology
Upload PDF and generate ontology.
backend/scripts/test_e2e_api.py:185
↓ 1 callers
Function
phase1_parse
()
backend/scripts/test_full_pipeline.py:75
↓ 1 callers
Function
phase2_graph
Build knowledge graph (async).
backend/scripts/test_e2e_api.py:217
↓ 1 callers
Function
phase2_ontology
(document_text)
backend/scripts/test_full_pipeline.py:92
↓ 1 callers
Function
phase3_create_simulation
Create simulation record.
backend/scripts/test_e2e_api.py:261
↓ 1 callers
Function
phase3_graph
(document_text, ontology)
backend/scripts/test_full_pipeline.py:120
↓ 1 callers
Function
phase4_prepare
Prepare simulation — generate profiles + config (async).
backend/scripts/test_e2e_api.py:282
↓ 1 callers
Function
phase4_profiles
(storage, graph_id, ontology)
backend/scripts/test_full_pipeline.py:172
↓ 1 callers
Function
phase5_config
(document_text, ontology, profiles)
backend/scripts/test_full_pipeline.py:228
↓ 1 callers
Function
phase5_config
Generate simulation config using the existing graph.
backend/scripts/test_pipeline_phase5_6.py:59
↓ 1 callers
Function
phase5_run
Run simulation for MAX_SIM_ROUNDS rounds.
backend/scripts/test_e2e_api.py:330
↓ 1 callers
Function
phase6_report
Generate analysis report (async).
backend/scripts/test_e2e_api.py:367
↓ 1 callers
Function
phase6_simulation
Run a 3-round simulation with the generated config.
backend/scripts/test_pipeline_phase5_6.py:146
↓ 1 callers
Function
phase7_retrieve_report
Retrieve and display the generated report.
backend/scripts/test_e2e_api.py:400
↓ 1 callers
Method
plan_outline
Plan report outline Use LLM to analyze simulation requirements and plan report table of contents Args: progress
backend/app/services/report_agent.py:2041
↓ 1 callers
Method
poll_command
Poll for pending commands
backend/scripts/run_twitter_simulation.py:178
↓ 1 callers
Method
poll_command
Poll for pending commands
backend/scripts/run_parallel_simulation.py:330
↓ 1 callers
Method
poll_command
Poll for pending commands
backend/scripts/run_reddit_simulation.py:188
↓ 1 callers
Function
poll_simulation
Poll simulation run-status until runner_status != running.
backend/scripts/test_e2e_api.py:155
↓ 1 callers
Method
prepare_simulation
Prepare simulation environment (fully automated) Steps: 1. Read and filter entities from graph 2. Generate Wonderwal
backend/app/services/simulation_manager.py:297
↓ 1 callers
Function
print_db_tables_summary
()
backend/wonderwall/social_platform/database.py:136
↓ 1 callers
Function
process_batch
(model: AutoModel, tokenizer: AutoTokenizer, batch_texts: List[str])
backend/wonderwall/social_platform/process_recsys_posts.py:24
↓ 1 callers
Method
process_commands
Process all pending commands Returns: True means continue running, False means should exit
backend/scripts/run_twitter_simulation.py:351
↓ 1 callers
Method
process_commands
Process all pending commands Returns: True means continue running, False means should exit
backend/scripts/run_parallel_simulation.py:656
↓ 1 callers
Method
process_commands
Process all pending commands Returns: True means continue running, False means should exit
backend/scripts/run_reddit_simulation.py:361
↓ 1 callers
Method
quick_search
[QuickSearch - Simple Search] Fast and lightweight retrieval tool.
backend/app/services/graph_tools.py:1164
↓ 1 callers
Function
quote_buy
Quote a buy order: spend ``amount_usd`` to get shares of ``outcome``. Uses the **mint-and-swap** mechanism standard in prediction markets: 1
backend/wonderwall/simulations/polymarket/amm.py:53
↓ 1 callers
Function
quote_sell
Quote a sell order: sell ``shares`` of ``outcome`` to get USD back. Uses the **split-swap-and-burn** mechanism: 1. Split ``shares`` into *x*
backend/wonderwall/simulations/polymarket/amm.py:102
↓ 1 callers
Function
readInitial
()
frontend/src/i18n.js:11
↓ 1 callers
Function
read_citation
Return the persisted citation dict, or ``None`` if absent. Cheap read used by the EmbedDialog to render the existing citation badge without f
backend/app/services/dkg_publisher.py:433
↓ 1 callers
Method
read_new_lines
Return complete lines appended since last call.
backend/app/utils/event_logger.py:320
↓ 1 callers
Function
read_record
Return the persisted submission record, or ``None`` if absent. Cheap read used by the EmbedDialog to render the existing snapshot badge witho
backend/app/services/waybackclaw_publisher.py:276
↓ 1 callers
Function
rec_sys_personalized_twh
( user_table: List[Dict[str, Any]], post_table: List[Dict[str, Any]], latest_post_coun
backend/wonderwall/social_platform/recsys.py:419
↓ 1 callers
Function
rec_sys_personalized_with_trace
This version: 1. If the number of posts is less than or equal to the maximum recommended length, each user gets all post IDs 2.
backend/wonderwall/social_platform/recsys.py:674
↓ 1 callers
Function
rec_sys_random
Randomly recommend posts to users. Args: user_table (List[Dict[str, Any]]): List of users. post_table (List[Dict[str, Any]])
backend/wonderwall/social_platform/recsys.py:136
↓ 1 callers
Function
rec_sys_reddit
Recommend posts based on Reddit-like hot score. Args: post_table (List[Dict[str, Any]]): List of posts. rec_matrix (List[Lis
backend/wonderwall/social_platform/recsys.py:213
↓ 1 callers
Method
record_observation
(self, iteration: int, content: str)
backend/app/storage/reasoning_trace.py:103
↓ 1 callers
Method
record_thought
(self, iteration: int, content: str)
backend/app/storage/reasoning_trace.py:89
↓ 1 callers
Method
record_tool_call
( self, iteration: int, tool_name: str, params: Dict[str, Any] )
backend/app/storage/reasoning_trace.py:92
↓ 1 callers
Method
refresh
r"""Refresh to get recommended posts. This method invokes an asynchronous action to refresh and fetch recommended posts. On successfu
backend/wonderwall/social_agent/agent_action.py:97
↓ 1 callers
Method
register_cleanup
Register cleanup function Called when Flask application starts, ensures all simulation processes are cleaned up when server
backend/app/services/simulation_runner.py:1429
↓ 1 callers
Method
remove_edge
(self, agent_id_0: int, agent_id_1: int)
backend/wonderwall/social_agent/agent_graph.py:219
↓ 1 callers
Function
render_badge_svg_bytes
Convenience wrapper returning the SVG document as UTF-8 bytes. Includes the XML declaration so a stdout ``curl > badge.svg`` is a fully self-
backend/app/services/badge_service.py:328
↓ 1 callers
Function
render_json_bytes
JSON form — pretty-printed (indent=2) so a curl into a file is immediately readable. Sorting is left in payload order so rounds stay chronolog
backend/app/services/transcript.py:581
↓ 1 callers
Function
render_manifest_bytes
Pretty-print the manifest as UTF-8 bytes for inclusion in the ZIP. ``sort_keys=True`` + ``indent=2`` + trailing newline — same shape as ``rep
backend/app/services/archive_service.py:389
↓ 1 callers
Function
render_thread_json
Pretty-print the thread payload as JSON. Caller-friendly indent so a ``curl`` to a file is immediately readable.
backend/app/services/thread_formatter.py:453
↓ 1 callers
Function
render_thread_txt
Render the thread as a plain-text document. Each tweet is its own block separated by ``\\n---\\n`` so the operator can scan visually and copy
backend/app/services/thread_formatter.py:439
↓ 1 callers
Method
rerank
Score each (query, doc) pair. Returns scores aligned to docs, or None if reranking is disabled or failed.
backend/app/storage/reranker_service.py:94
↓ 1 callers
Method
rerank_with_indices
Return [(original_index, score), ...] sorted by score descending. Convenience wrapper around rerank().
backend/app/storage/reranker_service.py:116
↓ 1 callers
Method
reset_graph
(self)
backend/wonderwall/social_agent/agent_graph.py:80
↓ 1 callers
Method
resolve_batch
Find canonical matches for each new entity against the existing graph. Args: entities: [{name, type, attributes, ...}] a
backend/app/storage/entity_resolver.py:79
↓ 1 callers
Function
resolve_oracle_tools
Dispatch ``template['oracle_tools']`` and return a markdown evidence block. Returns an empty string if oracle seeds are disabled, the list is emp
backend/app/services/oracle_seed.py:118
↓ 1 callers
Function
retry_webhook_for_simulation
Manually re-dispatch the completion webhook for a finished sim. Mirrors :func:`fire_webhook_for_simulation` but **bypasses the per-process ``
backend/app/services/webhook_service.py:1082
↓ 1 callers
Function
run_reddit_simulation
Run Reddit simulation Args: config: Simulation configuration simulation_dir: Simulation directory action_logger: Action l
backend/scripts/run_parallel_simulation.py:1623
↓ 1 callers
Function
run_simulation
(config_path)
backend/scripts/test_3platform_interconnected.py:147
↓ 1 callers
Function
run_simulation
Run all 3 platforms for 5 rounds.
backend/scripts/test_pipeline_twitter_polymarket.py:171
↓ 1 callers
Function
run_synchronized_simulation
Run all platforms in lock-step: one round at a time across all platforms. Returns (twitter_result, reddit_result, polymarket_result).
backend/scripts/run_parallel_simulation.py:2332
↓ 1 callers
Function
run_twitter_simulation
Run Twitter simulation Args: config: Simulation configuration simulation_dir: Simulation directory action_logger: Action
backend/scripts/run_parallel_simulation.py:1307
↓ 1 callers
Method
running
(self)
backend/wonderwall/social_platform/platform.py:128
↓ 1 callers
Method
save_belief_states
Persist per-agent belief states so resume starts from this round's stance. Best-effort; failures don't block the simulation.
backend/scripts/belief_integration.py:150
↓ 1 callers
Method
save_extracted_text
Save extracted text
backend/app/models/project.py:290
↓ 1 callers
Method
save_file_to_project
Save uploaded file to project directory Args: project_id: Project ID file_storage: Flask FileStorage object
backend/app/models/project.py:259
↓ 1 callers
Function
save_subscription
Persist a push subscription for a simulation. Deduplicates by endpoint so re-subscribing from the same browser does not create duplicate entr
backend/app/services/push_notification_service.py:108
↓ 1 callers
Function
save_text
(name, text)
backend/scripts/test_full_pipeline.py:51
↓ 1 callers
Function
save_text
(name, text)
backend/scripts/test_pipeline_phase5_6.py:46
↓ 1 callers
Function
scan
(frontend_root)
scripts/scan_i18n.py:127
↓ 1 callers
Method
search_edges
Search edges via vector + BM25 + graph traversal, then rerank. Args: as_of: ISO-8601 point-in-time filter. i
backend/app/storage/search_service.py:173
↓ 1 callers
Method
search_nodes
Search nodes via vector + BM25 + graph traversal, then rerank. Temporal + kind filters apply to the RELATION edges traversed for
backend/app/storage/search_service.py:219
↓ 1 callers
Method
send_batch_interview
Send a batch interview command Args: interviews: Interview list, each element contains {"agent_id": int, "prompt": str,
backend/app/services/simulation_ipc.py:214
↓ 1 callers
Method
send_close_env
Send a close environment command Args: timeout: Timeout in seconds Returns: IPCResponse
backend/app/services/simulation_ipc.py:244
↓ 1 callers
Method
send_interview
Send a single agent interview command Args: agent_id: Agent ID prompt: Interview question platfo
backend/app/services/simulation_ipc.py:179
↓ 1 callers
Function
setup
()
backend/scripts/test_3platform_interconnected.py:47
↓ 1 callers
Function
setup_signal_handlers
Set up signal handlers to ensure graceful exit on SIGTERM/SIGINT Give the program a chance to clean up resources (close database, environment
backend/scripts/run_twitter_simulation.py:769
↓ 1 callers
Function
setup_signal_handlers
Set up signal handlers to ensure graceful exit on SIGTERM/SIGINT Persistent simulation scenario: does not exit after simulation, waits for i
backend/scripts/run_parallel_simulation.py:3122
↓ 1 callers
Function
setup_signal_handlers
Set up signal handlers to ensure graceful exit on SIGTERM/SIGINT Give the program a chance to clean up resources (close database, environment
backend/scripts/run_reddit_simulation.py:836
↓ 1 callers
Function
setup_simulation
Build simulation directory with all required files.
backend/scripts/test_pipeline_twitter_polymarket.py:40
↓ 1 callers
Function
setup_wonderwall_logging
Configure Wonderwall logging with fixed-name log files
backend/scripts/run_twitter_simulation.py:94
↓ 1 callers
Function
setup_wonderwall_logging
Configure Wonderwall logging with fixed-name log files
backend/scripts/run_reddit_simulation.py:104
↓ 1 callers
Method
should_enrich
Decide whether web enrichment is warranted. Returns True if: - Entity type is a known notable type (public figures, orgs) - O
backend/app/services/web_enrichment.py:87
↓ 1 callers
Function
show_expected_formats
Display Wonderwall expected formats
backend/scripts/test_profile_format.py:130
↓ 1 callers
Method
shutdown
(self)
backend/scripts/mcp_agent_bridge.py:201
↓ 1 callers
Method
shutdown
(self)
backend/scripts/mcp_agent_bridge.py:320
↓ 1 callers
Function
sort_cards
Return a new list sorted by the requested key, newest/largest first.
backend/app/services/gallery_filters.py:334
↓ 1 callers
Function
split_text_into_chunks
Split text into smaller chunks Args: text: Original text chunk_size: Number of characters per chunk overlap: Number
backend/app/utils/file_parser.py:146
↓ 1 callers
Method
start_round
Initialize a new round record.
backend/scripts/round_memory.py:192
↓ 1 callers
Method
start_section
Begin buffering steps for a new section. Returns a section UUID.
backend/app/storage/reasoning_trace.py:78
↓ 1 callers
Method
stop_all
Stop all updaters
backend/app/services/graph_memory_updater.py:462
← previous
next →
1,301–1,400 of 3,647, ranked by callers