MCPcopy Create free account

hub / github.com/OpenRaiser/NanoResearch / functions

Functions1,278 in github.com/OpenRaiser/NanoResearch

↓ 1 callersMethod_fix_end_document_placement
r"""Ensure exactly one \end{document} at the very end, with \bibliographystyle and \bibliography just before it. LLMs sometimes emit
nanoresearch/agents/writing/latex_figure_placement.py:14
↓ 1 callersMethod_fix_import_mismatches
Scan all generated files for cross-file import mismatches and fix them via LLM.
nanoresearch/agents/coding_helpers.py:386
↓ 1 callersMethod_fix_import_mismatches
Ask LLM to fix cross-file import mismatches via search-replace patches.
nanoresearch/agents/experiment/_iteration_helpers.py:199
↓ 1 callersMethod_fix_latex_errors
Fix LaTeX compilation errors using a 2-level strategy. Level 1: Deterministic fixes (no LLM) — via shared latex.fixer module. Level 2
nanoresearch/agents/review/latex_compile.py:282
↓ 1 callersMethod_fix_latex_errors
Fix LaTeX compilation errors using a 2-level strategy. Level 1: Deterministic fixes (no LLM) -- via shared latex_fixer module. Level
nanoresearch/agents/writing/latex_assembler.py:204
↓ 1 callersMethod_fix_table_overflow
r"""Inject \small, \tabcolsep, and @{} into tables that lack them.
nanoresearch/agents/writing/latex_figure_placement.py:149
↓ 1 callersMethod_format_generated_code
Try to auto-format generated code with black. Silently skips on failure.
nanoresearch/agents/experiment/experiment_agent.py:502
↓ 1 callersMethod_format_runtime_validation_summary
( validation: dict[str, object], repair: dict[str, object] | None = None, )
nanoresearch/agents/cluster_executor.py:204
↓ 1 callersMethod_generate_abstract
( self, context: str, grounding: GroundingPacket | None = None, )
nanoresearch/agents/writing/section_writer.py:434
↓ 1 callersMethod_generate_ai_figure
Generate a single figure via the configured AI image model. Flow: generate prompt, call the configured image API with retries, and if all fai
nanoresearch/agents/figure_gen/ai_figure.py:30
↓ 1 callersMethod_generate_and_run_smoke_test
Generate and run a smoke test that imports every generated module.
nanoresearch/agents/experiment/experiment_agent.py:514
↓ 1 callersMethod_generate_code_figure
Have LLM generate plotting code, then execute it to create the chart. Retries up to MAX_CODE_CHART_RETRIES times, feeding error messages
nanoresearch/agents/figure_gen/code_figure.py:32
↓ 1 callersMethod_generate_environment_yaml
Generate a lightweight conda environment file from the code plan.
nanoresearch/agents/coding_helpers.py:201
↓ 1 callersMethod_generate_file
Phase 2: Generate a single file via Codex.
nanoresearch/agents/experiment/code_gen.py:102
↓ 1 callersMethod_generate_hf
Generate using HuggingFace Transformers.
nanoresearch/evolution/ram.py:274
↓ 1 callersMethod_generate_image2_result_fallback
Generate a result figure with the image model when chart code fails. The prompt writer is explicitly constrained to use only numbers already
nanoresearch/agents/figure_gen/code_figure.py:301
↓ 1 callersMethod_generate_image_gemini
Generate images via Gemini native API.
nanoresearch/pipeline/_multi_model_helpers.py:310
↓ 1 callersMethod_generate_image_openai
Generate images via OpenAI /v1/images/generations (DALL-E).
nanoresearch/pipeline/_multi_model_helpers.py:200
↓ 1 callersMethod_generate_method_section_by_parts
Generate Method through compact LLM calls instead of one oversized prompt.
nanoresearch/agents/writing/section_writer.py:576
↓ 1 callersMethod_generate_plot_code
Generate matplotlib plotting code for a specific figure.
nanoresearch/agents/analysis/_analysis_helpers.py:254
↓ 1 callersMethod_generate_project_plan
Phase 1: Generate the project plan JSON via Codex.
nanoresearch/agents/experiment/code_gen.py:60
↓ 1 callersMethod_generate_queries
(self, topic: str, adaptive_context: str = "")
nanoresearch/agents/ideation.py:305
↓ 1 callersMethod_generate_remote
(self, payload: dict[str, Any], *, post_feedback: bool)
nanoresearch/router_policy.py:129
↓ 1 callersMethod_generate_requirements
Generate requirements.txt from code plan.
nanoresearch/agents/coding_helpers.py:140
↓ 1 callersMethod_generate_sbatch_script
(self, cluster_code_path: str, script_cmd: str)
nanoresearch/agents/cluster_executor_ops.py:178
↓ 1 callersMethod_generate_section
( self, context: str, heading: str, instructions: str, prior_sections: list[str] | None = None
nanoresearch/agents/writing/section_writer.py:461
↓ 1 callersMethod_generate_slurm_script
Generate a SLURM batch script for training.
nanoresearch/agents/coding_helpers.py:18
↓ 1 callersMethod_generate_title
(self, context: str)
nanoresearch/agents/writing/section_writer.py:426
↓ 1 callersMethod_generate_vllm
Generate using vLLM HTTP API.
nanoresearch/evolution/ram.py:317
↓ 1 callersMethod_generate_writing_stage_plan
( self, *, ideation: dict[str, Any], blueprint: dict[str, Any], ground
nanoresearch/agents/writing/stage_planner.py:30
↓ 1 callersFunction_get_api_key
()
mcp_server/tools/openalex.py:32
↓ 1 callersFunction_get_github_search
()
nanoresearch/agents/ideation.py:71
↓ 1 callersMethod_get_initial_results
Initial results dict. Override to add pipeline_mode, etc.
nanoresearch/pipeline/base_orchestrator.py:90
↓ 1 callersFunction_get_jinja_env
Create a Jinja2 environment for LaTeX rendering.
mcp_server/tools/latex_gen.py:14
↓ 1 callersMethod_get_processing_stages
Return the ordered list of stages to execute.
nanoresearch/pipeline/base_orchestrator.py:77
↓ 1 callersFunction_get_s2_search
()
nanoresearch/agents/ideation.py:61
↓ 1 callersMethod_get_section_revision_guidance
Return section-specific revision guidance for top-tier venue standards.
nanoresearch/agents/review/apply_revisions.py:223
↓ 1 callersMethod_github_search
Search GitHub repos via API.
nanoresearch/agents/setup_search.py:83
↓ 1 callersMethod_handle_chat_async
(self, chat_id: str, message_id: str, text: str)
nanoresearch/feishu_bot_core.py:263
↓ 1 callersMethod_handle_env_selection
( self, chat_id: str, message_id: str, text: str, pending: dict )
nanoresearch/feishu_bot_handlers.py:284
↓ 1 callersMethod_handle_github_dataset
Clone a GitHub dataset repo, extract real download URLs, and fetch data.
nanoresearch/agents/setup_github.py:120
↓ 1 callersMethod_handle_quick_eval_timeout_recovery
Handle returncode == -1 (timeout/killed) by checking for partial artifacts. Returns a quick-eval result dict if recovery succeeded, or None t
nanoresearch/agents/execution/local_runner_qe_recovery.py:17
↓ 1 callersFunction_has_metric_name_hint
Check if any extracted metric name matches a common metric substring.
nanoresearch/agents/experiment/__init__.py:136
↓ 1 callersFunction_has_usable_performance_value
(performance: Any)
nanoresearch/agents/figure_gen/evidence.py:35
↓ 1 callersMethod_hf_to_modelscope_id
Search ModelScope for a matching model (async, non-blocking). Uses ModelScope API to find if the model exists, rather than relying on
nanoresearch/agents/setup_github.py:342
↓ 1 callersMethod_infer_failure_scope
(self, *, any_preflight_failures: bool, any_metrics: bool, final_status: str)
nanoresearch/evolution/memory_analyzer.py:72
↓ 1 callersMethod_infer_name
(self, domain: SkillDomain, trigger_pattern: str, instructions: list[str])
nanoresearch/evolution/skills.py:280
↓ 1 callersMethod_init_core
Shared initialisation called from FeishuBot.__init__.
nanoresearch/feishu_bot_core.py:52
↓ 1 callersMethod_inject_must_cites
Inject missing must-cite papers into the Related Work section. Adds a brief sentence for each must-cite paper that was identified but
nanoresearch/agents/writing/citation_manager.py:565
↓ 1 callersMethod_insert_method_schematic_in_method
Place method schematic after the Method text introduces the pipeline.
nanoresearch/agents/writing/latex_bib_figures.py:236
↓ 1 callersFunction_install_secret_log_record_factory
()
nanoresearch/cli.py:99
↓ 1 callersMethod_install_torch_conda
Install PyTorch with CUDA via conda into a named env. Uses ``conda install pytorch torchvision torchaudio pytorch-cuda=XX.X -c pytorc
nanoresearch/agents/runtime_env/_conda.py:111
↓ 1 callersMethod_interactive_env_select
Discover environments and prompt the user to pick one. Returns the selected python path, or None if user skips / no envs. Also saves
nanoresearch/agents/runtime_env/__init__.py:195
↓ 1 callersMethod_is_github_repo_url
Return a match object if *url* points to a GitHub repo (not a raw file).
nanoresearch/agents/setup_github.py:47
↓ 1 callersFunction_is_path_like_token
(token: str)
nanoresearch/agents/project_runner_core.py:159
↓ 1 callersMethod_is_proceedings_entry
(paper: dict)
nanoresearch/agents/ideation_search.py:167
↓ 1 callersMethod_is_strong_cross_project_match
( *, task_type: str, memory_type: MemoryType, overlap: int, overlap_ra
nanoresearch/evolution/memory.py:391
↓ 1 callersFunction_json_error_msg
Get JSON parse error message for diagnostics.
nanoresearch/agents/_base_helpers.py:326
↓ 1 callersMethod_latex_without_figure_blocks
(latex_content: str)
nanoresearch/agents/writing/writing_agent.py:533
↓ 1 callersMethod_limit_experiment_conceptual_figures
Keep one method schematic and reserve remaining slots for result charts.
nanoresearch/agents/figure_gen/__init__.py:399
↓ 1 callersMethod_limit_experiment_result_figures
r"""Keep main-text experiment figures from overwhelming prose. Extra result-like figures are removed from the main text after the evi
nanoresearch/agents/writing/latex_figure_placement.py:542
↓ 1 callersMethod_llm_analyze_trim
Send image to LLM; get back trim decision + code. Uses figure_code stage (vision-capable model like Claude Sonnet), NOT figure_gen (c
nanoresearch/agents/figure_gen/trim.py:182
↓ 1 callersMethod_llm_attribution
Ask LLM to attribute the results and recommend next action.
nanoresearch/agents/feedback_analyzer.py:307
↓ 1 callersMethod_llm_extract_download_info
Ask LLM to read the README and extract the actual download command.
nanoresearch/agents/setup_github.py:257
↓ 1 callersMethod_llm_verify_trim
Send trimmed image to LLM for visual verification. Uses figure_code stage (vision-capable model like Claude Sonnet), NOT figure_gen (
nanoresearch/agents/figure_gen/trim.py:204
↓ 1 callersMethod_load
(self)
nanoresearch/feishu_bot.py:105
↓ 1 callersMethod_load_artifact_skills
(self)
nanoresearch/evolution/skills.py:252
↓ 1 callersFunction_load_feishu_credentials
从环境变量或 config.json 加载飞书凭证。
nanoresearch/feishu_bot.py:60
↓ 1 callersMethod_load_local_round_artifacts
Best-effort reload of local round artifacts from disk.
nanoresearch/agents/execution/local_runner_helpers.py:83
↓ 1 callersMethod_load_manifest
(self, manifest_path: Path | None)
nanoresearch/skills.py:191
↓ 1 callersFunction_load_optional_config
(config_path: Path | None)
nanoresearch/cli.py:221
↓ 1 callersMethod_log_citation_report
Log a citation quality report.
nanoresearch/agents/writing/citation_manager.py:634
↓ 1 callersMethod_looks_like_infra_error
Heuristic: does the error look like an infrastructure problem?
nanoresearch/agents/debug.py:203
↓ 1 callersMethod_make_id
(subsystem: str, stage: str, context_prefix: str)
nanoresearch/evolution/ram_data.py:66
↓ 1 callersMethod_make_memory_id
(memory_type: MemoryType, scope: MemoryScope, content: str)
nanoresearch/evolution/memory.py:415
↓ 1 callersMethod_make_research_memory_id
( memory_kind: ResearchMemoryKind, task_family: str, content: str, conditions:
nanoresearch/evolution/memory.py:420
↓ 1 callersMethod_manifest_probe_command
(cluster_code_path: str)
nanoresearch/agents/cluster_executor_env.py:270
↓ 1 callersMethod_match_baselines_to_cite_keys
Fuzzy-match baseline names from blueprint against paper titles. Returns a mapping: baseline_name → cite_key. This prevents the LLM fr
nanoresearch/agents/writing/context_builder.py:414
↓ 1 callersMethod_match_must_cites_to_papers
( self, must_cite_titles: list[str], papers: list[dict] )
nanoresearch/agents/ideation_search.py:447
↓ 1 callersMethod_match_resource_target
( cls, code_dir: Path, missing_target: str, resource_context: dict[str, Any] |
nanoresearch/agents/execution/repair_resources.py:203
↓ 1 callersMethod_materialize_missing_resource_targets
( cls, code_dir: Path, error_text: str, resource_context: dict[str, Any] | Non
nanoresearch/agents/execution/repair_resources.py:294
↓ 1 callersMethod_merge_section_reviews
Merge section reviews from multiple reviewers. Strategy: per-section min score (strictest reviewer wins), union all issues/suggestion
nanoresearch/agents/review/multi_reviewer.py:335
↓ 1 callersFunction_merge_transitions
( *transition_sets: dict[PipelineStage, list[PipelineStage]], )
nanoresearch/schemas/manifest.py:125
↓ 1 callersMethod_meta_refine_revision
Diagnose why a revision degraded quality, then retry with extra constraints. This is the runtime prompt self-optimization loop: 1. LL
nanoresearch/agents/review/apply_revisions.py:60
↓ 1 callersMethod_method_name
Return a stable method name from the schema's structured method dict.
nanoresearch/agents/planning.py:264
↓ 1 callersMethod_metric_higher_is_better
(metric_name: str, bp_metrics: list)
nanoresearch/agents/analysis/__init__.py:494
↓ 1 callersMethod_metric_value
Return a metric value from a normalized result entry.
nanoresearch/agents/writing/grounding_tables.py:664
↓ 1 callersMethod_multi_reviewer_assessment
Run parallel reviews from multiple model personas, merge results. Falls back to single-model review if all reviewers fail.
nanoresearch/agents/review/multi_reviewer.py:101
↓ 1 callersMethod_nearby_section_text
(latex_content: str, position: int, max_chars: int = 1800)
nanoresearch/agents/writing/writing_agent.py:551
↓ 1 callersMethod_normalize_code_plan
(self, code_plan: dict[str, Any] | None)
nanoresearch/agents/coding.py:55
↓ 1 callersMethod_normalize_manifest_data
Repair legacy manifests in-memory before validation.
nanoresearch/pipeline/workspace.py:128
↓ 1 callersMethod_normalize_metrics_format
Convert alternative metrics.json formats to the expected schema. Handles the common case where generated code writes: {"variants":
nanoresearch/agents/experiment/_quick_eval_helpers.py:23
↓ 1 callersMethod_normalize_project_file_path
(raw_path: str)
nanoresearch/agents/coding.py:276
↓ 1 callersFunction_normalize_skill_domain
(domain: str, *, stage_name: str = "")
nanoresearch/router_policy.py:63
↓ 1 callersMethod_normalize_structured_evidence
Normalize machine-generated artifacts into stable paper-facing fields. This function never fabricates missing values. Published baselines fro
nanoresearch/agents/analysis/__init__.py:189
↓ 1 callersMethod_normalize_writing_stage_plan
(plan: dict[str, Any], fallback: dict[str, Any])
nanoresearch/agents/writing/stage_planner.py:298
↓ 1 callersMethod_option_value_matches_missing_target
( cls, code_dir: Path, option_value: str, missing_targets: list[str], )
nanoresearch/agents/execution/repair_commands.py:118
↓ 1 callersMethod_overlap_stats
(query_tokens: set[str], candidate_tokens: set[str])
nanoresearch/evolution/memory.py:380
↓ 1 callersMethod_overlay_private_endpoints
Apply local-only endpoint routing from ~/.nanoresearch/private_endpoints.json. This file is intentionally outside the repository and is never
nanoresearch/config.py:300
↓ 1 callersMethod_parse_actions
(self, response: str)
nanoresearch/feishu_bot_core.py:354
← previousnext →601–700 of 1,278, ranked by callers