From 8cea65ef52bb8dbd6c25dc914ba4f7ef53fa0f97 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 6 Feb 2025 21:27:19 +1300 Subject: [PATCH 1/5] dummy commit --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index 144c795..a967fff 100644 --- a/README.md +++ b/README.md @@ -7,4 +7,4 @@ machine learning and statistics [![Build Status](https://github.com/JuliaAI/LearnTestAPI.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/LearnTestAPI.jl/actions) [![codecov](https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=9IWT9KYINZ)] -See [LearnAPI.jl](https://juliaai.github.io/LearnAPI.jl/stable/) for documentation. +See [LearnAPI.jl](https://juliaai.github.io/LearnAPI.jl/stable/) for documentation. From 012322b1879804d531fb9ec2526c25dc941c2127 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 6 Feb 2025 21:31:43 +1300 Subject: [PATCH 2/5] typos --- src/logging.jl | 4 ++-- src/testapi.jl | 2 +- src/tools.jl | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/src/logging.jl b/src/logging.jl index 3e53a97..806837b 100644 --- a/src/logging.jl +++ b/src/logging.jl @@ -43,7 +43,7 @@ const FUNCTIONS3 = """ """ const FUNCTIONS4 = """ - Testing that `LearnAPI.functions(learner)` exludes `:(LearnAPI.features)`, as + Testing that `LearnAPI.functions(learner)` excludes `:(LearnAPI.features)`, as `LearnAPI.is_static(learner)` is `true`. """ @@ -410,7 +410,7 @@ const FIT_SCITYPE = """ """ const TARGET_OBSERVATION_SCITYPE = """ - Checking that `LearnAPI.target(learner, observatoins)` satisifies the constraints + Checking that `LearnAPI.target(learner, observatoins)` satisfies the constraints articulated by `LearnAPI.target_observation_scitype(learner)`. """ diff --git a/src/testapi.jl b/src/testapi.jl index f8ae311..11d9b3b 100644 --- a/src/testapi.jl +++ b/src/testapi.jl @@ -8,7 +8,7 @@ contracts against one or more data sets. using LearnTestAPI X = ( - feautre1 = [1, 2, 3], + feature1 = [1, 2, 3], feature2 = ["a", "b", "c"], feature3 = [10.0, 20.0, 30.0], ) diff --git a/src/tools.jl b/src/tools.jl index 1e8a0ff..c53a590 100644 --- a/src/tools.jl +++ b/src/tools.jl @@ -137,7 +137,7 @@ end *Private method.* -Replaces the expresion `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker +Replaces the expression `lhs == rhs` with `isnear(lhs, rhs; kwargs...)` for testing a weaker form of equality. Here `kwargs...` are keyword arguments accepted in `isapprox(lhs, rhs; kwargs...)`, which is called if `lhs == rhs` fails. From 942c50f693f2982cc25b0d09843d7498d8e0b442 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 6 Feb 2025 21:37:51 +1300 Subject: [PATCH 3/5] update codecov badge --- README.md | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/README.md b/README.md index a967fff..4e1d46d 100644 --- a/README.md +++ b/README.md @@ -5,6 +5,6 @@ Tool for testing implementations of the machine learning and statistics [![Build Status](https://github.com/JuliaAI/LearnTestAPI.jl/workflows/CI/badge.svg)](https://github.com/JuliaAI/LearnTestAPI.jl/actions) -[![codecov](https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=9IWT9KYINZ)] +[![codecov](https://codecov.io/gh/JuliaAI/LearnTestAPI.jl/graph/badge.svg?token=gCIQfDtzMt)](https://codecov.io/gh/JuliaAI/LearnTestAPI.jl) See [LearnAPI.jl](https://juliaai.github.io/LearnAPI.jl/stable/) for documentation. From 59c04aa78171405daf5e7fc5e5889dd38d25bc66 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Thu, 6 Feb 2025 21:47:09 +1300 Subject: [PATCH 4/5] bump [compat] LearnAPI = "0.2.0" --- Project.toml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/Project.toml b/Project.toml index 65f52ff..3fc23cd 100644 --- a/Project.toml +++ b/Project.toml @@ -25,7 +25,7 @@ UnPack = "3a884ed6-31ef-47d7-9d2a-63182c4928ed" Distributions = "0.25" InteractiveUtils = "<0.0.1, 1" IsURL = "0.2.0" -LearnAPI = "0.1.0" +LearnAPI = "0.2.0" LinearAlgebra = "<0.0.1, 1" MLUtils = "0.4" Random = "<0.0.1, 1" From 13c3a1e5b70dc275ecf39bd4c1afb39414d87200 Mon Sep 17 00:00:00 2001 From: "Anthony D. Blaom" Date: Fri, 7 Feb 2025 10:28:24 +1300 Subject: [PATCH 5/5] rm doc generation from ci --- .github/workflows/ci.yml | 19 ------------------- 1 file changed, 19 deletions(-) diff --git a/.github/workflows/ci.yml b/.github/workflows/ci.yml index 8cc5cea..f7c0ea8 100644 --- a/.github/workflows/ci.yml +++ b/.github/workflows/ci.yml @@ -49,22 +49,3 @@ jobs: token: ${{ secrets.CODECOV_TOKEN }} fail_ci_if_error: false verbose: true - docs: - name: Documentation - runs-on: ubuntu-latest - steps: - - uses: actions/checkout@v2 - - uses: julia-actions/setup-julia@v1 - with: - version: '1' - - uses: julia-actions/julia-buildpkg@v1 - - uses: julia-actions/julia-docdeploy@v1 - env: - GITHUB_TOKEN: ${{ secrets.GITHUB_TOKEN }} - DOCUMENTER_KEY: ${{ secrets.DOCUMENTER_KEY }} - - run: | - julia --project=docs -e ' - using Documenter: DocMeta, doctest - using LearnTestAPI - DocMeta.setdocmeta!(LearnTestAPI, :DocTestSetup, :(using LearnTestAPI); recursive=true) - doctest(LearnTestAPI)'