From 2873c8c7fb373224afae6583bf441b3471f464df Mon Sep 17 00:00:00 2001 From: "pre-commit-ci[bot]" <66853113+pre-commit-ci[bot]@users.noreply.github.com> Date: Mon, 29 Apr 2024 20:34:36 +0000 Subject: [PATCH 1/3] [pre-commit.ci] pre-commit autoupdate MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit updates: - [github.com/psf/black: 24.4.0 → 24.4.2](https://github.com/psf/black/compare/24.4.0...24.4.2) --- .pre-commit-config.yaml | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/.pre-commit-config.yaml b/.pre-commit-config.yaml index 8b76dbf65..56e170aff 100644 --- a/.pre-commit-config.yaml +++ b/.pre-commit-config.yaml @@ -9,7 +9,7 @@ repos: - id: check-added-large-files # General formatting - repo: https://github.com/psf/black - rev: 24.4.0 + rev: 24.4.2 hooks: - id: black - id: black-jupyter From 6238194db9f011a938cd101e97b755aba5c41044 Mon Sep 17 00:00:00 2001 From: "dependabot[bot]" <49699333+dependabot[bot]@users.noreply.github.com> Date: Mon, 6 May 2024 19:18:00 +0000 Subject: [PATCH 2/3] Bump julia-actions/cache from 1 to 2 Bumps [julia-actions/cache](https://github.com/julia-actions/cache) from 1 to 2. - [Release notes](https://github.com/julia-actions/cache/releases) - [Commits](https://github.com/julia-actions/cache/compare/v1...v2) --- updated-dependencies: - dependency-name: julia-actions/cache dependency-type: direct:production update-type: version-update:semver-major ... Signed-off-by: dependabot[bot] --- .github/workflows/CI.yml | 4 ++-- .github/workflows/CI_Windows.yml | 2 +- .github/workflows/CI_mac.yml | 2 +- 3 files changed, 4 insertions(+), 4 deletions(-) diff --git a/.github/workflows/CI.yml b/.github/workflows/CI.yml index 1965d7810..c6247e86d 100644 --- a/.github/workflows/CI.yml +++ b/.github/workflows/CI.yml @@ -52,7 +52,7 @@ jobs: with: version: ${{ matrix.julia-version }} - name: "Cache Julia" - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 with: cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }} cache-packages: false @@ -144,7 +144,7 @@ jobs: activate-environment: pysr-test environment-file: environment.yml - name: "Cache Julia" - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 with: cache-name: ${{ matrix.os }}-conda-${{ matrix.python-version }} cache-packages: false diff --git a/.github/workflows/CI_Windows.yml b/.github/workflows/CI_Windows.yml index 49b471eed..82f8dee5c 100644 --- a/.github/workflows/CI_Windows.yml +++ b/.github/workflows/CI_Windows.yml @@ -40,7 +40,7 @@ jobs: with: version: ${{ matrix.julia-version }} - name: "Cache Julia" - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 with: cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }} cache-packages: false diff --git a/.github/workflows/CI_mac.yml b/.github/workflows/CI_mac.yml index e9763f0c7..6b780ba42 100644 --- a/.github/workflows/CI_mac.yml +++ b/.github/workflows/CI_mac.yml @@ -40,7 +40,7 @@ jobs: with: version: ${{ matrix.julia-version }} - name: "Cache Julia" - uses: julia-actions/cache@v1 + uses: julia-actions/cache@v2 with: cache-name: ${{ matrix.os }}-test-${{ matrix.julia-version }}-${{ matrix.python-version }} cache-packages: false From 479ef038c5e7263f316e9c1afcb605cd1ef988ca Mon Sep 17 00:00:00 2001 From: VishalJ99 <51826812+VishalJ99@users.noreply.github.com> Date: Tue, 7 May 2024 14:54:01 +0100 Subject: [PATCH 3/3] Update pysr_demo.ipynb Minor typo correction regarding default value for the complexity_of_operators parameter. --- examples/pysr_demo.ipynb | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/examples/pysr_demo.ipynb b/examples/pysr_demo.ipynb index 53606cba9..8822effec 100644 --- a/examples/pysr_demo.ipynb +++ b/examples/pysr_demo.ipynb @@ -396,7 +396,7 @@ "id": "wbWHyOjl2_kX" }, "source": [ - "Since `quart` is arguably more complex than the other operators, you can also give it a different complexity, using, e.g., `complexity_of_operators={\"quart\": 2}` to give it a complexity of 2 (instead of the default 2). You can also define custom complexities for variables and constants (`complexity_of_variables` and `complexity_of_constants`, respectively - both take a single number).\n", + "Since `quart` is arguably more complex than the other operators, you can also give it a different complexity, using, e.g., `complexity_of_operators={\"quart\": 2}` to give it a complexity of 2 (instead of the default 1). You can also define custom complexities for variables and constants (`complexity_of_variables` and `complexity_of_constants`, respectively - both take a single number).\n", "\n", "\n", "One can also add a binary operator, with, e.g., `\"myoperator(x, y) = x^2 * y\"`. All Julia operators that work on scalar 32-bit floating point values are available.\n",