Skip to content

theinterneti/TTA.dev / .claude/skills/generated/tests

Tests area in TTA.dev (session and related). 224 symbols | 25 files | Cohesion: 77%

Tests

224 symbols | 25 files | Cohesion: 77%

When to Use

  • Working on tests-related functionality in TTA.dev
  • Navigating ttadev/integrations/auth/session.py
  • Understanding test coverage for this area

Key Files

FileSymbols
tests/test_model_registry.py_ctx, _registry, _entry, test_register_and_get, test_register_updates_existing (+42)
tests/test_eval_harness.py_task, _llm_resp, _ctx, test_execute_calls_all_models_and_populates_results, test_failed_model_sets_error_field_not_raises (+29)
tests/test_ollama_primitives.py_ctx, test_health_check_healthy, test_health_check_unhealthy, test_list_models, test_running_models (+19)
tests/test_model_monitor.py_ctx, _monitor, test_record_success_tracks_stats, test_record_failure_tracks_stats, test_success_rate_computed (+17)
tests/test_tool_calling.py_make_ctx, _make_request, _make_openai_mock_response, test_openai_provider_with_tools_populates_tool_calls, test_openai_provider_without_tools_has_none_tool_calls (+12)
tests/test_model_benchmarks.py_ctx, _registry, _entry, test_min_humaneval_score_excludes_low_scoring_models, test_min_humaneval_score_excludes_models_with_no_data (+8)
tests/test_auth_session.pytest_verify_session_returns_payload_for_valid_token, test_verify_session_preserves_user_id, test_verify_session_preserves_scopes, test_verify_session_returns_none_for_expired_token, test_verify_session_returns_none_for_wrong_secret (+1)
tests/unit/test_auth_session.pytest_encode_decode_roundtrip, test_valid_token_returns_payload, test_wrong_secret_rejected, test_tampered_payload_rejected, test_expired_token_rejected (+1)
tests/test_auth_api_key.pytest_store_and_get_round_trip, test_revoke_sets_revoked_flag_to_true, test_store_overwrites_existing_record_with_same_key_id, test_scopes_are_stored_correctly, test_is_valid_returns_true_for_valid_key (+1)
ttadev/integrations/auth/session.py_b64url_encode, _b64url_decode, _sign, create_session, verify_session

Entry Points

Start here when exploring this area:

  • test_register_and_get (Function) — tests/test_model_registry.py:59
  • test_register_updates_existing (Function) — tests/test_model_registry.py:78
  • test_get_missing_returns_none (Function) — tests/test_model_registry.py:95
  • test_register_without_entry_is_error (Function) — tests/test_model_registry.py:105
  • test_list_all (Function) — tests/test_model_registry.py:119

Key Symbols

SymbolTypeFileLine
test_register_and_getFunctiontests/test_model_registry.py59
test_register_updates_existingFunctiontests/test_model_registry.py78
test_get_missing_returns_noneFunctiontests/test_model_registry.py95
test_register_without_entry_is_errorFunctiontests/test_model_registry.py105
test_list_allFunctiontests/test_model_registry.py119
test_list_empty_on_fresh_no_prepopulateFunctiontests/test_model_registry.py133
test_list_returns_registry_responseFunctiontests/test_model_registry.py141
test_list_filter_by_providerFunctiontests/test_model_registry.py152
test_list_filter_by_provider_no_matchFunctiontests/test_model_registry.py172
test_list_filter_by_cost_tierFunctiontests/test_model_registry.py185
test_list_filter_by_cost_tier_lowFunctiontests/test_model_registry.py200
test_list_filter_by_capability_tool_callingFunctiontests/test_model_registry.py218
test_list_filter_by_capability_visionFunctiontests/test_model_registry.py243
test_list_combined_capability_filtersFunctiontests/test_model_registry.py267
test_select_prefers_localFunctiontests/test_model_registry.py312
test_select_prefers_local_false_uses_cost_orderingFunctiontests/test_model_registry.py348
test_select_max_cost_tier_filtersFunctiontests/test_model_registry.py383
test_select_max_cost_tier_medium_includes_lower_tiersFunctiontests/test_model_registry.py414
test_select_require_tool_callingFunctiontests/test_model_registry.py441
test_select_fallback_when_emptyFunctiontests/test_model_registry.py474

Connected Areas

AreaConnections
Unit57 calls
Llm23 calls
Observability2 calls
Scripts1 calls

How to Explore

  1. gitnexus_context({name: "test_register_and_get"}) — see callers and callees
  2. gitnexus_query({query: "tests"}) — find related execution flows
  3. Read key files listed above for implementation details
finishing-a-development-branchobra/superpowersUse when implementation is complete, all tests pass, and you need to decide how to integrate the workStars: 318kUpdated Claude CodeCodexUnverifiedInstall
systematic-debuggingobra/superpowersUse when encountering any bug, test failure, or unexpected behavior, before proposing fixesStars: 318kUpdated Claude CodeCodexUnverifiedInstall
test-driven-developmentobra/superpowersUse when implementing any feature or bugfix, before writing implementation codeStars: 318kUpdated Claude CodeCodexUnverifiedInstall
skill-creatoranthropics/skillsCreate new skills, modify and improve existing skills, and measure skill performance. Use when users want to create a skill from scratch, edit, or optimize an existing skill, run evals to test a skill, benchmark skill performance with variance analysis, or optimize a skill's description for better triggering accuracy.Stars: 196kUpdated Claude CodeCodexVerifiedInstall