MCPcopy Create free account

hub / github.com/OpenRaiser/NanoResearch / functions

Functions1,278 in github.com/OpenRaiser/NanoResearch

↓ 3 callersFunction_is_within_base
(path: Path, base: Path | None)
nanoresearch/agents/experiment_tools.py:147
↓ 3 callersMethod_json_parse_candidates
(text: str)
nanoresearch/agents/experiment/__init__.py:209
↓ 3 callersMethod_lazy_load
Load model + tokenizer on first use.
nanoresearch/evolution/ram.py:161
↓ 3 callersMethod_load_all_nl_skills
(self)
nanoresearch/evolution/skills.py:264
↓ 3 callersMethod_load_records
(self)
nanoresearch/evolution/memory.py:279
↓ 3 callersMethod_load_research_records
(self)
nanoresearch/evolution/memory.py:302
↓ 3 callersMethod_merge_instructions
(self, existing: list[str], incoming: list[str])
nanoresearch/evolution/skills.py:483
↓ 3 callersMethod_normalize_dependency_specs
(specs: list[str])
nanoresearch/agents/runtime_env/_manifests.py:278
↓ 3 callersMethod_normalize_messages_for_model
( messages: list[dict[str, Any]], is_thinking: bool, )
nanoresearch/pipeline/multi_model.py:107
↓ 3 callersFunction_normalize_work
Normalize OpenAlex work data to common format (matching S2 format).
mcp_server/tools/openalex.py:377
↓ 3 callersMethod_rank_and_filter_papers
(self, papers: list[dict], topic: str = "")
nanoresearch/agents/ideation_search.py:181
↓ 3 callersMethod_resolve_experiment_python
Return the experiment Python path. Resolution order: 1. config.experiment_python (user-managed environment) 2. experiment/.ve
nanoresearch/agents/base.py:805
↓ 3 callersMethod_resolve_missing_citations
Find \\cite keys in LaTeX that are missing from the bib, and fill them. Strategy: 1. Extract all cited keys from LaTeX. 2. Ex
nanoresearch/agents/writing/citation_manager.py:295
↓ 3 callersMethod_review_paper
Review the paper section-by-section to avoid JSON truncation.
nanoresearch/agents/review/single_review.py:200
↓ 3 callersMethod_row_numeric_value
( cls, row: dict[str, Any], candidates: tuple[str, ...], )
nanoresearch/agents/execution/result_collector.py:252
↓ 3 callersMethod_runtime_option_candidate
( cls, code_dir: Path, option: str, resource_context: dict[str, Any] | None,
nanoresearch/agents/execution/repair_candidates.py:163
↓ 3 callersMethod_sanitize_latex
Fix common LLM output issues that break LaTeX compilation. Applies, in order: 1. Unicode replacement (dashes, quotes) 2. Perc
nanoresearch/agents/writing/latex_assembler.py:272
↓ 3 callersMethod_save_records
(self, records: list[MemoryRecord])
nanoresearch/evolution/memory.py:295
↓ 3 callersMethod_save_research_records
(self, records: list[ResearchMemoryRecord])
nanoresearch/evolution/memory.py:318
↓ 3 callersMethod_start_pipeline
( self, chat_id: str, message_id: str, topic: str, env_name: str )
nanoresearch/feishu_bot_handlers.py:319
↓ 3 callersMethod_top_strings
(items: list[Any], key: str, *, limit: int = 3)
nanoresearch/evolution/memory_analyzer.py:41
↓ 3 callersFunction_unique_workspace_paths
(paths: list[Path])
nanoresearch/agents/project_runner_core.py:205
↓ 3 callersMethod_upsert_command_option
(tokens: list[str], option: str, value: str)
nanoresearch/agents/execution/repair_candidates.py:309
↓ 3 callersMethod_write_skill_artifact
(self, skill: NaturalLanguageSkill, review: SkillReview | None = None)
nanoresearch/evolution/skills.py:232
↓ 3 callersMethod_writing_plan_section_block
(plan: dict[str, Any], heading: str)
nanoresearch/agents/writing/stage_planner.py:314
↓ 3 callersMethodbackend_name
(self)
nanoresearch/router_policy.py:109
↓ 3 callersFunctionensure_project_runner
Write deterministic runner assets for a generated experiment project.
nanoresearch/agents/project_runner_validate.py:358
↓ 3 callersMethodgenerate
Generate a reflection-augmentation response. Parameters ---------- task_type : str One of ``"method_gen"``, ``"co
nanoresearch/evolution/ram.py:234
↓ 3 callersFunctionget_available_formats
Get list of available template formats. Returns: List of available format names (e.g., ['arxiv', 'neurips', 'icml'])
nanoresearch/templates/__init__.py:7
↓ 3 callersFunctionget_profile_dir
()
nanoresearch/profile.py:174
↓ 3 callersFunctionget_profile_markdown_path
()
nanoresearch/profile.py:182
↓ 3 callersMethodmark_stage_running
(self, stage: PipelineStage)
nanoresearch/pipeline/workspace.py:217
↓ 3 callersFunctionnormalize_target_spec
Normalize a model-generated train command into runnable tokens + env vars.
nanoresearch/agents/project_runner_core.py:104
↓ 3 callersMethodrollback
Restore code from a snapshot. Returns True on success.
nanoresearch/agents/code_editor.py:69
↓ 3 callersMethodrun
(self, **inputs: Any)
nanoresearch/agents/execution/__init__.py:38
↓ 3 callersMethodrun_all
Execute all checks and return an aggregated report.
nanoresearch/agents/preflight.py:37
↓ 3 callersMethodsynthesize_nl_skill
( self, *, domain: SkillDomain | str, trigger_pattern: str, source_tra
nanoresearch/evolution/skills.py:609
↓ 3 callersMethodtransition
(self, target: PipelineStage)
nanoresearch/pipeline/state.py:64
↓ 2 callersMethod_activate_prefix
(self, conda_sh: str, *, pipefail: bool = False)
nanoresearch/agents/cluster_executor.py:141
↓ 2 callersFunction_all_metrics_finite
Check that all metric values in a list are finite numbers.
nanoresearch/agents/experiment/__init__.py:91
↓ 2 callersMethod_anchor_tokens
(tokens: set[str])
nanoresearch/evolution/memory.py:387
↓ 2 callersMethod_apply_iteration_changes
LLM modifies specific files using search-replace edits (OpenClaw style). Uses precise search-replace blocks instead of full file rewrites to:
nanoresearch/agents/experiment/iteration.py:195
↓ 2 callersMethod_apply_iteration_changes_fullwrite
Fallback: when search-replace fails, ask LLM to rewrite the target file entirely.
nanoresearch/agents/experiment/_iteration_helpers.py:27
↓ 2 callersMethod_apply_search_replace_edit
( cls, content: str, old: str, new: str, )
nanoresearch/agents/experiment/__init__.py:346
↓ 2 callersMethod_attempt_option_value_repair
( self, code_dir: Path, error_text: str, resource_context: dict[str, Any] | No
nanoresearch/agents/execution/repair_strategies.py:281
↓ 2 callersMethod_attempt_required_argument_repair
( self, code_dir: Path, error_text: str, resource_context: dict[str, Any] | No
nanoresearch/agents/execution/repair_strategies.py:22
↓ 2 callersMethod_attempt_resource_path_repair
( self, code_dir: Path, error_text: str, resource_context: dict[str, Any] | No
nanoresearch/agents/execution/repair_resources.py:369
↓ 2 callersMethod_attempt_runtime_remediation
( self, code_dir: Path, error_text: str, *, runtime_python: str,
nanoresearch/agents/execution/repair_runtime.py:200
↓ 2 callersMethod_attempt_unrecognized_argument_repair
( self, code_dir: Path, error_text: str, *, mode: str = "", sc
nanoresearch/agents/execution/repair_runtime.py:29
↓ 2 callersMethod_build_baseline_comparison_context
Build context block from comparison_with_baselines analysis data.
nanoresearch/agents/writing/grounding_tables.py:459
↓ 2 callersMethod_build_evidence_block
Build an evidence summary for chart generation prompts. Priority: real experiment results > literature numbers > empty.
nanoresearch/agents/figure_gen/evidence.py:119
↓ 2 callersMethod_build_fallback_action
(router_x: dict[str, Any])
nanoresearch/router_policy.py:200
↓ 2 callersMethod_build_grounding_packet
Build a GroundingPacket from all available evidence sources.
nanoresearch/agents/writing/grounding.py:199
↓ 2 callersMethod_build_history_summary
Compress historical rounds into a compact summary (~100 chars each).
nanoresearch/agents/experiment/_iteration_helpers.py:164
↓ 2 callersMethod_build_legacy_runner_command
Build a runner-backed shell command for legacy experiment execution.
nanoresearch/agents/experiment/_code_runner_helpers.py:205
↓ 2 callersMethod_build_legacy_subprocess_command
Build the concrete argv for a legacy experiment subprocess.
nanoresearch/agents/experiment/_code_runner_helpers.py:218
↓ 2 callersMethod_build_must_cite_context
Build a must-cite instruction block for writing prompts. Maps must-cite titles to their actual cite_keys so the LLM knows exactly whi
nanoresearch/agents/writing/context_builder.py:209
↓ 2 callersMethod_build_proxy_env
(self)
nanoresearch/agents/execution/cluster_runner.py:217
↓ 2 callersMethod_build_repair_context
( self, code_dir: Path, result: dict[str, Any], *, mode: str,
nanoresearch/agents/execution/repair_ledger.py:313
↓ 2 callersMethod_build_repo_context
Build a context string from reference GitHub repos.
nanoresearch/agents/experiment/code_gen.py:25
↓ 2 callersFunction_build_transitions
( stages: list[PipelineStage], )
nanoresearch/schemas/manifest.py:112
↓ 2 callersMethod_candidate_tokens
(self, candidate: SkillCandidate)
nanoresearch/evolution/skills.py:356
↓ 2 callersMethod_check_syntax
Check if a Python file has valid syntax.
nanoresearch/agents/_debug_helpers.py:17
↓ 2 callersFunction_close_json_fragment
Close open string/bracket state for a truncated JSON fragment.
nanoresearch/agents/_base_helpers.py:269
↓ 2 callersMethod_cmd_run
(self, chat_id: str, message_id: str, topic: str = "")
nanoresearch/feishu_bot_handlers.py:239
↓ 2 callersFunction_code_apply
( editor: "InteractiveCodeEditor", # noqa: F821 instruction: str, )
nanoresearch/cli_code_edit.py:178
↓ 2 callersFunction_coerce_command_tokens
(command: str | list[str])
nanoresearch/agents/project_runner_core.py:131
↓ 2 callersFunction_coerce_scalar_dict
Return finite numeric values from *source*, coercing string floats.
nanoresearch/_smoke_helpers.py:119
↓ 2 callersMethod_collect_declared_dependency_names
(cls, code_dir: Path)
nanoresearch/agents/runtime_env/_manifests.py:138
↓ 2 callersMethod_command_option_present
(tokens: list[str], options: list[str])
nanoresearch/agents/execution/repair_commands.py:89
↓ 2 callersMethod_command_with_mode
Append a pipeline mode flag if it is not already present.
nanoresearch/agents/execution/local_runner_helpers.py:23
↓ 2 callersMethod_compact_cite_keys_block
(self, ref_lines: list[str], *, limit: int = 1800)
nanoresearch/agents/writing/context_sections.py:73
↓ 2 callersMethod_compact_experiment_context
(context: str, limit: int = 2600)
nanoresearch/agents/writing/section_writer.py:723
↓ 2 callersMethod_compact_text
(text: str, *, limit: int = 700)
nanoresearch/evolution/memory.py:373
↓ 2 callersMethod_compile_pdf
Compile LaTeX to PDF with automatic error-fix loop. If compilation fails, feed the error back to the LLM, apply the fix, and retry up
nanoresearch/agents/writing/latex_assembler.py:111
↓ 2 callersMethod_compile_pdf_with_fix_loop
Compile LaTeX to PDF with automatic error-fix loop. If compilation fails, feed the error back to the LLM, apply the fix, and retry up
nanoresearch/agents/review/latex_compile.py:151
↓ 2 callersMethod_compose_experiments_section
Build an artifact-grounded Experiments section with text/table/figure interleaving. The composer is intentionally deterministic: it reports o
nanoresearch/agents/writing/grounding_tables.py:708
↓ 2 callersMethod_contract_runner_static_issues
Return contract violations in the generated unified experiment runner.
nanoresearch/agents/coding_helpers.py:271
↓ 2 callersMethod_count_actions
( fix_history: list[dict[str, Any]] | None, *, prefix: str, )
nanoresearch/agents/runtime_env/_types.py:58
↓ 2 callersMethod_derive_feedback
Derive feedback string from stage output for SDPO data collection.
nanoresearch/pipeline/deep_orchestrator.py:173
↓ 2 callersMethod_detect_entry_type
Determine BibTeX entry type from venue name.
nanoresearch/agents/writing/section_writer.py:958
↓ 2 callersMethod_enforce_contract_runner
Regenerate the unified runner when static contract checks fail.
nanoresearch/agents/coding_helpers.py:312
↓ 2 callersMethod_enforce_method_schematic
Ensure Figure 1 is an image2-generated method schematic.
nanoresearch/agents/figure_gen/__init__.py:356
↓ 2 callersMethod_enrich_citation_counts
(self, papers: list[dict])
nanoresearch/agents/ideation_search.py:300
↓ 2 callersFunction_ensure_nanoresearch_home
Create ~/.nanoresearch and its subdirectories if they don't exist.
nanoresearch/cli.py:135
↓ 2 callersMethod_entry_display_name
Return a readable method/variant name from real artifact fields.
nanoresearch/agents/writing/grounding.py:26
↓ 2 callersMethod_entrypoint_candidates
(self)
nanoresearch/agents/preflight.py:83
↓ 2 callersMethod_evaluate_experiment_contract
( cls, result_payload: dict[str, Any], *, execution_backend: str, exec
nanoresearch/agents/execution/_result_collector_helpers.py:190
↓ 2 callersMethod_exec_trim_code
Execute LLM-written trim code in a subprocess. Pre-defines INPUT_PATH and OUTPUT_PATH variables for the code. Returns True if executi
nanoresearch/agents/figure_gen/trim.py:224
↓ 2 callersMethod_execute_code
Execute main.py --dry-run with up to 5 batch-fix cycles. Each cycle: run -> collect all errors -> fix ALL affected files in one LLM c
nanoresearch/agents/experiment/code_runner.py:171
↓ 2 callersMethod_extract_figures_from_lists
r"""Move figure/figure* blocks out of itemize/enumerate environments. Figures inside list environments cause severe formatting issues,
nanoresearch/agents/writing/latex_figure_placement.py:257
↓ 2 callersFunction_extract_high_value_sections
Extract high-value sections from a SKILL.md file. Keeps sections whose heading (lowered) matches *_EXTRACT_HEADINGS*. Returns concatenated se
nanoresearch/skills.py:122
↓ 2 callersMethod_extract_metric_summary
Pull top-level numeric metrics from the experiment results.
nanoresearch/agents/feedback_analyzer.py:129
↓ 2 callersMethod_extract_must_cites
(self, survey_papers: list[dict])
nanoresearch/agents/ideation_search.py:425
↓ 2 callersMethod_fallback_latex
Generate LaTeX without templates as a fallback. Uses the NeurIPS 2025 document class by default. The neurips_2025.sty file is copied
nanoresearch/agents/writing/latex_assembler.py:53
↓ 2 callersMethod_fallback_section_content
Return a compact, artifact-grounded section when the LLM endpoint times out.
nanoresearch/agents/writing/section_writer.py:805
↓ 2 callersMethod_fallback_writing_stage_plan
( *, ideation: dict[str, Any], blueprint: dict[str, Any], grounding: Grounding
nanoresearch/agents/writing/stage_planner.py:194
↓ 2 callersFunction_fetch_referenced_works
Fetch the referenced_works list for a single OpenAlex work. Returns list of short OpenAlex IDs (e.g. ["W123", "W456"]).
mcp_server/tools/openalex.py:330
↓ 2 callersMethod_figure_caption_from_block
(block: str)
nanoresearch/agents/writing/grounding_tables.py:703
↓ 2 callersMethod_figure_target_section
(cls, fig_hint: str)
nanoresearch/agents/writing/latex_bib_figures.py:217
← previousnext →201–300 of 1,278, ranked by callers