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

gnosis / dex-services / 5265 / 3
31%
master: 31%

Build:
DEFAULT BRANCH: master
Ran 07 Oct 2020 04:18PM UTC
Files 99
Run time 24s
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 Oct 2020 04:06PM UTC coverage: 27.957% (+0.005%) from 27.952%
OPEN_SOLVER_VERSION=v0.1.0 PRIVATE_SOLVER_VERSION=v0.8.4

push

travis-pro

web-flow
Record a metric for when the solver ran out of time (#1462)

This will help us to measure one of our goals ("Batches with non trivial solutions in which Standard Solver (using Gurobi), Best Ring Solver (using SCIP) and Open Solver finish without interruption before time limit").

At the moment this could be inferred by the optimality gap (close to 0 meaning solved to optimality, but it's not entirely clear what the right threshold is, therefore I think it's easy enough to add this metric as an explicit counter.

Here is an example instance that was interrupted because it ran out of time: https://gnosis-dev-dfusion.s3.amazonaws.com/data/rinkeby_dev/standard-solver/results/2020-10-04/instance_5339384_2020-10-04T12%3A45%3A30.550230225%2B00%3A00/06_solution_int_valid.json

### Test Plan

Run:

```
cargo run --bin driver -- --node-url https://staging-openethereum.mainnet.gnosisdev.com  --rpc-timeout 60000 --orderbook-file target/orderbook_mainnet.bin --private-key c87509a1cc0241e5e4a9ec0a0f44dc0d3 --solver-type StandardSolver  --latest-solution-submit-time 70 --scheduler SYSTEM
```

to have the SCIP solver run with minimal time (causing an interrupt). Then check `http://localhost:9586/metrics`
Observe

`dfusion_solver_interrupted 1`

13096 of 53841 branches covered (24.32%)

Branch coverage included in aggregate %.

3476 of 5436 relevant lines covered (63.94%)

43546.17 hits per line

Source Files on job 5265.3 (OPEN_SOLVER_VERSION=v0.1.0 PRIVATE_SOLVER_VERSION=v0.8.4)
  • Tree
  • List 0
  • Changed 33
  • Source Changed 1
  • Coverage Changed 33
Coverage ∆ File Lines Relevant Covered Missed Hits/Line Branch Hits Branch Misses
  • Back to Build 1676
  • Travis Job 5265.3
  • bfa766da on github
  • Prev Job for OPEN_SOLVER_VERSION=v0.1.0 PRIVATE_SOLVER_VERSION=v0.8.4 on master (#5258.3)
  • Next Job for OPEN_SOLVER_VERSION=v0.1.0 PRIVATE_SOLVER_VERSION=v0.8.4 on master (#5267.3)
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