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
Method
__init__
(self)
backend/wonderwall/social_agent/round_analyzer.py:62
Method
__init__
(self, topics: List[str])
backend/wonderwall/social_agent/round_analyzer.py:170
Method
__init__
(self, agent_id: int, channel: Channel)
backend/wonderwall/social_agent/agent_action.py:24
Method
__init__
r"""Init the wonderwall environment. Args: agent_graph: The AgentGraph to use in the simulation. platform: The platfo
backend/wonderwall/environment/env.py:62
Method
__init__
(self, k: int = 1)
backend/wonderwall/clock/clock.py:20
Method
__init__
(self, db, db_cursor, start_time, sandbox_
backend/wonderwall/social_platform/platform_utils.py:22
Method
__init__
( self, db_path: str, channel: Any = None, sandbox_clock: Clock | None = None,
backend/wonderwall/social_platform/platform.py:56
Method
__init__
(self)
backend/wonderwall/social_platform/channel.py:20
Method
__init__
(self)
backend/wonderwall/social_platform/channel.py:43
Method
__init__
( self, db_path: str, channel: Any = None, sandbox_clock: Clock | None = None,
backend/wonderwall/simulations/base.py:90
Method
__init__
(self, agent_id: int, channel: Channel)
backend/wonderwall/simulations/base.py:282
Method
__init__
(self, action: BaseAction)
backend/wonderwall/simulations/base.py:333
Method
__init__
( self, db_path: str, channel: Any = None, sandbox_clock: Clock | None = None,
backend/wonderwall/simulations/polymarket/platform.py:46
Method
__new__
(cls)
backend/app/utils/event_logger.py:123
Method
__str__
(self)
backend/wonderwall/social_agent/agent.py:616
Method
_add_and_return_edge
(tx: Any, src_agent_id: int, dst_agent_id: int)
backend/wonderwall/social_agent/agent_graph.py:104
Method
_add_labels
(tx, _label=label, _names=name_lowers)
backend/app/storage/neo4j_storage.py:372
Function
_agent_sort_key
Sort key: most-bullish-first by final_position, ties on agent_id. Agents with no belief data (``final_position=None``) sort to the bottom — t
backend/app/services/agent_export.py:331
Function
_agents_key
(card: dict)
backend/app/services/gallery_filters.py:307
Function
_all_templates
()
backend/tests/test_unit_templates_schema.py:25
Function
_build_chart_svg
()
backend/app/services/archive_service.py:264
Function
_build_notebook_ipynb
()
backend/app/services/archive_service.py:301
Function
_build_reproduce_json
()
backend/app/services/archive_service.py:296
Function
_build_share_card
()
backend/app/services/archive_service.py:257
Function
_build_signal_json
()
backend/app/services/archive_service.py:314
Function
_build_thread_txt
()
backend/app/services/archive_service.py:283
Function
_build_trajectory_csv
()
backend/app/services/archive_service.py:267
Function
_build_trajectory_jsonl
()
backend/app/services/archive_service.py:272
Function
_build_transcript_md
()
backend/app/services/archive_service.py:277
Method
_check_agent_userid
(self, agent_id)
backend/wonderwall/social_platform/platform_utils.py:59
Function
_clear_distribution_cache
Drop the module-level cache before and after every test.
backend/tests/test_unit_outcome_distribution.py:119
Function
_clear_platform_stats_cache
Drop the module-level cache before and after every test so fixture mutations between tests can't leak through.
backend/tests/test_unit_platform_stats.py:118
Function
_clear_project_stats_cache
Drop the module-level cache before and after every test.
backend/tests/test_unit_project_stats.py:117
Function
_collapse_string_whitespace
Replace raw newlines/runs of whitespace inside a JSON string value. Unescaped newlines inside a string make the document invalid JSON; this f
backend/app/utils/json_repair.py:46
Function
_comment_score
(c: dict)
backend/lib/env_compact.py:29
Method
_compact_sync
Synchronous compaction — runs in thread pool.
backend/scripts/round_memory.py:320
Method
_create
(tx)
backend/app/storage/neo4j_storage.py:130
Method
_create_and_return_agent
(tx: Any, agent_id: int)
backend/wonderwall/social_agent/agent_graph.py:85
Method
_create_episode
(tx)
backend/app/storage/neo4j_storage.py:270
Method
_create_relations_batch
(tx, _batch=relation_batch)
backend/app/storage/neo4j_storage.py:430
Method
_delete
(tx)
backend/app/storage/neo4j_storage.py:154
Method
_delete_agent_and_relationships
(tx: Any, agent_id: int)
backend/wonderwall/social_agent/agent_graph.py:94
Method
_describe
(strat)
backend/app/services/report_agent.py:1664
Method
_describe_create_comment
(self)
backend/app/services/graph_memory_updater.py:115
Method
_describe_create_post
(self)
backend/app/services/graph_memory_updater.py:53
Method
_describe_dislike_comment
(self)
backend/app/services/graph_memory_updater.py:140
Method
_describe_dislike_post
(self)
backend/app/services/graph_memory_updater.py:70
Method
_describe_follow
(self)
backend/app/services/graph_memory_updater.py:109
Method
_describe_generic
(self)
backend/app/services/graph_memory_updater.py:165
Method
_describe_like_comment
(self)
backend/app/services/graph_memory_updater.py:129
Method
_describe_like_post
(self)
backend/app/services/graph_memory_updater.py:59
Method
_describe_mute
(self)
backend/app/services/graph_memory_updater.py:159
Method
_describe_quote_post
(self)
backend/app/services/graph_memory_updater.py:92
Method
_describe_repost
(self)
backend/app/services/graph_memory_updater.py:81
Method
_describe_search
(self)
backend/app/services/graph_memory_updater.py:151
Method
_describe_search_user
(self)
backend/app/services/graph_memory_updater.py:155
Method
_embed_url
(self)
backend/app/storage/embedding_service.py:72
Method
_execute_many_db_command
(self, command, args_list, commit=False)
backend/wonderwall/simulations/base.py:209
Function
_extract_routes_for_bp
Find every ``@<bp_name>.route('...')`` declaration in ``file_path``. Returns the path component (e.g. ``"/<id>/run-status"``) — the caller is
backend/tests/test_unit_openapi.py:168
Method
_final_spread
(rounds)
backend/app/services/report_agent.py:1578
Function
_format_pct
(value: Any)
backend/app/services/telegram_notify.py:165
Method
_gen_batch
(batch_idx)
backend/app/services/simulation_config_generator.py:348
Method
_generate_one
Runs in a worker thread. Returns (idx, title, content).
backend/app/services/report_agent.py:2666
Method
_get_all_edges
(tx: Any)
backend/wonderwall/social_agent/agent_graph.py:157
Method
_get_all_nodes
(tx: Any)
backend/wonderwall/social_agent/agent_graph.py:148
Method
_get_graph_info
Get graph information
backend/app/services/graph_builder.py:125
Method
_get_number_of_edges
(tx: Any)
backend/wonderwall/social_agent/agent_graph.py:139
Method
_get_number_of_nodes
(tx: Any)
backend/wonderwall/social_agent/agent_graph.py:130
Method
_get_section_path
Get section Markdown file path
backend/app/services/report_agent.py:3045
Method
_interview_with_locale
(**kwargs)
backend/app/services/graph_tools.py:1517
Method
_invalidate
(tx)
backend/app/storage/neo4j_storage.py:654
Function
_iso
Format ``epoch_seconds`` (UTC) as the naive-local shape ``simulation_runner`` writes into ``state.json``.
backend/tests/test_unit_batch_status.py:64
Function
_iso
Format ``epoch_seconds`` as the naive-local ISO shape ``simulation_runner`` writes into ``state.json``.
backend/tests/test_unit_activity_feed.py:55
Method
_looks_like_citation
(line: str)
backend/app/services/text_processor.py:105
Method
_merge_entities_batch
(tx, _batch=entity_batch)
backend/app/storage/neo4j_storage.py:331
Method
_monitor_simulation
Monitor simulation process, parse action logs
backend/app/services/simulation_runner.py:443
Function
_no_runner_state
Bypass SimulationRunner.get_run_state — it touches disk + process state we don't care about here. A ``None`` run_state makes the helper fall b
backend/tests/test_unit_public_gallery.py:60
Function
_no_runner_state
Bypass SimulationRunner.get_run_state — same trick as the gallery test file, so the helper falls back to disk-only data.
backend/tests/test_unit_outcome.py:56
Method
_normalize
(results: List[Dict[str, Any]])
backend/app/storage/search_service.py:445
Method
_not_signup_error_message
(agent_id)
backend/wonderwall/social_platform/platform_utils.py:39
Method
_parse_ollama_response
Parse Ollama response: {"embeddings": [[...], ...]}
backend/app/storage/embedding_service.py:217
Method
_parse_openai_response
Parse OpenAI response: {"data": [{"embedding": [...], "index": 0}, ...]}
backend/app/storage/embedding_service.py:227
Method
_process_chunk
(chunk_idx: int, chunk: str)
backend/app/services/graph_builder.py:73
Function
_protected
()
backend/tests/test_unit_admin_auth.py:68
Function
_raises
()
backend/tests/test_unit_archive_service.py:403
Method
_read
(tx)
backend/app/storage/neo4j_storage.py:507
Function
_read_serves_total
(sim_dir: str)
backend/app/api/feed.py:97
Method
_reader
()
backend/scripts/mcp_agent_bridge.py:131
Method
_remove_and_return_edge
(tx: Any, src_agent_id: int, dst_agent_id: int)
backend/wonderwall/social_agent/agent_graph.py:116
Function
_replace
(match: re.Match[str])
backend/tests/test_unit_openapi.py:225
Function
_reset_active_locale_between_tests
Restore the default active locale between tests. ``ContextVar`` state would otherwise leak across tests sharing the same execution context an
backend/tests/test_unit_i18n.py:93
Method
_reset_graph
(tx: Any)
backend/wonderwall/social_agent/agent_graph.py:167
Function
_reset_registry
()
backend/tests/test_unit_graph_tools_locale.py:20
Function
_reset_registry
()
backend/tests/test_unit_prompt_registry.py:19
Function
_restore_auth_env
Snapshot and restore the global auth state these tests mutate. The guard reads MIROSHARK_INTERNAL_KEY, the deploy-platform env vars, and Conf
backend/tests/test_unit_internal_auth.py:18
Function
_rounds_key
Sort key for ``rounds`` — highest current_round first, breaks ties on agent_count then created_at.
backend/app/services/gallery_filters.py:293
Function
_run_tool_sync
Dispatch table — each branch returns a string to hand to Claude Desktop.
backend/mcp_server.py:257
Function
_send
()
backend/app/services/push_notification_service.py:154
Function
_send
()
backend/app/services/email_notify.py:633
Function
_send
()
backend/app/services/webhook_service.py:1044
← previous
next →
1,501–1,600 of 3,647, ranked by callers