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
Function
cmd_list
(args: argparse.Namespace)
backend/cli.py:105
Function
cmd_publish
(args: argparse.Namespace)
backend/cli.py:241
Function
cmd_report
(args: argparse.Namespace)
backend/cli.py:258
Function
cmd_status
(args: argparse.Namespace)
backend/cli.py:127
Function
cmd_stop
(args: argparse.Namespace)
backend/cli.py:197
Function
cmd_trending
(args: argparse.Namespace)
backend/cli.py:314
Function
cmd_wait
(args: argparse.Namespace)
backend/cli.py:142
Function
code
({ text })
frontend/src/utils/markdown.js:46
Function
codespan
({ text })
frontend/src/utils/markdown.js:50
Function
collect_cost_summary
Aggregate cost / token / latency stats without writing or printing. Pure counterpart to :func:`generate_run_summary` — reads the same global
backend/app/utils/run_summary.py:133
Method
comment_on_market
Post a comment on a prediction market. Args: market_id (int): The market to comment on. content (str): Your comment t
backend/wonderwall/simulations/polymarket/actions.py:142
Method
comment_on_market
Comment on a market.
backend/wonderwall/simulations/polymarket/platform.py:358
Function
compareSimulations
(id1, id2)
frontend/src/api/simulation.js:136
Function
compare_simulations
Compare two completed simulations side by side. Query parameters: id1: First simulation ID (required) id2: Second simulation
backend/app/api/simulation.py:9162
Function
completed_summary
()
backend/tests/test_unit_watch.py:59
Function
compute_peak_rounds
Collapse the per-round list into the peak-round summary. Returns ``None`` for empty input so the route handler can emit a 404 ("no trajectory
backend/app/services/peak_round.py:124
Function
compute_volatility_for_sim
Load ``trajectory.json`` from ``sim_dir`` and compute the summary. Convenience wrapper for the route handler. Returns ``None`` when the traje
backend/app/services/volatility_service.py:199
Function
copyCanvasToClipboard
(canvas)
frontend/src/utils/chartExport.js:263
Method
corpus
(self)
backend/tests/test_unit_gallery_filters.py:242
Function
createShareLink
(simulationId, expiresInDays = 30)
frontend/src/api/simulation.js:415
Function
createSimulation
(data)
frontend/src/api/simulation.js:7
Method
create_comment
r"""Create a new comment for a specified post given content. This method creates a new comment based on the provided content and asso
backend/wonderwall/social_agent/agent_action.py:514
Method
create_comment
(self, agent_id: int, comment_message: tuple)
backend/wonderwall/social_platform/platform.py:1123
Function
create_db_from_schemas
Create a SQLite database and execute the given schema SQL files.
backend/wonderwall/simulations/base.py:44
Method
create_graph
(self, name: str, description: str = "")
backend/app/storage/neo4j_storage.py:126
Method
create_graph
Create a new graph. Returns graph_id.
backend/app/storage/graph_storage.py:18
Method
create_group
r"""Creates a new group on the platform. Args: group_name (str): The name of the group to be created. Returns:
backend/wonderwall/social_agent/agent_action.py:708
Method
create_group
(self, agent_id: int, group_name: str)
backend/wonderwall/social_platform/platform.py:1549
Method
create_market
Create a new prediction market (used internally for seeding). Args: question (str): The question the market is about.
backend/wonderwall/simulations/polymarket/actions.py:123
Method
create_market
Create a new prediction market.
backend/wonderwall/simulations/polymarket/platform.py:83
Method
create_post
r"""Create a new post with the given content. This method invokes an asynchronous action to create a new post based on the provided c
backend/wonderwall/social_agent/agent_action.py:150
Method
create_post
(self, agent_id: int, content: str)
backend/wonderwall/social_platform/platform.py:421
Function
create_share_link
Mint a private share-link token for ``simulation_id``. Body (optional): ``{"expires_in_days": int}`` (defaults to 30, clamped to [1, 365]). R
backend/app/api/simulation.py:4790
Function
create_simulation
Create a new simulation Note: Parameters like max_rounds are intelligently generated by LLM, no manual setup needed Request (JSON):
backend/app/api/simulation.py:1381
Function
critical
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:132
Function
debug
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:120
Method
delete_graph
(self, graph_id: str)
backend/app/storage/neo4j_storage.py:153
Method
delete_graph
Delete a graph and all its nodes/edges.
backend/app/storage/graph_storage.py:22
Method
delete_graph
Delete graph
backend/app/services/graph_builder.py:139
Function
delete_report
Delete report
backend/app/api/report.py:455
Method
detect_contradictions
Find node pairs connected by multiple edges with potentially contradicting facts. Looks for node pairs that have 2+ edges and checks for oppo
backend/app/storage/neo4j_storage.py:1096
Method
dimensions
(self)
backend/app/storage/embedding_service.py:68
Method
dislike_comment
r"""Create a new dislike for a specified comment. This method invokes an action to create a new dislike for a comment, identified by
backend/wonderwall/social_agent/agent_action.py:591
Method
dislike_comment
(self, agent_id: int, comment_id: int)
backend/wonderwall/social_platform/platform.py:1269
Method
dislike_post
r"""Create a new dislike for a specified post. This method invokes an asynchronous action to create a new dislike for a post. It is i
backend/wonderwall/social_agent/agent_action.py:273
Method
dislike_post
(self, agent_id: int, post_id: int)
backend/wonderwall/social_platform/platform.py:701
Function
dismissBootLoader
()
frontend/src/main.js:13
Function
dismissZhWarning
()
frontend/src/i18n.js:59
Method
do_nothing
Skip this round and do nothing. Choose this when nothing in your feed is worth engaging with — the posts are irrelevant to you, you ha
backend/wonderwall/social_agent/agent_action.py:135
Method
do_nothing
(self, agent_id: int)
backend/wonderwall/social_platform/platform.py:1382
Method
do_nothing
Perform no action.
backend/wonderwall/simulations/base.py:258
Method
do_nothing
Skip this round and take no action. Choose this when the current market state already reflects your beliefs, no new information has em
backend/wonderwall/simulations/base.py:299
Function
downloadCanvas
(canvas, filename)
frontend/src/utils/chartExport.js:251
Function
download_project_file
Stream a project's uploaded file back to the browser by its UUID-based saved_filename. Used by the History modal's file list so users can re-d
backend/app/api/simulation.py:2893
Function
download_report
Download report (Markdown format) Returns a Markdown file
backend/app/api/report.py:408
Function
download_simulation_config
Download simulation configuration file
backend/app/api/simulation.py:2935
Function
download_simulation_script
Download simulation run script file (common scripts, located at backend/scripts/) Options for script_name: - run_twitter_simulation.
backend/app/api/simulation.py:2969
Function
empty_sim_dir
Sim directory with no trajectory.json — fresh sim, no rounds yet.
backend/tests/test_unit_frame_metadata.py:56
Method
enabled
(self)
backend/app/storage/reranker_service.py:36
Method
enabled
(self)
backend/app/storage/contradiction_detector.py:59
Method
enabled
(self)
backend/app/storage/entity_resolver.py:67
Function
enricher
(monkeypatch)
backend/tests/test_unit_web_enrichment.py:21
Function
error
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:129
Function
exportSimulationData
(simulationId, format = 'json')
frontend/src/api/simulation.js:213
Function
export_simulation_data
Export simulation data as JSON or CSV file download. Query parameters: format: Export format — 'json' (default) or 'csv' inc
backend/app/api/simulation.py:9018
Method
extract_from_files
Extract text from multiple files
backend/app/services/text_processor.py:13
Function
fake_post
(url, body, timeout)
backend/tests/test_unit_telegram_notify.py:317
Function
fake_post
(url, body, timeout)
backend/tests/test_unit_discord_notify.py:287
Function
fake_post
(url, body, timeout)
backend/tests/test_unit_slack_notify.py:256
Function
fake_post
(url, payload, timeout)
backend/tests/test_unit_webhook_log.py:239
Function
fake_send
(message, **kwargs)
backend/tests/test_unit_email_notify.py:321
Function
fake_start
(*, token, chat_id, body, thread_name)
backend/tests/test_unit_telegram_notify.py:289
Function
fake_start
(*, url, embed, thread_name)
backend/tests/test_unit_discord_notify.py:229
Function
fake_start
(*, url, message, thread_name)
backend/tests/test_unit_slack_notify.py:243
Function
fake_start
(**kwargs)
backend/tests/test_unit_email_notify.py:303
Function
fake_urlopen
(req, timeout=None)
backend/tests/test_unit_webhook_signature.py:53
Method
fast_llm
Lazy initialization of fast LLM client (for interviews, selection, questions)
backend/app/services/graph_tools.py:409
Function
feed_atom
Atom 1.0 representation of the public simulation gallery. Query parameters mirror the gallery API so a bookmarked feed URL answers the same q
backend/app/api/feed.py:163
Function
feed_etag
Build a short ``ETag`` from the cheap inputs. ``count`` + the newest entry's ``completed_at`` is enough to detect material change without re-
backend/app/services/activity_feed.py:377
Function
feed_rss
RSS 2.0 representation of the public simulation gallery. Same content + selection + query parameter set as ``/api/feed.atom`` — older readers
backend/app/api/feed.py:195
Function
fetchUrl
(url)
frontend/src/api/graph.js:77
Function
fetch_url
Fetch a URL and extract readable text for use as a simulation document. Request (JSON): { "url": "https://example.com/article" }
backend/app/api/graph.py:62
Method
filter
(self, record)
backend/scripts/run_twitter_simulation.py:83
Method
filter
(self, record)
backend/scripts/run_parallel_simulation.py:122
Function
fire_webhook_for_simulation
Fire-and-forget webhook for a simulation that just reached a terminal state. Safe to call from inside the simulation monitor thread — work ha
backend/app/services/webhook_service.py:959
Function
firecrawl_configured
(monkeypatch)
backend/tests/test_unit_url_fetcher.py:30
Function
flask_app
Tiny Flask app with the observability blueprint mounted. Importing ``app.api.observability`` is safe — it pulls in ``EventLogger``/``FileTail
backend/tests/test_unit_observability_routes.py:34
Method
follow
(self, agent_id: int, followee_id: int)
backend/wonderwall/social_platform/platform.py:899
Function
forkSimulation
(data)
frontend/src/api/simulation.js:275
Function
fork_simulation
Fork an existing simulation into a new child simulation. Copies agent profiles and configuration from the parent so the child is immedia
backend/app/api/simulation.py:1562
Method
format
(self, record)
backend/scripts/run_twitter_simulation.py:68
Method
format_results_for_prompt
Render results as a prompt-ready observation block.
backend/scripts/mcp_agent_bridge.py:306
Function
format_seed_for_prompt
Render a Nemotron row as a short, prompt-friendly anchor block. Strips internal `_*` keys and any null/empty values; keeps the fields the per
backend/app/services/demographic_sampler.py:310
Method
from_dict
(cls, data: Dict[str, Any])
backend/app/services/simulation_ipc.py:81
Method
from_dict
(cls, data: Dict[str, Any])
backend/wonderwall/social_agent/belief_state.py:247
Function
full_summary
()
backend/tests/test_unit_share_card.py:46
Function
full_summary
20-round simulation summary — same shape as the embed-summary endpoint produces for a completed run.
backend/tests/test_unit_replay_gif.py:62
Function
gen_control_agents_with_data
( channel: Channel, control_user_num: int, models: list[BaseModelBackend] | None = None, )
backend/wonderwall/social_agent/agents_generator.py:390
Function
generateOntology
(formData)
frontend/src/api/graph.js:8
Function
generateReport
(data)
frontend/src/api/report.js:7
← previous
next →
1,701–1,800 of 3,647, ranked by callers