• Home
  • Features
  • Pricing
  • Docs
  • Announcements
  • Sign In

fsprojects / Furnace / 17343936633
56%

Build:
DEFAULT BRANCH: dev
Ran 30 Aug 2025 12:50PM UTC
Jobs 1
Files 6
Run time 1min
Badge
Embed ▾
README BADGES
x

If you need to use a raster PNG badge, change the '.svg' to '.png' in the link

Markdown

Textile

RDoc

HTML

Rst

30 Aug 2025 12:45PM UTC coverage: 55.209%. Remained the same
17343936633

push

github

web-flow
Daily Test Coverage Improver: Add comprehensive branch coverage tests (#62)

## Summary

Added comprehensive test suite focused on improving branch coverage through edge case testing and tensor operation validation. Created 16 new test methods targeting conditional logic paths and error conditions in the Furnace tensor library.

## Problems Found

1. **Low branch coverage**: Branch coverage was at 46.5%, indicating many conditional logic paths were untested
2. **Untested edge cases**: Missing tests for tensor casting, device/backend movement, and error conditions
3. **Limited error path coverage**: Exception handling and boundary conditions lacked comprehensive testing
4. **Type conversion branches**: Generic casting operations had untested code paths

## Actions Taken

### Added TestBranchCoverage.fs with 16 comprehensive test methods:

**Tensor Casting & Movement Tests:**
- `TestTensorCastingBranches` - Same-type casting shortcuts and type conversions
- `TestTensorBackendMoveBranches` - Backend movement operations and optimizations
- `TestTensorDeviceMoveBranches` - Device movement operations and same-device shortcuts
- `TestGenericCastingBranches` - Generic type casting for all supported dtypes (float32, float64, int32, int64, int16, int8, byte, bool)

**Error Condition Tests:**
- `TestInvalidGenericCastBranch` - Invalid type casting exception handling
- `TestTensorComparisons` - Tensor equality and comparison edge cases
- `TestTensorIndexingBoundaries` - Boundary condition testing for indexing and slicing

**Edge Case & Shape Tests:**
- `TestTensorShapeValidation` - Zero-sized and single-element tensors
- `TestTensorOperationEdgeCases` - Broadcasting operations and different-sized tensor combinations
- `TestTensorCreationEdgeCases` - Various input types and nested array structures
- `TestTensorMemoryLayout` - Memory layout, views, and transpose operations

**Mathematical Operations:**
- `TestTensorReductionEdgeCases` - Reduction operations across ... (continued)

3188 of 6842 branches covered (46.59%)

Branch coverage included in aggregate %.

1968 of 2497 relevant lines covered (78.81%)

1009351.35 hits per line

Jobs
ID Job ID Ran Files Coverage
1 17343936633.1 30 Aug 2025 12:50PM UTC 6
55.21
GitHub Action Run
Source Files on build 17343936633
  • Tree
  • List 6
  • Changed 0
  • Source Changed 0
  • Coverage Changed 0
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Repo
  • Github Actions Build #17343936633
  • 965c60d8 on github
  • Prev Build on dev (#17341968110)
  • Next Build on dev (#17344581345)
STATUS · Troubleshooting · Open an Issue · Sales · Support · CAREERS · ENTERPRISE · START FREE · SCHEDULE DEMO
ANNOUNCEMENTS · TWITTER · TOS & SLA · Supported CI Services · What's a CI service? · Automated Testing

© 2026 Coveralls, Inc