MCPcopy Create free account

hub / github.com/aaronjmars/MiroShark / functions

Functions3,647 in github.com/aaronjmars/MiroShark

Functioncmd_list
(args: argparse.Namespace)
backend/cli.py:105
Functioncmd_publish
(args: argparse.Namespace)
backend/cli.py:241
Functioncmd_report
(args: argparse.Namespace)
backend/cli.py:258
Functioncmd_status
(args: argparse.Namespace)
backend/cli.py:127
Functioncmd_stop
(args: argparse.Namespace)
backend/cli.py:197
Functioncmd_trending
(args: argparse.Namespace)
backend/cli.py:314
Functioncmd_wait
(args: argparse.Namespace)
backend/cli.py:142
Functioncode
({ text })
frontend/src/utils/markdown.js:46
Functioncodespan
({ text })
frontend/src/utils/markdown.js:50
Functioncollect_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
Methodcomment_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
Methodcomment_on_market
Comment on a market.
backend/wonderwall/simulations/polymarket/platform.py:358
FunctioncompareSimulations
(id1, id2)
frontend/src/api/simulation.js:136
Functioncompare_simulations
Compare two completed simulations side by side. Query parameters: id1: First simulation ID (required) id2: Second simulation
backend/app/api/simulation.py:9162
Functioncompleted_summary
()
backend/tests/test_unit_watch.py:59
Functioncompute_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
Functioncompute_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
FunctioncopyCanvasToClipboard
(canvas)
frontend/src/utils/chartExport.js:263
Methodcorpus
(self)
backend/tests/test_unit_gallery_filters.py:242
FunctioncreateShareLink
(simulationId, expiresInDays = 30)
frontend/src/api/simulation.js:415
FunctioncreateSimulation
(data)
frontend/src/api/simulation.js:7
Methodcreate_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
Methodcreate_comment
(self, agent_id: int, comment_message: tuple)
backend/wonderwall/social_platform/platform.py:1123
Functioncreate_db_from_schemas
Create a SQLite database and execute the given schema SQL files.
backend/wonderwall/simulations/base.py:44
Methodcreate_graph
(self, name: str, description: str = "")
backend/app/storage/neo4j_storage.py:126
Methodcreate_graph
Create a new graph. Returns graph_id.
backend/app/storage/graph_storage.py:18
Methodcreate_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
Methodcreate_group
(self, agent_id: int, group_name: str)
backend/wonderwall/social_platform/platform.py:1549
Methodcreate_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
Methodcreate_market
Create a new prediction market.
backend/wonderwall/simulations/polymarket/platform.py:83
Methodcreate_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
Methodcreate_post
(self, agent_id: int, content: str)
backend/wonderwall/social_platform/platform.py:421
Functioncreate_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
Functioncreate_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
Functioncritical
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:132
Functiondebug
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:120
Methoddelete_graph
(self, graph_id: str)
backend/app/storage/neo4j_storage.py:153
Methoddelete_graph
Delete a graph and all its nodes/edges.
backend/app/storage/graph_storage.py:22
Methoddelete_graph
Delete graph
backend/app/services/graph_builder.py:139
Functiondelete_report
Delete report
backend/app/api/report.py:455
Methoddetect_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
Methoddimensions
(self)
backend/app/storage/embedding_service.py:68
Methoddislike_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
Methoddislike_comment
(self, agent_id: int, comment_id: int)
backend/wonderwall/social_platform/platform.py:1269
Methoddislike_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
Methoddislike_post
(self, agent_id: int, post_id: int)
backend/wonderwall/social_platform/platform.py:701
FunctiondismissBootLoader
()
frontend/src/main.js:13
FunctiondismissZhWarning
()
frontend/src/i18n.js:59
Methoddo_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
Methoddo_nothing
(self, agent_id: int)
backend/wonderwall/social_platform/platform.py:1382
Methoddo_nothing
Perform no action.
backend/wonderwall/simulations/base.py:258
Methoddo_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
FunctiondownloadCanvas
(canvas, filename)
frontend/src/utils/chartExport.js:251
Functiondownload_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
Functiondownload_report
Download report (Markdown format) Returns a Markdown file
backend/app/api/report.py:408
Functiondownload_simulation_config
Download simulation configuration file
backend/app/api/simulation.py:2935
Functiondownload_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
Functionempty_sim_dir
Sim directory with no trajectory.json — fresh sim, no rounds yet.
backend/tests/test_unit_frame_metadata.py:56
Methodenabled
(self)
backend/app/storage/reranker_service.py:36
Methodenabled
(self)
backend/app/storage/contradiction_detector.py:59
Methodenabled
(self)
backend/app/storage/entity_resolver.py:67
Functionenricher
(monkeypatch)
backend/tests/test_unit_web_enrichment.py:21
Functionerror
(msg: object, *args: object, **kwargs: Any)
backend/app/utils/logger.py:129
FunctionexportSimulationData
(simulationId, format = 'json')
frontend/src/api/simulation.js:213
Functionexport_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
Methodextract_from_files
Extract text from multiple files
backend/app/services/text_processor.py:13
Functionfake_post
(url, body, timeout)
backend/tests/test_unit_telegram_notify.py:317
Functionfake_post
(url, body, timeout)
backend/tests/test_unit_discord_notify.py:287
Functionfake_post
(url, body, timeout)
backend/tests/test_unit_slack_notify.py:256
Functionfake_post
(url, payload, timeout)
backend/tests/test_unit_webhook_log.py:239
Functionfake_send
(message, **kwargs)
backend/tests/test_unit_email_notify.py:321
Functionfake_start
(*, token, chat_id, body, thread_name)
backend/tests/test_unit_telegram_notify.py:289
Functionfake_start
(*, url, embed, thread_name)
backend/tests/test_unit_discord_notify.py:229
Functionfake_start
(*, url, message, thread_name)
backend/tests/test_unit_slack_notify.py:243
Functionfake_start
(**kwargs)
backend/tests/test_unit_email_notify.py:303
Functionfake_urlopen
(req, timeout=None)
backend/tests/test_unit_webhook_signature.py:53
Methodfast_llm
Lazy initialization of fast LLM client (for interviews, selection, questions)
backend/app/services/graph_tools.py:409
Functionfeed_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
Functionfeed_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
Functionfeed_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
FunctionfetchUrl
(url)
frontend/src/api/graph.js:77
Functionfetch_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
Methodfilter
(self, record)
backend/scripts/run_twitter_simulation.py:83
Methodfilter
(self, record)
backend/scripts/run_parallel_simulation.py:122
Functionfire_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
Functionfirecrawl_configured
(monkeypatch)
backend/tests/test_unit_url_fetcher.py:30
Functionflask_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
Methodfollow
(self, agent_id: int, followee_id: int)
backend/wonderwall/social_platform/platform.py:899
FunctionforkSimulation
(data)
frontend/src/api/simulation.js:275
Functionfork_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
Methodformat
(self, record)
backend/scripts/run_twitter_simulation.py:68
Methodformat_results_for_prompt
Render results as a prompt-ready observation block.
backend/scripts/mcp_agent_bridge.py:306
Functionformat_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
Methodfrom_dict
(cls, data: Dict[str, Any])
backend/app/services/simulation_ipc.py:81
Methodfrom_dict
(cls, data: Dict[str, Any])
backend/wonderwall/social_agent/belief_state.py:247
Functionfull_summary
()
backend/tests/test_unit_share_card.py:46
Functionfull_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
Functiongen_control_agents_with_data
( channel: Channel, control_user_num: int, models: list[BaseModelBackend] | None = None, )
backend/wonderwall/social_agent/agents_generator.py:390
FunctiongenerateOntology
(formData)
frontend/src/api/graph.js:8
FunctiongenerateReport
(data)
frontend/src/api/report.js:7
← previousnext →1,701–1,800 of 3,647, ranked by callers