Skip to content

Commit

Permalink
Merge pull request #280 from hrntsm/develop
Browse files Browse the repository at this point in the history
Bump the version up to v0.11
  • Loading branch information
hrntsm authored Mar 20, 2024
2 parents ebb4e3a + 8a99c5c commit 585ca02
Show file tree
Hide file tree
Showing 166 changed files with 5,186 additions and 2,402 deletions.
54 changes: 54 additions & 0 deletions .github/ISSUE_TEMPLATE/bug-report.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,54 @@
name: "\U0001F41BBug-report"
description: Create a report to help us improve
labels:
- "bug"
body:
- type: markdown
attributes:
value: |
Thanks for taking the time to fill out this bug report! Please write a clear and concise description of what the bug is.
- type: textarea
id: expected-behavior
attributes:
label: Expected behavior
description: Please write a clear and concise description of what you expected to happen.
validations:
required: true
- type: textarea
id: environment
attributes:
label: Environment
description: |
Please give us your environment information. You can get this information by typing the following.
value: |
- OS:
- Rhino version:
- Tunny version:
validations:
required: true
- type: textarea
id: steps-to-reproduce
attributes:
label: Steps to reproduce
description: Please provide how we reproduce your reported bugs.
value: |
1. Go to '...'
2. Click on '....'
3. Scroll down to '....'
4. See error
validations:
required: true
- type: textarea
id: logs
attributes:
label: Error messages, stack traces, or logs
description: Please upload log output or screenshot. The log files are located in the folder [UserProfile]/.tunny_env/logs. Please send us the file for the date of the error.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context (optional)
description: Please provide additional contexts if you have.
validations:
required: false
55 changes: 0 additions & 55 deletions .github/ISSUE_TEMPLATE/bug_report.md

This file was deleted.

1 change: 1 addition & 0 deletions .github/ISSUE_TEMPLATE/config.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1 @@
blank_issues_enabled: false
38 changes: 38 additions & 0 deletions .github/ISSUE_TEMPLATE/featura-request.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,38 @@
name: "\U0001F4A1Feature request"
description: Suggest an idea for Tunny.
labels: ["feature"]
body:
- type: markdown
attributes:
value: |
Thanks for taking the time for your feature requests! Please write a clear and concise description of the feature proposal.
- type: textarea
id: motivation
attributes:
label: Motivation
description: |
Please write the motivation for the proposal.
If your feature request is related to a problem, please describe a clear and concise description of what the problem is.
validations:
required: true
- type: textarea
id: description
attributes:
label: Description
description: Please write a detailed description of the new feature.
validations:
required: true
- type: textarea
id: alternatives
attributes:
label: Alternatives (optional)
description: Please write a clear and concise description of any alternative solutions or features you've considered.
validations:
required: false
- type: textarea
id: additional-context
attributes:
label: Additional context (optional)
description: Please add any other context or screenshots about the feature request here.
validations:
required: false
32 changes: 0 additions & 32 deletions .github/ISSUE_TEMPLATE/feature_request.md

This file was deleted.

25 changes: 16 additions & 9 deletions .github/workflows/build-component.yml
Original file line number Diff line number Diff line change
Expand Up @@ -10,7 +10,7 @@ jobs:
build:
strategy:
matrix:
configuration: [Release]
configuration: [Debug]

runs-on: windows-latest # For a list of available runner types, refer to

Expand All @@ -20,15 +20,22 @@ jobs:

steps:
- name: Checkout
uses: actions/checkout@v2
uses: actions/checkout@v4
with:
fetch-depth: 0

- name: Download python & wheel zip
shell: powershell
run: |
cd Tunny/Lib
./setup-python-lib.bat
cd ../..
- name: Setup MSBuild.exe
uses: microsoft/setup-msbuild@v1
uses: microsoft/setup-msbuild@v2

- name: Setup NuGet
uses: NuGet/setup-nuget@v1
uses: NuGet/setup-nuget@v2

- name: Restore the application
run: msbuild $env:Solution_Name /t:Restore /p:Configuration=$env:Configuration
Expand All @@ -41,18 +48,18 @@ jobs:
Configuration: ${{ matrix.configuration }}

- name: Copy items to /Release dir
if: ${{ matrix.configuration == 'Release' }} # Only upload gha from a release build
shell: powershell
run: |
cp ./Samples ./Release/Samples -recurse
cp ./Examples ./Release/Examples -recurse
cp ./LICENSE ./Release/LICENSE.txt
cp ./PYTHON_PACKAGE_LICENSES ./Release/PYTHON_PACKAGE_LICENSES.txt
cp ./Tunny/bin/Release/net48 ./Release/Tunny -recurse
cp ./Tunny/bin/Debug/net48 ./Release/Tunny -recurse
- name: Upload release build of plugin as artefact
if: ${{ matrix.configuration == 'Release' }} # Only upload gha from a release build
uses: actions/upload-artifact@v2
uses: actions/upload-artifact@v4
with:
name: Tunny
path: |
./Release
retention-days: 7
compression-level: 9
2 changes: 1 addition & 1 deletion .github/workflows/code-ql.yml
Original file line number Diff line number Diff line change
Expand Up @@ -38,7 +38,7 @@ jobs:

steps:
- name: Checkout repository
uses: actions/checkout@v3
uses: actions/checkout@v4

# Initializes the CodeQL tools for scanning.
- name: Initialize CodeQL
Expand Down
20 changes: 0 additions & 20 deletions .github/workflows/dotnet-test.yml

This file was deleted.

31 changes: 31 additions & 0 deletions .github/workflows/test-and-coverage.yml
Original file line number Diff line number Diff line change
@@ -0,0 +1,31 @@
name: test and coverage

on: [pull_request]

jobs:
build:
runs-on: windows-latest

steps:
- name: Checkout
uses: actions/checkout@v4

- name: Setup dotnet
uses: actions/setup-dotnet@v3
with:
dotnet-version: "7.0.x"

- name: Install dependencies
run: dotnet restore

- name: Build
run: dotnet build

- name: Test with the dotnet CLI
run: dotnet test --collect:"XPlat Code Coverage"

- name: Upload coverage reports to Codecov
uses: codecov/[email protected]
with:
fail_ci_if_error: true
token: ${{secrets.CODECOV_TOKEN}}
3 changes: 2 additions & 1 deletion .gitignore
Original file line number Diff line number Diff line change
Expand Up @@ -460,4 +460,5 @@ $RECYCLE.BIN/
## add by me
Tunny/Lib/python.zip
Tunny/Lib/whl.zip
!OptunaTests/TestFile/*.log
!*/TestFile/**
coveragereport/*
55 changes: 55 additions & 0 deletions CHANGELOG.md
Original file line number Diff line number Diff line change
Expand Up @@ -6,6 +6,61 @@ The format is based on [Keep a Changelog](http://keepachangelog.com/) and this p

Please see [here](https://github.com/hrntsm/Tunny/releases) for the data released for each version.

## [v0.11.0] -2024-03-20

### Added

- Bone Fish component
- It is Tunny UI less mode component.
- Categorical optimization.
- Sample gh file also added
- Log output.
- Improved ease of support.
- Log level selector.
- It is located in the Misc tab of the Settings tab.
- There are three levels: "Verbose," "Debug," and "Information.
- New GP sampler support
- This is related optuna 3.6
- Sample python code to create a gif animation.
- Tunny.Core csproj for improve develop environment.
- CI build with python.

### Changed

- DeconstructFish component output
- To support categorical optimization, the variable output was split from "Variables" into "NumberVariables" and "TextVariables".
- Move FishPrint component to Print subcategory
- Move Construct & Deconstruct component ot Operation subcategory
- Use optuna.csproj sqlite handler instead of tunny.storage
- Improve result fish output to use new storage handler
- The handler is independent from python process.
- Human in the loop mode support log storage format.
- Allows clustering with any combination of variables and objective function.
- Speedup optimization.
- Do not recalculate irrelevant components.
- Previously, all components were recalculated for each trial, but this has been changed so that components not involved in optimization are not recalculated
- Bump Python library
- optuna-dashboard 0.14 to 0.15
- csv can be downloaded from the trial table.
- The Pareto Front and History plots can jump to the corresponding trial page when click dot plot.
- Settings have been added to change the appearance of the plots.
- When uploading surfaces with no thickness to Artifacts, both sides are rendered.
- Human-in-the-loop works with journal storage
- Fix overflow when preferential optimization
- [see more detail](https://github.com/optuna/optuna-dashboard/releases/tag/v0.15.0)
- optuna 3.5 to 3.6
- New GP sampler support
- Fixed bug in parallelization in log files
- [see more detail](https://github.com/optuna/optuna/releases/tag/v3.6.0)

### Fixed

- When launching a window, if all the objectives are null, the window will not launch.
- Empty 3dm is always saved even if you want to save only images in artifact.
- FishEgg feature does not work.
- Fish Print by capture timing
- Viewport capture at the end of all Grasshopper processing.

## [v0.10.0] -2024-01-27

### Changed
Expand Down
Loading

0 comments on commit 585ca02

Please sign in to comment.