Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Minor updates #18

Merged
merged 5 commits into from
Nov 14, 2024
Merged

Minor updates #18

merged 5 commits into from
Nov 14, 2024

Conversation

ampo0809
Copy link
Contributor

  • Modified access levels
  • Updated default parameters

Copy link
Collaborator

@ningkaiqiang ningkaiqiang left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

The changes are good, but the access level seems needs more adjustment, I will update it later today.

0.1544, 1.0824, 1.9813, 0.0953, 0.2975, 2.2042, 0.2407, 2.9466, 0.5034,
0.6567,
]
var defaultW = [0.40255, 1.18385, 3.173, 15.69105, 7.1949, 0.5345, 1.4604, 0.0046, 1.54575, 0.1192, 1.01925, 1.9395, 0.11, 0.29605, 2.2698, 0.2315, 2.9898, 0.51655, 0.6621]
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@L-M-Sherlock Please check the defaultW is right or not. Other changes look good to me.

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I did copy them from that link. Sorry, forgot to pay an eye to to tests.

Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

This project currently is tracking ts-fsrs changes, the tests too, but this change is come from fsrs-rs, seems like a newer version default parameters, that way, we should update the tests as well. But there is other things need consider, I am not sure the algo is updated as well in fsrs-rs or not.
@L-M-Sherlock Do you have time to confirm this? 😛

Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I recommend reverting the change of default weights.

@ningkaiqiang
Copy link
Collaborator

It seems some tests are not passed. @ampo0809

@L-M-Sherlock
Copy link
Member

Oops. The unit tests are still based on the old parameters.

@L-M-Sherlock
Copy link
Member

{"message":"Token required - not valid tokenless upload"}

cc @ningkaiqiang @ishiko732

@ishiko732
Copy link
Contributor

{"message":"Token required - not valid tokenless upload"}

cc @ningkaiqiang @ishiko732

In ts-fsrs, the following is used for uploading coverage reports to Codecov:

- name: Upload coverage reports to Codecov
  uses: codecov/codecov-action@v4
  with:
    token: ${{ secrets.CODECOV_TOKEN }}
    fail_ci_if_error: true

@ningkaiqiang
Copy link
Collaborator

Is the token store in project settings expired or changed? @L-M-Sherlock @ishiko732

@ishiko732
Copy link
Contributor

Is the token store in project settings expired or changed? @L-M-Sherlock @ishiko732

I do not know what the token currently set for the repo is. Please @L-M-Sherlock check the token: https://app.codecov.io/gh/open-spaced-repetition/swift-fsrs/config/general

@codecov-commenter
Copy link

Welcome to Codecov 🎉

Once you merge this PR into your default branch, you're all set! Codecov will compare coverage reports and display results in all future pull requests.

Thanks for integrating Codecov - We've got you covered ☂️

@L-M-Sherlock L-M-Sherlock merged commit 9e0bc91 into open-spaced-repetition:main Nov 14, 2024
1 check passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

5 participants