Skip to content

Add comprehensive test suite for utility modules and core models#297

Open
amussara wants to merge 1 commit intoridgesai:mainfrom
amussara:add-comprehensive-test-suite-and-error-handling
Open

Add comprehensive test suite for utility modules and core models#297
amussara wants to merge 1 commit intoridgesai:mainfrom
amussara:add-comprehensive-test-suite-and-error-handling

Conversation

@amussara
Copy link

  • tests/test_diff.py: Tests for file diff computation, validation, and application
  • tests/test_git_utils.py: Tests for git clone, commit verification, init, and reset
  • tests/test_cost_hash_map.py: Tests for in-memory cost tracking with cleanup
  • tests/test_inference_models.py: Tests for model cost calculation, tool conversion, request/response validation
  • tests/test_ttl_cache.py: Tests for TTL cache key generation, entry lifecycle, and decorator behavior
  • tests/test_temp_utils.py: Tests for temporary directory creation and cleanup
  • tests/test_logger.py: Tests for log levels, formatting, and debug toggle
  • tests/test_evaluation_models.py: Tests for evaluation run status, error codes, and model validation

Covers edge cases including error code categorization, cache eviction, diff header formatting, and subprocess failure handling.

- tests/test_diff.py: Tests for file diff computation, validation, and application
- tests/test_git_utils.py: Tests for git clone, commit verification, init, and reset
- tests/test_cost_hash_map.py: Tests for in-memory cost tracking with cleanup
- tests/test_inference_models.py: Tests for model cost calculation, tool conversion, request/response validation
- tests/test_ttl_cache.py: Tests for TTL cache key generation, entry lifecycle, and decorator behavior
- tests/test_temp_utils.py: Tests for temporary directory creation and cleanup
- tests/test_logger.py: Tests for log levels, formatting, and debug toggle
- tests/test_evaluation_models.py: Tests for evaluation run status, error codes, and model validation

Covers edge cases including error code categorization, cache eviction,
diff header formatting, and subprocess failure handling.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant

Comments