MCPcopy Create free account

hub / github.com/GAIR-NLP/daVinci-Agency / functions

Functions2,118 in github.com/GAIR-NLP/daVinci-Agency

↓ 1 callersMethod_build_prompt_for_session
( self, payload: Mapping[str, Any], context: _SessionContext, )
src/services/sii_agent_client.py:445
↓ 1 callersFunction_build_request
( chain_entry: dict, backend: DiffBackend, mode: DiffMode, chain_id: str, repo_root: Path
src/cli/diff_generator.py:81
↓ 1 callersFunction_build_run
( stage_id: str, attempt: int, transcript_path: Path, patch_path: Path )
tests/unit/pipelines/rollout_executor/test_stage_session.py:38
↓ 1 callersMethod_build_run_record
( self, run_id: str, query: QueryArtifact, execution: AgentExecutionResult,
src/pipelines/rollout_executor/executor.py:775
↓ 1 callersFunction_build_snapshot
(chain: PRChain, annotation: HumanEffortAnnotation)
src/pipelines/query_constructor/prompt_binding.py:133
↓ 1 callersMethod_build_snapshot
(self, record: RawPRRecord)
src/pipelines/domain_analysis/data_loader.py:181
↓ 1 callersFunction_build_specs_from_query_artifacts
( artifacts: Sequence[GeneratedQueryArtifact], raw_artifacts: Sequence[Mapping[str, Any] | Any], )
src/pipelines/rollout_executor/staged_queries.py:158
↓ 1 callersFunction_build_specs_from_staged_artifacts
( artifacts: Sequence[StagedQueryArtifact], raw_artifacts: Sequence[Mapping[str, Any] | Any], )
src/pipelines/rollout_executor/staged_queries.py:89
↓ 1 callersFunction_build_stage_payload
( commits: Dict[str, str], stage1_patch: str, stage2_patch: str, )
tests/integration/pipelines/rollout_executor/test_stage_session_cli.py:86
↓ 1 callersFunction_build_stage_records
Build StageRecord instances aligned with the PR chain.
src/pipelines/query_constructor/stage_orchestrator.py:147
↓ 1 callersFunction_build_stage_spec
(plan_id: str, stage_id: str, repository: str, baseline: str)
tests/acceptance/pipelines/rollout_executor/test_staged_rollout.py:116
↓ 1 callersMethod_build_system_prompt
(self, spec: StageRunSpec)
src/pipelines/rollout_executor/stage_session.py:1526
↓ 1 callersFunction_build_toy_chat_tokenizer
(root: Path)
tests/acceptance/scripts/test_count_parquet_tokens.py:15
↓ 1 callersFunction_build_toy_tokenizer
(root: Path)
tests/integration/test_count_parquet_tokens_cli.py:16
↓ 1 callersMethod_build_transcript
( *, query: LegacyQueryArtifact, log_entries: Iterable[Dict[str, Any]], status
src/pipelines/rollout_executor/agent.py:171
↓ 1 callersMethod_build_workspace_delta
( self, run: AgentRun, execution: AgentExecutionResult, base_revision: str,
src/pipelines/rollout_executor/executor.py:986
↓ 1 callersFunction_cache_key
(url: str, params: Mapping[str, Any] | None)
src/utils/cache.py:21
↓ 1 callersFunction_canonicalize_params
(params: Mapping[str, Any] | None)
src/utils/cache.py:14
↓ 1 callersMethod_capture_workspace_diff
Try to produce a git diff patch from the agent workspace when no candidate patch is provided.
src/pipelines/rollout_executor/stage_session.py:1665
↓ 1 callersFunction_chain_id
(repository: str, topic: str)
src/pipelines/pr_combiner/chain_builder.py:19
↓ 1 callersFunction_choose_mode
( file: pq.ParquetFile, *, requested: Mode, text_column: str, messages_column: str, )
src/utils/parquet_token_counter.py:98
↓ 1 callersMethod_clean_workspace
Best-effort cleanup of local changes before retrying merge/checkout.
src/pipelines/rollout_executor/git_workspace.py:309
↓ 1 callersMethod_cleanup_single_run_workspace
(workspace_dir: Path | None)
src/pipelines/rollout_executor/executor.py:370
↓ 1 callersMethod_clear_workspace_logs
(workspace_dir: Path)
src/pipelines/rollout_executor/executor.py:360
↓ 1 callersMethod_clone_remote
(self, remote: str, destination: Path)
src/pipelines/rollout_executor/workspace.py:144
↓ 1 callersFunction_cmd_review_decide
( queue_path: Path, *, relationship_id: str, resolution: str, reviewer: str, notes: st
src/cli/pr_combiner_cli.py:62
↓ 1 callersFunction_cmd_review_list
(queue_path: Path)
src/cli/pr_combiner_cli.py:49
↓ 1 callersFunction_coerce_messages
(value: Any)
src/utils/parquet_token_counter.py:65
↓ 1 callersFunction_coerce_paths
Derive source/log paths from provided fields.
src/services/rollout_registry.py:50
↓ 1 callersFunction_coerce_query_payload
(entries: Sequence[Any])
src/pipelines/rollout_executor/staged_queries.py:311
↓ 1 callersFunction_coerce_rollout_id
Derive a rollout identifier from common fields.
src/services/rollout_registry.py:30
↓ 1 callersFunction_coerce_stage
Coerce stage data with flexible field names.
src/services/rollout_registry.py:62
↓ 1 callersFunction_coerce_tools
(value: Any)
src/utils/parquet_token_counter.py:73
↓ 1 callersMethod_collect_commit_links
(self, records: list[PRRecord])
src/pipelines/pr_combiner/validator.py:177
↓ 1 callersFunction_collect_critical_files
(patches: Iterable[Any])
src/pipelines/rollout_executor/executor.py:223
↓ 1 callersMethod_collect_dependency_patches
( self, plan_id: str, stage: _ResolvedStage, )
src/pipelines/rollout_executor/executor.py:947
↓ 1 callersFunction_collect_mini_swe_conversations
(raw_dir: Path)
src/cli/mini_swe_data_pipeline_cli.py:83
↓ 1 callersFunction_collect_openai_conversations
( raw_dir: Path, *, include_tools: bool = True )
src/cli/data_pipeline_cli.py:145
↓ 1 callersMethod_collect_timeline_links
(self, records: list[PRRecord])
src/pipelines/pr_combiner/validator.py:166
↓ 1 callersMethod_commit_carry_forward
( self, manager: GitWorkspaceManager, stage_id: str )
src/pipelines/rollout_executor/stage_session.py:1499
↓ 1 callersFunction_commit_file
(path: Path, name: str, content: str)
tests/unit/pipelines/rollout_executor/test_workspace_template.py:42
↓ 1 callersFunction_compare_schema
(payload: Mapping[str, object], canonical: Mapping[str, object])
src/pipelines/query_constructor/validators.py:96
↓ 1 callersFunction_compose_descriptions
(chain: PRChain)
src/pipelines/query_constructor/prompt_binding.py:180
↓ 1 callersFunction_compose_reasoning
(annotation: HumanEffortAnnotation)
src/pipelines/query_constructor/prompt_binding.py:185
↓ 1 callersFunction_compose_titles
(chain: PRChain)
src/pipelines/query_constructor/prompt_binding.py:175
↓ 1 callersFunction_compute_p95
(values: Sequence[int])
src/pipelines/rollout_executor/telemetry.py:22
↓ 1 callersMethod_compute_patch
(cwd: Path, baseline_revision: str | None)
src/services/sii_agent_client.py:359
↓ 1 callersFunction_contains_bullets
(text: str)
src/pipelines/query_constructor/validators.py:82
↓ 1 callersFunction_contains_forbidden_patterns
(text: str, patterns: Sequence[str])
src/pipelines/query_constructor/validators.py:91
↓ 1 callersFunction_contains_required_sections
(text: str, required_sections: Sequence[str])
src/pipelines/query_constructor/validators.py:86
↓ 1 callersMethod_context_keys
(self, payload: Mapping[str, Any], cwd: Path)
src/services/sii_agent_client.py:423
↓ 1 callersMethod_convert_log_to_transcript
(payload: Mapping[str, Any] | None)
src/services/sii_agent_client.py:324
↓ 1 callersFunction_convert_plain_messages
( record: Dict[str, Any], *, include_tools: bool )
src/pipelines/data_process/mini_swe_converter.py:81
↓ 1 callersFunction_convert_rollout_record
(record: Dict[str, Any])
src/pipelines/data_process/convert_to_openai.py:300
↓ 1 callersFunction_convert_stage_record
Convert a staged StageRecord into a query artifact entry.
src/pipelines/query_constructor/builder.py:163
↓ 1 callersFunction_convert_staged_messages
Merge all attempts into a single conversation (flattened by attempt order).
src/pipelines/data_process/mini_swe_converter.py:107
↓ 1 callersFunction_convert_structured_dict
Transform structured query artifacts into legacy rollout artifacts.
src/pipelines/rollout_executor/executor.py:133
↓ 1 callersFunction_copy_repository
(source: Path, destination: Path)
src/cli/rollout_executor_cli.py:1995
↓ 1 callersFunction_copytree
(source: Path, dest: Path)
src/pipelines/rollout_executor/persistence.py:629
↓ 1 callersFunction_count_tokens_from_messages
(data: Dict[str, object], tokenizer: Any | None)
src/services/reporting/rollout_dataset_stats.py:366
↓ 1 callersFunction_count_trimmed_mini_swe_user_tasks
Count how many mini-swe user messages would be trimmed for previous context. We trim when: - role == "user" - content starts with "Your t
src/cli/data_pipeline_cli.py:31
↓ 1 callersFunction_default_output_path
(rollouts_dir: Path, fmt: str)
src/cli/rollout_stats_cli.py:13
↓ 1 callersMethod_default_stage_name
(self, stage_id: str, plan: RolloutPlan)
src/pipelines/rollout_executor/stage_config.py:134
↓ 1 callersFunction_derive_next_stage
( last_success_stage: Optional[StageRecord], total_stages: Optional[int] )
src/pipelines/rollout_executor/scaling_success/planner.py:29
↓ 1 callersFunction_derive_records_from_global_registry
( run_dir: Path, registry_path: Path, logger, )
src/cli/rollout_executor_cli.py:2183
↓ 1 callersFunction_describe_multi_round_session
( *, session_id: str, manager: MultiRoundSessionManager, logger, export_json: str | None,
src/cli/rollout_executor_cli.py:4042
↓ 1 callersFunction_directory_mode_enabled
()
src/cli/rollout_executor_cli.py:772
↓ 1 callersMethod_emit_chains
Emit non-overlapping chains respecting length bounds.
src/pipelines/pr_combiner/chain_builder.py:148
↓ 1 callersFunction_emit_metrics
(success_count: int, failure_count: int, total: int)
src/pipelines/query_constructor/reporting.py:36
↓ 1 callersMethod_emit_plain_progress
(self)
src/cli/rollout_executor_ui.py:267
↓ 1 callersFunction_enforce_payload_limits
(payload: Dict[str, Any])
src/pipelines/query_constructor/prompt_binding.py:90
↓ 1 callersFunction_ensure_execution_template
( template_repo: dict[str, ExecutionTemplate], specs: Sequence[staged_queries.StageRunSpec], *,
src/cli/rollout_executor_cli.py:2937
↓ 1 callersMethod_ensure_remote
(self, remote: str, template_path: Path)
src/pipelines/rollout_executor/workspace.py:162
↓ 1 callersMethod_ensure_writable
(directory: Path)
src/utils/trajectory_paths.py:52
↓ 1 callersMethod_error_message
(response: Response)
src/services/rollout_diff/generator.py:170
↓ 1 callersMethod_estimate_confidence
(self, evidence: str)
src/pipelines/pr_combiner/validator.py:161
↓ 1 callersMethod_evaluate_content_links
( self, records: list[PRRecord], review_queue: "ReviewQueue" | None, )
src/pipelines/pr_combiner/validator.py:118
↓ 1 callersFunction_execute_mini_tasks_concurrently
Concurrent execution for mini scaffold single-stage queries.
src/cli/rollout_executor_cli.py:987
↓ 1 callersFunction_execute_staged_runs
( specs: Sequence[staged_queries.StageRunSpec], *, rollout_exec: executor.RolloutExecutor, dry
src/cli/rollout_executor_cli.py:3368
↓ 1 callersFunction_execute_tasks_sequentially
( tasks: List[QueryTask], base_executor: executor.RolloutExecutor, *, dry_run: bool, logge
src/cli/rollout_executor_cli.py:2566
↓ 1 callersMethod_extract_agent_messages
Best-effort extraction of messages from a running mini agent. mini-swe-agent writes its trajectory on completion, so timeouts need a
src/services/mini_swe_runner.py:317
↓ 1 callersFunction_extract_agent_session_id
(log_path: str | None)
src/cli/_scaling_success_resume.py:21
↓ 1 callersFunction_extract_completion
(payload: Mapping[str, Any])
src/utils/llm.py:56
↓ 1 callersMethod_extract_completion_text
(response: Mapping[str, Any])
src/services/sii_agent_client.py:556
↓ 1 callersFunction_extract_json_block
(text: str)
src/pipelines/evaluator/scorer.py:251
↓ 1 callersFunction_extract_json_object
(raw: str)
src/pipelines/domain_analysis/llm_topic_classifier.py:724
↓ 1 callersFunction_extract_json_object
Extract the first valid JSON object from raw LLM output.
src/pipelines/query_constructor/stage_orchestrator.py:95
↓ 1 callersFunction_extract_mini_repository
(query: QueryArtifact)
src/cli/rollout_executor_cli.py:975
↓ 1 callersFunction_extract_mini_task
(query: QueryArtifact)
src/cli/rollout_executor_cli.py:962
↓ 1 callersFunction_extract_plan_token_from_filename
(filename: str)
src/services/reporting/rollout_dataset_stats.py:241
↓ 1 callersFunction_extract_plan_token_from_plan_id
(plan_id: str)
src/services/reporting/rollout_dataset_stats.py:227
↓ 1 callersMethod_extract_repo_intro
(self, payload: Mapping[str, object])
src/pipelines/domain_analysis/data_loader.py:219
↓ 1 callersFunction_extract_repo_name
(record: dict[str, Any])
src/data_processing/enhanced_repo_rollup.py:138
↓ 1 callersMethod_extract_repo_name
(self, payload: Mapping[str, object])
src/pipelines/domain_analysis/data_loader.py:166
↓ 1 callersMethod_extract_response_content
(self, payload: Mapping[str, Any])
src/pipelines/domain_analysis/llm_topic_classifier.py:636
↓ 1 callersMethod_extract_session_identifier
(payload: Mapping[str, Any] | None)
src/services/sii_agent_client.py:308
↓ 1 callersFunction_extract_start_pr
(metadata: QueryArtifactMetadata)
src/pipelines/query_constructor/persistence.py:299
↓ 1 callersFunction_extract_template_id
(query: QueryArtifact)
src/cli/rollout_executor_cli.py:3390
↓ 1 callersMethod_extract_template_id
(query: LegacyQueryArtifact)
src/pipelines/rollout_executor/agent.py:160
↓ 1 callersFunction_extract_token_breakdown
(data: Dict[str, object])
src/services/reporting/rollout_dataset_stats.py:349
← previousnext →501–600 of 2,118, ranked by callers