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

j-richey / open_ttt_lib
96%
master: 92%

Build:
Build:
LAST BUILD BRANCH: v0.2.2
DEFAULT BRANCH: master
Repo Added 24 Nov 2019 06:03PM UTC
Files 5
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

LAST BUILD ON BRANCH issue-5-implement-artificial-intelligence-algorithms
branch: issue-5-implement-artificial-intelligence-algorithms
CHANGE BRANCH
x
Reset
  • issue-5-implement-artificial-intelligence-algorithms
  • documentation-improvements
  • fix-clippy-warnings
  • improve-unit-test-coverage
  • issue-21-add-unit-test-coverage-support
  • issue-26-rando-wins-over-flawless-ai
  • issue-29-improve-ai-move-time
  • issue-33
  • issue-34-predefined-ai-difficulty-levels
  • issue-41-improve-speed-on-windows
  • issue-6-prepare-crate-for-release
  • main
  • master
  • update-enum-method-consistency
  • v0.1.0
  • v0.1.1
  • v0.2.0
  • v0.2.1
  • v0.2.2

pending completion
44

Pull #24

travis-ci-com

web-flow
Update ai::Opponent to clamp mistake probability

The specification for ai::Opponent::new() is to clamp the mistake
probability to the range [0, 1]. This was not being done which would
have resulted in a panic for incorrect values provided.

This commit ensures the values are being clamped.
Pull Request #24: Issue 5 implement artificial intelligence algorithms

1022 of 1060 relevant lines covered (96.42%)

0.96 hits per line

Relevant lines Covered
Build:
Build:
1060 RELEVANT LINES 1022 COVERED LINES
0.96 HITS PER LINE
Source Files on issue-5-implement-artificial-intelligence-algorithms
  • List 0
  • Changed 2
  • Source Changed 0
  • Coverage Changed 2
Coverage ∆ File Lines Relevant Covered Missed Hits/Line

Recent builds

Builds Branch Commit Type Ran Committer Via Coverage
44 issue-5-implement-artificial-intelligence-algorithms Update ai::Opponent to clamp mistake probability The specification for ai::Opponent::new() is to clamp the mistake probability to the range [0, 1]. This was not being done which would have resulted in a panic for incorrect values provided. This ... Pull #24 12 Dec 2019 05:41AM UTC web-flow travis-ci-com pending completion  
43 issue-5-implement-artificial-intelligence-algorithms Update ai::Opponent to clamp mistake probability The specification for ai::Opponent::new() is to clamp the mistake probability to the range [0, 1]. This was not being done which would have resulted in a panic for incorrect values provided. This ... push 10 Dec 2019 05:55AM UTC j-richey travis-ci-com pending completion  
42 issue-5-implement-artificial-intelligence-algorithms Update documentation with more examples The updated documentation includes a full game played by two AI opponents. push 09 Dec 2019 04:26AM UTC j-richey travis-ci-com pending completion  
41 issue-5-implement-artificial-intelligence-algorithms Add worst case AI benchmark The worst case AI update time is where a new game with an empty board must be evaluated. See issue #5. push 09 Dec 2019 12:03AM UTC j-richey travis-ci-com pending completion  
40 issue-5-implement-artificial-intelligence-algorithms Add AIOpponent struct and supporting unit tests The AIOpponent struct contains the majority of the AI algorithms logic. Test and documentation are added to describe how to use the structure and to ensure it works as expected. Note: There are sti... push 08 Dec 2019 10:54PM UTC j-richey travis-ci-com pending completion  
See All Builds (65)
  • Repo on GitHub
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

© 2025 Coveralls, Inc