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

redmod-team / profit / 19159620491
52%

Build:
DEFAULT BRANCH: master
Ran 07 Nov 2025 06:02AM UTC
Jobs 5
Files 45
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

07 Nov 2025 05:54AM UTC coverage: 52.22% (+9.6%) from 42.609%
19159620491

push

github

web-flow
Replace GPy with GPyTorch implementation (#186)

* Replace GPy with GPyTorch and modernize Fortran build with f90wrap

BREAKING CHANGE: Completely replaced GPy with GPyTorch as the default surrogate

This comprehensive migration brings the following changes:

## GPyTorch Integration
- Created complete GPyTorchSurrogate implementation with:
  - GPU acceleration support via PyTorch
  - Modern automatic differentiation
  - Support for RBF, Matern32, and Matern52 kernels
  - Multi-output GP support via MultiOutputGPyTorchSurrogate
  - Full save/load functionality using pickle format
  - Compatible API with existing surrogate interface

## Fortran Build Modernization
- Replaced legacy numpy.distutils with f90wrap
- Implemented modern setuptools integration using F90WrapExtension
- Added f90wrap to build requirements in pyproject.toml
- Uses direct C interface builder for better compatibility
- Fallback to regular setuptools if f90wrap not available

## Configuration Changes
- Updated defaults.py to use GPyTorch as default surrogate
- Added torch and gpytorch to core dependencies in setup.cfg
- Removed deprecated GPy extra dependency
- Added fortran extra for f90wrap

## Code Cleanup
- Deleted profit/sur/gp/gpy_surrogate.py (375 lines removed)
- Updated __init__.py to import GPyTorch surrogates
- All traces of GPy removed from production code

## Test Updates
- Updated all unit tests to use GPyTorch
- Updated integration tests to use GPyTorch
- Modified test config files to use GPyTorch surrogate
- Updated active learning tests

## Documentation Updates
- Updated surrogates.rst with GPyTorch as recommended option
- Updated README.md to list GPyTorch as default
- Updated all example configurations
- Added GPU acceleration information

## Benefits
- Modern, actively maintained library
- GPU acceleration support
- Better scalability for large datasets
- No numpy version constraints
- Cleaner build process for Fortran extensions

All existing functionality is p... (continued)

336 of 372 new or added lines in 4 files covered. (90.32%)

2293 of 4391 relevant lines covered (52.22%)

2.61 hits per line

New Missed Lines in Diff

Lines Coverage ∆ File
1
71.43
0.0% profit/sur/gp/__init__.py
2
66.67
-33.33% profit/sur/__init__.py
33
90.93
profit/sur/gp/gpytorch_surrogate.py
Jobs
ID Job ID Ran Files Coverage
1 python-3.13 - 19159620491.1 07 Nov 2025 06:02AM UTC 45
52.15
GitHub Action Run
2 python-3.12 - 19159620491.2 07 Nov 2025 06:02AM UTC 45
52.15
GitHub Action Run
3 python-3.11 - 19159620491.3 07 Nov 2025 06:02AM UTC 45
52.17
GitHub Action Run
4 python-3.10 - 19159620491.4 07 Nov 2025 06:02AM UTC 45
52.15
GitHub Action Run
5 python-3.9 - 19159620491.5 07 Nov 2025 06:02AM UTC 45
52.16
GitHub Action Run
Source Files on build 19159620491
  • Tree
  • List 45
  • Changed 10
  • Source Changed 0
  • Coverage Changed 10
Coverage ∆ File Lines Relevant Covered Missed Hits/Line
  • Back to Repo
  • 35822a40 on github
  • Prev Build on master (#19115256272)
  • Delete
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