Code
Hub
Workspaces
Following
Trending
Connect
MCP
copy
Create free account
hub
/
github.com/Barabama/FreeNodes
/ functions
Functions
175 in github.com/Barabama/FreeNodes
⨍
Functions
175
◇
Types & classes
37
Method
test_extracts_from_analysis_line
Handles reasoning model output with analysis text.
tests/test_llm_router.py:399
Method
test_extracts_from_code_fence
(self)
tests/test_llm_router.py:391
Method
test_extracts_from_code_fence_with_lang
(self)
tests/test_llm_router.py:395
Method
test_extracts_from_last_line
(self)
tests/test_llm_router.py:411
Method
test_extracts_regex_with_escaped_chars
(self)
tests/test_llm_router.py:418
Method
test_full_config_parses_three_providers
(self, full_config)
tests/test_llm_router.py:427
Method
test_full_config_provider_fields
(self, full_config)
tests/test_llm_router.py:432
Method
test_generate_pattern_returns_none_on_empty
(self)
tests/test_llm_router.py:376
Method
test_handles_site_crash
One site crashing doesn't stop others.
tests/test_scheduler.py:124
Method
test_health_report
(self)
tests/test_llm_router.py:156
Method
test_hk_match
(self)
tests/test_merger.py:61
Method
test_http
(self)
tests/test_site_processor.py:63
Method
test_hyphen_date_in_url
(self)
tests/test_site_processor.py:113
Method
test_initial_state_is_healthy
(self)
tests/test_llm_router.py:108
Method
test_jp_match_via_tokyo
(self)
tests/test_merger.py:88
Method
test_merge_creates_output_files
Run merger against a temp directory with sample yaml/txt files.
tests/test_merger.py:116
Method
test_merge_empty_dir
(self, tmp_path)
tests/test_merger.py:143
Method
test_multiple_providers_independent
(self)
tests/test_llm_router.py:149
Method
test_no_date_returns_none
(self)
tests/test_site_processor.py:122
Method
test_no_duplicate_keywords_across_regions
Each keyword should belong to exactly one region to avoid ambiguity.
tests/test_merger.py:101
Method
test_no_llm_config_returns_empty
(self, no_llm_config)
tests/test_llm_router.py:451
Method
test_no_match
(self)
tests/test_site_processor.py:94
Function
test_no_old_llm_import
Ensure src.llm was deleted and not referenced.
tests/test_llm_router.py:466
Method
test_parse_json_empty_string
(self)
tests/test_llm_router.py:352
Method
test_parse_json_invalid_returns_empty
(self)
tests/test_llm_router.py:348
Method
test_parse_json_valid
(self)
tests/test_llm_router.py:338
Method
test_parse_json_with_fences
(self)
tests/test_llm_router.py:343
Method
test_pattern_resets_after_5_failures
When pattern fails >=5 times, link_pattern gets reset to None.
tests/test_site_processor.py:228
Method
test_pattern_self_heal
LLM generates valid pattern → saved to config.
tests/test_site_processor.py:249
Method
test_picks_by_date_from_title
Chinese date "6月18日" in title → sorted correctly.
tests/test_site_processor.py:131
Method
test_picks_by_date_from_url
URL path fallback when title has no date.
tests/test_site_processor.py:145
Method
test_prefers_title_over_url
(self)
tests/test_site_processor.py:125
Method
test_preserves_different_proxies
(self)
tests/test_merger.py:24
Method
test_renames_name_conflict
(self)
tests/test_merger.py:32
Method
test_resolves_relative_href
Relative href gets joined to base URL.
tests/test_site_processor.py:169
Method
test_respects_concurrency_limit
Semaphore cap = 2, max 2 concurrent.
tests/test_scheduler.py:145
Method
test_respects_max_articles
Config.crawl.max_articles = 3 limits the result.
tests/test_site_processor.py:178
Method
test_response_text_empty_when_both_none
(self)
tests/test_llm_router.py:324
Method
test_response_text_normal
(self)
tests/test_llm_router.py:313
Method
test_response_text_prefers_content_over_reasoning
(self)
tests/test_llm_router.py:330
Method
test_response_text_reasoning_model
(self)
tests/test_llm_router.py:318
Method
test_retries_on_failure
Retries 3 times, returns None on total failure.
tests/test_site_processor.py:284
Method
test_returns_all_sites_when_no_target
(self, scheduler)
tests/test_scheduler.py:40
Method
test_returns_empty_when_target_unknown
(self, scheduler)
tests/test_scheduler.py:49
Method
test_returns_none_for_empty_weights
(self)
tests/test_llm_router.py:39
Method
test_returns_none_on_garbage
(self)
tests/test_llm_router.py:415
Method
test_returns_none_when_all_unhealthy
(self)
tests/test_llm_router.py:63
Method
test_returns_only_option
(self)
tests/test_llm_router.py:44
Method
test_returns_only_option_with_min_weight
(self)
tests/test_llm_router.py:49
Method
test_returns_single_site_when_target_matches
(self, scheduler)
tests/test_scheduler.py:44
Method
test_router_from_full_config
(self, full_config)
tests/test_llm_router.py:455
Method
test_rule_hit_returns_early
link_pattern matches → returns links, no LLM.
tests/test_site_processor.py:198
Method
test_rule_miss_then_llm_fallback
No pattern → LLM extracts links.
tests/test_site_processor.py:209
Method
test_run_all_sites
All 3 sites processed, results collected.
tests/test_scheduler.py:93
Method
test_run_single_target
Only the targeted site runs.
tests/test_scheduler.py:109
Method
test_shows_errors
(self, scheduler, capsys)
tests/test_scheduler.py:79
Method
test_simple_url
(self)
tests/test_site_processor.py:57
Method
test_single_result
(self, scheduler, capsys)
tests/test_scheduler.py:70
Method
test_skips_excluded_providers
(self)
tests/test_llm_router.py:68
Method
test_skips_non_article_links
Category, pagination, and root links are excluded.
tests/test_site_processor.py:156
Method
test_skips_non_dict_items
(self)
tests/test_merger.py:45
Method
test_skips_non_http
(self)
tests/test_site_processor.py:80
Method
test_skips_unhealthy_providers
(self)
tests/test_llm_router.py:54
Method
test_slash_date_in_text
(self)
tests/test_site_processor.py:110
Method
test_still_healthy_below_threshold
(self)
tests/test_llm_router.py:118
Method
test_succeeds_on_first_try
(self, monkeypatch)
tests/test_site_processor.py:298
Method
test_success_clears_disabled
(self)
tests/test_llm_router.py:133
Method
test_success_resets_failure_count
(self)
tests/test_llm_router.py:124
Method
test_target_is_case_sensitive
(self, scheduler)
tests/test_scheduler.py:53
Method
test_task_routing
(self, full_config)
tests/test_llm_router.py:446
Method
test_unmatched_goes_to_other
(self)
tests/test_merger.py:73
Method
test_us_match
(self)
tests/test_merger.py:67
Method
test_with_path
(self)
tests/test_site_processor.py:60
Method
test_zero_weight_never_picked
(self)
tests/test_llm_router.py:90
Function
three_site_config
()
tests/test_scheduler.py:16
← previous
101–175 of 175, ranked by callers