MCPcopy Create free account

hub / github.com/Ericbai06/SkillDAG / functions

Functions270 in github.com/Ericbai06/SkillDAG

Method__init__
(self, graph_path: str, skills_dir: str, *, task_id: str | None = None)
benchmarks/alfworld/skilldag_runtime.py:376
Function_extract_imagined_needs
Per-skill LLM call: imagined-tasks → common prerequisites sentence. Returns the `common_prerequisites` field from the LLM JSON output. Return
src/skilldag/initialize.py:440
Method_key
(ed: dict[str, Any])
src/skilldag/graph.py:1217
Functioncmd_add
(args)
src/skilldag/cli.py:115
Functioncmd_graph_check_set
(args)
src/skilldag/cli.py:241
Functioncmd_graph_edit_add
(args)
src/skilldag/cli.py:321
Functioncmd_graph_edit_remove
(args)
src/skilldag/cli.py:339
Functioncmd_graph_edit_retype
(args)
src/skilldag/cli.py:357
Functioncmd_graph_edit_rollback
(args)
src/skilldag/cli.py:376
Functioncmd_graph_expand_set
(args)
src/skilldag/cli.py:252
Functioncmd_graph_get_alternatives
(args)
src/skilldag/cli.py:230
Functioncmd_graph_get_conflicts
(args)
src/skilldag/cli.py:219
Functioncmd_graph_get_dependencies
(args)
src/skilldag/cli.py:208
Functioncmd_graph_get_skill
(args)
src/skilldag/cli.py:197
Functioncmd_graph_propose_edge
(args)
src/skilldag/cli.py:278
Functioncmd_graph_propose_remove
(args)
src/skilldag/cli.py:291
Functioncmd_graph_propose_retype
(args)
src/skilldag/cli.py:304
Functioncmd_graph_repair_set
(args)
src/skilldag/cli.py:263
Functioncmd_graph_search
(args)
src/skilldag/cli.py:152
Functioncmd_help
(args)
src/skilldag/cli.py:430
Functioncmd_initialize_graph
(args)
src/skilldag/cli.py:391
Functioncmd_show
(args)
src/skilldag/cli.py:62
Methodembed
(text: str)
tests/test_graph.py:63
Functionensure_clean_dir
(path: Path)
benchmarks/skillsbench/graphskills_benchmark.py:24
Functioneval_single_game
(game_idx: int, args, config: dict, split: str, output_path: str)
benchmarks/alfworld/skilldag_runtime.py:830
Methodexact_match
(self)
benchmarks/skill_use_metrics.py:89
Methodf1
(self)
benchmarks/skill_use_metrics.py:84
Methodfalse_negative
(self)
benchmarks/skill_use_metrics.py:72
Methodfalse_positive
(self)
benchmarks/skill_use_metrics.py:68
Functionpatch_dockerfile
(dockerfile_path: Path, variant: str = "skilldag")
benchmarks/skillsbench/graphskills_benchmark.py:78
Methodprecision
(self)
benchmarks/skill_use_metrics.py:76
Methodread_skill_md
Return SKILL.md body; empty if absent.
benchmarks/alfworld/skilldag_runtime.py:390
Methodrecall
(self)
benchmarks/skill_use_metrics.py:80
MethodsetUp
(self)
tests/test_graph.py:13
MethodtearDown
(self)
tests/test_graph.py:40
Methodtest_classifier_drops_cross_pair_source_refs
(self)
tests/test_initialize.py:67
Methodtest_classifier_maps_candidate_refs_to_skill_ids
(self)
tests/test_initialize.py:11
Methodtest_cli_graph_edit_edge_add_commits
(self)
tests/test_graph.py:664
Methodtest_cli_graph_get_skill_outputs_json
(self)
tests/test_graph.py:577
Methodtest_cli_graph_propose_edge_returns_related
(self)
tests/test_graph.py:630
Methodtest_cli_graph_uses_env_default_paths
(self)
tests/test_graph.py:605
Methodtest_edit_edge_accepts_empty_task_id
(self)
tests/test_graph.py:388
Methodtest_edit_edge_add_applies_immediately
(self)
tests/test_graph.py:273
Methodtest_edit_edge_add_rejects_duplicate
(self)
tests/test_graph.py:347
Methodtest_edit_edge_can_commit_despite_prior_edge_on_same_pair
Different edge types on the same pair co-exist — the propose step surfaces the prior reason, but edit-edge still commits when the agent
tests/test_graph.py:401
Methodtest_edit_edge_remove_applies_immediately
(self)
tests/test_graph.py:295
Methodtest_edit_edge_remove_rejects_missing_edge
(self)
tests/test_graph.py:362
Methodtest_edit_edge_requires_non_empty_reason
(self)
tests/test_graph.py:375
Methodtest_edit_edge_retype_preserves_reason_and_history
(self)
tests/test_graph.py:315
Methodtest_initialize_discovers_nodes
(self)
tests/test_graph.py:76
Methodtest_initialize_requires_complete_eself_embeddings_cache
(self)
tests/test_initialize.py:101
Methodtest_initialize_uses_complete_eself_cache_without_embedding_call
(self)
tests/test_initialize.py:126
Methodtest_legacy_proposals_field_is_stripped_on_load
(self)
tests/test_graph.py:90
Methodtest_load_refreshes_stale_node_paths_from_skills_dir
(self)
tests/test_graph.py:79
Methodtest_propose_edge_rejects_duplicate
(self)
tests/test_graph.py:219
Methodtest_propose_edge_requires_non_empty_reason
(self)
tests/test_graph.py:245
Methodtest_propose_edge_returns_empty_related_when_no_prior
(self)
tests/test_graph.py:146
Methodtest_propose_edge_surfaces_history_reasons_for_pair
(self)
tests/test_graph.py:191
Methodtest_propose_remove_requires_existing_edge
(self)
tests/test_graph.py:227
Methodtest_propose_remove_requires_non_empty_reason
(self)
tests/test_graph.py:251
Methodtest_propose_retype_rejects_identical_types
(self)
tests/test_graph.py:235
Methodtest_propose_retype_requires_non_empty_reason
(self)
tests/test_graph.py:259
Methodtest_propose_retype_returns_prior_edge_reason_in_related
(self)
tests/test_graph.py:162
Methodtest_read_ops_cover_dependencies_conflicts_and_redundancy
(self)
tests/test_graph.py:109
Methodtest_search_conflicts_section_is_empty_when_no_conflict_edges
(self)
tests/test_graph.py:550
Methodtest_search_conflicts_section_surfaces_conflict_edges
(self)
tests/test_graph.py:515
Methodtest_search_matches_are_purely_lexical
(self)
tests/test_graph.py:556
Methodtest_search_matches_vs_neighbors_no_mixing
(self)
tests/test_graph.py:448
Methodtest_search_specializes_edge_is_walkable_both_directions
(self)
tests/test_graph.py:494
Methodtrue_positive
(self)
benchmarks/skill_use_metrics.py:64
← previous201–270 of 270, ranked by callers