Граф коммитов

248 Коммитов

Автор SHA1 Сообщение Дата
Nathan Witmer b15ceeb540
Merge pull request #266 from toshimaru/ruby-3.3
CI against Ruby v3.3
2024-06-19 17:20:54 -06:00
Toshimaru 6bda93608b
Ci against Ruby v3.3 2024-06-19 11:51:16 +09:00
Nathan Witmer 987f8be647
Merge pull request #259 from ridiculous/ridiculous-patch-1
Fix bug with marshalling experiments
2024-06-17 10:46:14 -06:00
Erwin Kroon fcb505098f
Merge pull request #190 from tricknotes/fix-readme
Fix example code in README
2024-05-25 11:22:32 +02:00
Grant Birkinbine fc9d7c3183
Merge pull request #240 from github/dependabot/github_actions/actions/checkout-4
Bump actions/checkout from 3 to 4
2024-05-22 17:19:48 -07:00
Ryan Buckley 2c4c6e929b Fix syntax error 2024-03-26 10:42:20 -07:00
Ryan Buckley b98d3f8ae3
Add test for marshal load 2024-03-26 10:39:48 -07:00
Ryan Buckley 2c297abea0
Fix bug with marshalling experiments 2024-03-26 10:32:14 -07:00
Erwin Kroon a25a0d238b
Merge pull request #248 from github/improve-clean-docs
Explain clean vs compare in README
2023-11-23 18:21:14 +01:00
Erwin Kroon dbc99ecf31 Explain clean vs compare in README 2023-11-23 09:02:24 +00:00
dependabot[bot] a28dc4865a
Bump actions/checkout from 3 to 4
Bumps [actions/checkout](https://github.com/actions/checkout) from 3 to 4.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v3...v4)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-09-11 02:49:01 +00:00
Nathan Witmer 0039b7084b 1.6.4 2023-04-05 11:52:25 -06:00
Nathan Witmer 3d0513514c
Merge pull request #211 from nickh/nh-after-run
Add support for experiment after_run blocks
2023-04-05 11:51:16 -06:00
Nick Hengeveld 6ea1efc6f0 Fix method doc 2023-04-05 17:32:59 +00:00
Nick Hengeveld 2d4dec67af Add support for experiment after_run blocks
To allow an experiment to run custom behavior based on experiment
results, eg:

class MyWidget
  include Scientist

  def users
    science "my-experiment" do |e|
      e.use { control_method }
      e.try { candidate_method }

      # Slower candidates need further investigation
      e.after_run do |result|
        control_duration = result.control.duration
        candidate_duration = result.candidates.first.duration

        if candidate_duration - control_duration > 15
          Logger.debug("Slow experiment candidate #{context}")
        end
      end
    end
  end
end
2023-03-18 19:02:13 +00:00
Nathan Witmer 5945f339a2
Merge pull request #200 from github/dependabot/github_actions/actions/checkout-3
Bump actions/checkout from 2 to 3
2023-01-24 10:55:32 -07:00
dependabot[bot] 92b3b401d4
Bump actions/checkout from 2 to 3
Bumps [actions/checkout](https://github.com/actions/checkout) from 2 to 3.
- [Release notes](https://github.com/actions/checkout/releases)
- [Changelog](https://github.com/actions/checkout/blob/main/CHANGELOG.md)
- [Commits](https://github.com/actions/checkout/compare/v2...v3)

---
updated-dependencies:
- dependency-name: actions/checkout
  dependency-type: direct:production
  update-type: version-update:semver-major
...

Signed-off-by: dependabot[bot] <support@github.com>
2023-01-24 17:53:29 +00:00
Nathan Witmer 29088dc610
Merge pull request #189 from ydah/add_ruby32
Add Ruby 3.2 to the CI matrix
2023-01-24 10:52:40 -07:00
Nathan Witmer 9233739570
Merge pull request #188 from ydah/add-dependabot
Added dependabot for GitHub Actions
2023-01-24 10:52:16 -07:00
Nathan Witmer c9e461a33d
Merge pull request #191 from ydah/fix/typos
Fix a typo
2023-01-06 11:43:00 -07:00
ydah f7857c1b5e Fix a typo
This PR is fix a typo.
- s/obeservations/observations/
2023-01-06 14:53:46 +09:00
Ryunosuke Sato 56ae1fd3e8 Fix example code in README
- A method that has `?` suffix should return boolean, but this method return an object that respond to `valid?`.
- All other examples don't have `?`.
2023-01-06 14:12:33 +09:00
ydah 854d779c3c Add Ruby 3.2 to the CI matrix
This PR is add Ruby 3.2 to the CI matrix
Because Ruby 3.2.0 is now in general release, it makes sense to add Ruby 3.2 to the CI matrix.

https://www.ruby-lang.org/en/news/2022/12/25/ruby-3-2-0-released/
2023-01-06 13:21:39 +09:00
ydah bbf3e32599 Added dependabot for GitHub Actions
How about using dependabot in this way?
When this works, a PullRequest is created as follows:
- ruby/bigdecimal#242

It was created with reference to the following:
- ruby/csv#265
2023-01-06 13:19:36 +09:00
Nathan Witmer 8d9fd4ec67
Merge pull request #179 from github/abraham-patch-1
Remove travis config and update status badge
2022-10-12 16:45:45 -06:00
Abraham Williams f22237dcab
Update status badge to GH Actions 2022-10-10 16:09:56 -05:00
Abraham Williams bc6421714f
Delete .travis.yml 2022-10-10 16:07:29 -05:00
Ivan Žužak f57c60bbc8
Merge pull request #178 from github/abraham-patch-1
compare_error => compare_errors
2022-10-10 20:11:29 +02:00
Abraham Williams c579a33149
compare_error => compare_errors 2022-10-10 11:59:09 -05:00
Nathan Witmer 7ae1859ed5
Merge pull request #175 from petergoldstein/feature/add_ruby_3_1_to_ci
Add Ruby 3.1 to CI
2022-05-20 14:03:39 -06:00
Peter Goldstein b4b56358cc Add Ruby 3.1 to CI 2022-05-18 09:19:08 -07:00
Nathan Witmer c7c5e6925e
Merge pull request #171 from brasic/main
Re-enable CI
2022-01-03 14:48:56 -07:00
Carl Brasic e314fe2c04 Add GH actions CI 2021-12-23 14:17:00 -06:00
Carl Brasic 4282bf10d6 Remove coveralls dep
The configuration to publish code coverage metrics to coveralls.io is no
longer present anywhere, so we may as well remove this dep.
2021-12-23 14:12:52 -06:00
Carl Brasic 709bf4b591 Use rake as test runner instead of custom script 2021-12-23 14:10:22 -06:00
Nathan Witmer ba650287b0 version 1.6.3 2021-12-09 15:06:21 -07:00
Nathan Witmer 2ac0ee9238
Merge pull request #169 from github/update_marshalize_approach/ds
Improve marshal implementation
2021-12-09 15:05:35 -07:00
agentdon 0f0a51c5fb Improve marshal support
Improves the approach that we introduced in #168 to marshal mismatch errors so that we
don't have to dynamically define methods on the procs provided by the
user. Thanks to @brasic suggesting this improvement.
2021-12-09 22:00:50 +00:00
Nathan Witmer b02bff7f63 bump version to 1.6.2 2021-11-04 16:23:36 -06:00
Nathan Witmer 89652d0bf7 allow releases from main branch 2021-11-04 16:23:29 -06:00
Nathan Witmer 8c1ec7fa66
Merge pull request #168 from agentdon/marshalize_mismatch_errors
Marshalize mismatch errors
2021-11-04 16:22:33 -06:00
agentdon b874a3994e Add context to marshalize method 2021-11-04 20:39:51 +00:00
agentdon 2791a53969 Don't override preexisting marshal implementations 2021-11-02 18:47:47 +00:00
agentdon 0231dd5794 Fix contributing guidelines typos 2021-10-25 20:40:47 +00:00
agentdon 924724ee2c Marshalize mismatch errors
Implements functionality to make MismatchErrors Marshalizeable.
2021-10-25 20:30:35 +00:00
Nathan Witmer 51d4cdf387
Merge pull request #167 from Jumanjii/Jumanjii-fix-typo-readme
Fix little typo in Readme
2021-10-25 09:31:51 -06:00
Allan Jacquet-Cretides f6568b7ee8
Fix little typo in Readme 2021-10-25 14:32:47 +02:00
Nathan Witmer 8a0195f126 Bump version for new error-comparison feature 2021-10-22 12:27:03 -06:00
Ivan Žužak 5a5b0e256d
Merge pull request #116 from skohlmann/java_alternative_without_dependencies
Java alternative without external dependencies added
2021-10-22 09:57:43 +02:00
Ivan Žužak d6e2aa5785
Merge branch 'master' into java_alternative_without_dependencies 2021-10-22 09:57:14 +02:00