MCPcopy Create free account

hub / github.com/NousResearch/hermes-agent-self-evolution / functions

Functions195 in github.com/NousResearch/hermes-agent-self-evolution

Methodtest_handles_missing_dir
(self, tmp_path)
tests/core/test_external_importers.py:521
Methodtest_handles_missing_file
(self, tmp_path)
tests/core/test_external_importers.py:275
Methodtest_handles_no_assistant_response
(self, tmp_path)
tests/core/test_external_importers.py:533
Methodtest_help_flag
(self)
tests/core/test_external_importers.py:1193
Methodtest_hyphenated_skill_name_matches
(self)
tests/core/test_external_importers.py:579
Methodtest_ignores_ask_substring
(self)
tests/core/test_external_importers.py:102
Methodtest_ignores_code_token_discussion
(self)
tests/core/test_external_importers.py:98
Methodtest_ignores_dir_without_skill_md
(self, tmp_path)
tests/core/test_external_importers.py:937
Methodtest_ignores_normal_text
(self)
tests/core/test_external_importers.py:84
Methodtest_ignores_password_in_prose
(self)
tests/core/test_external_importers.py:124
Methodtest_ignores_prose_with_key_word
(self)
tests/core/test_external_importers.py:91
Methodtest_ignores_secret_in_prose
(self)
tests/core/test_external_importers.py:129
Methodtest_ignores_short_sk_prefix
(self)
tests/core/test_external_importers.py:87
Methodtest_ignores_token_assignment_short_value
(self)
tests/core/test_external_importers.py:120
Methodtest_ignores_word_bearer_in_prose
(self)
tests/core/test_external_importers.py:94
Methodtest_invalid_difficulty_defaults_to_medium
(self)
tests/core/test_external_importers.py:983
Methodtest_invalid_difficulty_normalized
LLM returns invalid difficulty -> normalized to medium.
tests/core/test_external_importers.py:1062
Methodtest_irrelevant_messages_filtered_out
(self, mock_dspy)
tests/core/test_external_importers.py:628
Methodtest_json_in_markdown
(self)
tests/core/test_external_importers.py:212
Methodtest_json_with_surrounding_text
(self)
tests/core/test_external_importers.py:218
Methodtest_loads_skill_from_directory
(self, tmp_path)
tests/core/test_external_importers.py:915
Methodtest_loads_skill_from_subdirectory
(self, tmp_path)
tests/core/test_external_importers.py:924
Methodtest_malformed_json_returns_none
(self)
tests/core/test_external_importers.py:226
Methodtest_malformed_llm_output_counted_as_error
(self, mock_dspy)
tests/core/test_external_importers.py:644
Methodtest_matches_skill_content_keywords
(self)
tests/core/test_external_importers.py:173
Methodtest_matches_skill_name_keyword
(self)
tests/core/test_external_importers.py:168
Methodtest_max_examples_cap_respected
(self, mock_dspy)
tests/core/test_external_importers.py:658
Methodtest_missing_description
(self, validator)
tests/core/test_constraints.py:83
Methodtest_missing_frontmatter
(self, validator)
tests/core/test_constraints.py:73
Methodtest_missing_name
(self, validator)
tests/core/test_constraints.py:78
Methodtest_missing_skill_exits_with_error
(self)
tests/core/test_external_importers.py:1186
Methodtest_missing_source_field_drops_message
Messages missing 'source' key are dropped before scoring.
tests/core/test_external_importers.py:1080
Methodtest_missing_task_input_drops_message
Messages missing 'task_input' are dropped before scoring.
tests/core/test_external_importers.py:1099
Methodtest_multiline_assistant_response
Multiple assistant.message events concatenate into one response.
tests/core/test_external_importers.py:391
Methodtest_multiple_sources
(self, tmp_path)
tests/core/test_external_importers.py:765
Methodtest_nested_braces_in_values
JSON with braces inside string values must parse correctly.
tests/core/test_external_importers.py:242
Methodtest_no_json_returns_none
(self)
tests/core/test_external_importers.py:223
Methodtest_no_messages_returns_empty_dataset
(self, tmp_path)
tests/core/test_external_importers.py:738
Methodtest_no_relevant_examples_returns_empty_dataset
(self, tmp_path)
tests/core/test_external_importers.py:750
Methodtest_non_dict_json_returns_none
A JSON array or string should return None (we need a dict).
tests/core/test_external_importers.py:237
Methodtest_non_empty_passes
(self, validator)
tests/core/test_constraints.py:54
Methodtest_none_category_defaults_to_general
(self)
tests/core/test_external_importers.py:1012
Methodtest_none_difficulty_defaults_to_medium
(self)
tests/core/test_external_importers.py:991
Methodtest_none_expected_behavior_returns_none
(self)
tests/core/test_external_importers.py:980
Methodtest_none_task_input_returns_none
(self)
tests/core/test_external_importers.py:971
Methodtest_output_loadable_by_golden_loader
Write fake Claude Code history, run pipeline, load with GoldenDatasetLoader.
tests/core/test_external_importers.py:814
Methodtest_parse_copilot_events_file_not_found
Outer try-catch: file doesn't exist -> returns empty list, doesn't crash.
tests/core/test_external_importers.py:450
Methodtest_parse_copilot_events_malformed_json
(self, tmp_path)
tests/core/test_external_importers.py:440
Methodtest_parse_copilot_events_permission_error
Outer try-catch: unreadable file -> returns empty list, doesn't crash.
tests/core/test_external_importers.py:455
Methodtest_parses_body
(self, tmp_path)
tests/skills/test_skill_module.py:42
Methodtest_parses_events_jsonl
(self, tmp_path)
tests/core/test_external_importers.py:324
Methodtest_parses_frontmatter
(self, tmp_path)
tests/skills/test_skill_module.py:33
Methodtest_parses_history_jsonl
(self, tmp_path)
tests/core/test_external_importers.py:258
Methodtest_parses_session_json
(self, tmp_path)
tests/core/test_external_importers.py:471
Methodtest_path_is_stored
(self, tmp_path)
tests/skills/test_skill_module.py:58
Methodtest_preserves_frontmatter
(self)
tests/skills/test_skill_module.py:77
Methodtest_raises_on_missing_skill
(self, tmp_path)
tests/core/test_external_importers.py:933
Methodtest_raw_contains_everything
(self, tmp_path)
tests/skills/test_skill_module.py:51
Methodtest_read_workspace_missing_file
(self, tmp_path)
tests/core/test_external_importers.py:432
Methodtest_read_workspace_no_cwd
(self, tmp_path)
tests/core/test_external_importers.py:435
Methodtest_read_workspace_with_cwd
(self, tmp_path)
tests/core/test_external_importers.py:427
Methodtest_rejects_unrelated
(self)
tests/core/test_external_importers.py:180
Methodtest_relevant_messages_become_examples
(self, mock_dspy)
tests/core/test_external_importers.py:602
Functiontest_resolve_expands_user_home
(monkeypatch)
tests/core/test_config_repo_path.py:46
Functiontest_resolve_falls_back_to_env_var_when_no_override
(tmp_path, monkeypatch)
tests/core/test_config_repo_path.py:53
Functiontest_resolve_honors_explicit_path_without_default
(tmp_path, monkeypatch)
tests/core/test_config_repo_path.py:36
Methodtest_respects_limit
(self, tmp_path)
tests/core/test_external_importers.py:280
Methodtest_respects_limit
(self, tmp_path)
tests/core/test_external_importers.py:546
Methodtest_roundtrip
(self, tmp_path)
tests/skills/test_skill_module.py:67
Methodtest_roundtrip_serialization
(self)
tests/core/test_external_importers.py:1204
Methodtest_scorer_exception_counted_as_error
(self, mock_dspy)
tests/core/test_external_importers.py:675
Methodtest_short_skill_name_matches_exact
(self)
tests/core/test_external_importers.py:565
Methodtest_short_skill_name_tdd
(self)
tests/core/test_external_importers.py:572
Methodtest_short_skill_name_words_ignored
(self)
tests/core/test_external_importers.py:187
Methodtest_shrinkage_is_ok
(self, validator)
tests/core/test_constraints.py:46
Methodtest_single_keyword_not_enough
(self)
tests/core/test_external_importers.py:193
Methodtest_skill_over_limit
(self, validator)
tests/core/test_constraints.py:19
Methodtest_skill_under_limit
(self, validator)
tests/core/test_constraints.py:15
Methodtest_skips_empty_lines
(self, tmp_path)
tests/core/test_external_importers.py:306
Methodtest_skips_malformed_json_lines
(self, tmp_path)
tests/core/test_external_importers.py:293
Methodtest_skips_short_messages
(self, tmp_path)
tests/core/test_external_importers.py:495
Methodtest_small_dataset_still_returned
Even with < MIN_DATASET_SIZE examples, a dataset is still returned.
tests/core/test_external_importers.py:1119
Methodtest_task_input_capped_at_2000_chars
(self)
tests/core/test_external_importers.py:1020
Methodtest_tool_description_over_limit
(self, validator)
tests/core/test_constraints.py:28
Methodtest_tool_description_under_limit
(self, validator)
tests/core/test_constraints.py:24
Methodtest_unknown_source_ignored
An unrecognized source name is silently skipped.
tests/core/test_external_importers.py:789
Methodtest_unpaired_user_message_dropped
A user message with no following assistant response is dropped.
tests/core/test_external_importers.py:372
Methodtest_valid_input_passes_through
(self)
tests/core/test_external_importers.py:952
Methodtest_valid_skill
(self, validator)
tests/core/test_constraints.py:68
Methodtest_valid_skill_passes_all
(self, validator)
tests/core/test_constraints.py:90
Methodtest_whitespace_category_defaults_to_general
(self)
tests/core/test_external_importers.py:1016
Methodtest_whitespace_expected_behavior_returns_none
(self)
tests/core/test_external_importers.py:977
Methodtest_whitespace_only_fails
(self, validator)
tests/core/test_constraints.py:62
Methodtest_whitespace_task_input_returns_none
(self)
tests/core/test_external_importers.py:968
Functionvalidator
()
tests/core/test_constraints.py:9
← previous101–195 of 195, ranked by callers