MCPcopy Create free account

hub / github.com/OpenRaiser/NanoResearch / functions

Functions1,278 in github.com/OpenRaiser/NanoResearch

↓ 2 callersMethodcondense
(self, new_summary: str)
nanoresearch/feishu_bot.py:162
↓ 2 callersMethodcondense
Compress old events into a structured summary. Args: hard: if True, keep fewer tail events (context overflow recovery). R
nanoresearch/agents/paper_condenser.py:120
↓ 2 callersMethodcreate_conda_env
Create a conda environment when requested and missing.
nanoresearch/agents/runtime_env/_conda.py:268
↓ 2 callersMethodcreate_snapshot
Create a zip snapshot. Returns the snapshot id.
nanoresearch/agents/code_editor.py:37
↓ 2 callersFunctiondownload_and_extract
Download a PDF from URL and extract its full text. Args: pdf_url: URL to the PDF file. max_pages: Maximum pages to process.
mcp_server/tools/pdf_reader.py:34
↓ 2 callersMethodextract_skill_candidate
( self, *, domain: SkillDomain | str, trigger_pattern: str, source_tra
nanoresearch/evolution/skills.py:310
↓ 2 callersMethodforce_set
Force state to a specific stage, bypassing transition validation. BUG-21 fix: used during checkpoint resume where we know the stage w
nanoresearch/pipeline/state.py:71
↓ 2 callersFunctiongenerate_latex
Render a LaTeX document from a Jinja2 template. Args: template_name: Template file name (e.g. "paper.tex.j2"). data: Template var
mcp_server/tools/latex_gen.py:36
↓ 2 callersMethodgenerate_with_image
Call the LLM with an image attachment (vision).
nanoresearch/agents/base.py:545
↓ 2 callersMethodget_job_log
(self, cluster_code_path: str, job_id: str, tail: int = 300)
nanoresearch/agents/cluster_executor_ops.py:303
↓ 2 callersFunctionget_review_system_prompt
Return the specialized system prompt for reviewing a section.
nanoresearch/skill_prompts.py:52
↓ 2 callersMethodinspect_project_manifests
Inspect local project manifests in the same priority order as local execution.
nanoresearch/agents/runtime_env/_manifests.py:103
↓ 2 callersMethodmaintain_skill
(self, candidate: SkillCandidate, *, review: SkillReview | None = None)
nanoresearch/evolution/skills.py:497
↓ 2 callersMethodmark_stage_failed
(self, stage: PipelineStage, error: str)
nanoresearch/pipeline/workspace.py:239
↓ 2 callersMethodmatch_nl_skills
( self, domain: SkillDomain | str, *, topic: str = "", text: str = "",
nanoresearch/evolution/skills.py:665
↓ 2 callersMethodmatch_script_skills
( self, domain: SkillDomain | str, *, tags: list[str] | None = None, t
nanoresearch/evolution/skills.py:769
↓ 2 callersMethodpipeline_complete
(self, success: bool, message: str = "")
nanoresearch/pipeline/progress.py:131
↓ 2 callersMethodprefers_cluster_execution
Whether the unified pipeline should prefer SLURM/cluster execution.
nanoresearch/config.py:369
↓ 2 callersMethodprepare
(self, code_dir: Path, *, force_isolated: bool = False)
nanoresearch/agents/runtime_env/__init__.py:310
↓ 2 callersMethodprocessing_stages
Return the ordered list of stages that do actual work.
nanoresearch/pipeline/state.py:109
↓ 2 callersFunctionprocessing_stages_for_mode
Return the ordered working stages for the selected pipeline mode.
nanoresearch/schemas/manifest.py:102
↓ 2 callersMethodremember_promising_direction
( self, *, topic: str, ideation_output: dict | None = None, planning_o
nanoresearch/agents/base.py:433
↓ 2 callersFunctionrepair_launch_contract
( command: str | list[str], code_dir: Path, )
nanoresearch/agents/project_runner_validate.py:216
↓ 2 callersMethodretrieve
( self, task_type: str, *, topic: str = "", tags: list[str] | None = N
nanoresearch/evolution/memory.py:615
↓ 2 callersMethodretrieve_research
( self, task_type: str, *, topic: str = "", tags: list[str] | None = N
nanoresearch/evolution/memory.py:667
↓ 2 callersMethodreupload_code
(self, local_code_dir: Path, cluster_code_path: str)
nanoresearch/agents/cluster_executor_ops.py:156
↓ 2 callersMethodreview_skill_candidate
(self, candidate: SkillCandidate, *, top_k: int = 3)
nanoresearch/evolution/skills.py:401
↓ 2 callersMethodrollback_latest
Rollback to the most recent snapshot. Returns snapshot id or None.
nanoresearch/agents/code_editor.py:85
↓ 2 callersMethodrun
(self, **inputs: Any)
nanoresearch/agents/figure_gen/__init__.py:42
↓ 2 callersMethodrun
(self, **inputs: Any)
nanoresearch/agents/experiment/experiment_agent.py:29
↓ 2 callersMethodsave_log
(self, filename: str, content: str)
nanoresearch/agents/base.py:802
↓ 2 callersFunctionsearch_openalex_by_title
Find a single paper by title match. Uses filter-based search which is more precise than full-text search and does NOT count against the 1,000
mcp_server/tools/openalex.py:100
↓ 2 callersMethodsummary
Return a full cost summary across all stages.
nanoresearch/pipeline/cost_tracker.py:80
↓ 2 callersMethodto_dict
(self)
nanoresearch/pipeline/cost_tracker.py:50
↓ 2 callersMethodto_openai_tools
Serialise all tools to the OpenAI ``tools`` parameter format. Each entry has the shape:: {"type": "function", "function": {"name
nanoresearch/agents/tools.py:82
↓ 2 callersMethodto_output_dict
Serialize for inclusion in writing output metadata.
nanoresearch/agents/writing/_types.py:45
↓ 1 callersMethod__init__
( self, initial: PipelineStage = PipelineStage.INIT, mode: PipelineMode = PipelineMode
nanoresearch/pipeline/state.py:35
↓ 1 callersMethod_analyze_and_hypothesize
( self, topic: str, queries: list[str], papers: list[dict], adaptive_context: str = "" )
nanoresearch/agents/ideation_hypothesis.py:150
↓ 1 callersMethod_analyze_cloned_code
Analyze cloned repos to understand their structure and key components.
nanoresearch/agents/setup_search.py:100
↓ 1 callersMethod_analyze_results
Use LLM to interpret and summarize experiment results.
nanoresearch/agents/analysis/__init__.py:103
↓ 1 callersMethod_analyze_training_dynamics
Analyze training_log for convergence, overfitting, stability.
nanoresearch/agents/feedback_analyzer.py:153
↓ 1 callersMethod_apply_layout_aware_float_defaults
r"""Prefer near-text, compact float defaults before PDF compilation. This is a precompile layout guard, not a post-PDF repair. It makes
nanoresearch/agents/writing/latex_figure_placement.py:472
↓ 1 callersMethod_apply_patch
Apply a single patch to a file. Returns True if successful.
nanoresearch/agents/debug.py:330
↓ 1 callersFunction_approx_two_tailed_p
Approximate two-tailed p-value. Uses normal approximation for df > 30. For df <= 30, uses a conservative lookup table with df=10 critical val
nanoresearch/agents/analysis/statistics.py:133
↓ 1 callersFunction_argmin
(xs: list[float])
nanoresearch/agents/analysis/training_dynamics.py:129
↓ 1 callersMethod_artifact_contract_gaps
Validate that paper-facing result artifacts satisfy the blueprint contract.
nanoresearch/agents/writing/grounding.py:282
↓ 1 callersMethod_artifact_dir
(self, skill: NaturalLanguageSkill)
nanoresearch/evolution/skills.py:211
↓ 1 callersMethod_attempt_cluster_resume_repair
( self, code_dir: Path, final_status: str, results: dict[str, Any], re
nanoresearch/agents/execution/repair_strategies.py:245
↓ 1 callersMethod_augment_quick_eval_metrics_from_logs
( self, code_dir: Path, quick_eval: dict[str, Any], result: dict[str, Any],
nanoresearch/agents/execution/result_collector.py:26
↓ 1 callersMethod_augment_search_plan_with_blueprint_resources
Backfill downloadable dataset entries directly from the blueprint.
nanoresearch/agents/setup.py:292
↓ 1 callersMethod_augment_section_instructions_with_plan
(instructions: str, heading: str, plan: dict[str, Any])
nanoresearch/agents/writing/stage_planner.py:371
↓ 1 callersMethod_auto_repair_env
Try to repair environment creation after venv failure. Strategies (tried in order): 1. If conda is available, create a fresh conda en
nanoresearch/agents/runtime_env/_install.py:339
↓ 1 callersMethod_baseline_cite_block
Format baseline->cite key mapping block for experiments context.
nanoresearch/agents/writing/context_sections.py:494
↓ 1 callersMethod_blueprint_tokens
Flatten an experiment blueprint dict into a set of search tokens.
nanoresearch/skills.py:455
↓ 1 callersMethod_build_ablation_table_latex
Build a deterministic LaTeX ablation table from structured data.
nanoresearch/agents/writing/grounding_tables.py:129
↓ 1 callersMethod_build_agents
Create one agent per pipeline stage.
nanoresearch/pipeline/base_orchestrator.py:73
↓ 1 callersMethod_build_bibtex
(self, papers: list[dict], cite_keys: dict[int, str])
nanoresearch/agents/writing/section_writer.py:970
↓ 1 callersMethod_build_bibtex_key_to_paper_map
Build mapping from BibTeX cite key -> paper dict (with title/abstract). Matches BibTeX entries in the paper to papers from ideation b
nanoresearch/agents/review/single_review.py:24
↓ 1 callersMethod_build_chart_prompt
Build a chart-specific prompt from the chart type and research context.
nanoresearch/agents/figure_gen/evidence.py:44
↓ 1 callersMethod_build_chat_context
(self, chat_id: str, memory)
nanoresearch/feishu_bot_core.py:332
↓ 1 callersMethod_build_cite_keys
Build a mapping: paper_index → cite_key (authorYear format).
nanoresearch/agents/writing/context_builder.py:22
↓ 1 callersMethod_build_compact_history
Compress round history to ~1 line per round for LLM context.
nanoresearch/agents/feedback_analyzer.py:370
↓ 1 callersMethod_build_core_context
Extract shared primitives once; return a dict consumed by section builders. This is called ONCE in run(), and the resulting dict is passed to
nanoresearch/agents/writing/context_builder.py:272
↓ 1 callersMethod_build_diagnosis_system_prompt
Build the system prompt for diagnosis (extracted for readability).
nanoresearch/agents/debug.py:286
↓ 1 callersMethod_build_evidence_block
Format extracted evidence for inclusion in the planning prompt.
nanoresearch/agents/planning.py:273
↓ 1 callersMethod_build_evidence_context
Build evidence context block for writing prompts.
nanoresearch/agents/writing/context_sections.py:587
↓ 1 callersMethod_build_execution_blueprint_summary
Compact execution context used for iterative repair.
nanoresearch/agents/execution/local_runner_helpers.py:30
↓ 1 callersMethod_build_figure_blocks
Pre-build LaTeX figure/table blocks to embed inline.
nanoresearch/agents/writing/grounding_tables.py:601
↓ 1 callersMethod_build_full_context
Build full context string (legacy, used as fallback). Prefer _build_section_context().
nanoresearch/agents/writing/context_builder.py:78
↓ 1 callersMethod_build_index
Walk *root* and index every directory containing a SKILL.md.
nanoresearch/skills.py:229
↓ 1 callersMethod_build_local_command
( self, code_dir: Path, coding_output: dict[str, Any], runtime_python: str,
nanoresearch/agents/execution/local_runner_helpers.py:188
↓ 1 callersMethod_build_main_table_latex
Build a deterministic LaTeX main-results table from structured data. Returns empty string if data is insufficient.
nanoresearch/agents/writing/grounding.py:331
↓ 1 callersMethod_build_matrix_inputs
Convert pipeline data into (baselines, proposed, metrics) for comparison_matrix. Returns None if insufficient data.
nanoresearch/agents/analysis/__init__.py:433
↓ 1 callersMethod_build_messages
Build chat messages for the RAM model.
nanoresearch/evolution/ram.py:213
↓ 1 callersMethod_build_revision_grounding_block
Build a grounding context block for revision prompts. Tells the revision LLM which numbers are real and must be preserved.
nanoresearch/agents/review/apply_revisions.py:20
↓ 1 callersMethod_build_search_tools
(self)
nanoresearch/agents/ideation_hypothesis.py:38
↓ 1 callersMethod_build_section_context
Build a tailored context string for a specific section.
nanoresearch/agents/writing/context_sections.py:17
↓ 1 callersFunction_build_smoke_blueprint
(dataset_meta: dict[str, Any])
nanoresearch/smoke_execution.py:93
↓ 1 callersFunction_build_smoke_setup_output
(workspace: Workspace, dataset_meta: dict[str, Any])
nanoresearch/smoke_execution.py:143
↓ 1 callersMethod_build_tools
Register all paper editing tools.
nanoresearch/agents/paper_editor.py:75
↓ 1 callersMethod_build_writing_tools
Build a ToolRegistry with search tools for writing. Returns None if no tools could be registered (missing deps).
nanoresearch/agents/writing/section_writer.py:198
↓ 1 callersMethod_bump_patch
(self, version: str)
nanoresearch/evolution/skills.py:179
↓ 1 callersMethod_candidate_package_names
( cls, module_name: str, code_dir: Path, )
nanoresearch/agents/execution/repair_runtime.py:170
↓ 1 callersMethod_canonicalize_action
(action: dict[str, Any])
nanoresearch/router_policy.py:166
↓ 1 callersMethod_check_ai_artifacts
Scan LaTeX text for common AI-writing artifacts. Returns a list of ConsistencyIssue for each detected problem.
nanoresearch/agents/review/consistency.py:301
↓ 1 callersMethod_check_citation_coverage
Check citation coverage: total count and must-cite enforcement.
nanoresearch/agents/review/consistency.py:83
↓ 1 callersFunction_check_env_isolation
Return an error message if command tries to use a disallowed conda env. Returns None if the command is safe. ``allowed_envs=None`` disables i
nanoresearch/agents/experiment_tools.py:75
↓ 1 callersFunction_check_global_consistency
Post-generation consistency check across all sections.
nanoresearch/agents/writing/__init__.py:642
↓ 1 callersMethod_check_import_consistency
Scan all generated files for cross-file import mismatches via AST. Checks two patterns: 1. `from X import Y` where Y doesn't exist in
nanoresearch/agents/experiment/_iteration_helpers.py:185
↓ 1 callersMethod_check_termination
Evaluate heuristic termination conditions. Returns {"should_continue": bool, "reason": str | None}.
nanoresearch/agents/feedback_analyzer.py:228
↓ 1 callersMethod_classify_completeness
Classify how complete the experiment results are.
nanoresearch/agents/writing/grounding.py:171
↓ 1 callersMethod_classify_error
Classify error as ('data_missing', path) or ('code_bug', '').
nanoresearch/agents/_debug_helpers.py:140
↓ 1 callersFunction_clean_equation_for_sympy
Clean LaTeX equation text for SymPy parsing.
nanoresearch/agents/checkers.py:138
↓ 1 callersMethod_clean_text
(raw: str)
nanoresearch/feishu_bot_core.py:190
↓ 1 callersMethod_cleanup_stale_generated_figures
Delete stale generated figure images before a fresh FIGURE_GEN run.
nanoresearch/agents/figure_gen/__init__.py:220
↓ 1 callersMethod_cleanup_unused_bibtex
Remove BibTeX entries that are not cited anywhere in the LaTeX source. This prevents the .bib file from accumulating unused entries c
nanoresearch/agents/writing/citation_manager.py:445
↓ 1 callersMethod_clone_dataset_repo
Shallow-clone a GitHub dataset repo. Returns True on success.
nanoresearch/agents/setup_github.py:51
↓ 1 callersMethod_cmd_export
(self, chat_id: str, message_id: str)
nanoresearch/feishu_bot_handlers.py:142
↓ 1 callersMethod_cmd_list
(self, chat_id: str, message_id: str)
nanoresearch/feishu_bot_handlers.py:96
↓ 1 callersMethod_cmd_status
(self, chat_id: str, message_id: str)
nanoresearch/feishu_bot_handlers.py:81
← previousnext →401–500 of 1,278, ranked by callers