MCPcopy Create free account

hub / github.com/OpenRaiser/NanoResearch / functions

Functions1,278 in github.com/OpenRaiser/NanoResearch

↓ 5 callersMethod_result_name
(entry: dict, default: str = "method")
nanoresearch/agents/writing/grounding_tables.py:690
↓ 5 callersMethod_run_shell_no_proxy
Run a shell command WITHOUT proxy (for domestic sources like ModelScope).
nanoresearch/agents/setup_github.py:380
↓ 5 callersMethod_run_ssh
(self, cmd: str, timeout: int = CMD_TIMEOUT)
nanoresearch/agents/cluster_executor_ops.py:54
↓ 5 callersMethod_sanitize_revised_tex
Sanitize revised LaTeX using WritingAgent's sanitizer. Falls back to inline critical fixes if WritingAgent import fails.
nanoresearch/agents/review/latex_compile.py:129
↓ 5 callersMethod_save_figure_files
Save PNG (if not already saved) + convert to PDF + register artifacts. Args: code_generated: True for matplotlib/code-generated c
nanoresearch/agents/figure_gen/save_figure.py:17
↓ 5 callersMethod_skill_id
(prefix: str, *parts: str)
nanoresearch/evolution/skills.py:167
↓ 5 callersMethod_smart_place_figure
r"""Place a figure block at the best position in the document. Strategy (matches top-venue conventions): 1. Near first \ref{fig:label
nanoresearch/agents/writing/latex_bib_figures.py:429
↓ 5 callersMethod_strip_leading_filler
Remove LLM filler words/phrases at the start of generated section content.
nanoresearch/agents/writing/section_writer.py:177
↓ 5 callersMethod_strip_think_blocks
Remove ``<think>…</think>`` blocks emitted by reasoning models.
nanoresearch/pipeline/multi_model.py:102
↓ 5 callersMethodexport
Export a clean, self-contained output folder. Structure: {topic_slug}/ +-- paper.pdf +-- paper.tex
nanoresearch/pipeline/_workspace_helpers.py:16
↓ 5 callersFunctionget_writing_system_prompt
Return the specialized system prompt for a writing section.
nanoresearch/skill_prompts.py:29
↓ 5 callersFunctionis_python_launcher_token
Return True when a command token refers to a Python launcher.
nanoresearch/agents/project_runner_core.py:40
↓ 5 callersFunctionload_user_profile
()
nanoresearch/profile.py:222
↓ 5 callersMethodmark_stage_completed
(self, stage: PipelineStage, output_path: str = "")
nanoresearch/pipeline/workspace.py:228
↓ 5 callersFunctionsearch_openalex
Search OpenAlex for scholarly works. Uses the /works endpoint with search parameter. Args: query: Search query string. max_r
mcp_server/tools/openalex.py:45
↓ 5 callersFunctionsearch_web
Search the web via DuckDuckGo. Args: query: Search query string. max_results: Maximum number of results to return. Returns:
mcp_server/tools/web_search.py:20
↓ 5 callersMethodsnapshot
Return a JSON-serializable snapshot for manifest storage. Strips all API keys (global and per-stage) to prevent accidental leaks.
nanoresearch/config.py:387
↓ 5 callersFunctionvalidate_launch_contract
( command: str | list[str], code_dir: Path, *, create_artifact_dirs: bool = True, )
nanoresearch/agents/project_runner_validate.py:306
↓ 4 callersFunction_add
(candidate: str | None)
nanoresearch/agents/_base_helpers.py:207
↓ 4 callersFunction_add
(name: str, python: str, source: str)
nanoresearch/agents/runtime_env/_discovery.py:33
↓ 4 callersMethod_batch_fix_errors
Parse traceback, fix each affected file with a targeted LLM call. Surgical approach: for each file in the traceback, send ONLY that file
nanoresearch/agents/experiment/code_runner.py:233
↓ 4 callersMethod_build_grounding_status_context
Build a brief context block informing the LLM about evidence completeness.
nanoresearch/agents/writing/grounding_tables.py:476
↓ 4 callersMethod_check_latex_structure
Quick structural checks for LaTeX source (no compilation). Returns a list of issue description strings. Used by the backpressure mec
nanoresearch/agents/review/consistency.py:172
↓ 4 callersFunction_circuit_breaker_check
Check if circuit breaker is open. Returns True if we should skip the call.
mcp_server/tools/semantic_scholar.py:44
↓ 4 callersFunction_circuit_breaker_record
Record a response status for circuit breaker logic.
mcp_server/tools/semantic_scholar.py:55
↓ 4 callersMethod_collect_quick_eval_results
Parse metrics.json after a successful quick-eval run.
nanoresearch/agents/experiment/quick_eval.py:153
↓ 4 callersFunction_common_params
Build common query params (api_key).
mcp_server/tools/openalex.py:36
↓ 4 callersFunction_decode_bytes
Decode subprocess output bytes to str safely on Windows (GBK fallback).
nanoresearch/agents/experiment/__init__.py:66
↓ 4 callersMethod_default_figure_plan
Fallback figure plan driven by available evidence.
nanoresearch/agents/figure_gen/__init__.py:419
↓ 4 callersFunction_extract_keywords
Extract meaningful keywords from text (first *max_lines* lines).
nanoresearch/skills.py:93
↓ 4 callersFunction_find_conda
Return ``"conda"`` if conda is installed, else ``None``.
nanoresearch/agents/runtime_env/_gpu_detect.py:18
↓ 4 callersMethod_fix_component_count_mismatch
r"""Fix 'N components: (1)...(2)...' where N doesn't match actual count. Detects patterns like 'four key components' followed by enumerated i
nanoresearch/agents/writing/section_writer.py:887
↓ 4 callersFunction_fmt_err
(kind: str, env_name: str)
nanoresearch/agents/experiment_tools.py:100
↓ 4 callersMethod_get_client
Get or create an OpenAI client for the given endpoint + timeout.
nanoresearch/pipeline/multi_model.py:55
↓ 4 callersFunction_is_allowed
(name: str)
nanoresearch/agents/experiment_tools.py:90
↓ 4 callersMethod_is_retryable
Check if an exception is transient and worth retrying.
nanoresearch/pipeline/multi_model.py:83
↓ 4 callersMethod_line_range_to_offsets
(lines: list[str], start: int, end: int)
nanoresearch/agents/experiment/__init__.py:256
↓ 4 callersMethod_materialize_recovered_metrics_artifact
( self, code_dir: Path, recovered_metrics: dict[str, Any], *, source:
nanoresearch/agents/execution/result_collector.py:122
↓ 4 callersMethod_metrics_satisfy_contract
(metrics: dict[str, Any] | None)
nanoresearch/agents/execution/_result_collector_helpers.py:149
↓ 4 callersMethod_normalize_experiment_results
Coerce raw execution/analysis metrics into the main_results schema.
nanoresearch/agents/writing/grounding.py:99
↓ 4 callersFunction_normalize_paper
Normalize S2 paper data to a common format.
mcp_server/tools/semantic_scholar.py:301
↓ 4 callersMethod_normalize_result_entries
Normalize real result rows without inventing metrics.
nanoresearch/agents/writing/grounding.py:41
↓ 4 callersMethod_parse_llm_json_payload
(cls, raw: str)
nanoresearch/agents/experiment/__init__.py:230
↓ 4 callersMethod_parse_metrics_from_log
Try to extract metrics from training log output.
nanoresearch/agents/execution/_result_collector_helpers.py:423
↓ 4 callersMethod_repair_error_signature
(cls, result: dict[str, Any])
nanoresearch/agents/execution/repair_ledger.py:41
↓ 4 callersMethod_repair_snapshot_journal_path
(self)
nanoresearch/agents/execution/repair_ledger.py:139
↓ 4 callersFunction_run
(cmd: list[str], cwd: Path)
mcp_server/tools/pdf_compile.py:100
↓ 4 callersMethod_run_consistency_checks
Run automated consistency checks on the LaTeX source.
nanoresearch/agents/review/consistency.py:242
↓ 4 callersFunction_run_deep_pipeline
(orchestrator, topic: str)
nanoresearch/cli.py:764
↓ 4 callersMethod_run_shell
Run a shell command asynchronously with proxy environment.
nanoresearch/agents/execution/cluster_runner.py:191
↓ 4 callersMethod_save_iteration_checkpoint
Save iteration state checkpoint for crash recovery.
nanoresearch/agents/experiment/iteration.py:29
↓ 4 callersFunction_scan_json_fragment
Scan a possibly truncated JSON fragment.
nanoresearch/agents/_base_helpers.py:236
↓ 4 callersMethod_select_install_plan
Choose the best available pip install strategy for a project.
nanoresearch/agents/runtime_env/_manifests.py:36
↓ 4 callersFunction_setup_logging
(verbose: bool = False)
nanoresearch/cli.py:153
↓ 4 callersFunction_split_command
(command: str)
nanoresearch/agents/project_runner_core.py:49
↓ 4 callersFunction_strip_wrapping_quotes
(token: str)
nanoresearch/agents/project_runner_core.py:33
↓ 4 callersMethod_tokenize
(text: str)
nanoresearch/evolution/skills.py:158
↓ 4 callersMethodanalyze
Run full analysis: heuristics + LLM attribution.
nanoresearch/agents/feedback_analyzer.py:45
↓ 4 callersMethodbuild_execution_policy
Build a centralized execution/remediation policy for a project.
nanoresearch/agents/runtime_env/_validation.py:483
↓ 4 callersMethodclose
(self)
nanoresearch/pipeline/multi_model.py:74
↓ 4 callersFunctioncompile_pdf
Compile a .tex file to PDF using tectonic (preferred) or pdflatex. Args: tex_path: Path to the .tex file. output_dir: Output dire
mcp_server/tools/pdf_compile.py:16
↓ 4 callersFunctiondiscover_environments
Scan the system for all available Python environments. Returns a list of dicts, each with: - name: human-readable label (e.g. "conda:
nanoresearch/agents/runtime_env/_discovery.py:20
↓ 4 callersMethodgenerate_with_tools
Run a ReAct loop: let the LLM call tools until it produces text.
nanoresearch/agents/base.py:647
↓ 4 callersFunctionget_profile_json_path
()
nanoresearch/profile.py:178
↓ 4 callersMethodlist_snapshots
Return list of ``{"id": ..., "time": ..., "path": ...}``.
nanoresearch/agents/code_editor.py:54
↓ 4 callersFunctionread_code_context
Read all code files in the directory, return list of {path, content}.
nanoresearch/agents/code_editor.py:104
↓ 4 callersMethodremember_research
( self, memory_kind: ResearchMemoryKind | str, content: str, *, task_f
nanoresearch/evolution/memory.py:488
↓ 4 callersFunctionrender_profile_markdown
(profile: dict[str, Any])
nanoresearch/profile.py:229
↓ 4 callersMethodrender_prompt_context
( self, task_type: str, *, topic: str = "", tags: list[str] | None = N
nanoresearch/evolution/memory.py:740
↓ 4 callersFunctionsearch_arxiv
Search arXiv for papers matching the query. Args: query: Search query string (supports arXiv query syntax). max_results: Maximum
mcp_server/tools/arxiv_search.py:21
↓ 4 callersMethodupdate_manifest
(self, **kwargs)
nanoresearch/pipeline/workspace.py:208
↓ 3 callersMethod_apply_completion_limit
( kwargs: dict[str, Any], config: StageModelConfig, is_thinking: bool, )
nanoresearch/pipeline/multi_model.py:162
↓ 3 callersMethod_apply_grounding_protection
Remove review-introduced quantitative claims unsupported by run artifacts.
nanoresearch/agents/review/__init__.py:60
↓ 3 callersMethod_attempt_resume_repair
( self, code_dir: Path, error_text: str, resource_context: dict[str, Any] | No
nanoresearch/agents/execution/repair_strategies.py:123
↓ 3 callersMethod_audit_paper_structure_against_plan
(latex_content: str, plan: dict[str, Any])
nanoresearch/agents/writing/stage_planner.py:396
↓ 3 callersMethod_build_conditions
( self, *, topic: str, paper_mode: str, blueprint: dict[str, Any] | No
nanoresearch/evolution/memory_analyzer.py:79
↓ 3 callersMethod_build_experiment_analysis_context
Build a compact narrative summary from execution analysis artifacts.
nanoresearch/agents/writing/grounding_tables.py:423
↓ 3 callersMethod_build_real_results_context
Build context block from real experiment results for writing prompts.
nanoresearch/agents/writing/grounding_tables.py:347
↓ 3 callersFunction_build_runner_script
()
nanoresearch/agents/project_runner_script.py:10
↓ 3 callersMethod_check_claim_result_consistency
Check that claims in the paper match the experiment blueprint. Detects: - Metrics mentioned in the paper but not defined in the bluep
nanoresearch/agents/review/consistency.py:18
↓ 3 callersMethod_check_figure_text_alignment
Check that figure references match figure definitions.
nanoresearch/agents/review/consistency.py:141
↓ 3 callersMethod_choose_latest_path
(candidates: list[Path])
nanoresearch/agents/execution/repair_commands.py:212
↓ 3 callersFunction_clean_ai_image_caption
Shorten an AI-image caption that is actually a generation prompt. If the caption is <= MAX_ACADEMIC_CAPTION_LEN characters it is returned as-
nanoresearch/agents/figure_gen/_constants.py:148
↓ 3 callersFunction_count_pdf_pages
Count pages in a PDF file. Returns None if unavailable.
nanoresearch/agents/paper_snapshot.py:401
↓ 3 callersMethod_csv_column_candidates
(*names: str)
nanoresearch/agents/execution/result_collector.py:240
↓ 3 callersMethod_decode_json_value
(text: str, *, strict: bool)
nanoresearch/agents/experiment/__init__.py:224
↓ 3 callersMethod_dedup_consistency_issues
Remove duplicate consistency issues by (issue_type, description) key.
nanoresearch/agents/review/consistency.py:381
↓ 3 callersMethod_default_survey_figure_plan
Fallback figure plan for survey papers.
nanoresearch/agents/figure_gen/__init__.py:527
↓ 3 callersMethod_extract_missing_resource_targets
(error_text: str)
nanoresearch/agents/execution/repair_resources.py:27
↓ 3 callersMethod_extract_pip_dependencies
Extract pip-installable dependencies from environment.yml.
nanoresearch/agents/runtime_env/_manifests.py:171
↓ 3 callersMethod_extract_sections
Extract (heading, content, level) tuples from LaTeX source. Handles \\section{} (level=0), \\subsection{} (level=1), and \\subsubsect
nanoresearch/agents/review/section_extraction.py:15
↓ 3 callersMethod_extract_usage
Extract token usage dict from an OpenAI response object.
nanoresearch/pipeline/multi_model.py:191
↓ 3 callersMethod_figure_label_from_block
(block: str)
nanoresearch/agents/writing/grounding_tables.py:698
↓ 3 callersMethod_find_legacy_entry_script
Return the first supported legacy experiment entry script.
nanoresearch/agents/experiment/_code_runner_helpers.py:190
↓ 3 callersFunction_flatten_metric_list
Convert [{metric_name: str, value: float}, ...] to {name: value}. Filters out NaN/Inf values.
nanoresearch/agents/analysis/__init__.py:19
↓ 3 callersMethod_generate_image_with_backend_fallback
Generate an image with image2 first and audited compatible fallbacks. Returns (base64_png, used_config, metadata). Metadata is deliberately
nanoresearch/agents/figure_gen/ai_figure.py:200
↓ 3 callersMethod_get_full_section_content
Get the full content of a top-level section including its subsections. Merges subsection content back into the parent section so the reviewer
nanoresearch/agents/review/section_extraction.py:40
↓ 3 callersFunction_get_oa_search
Lazy import OpenAlex search (returns None if module unavailable).
nanoresearch/agents/ideation.py:81
↓ 3 callersMethod_insert_figure_near_ref
r"""Insert *figure_block* after the paragraph that first references *fig_key*. Searches for \ref{fig:KEY}, \autoref{fig:KEY}, \cref{fig:KEY}.
nanoresearch/agents/writing/latex_bib_figures.py:276
↓ 3 callersMethod_is_thinking_model
(model_name: str)
nanoresearch/pipeline/multi_model.py:89
← previousnext →101–200 of 1,278, ranked by callers