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

Feat/FSRS-5 #114

Merged
merged 36 commits into from
Jul 10, 2024
Merged
Show file tree
Hide file tree
Changes from all commits
Commits
Show all changes
36 commits
Select commit Hold shift + click to select a range
04d1c4e
Feat/consider short term schedule
L-M-Sherlock Oct 16, 2023
5dd4937
fix analysis
L-M-Sherlock Feb 11, 2024
3b1bc68
improve short term next_d & stability_short_term
L-M-Sherlock Feb 13, 2024
fb7350d
Merge branch 'main' into Feat/short-term-schedule
L-M-Sherlock Apr 30, 2024
c434920
Update fsrs_optimizer.py
L-M-Sherlock Apr 30, 2024
e617597
support max_len
L-M-Sherlock May 9, 2024
f862b52
remove next_d_short_term
L-M-Sherlock May 6, 2024
5ab4c84
improve stability_short_term
L-M-Sherlock May 9, 2024
976c46b
add next_d_short_term back
L-M-Sherlock May 9, 2024
6cb5814
revert S0_dataset filter
L-M-Sherlock May 10, 2024
d334f97
share difficulty offset & clamp initial stability
L-M-Sherlock May 10, 2024
37fce1b
improve display of analysis
L-M-Sherlock May 10, 2024
3f5b3b2
fix epoch_len
L-M-Sherlock May 10, 2024
2b0752f
remove pre_train_set & next_train_set
L-M-Sherlock May 10, 2024
6bb6905
update default parameters
L-M-Sherlock May 12, 2024
4c4c381
update default parameters & loosen bounds
L-M-Sherlock May 15, 2024
b83082d
Feat/exp initial difficulty
L-M-Sherlock May 17, 2024
dfc2fbe
Merge branch 'Feat/exp-initial-difficulty' into Feat/FSRS-5
L-M-Sherlock May 18, 2024
7643e55
consider learning step in preview
L-M-Sherlock May 20, 2024
b534f26
update formula in simulator
L-M-Sherlock May 21, 2024
8319369
update default parameters & loosen bounds
L-M-Sherlock May 21, 2024
cd18491
display stability history
L-M-Sherlock May 22, 2024
3234f96
Merge branch 'main' into Feat/FSRS-5
L-M-Sherlock May 22, 2024
6655bd6
Merge branch 'main' into Feat/short-term-schedule
L-M-Sherlock Jul 2, 2024
41f9c2d
use the same next_d function
L-M-Sherlock Jul 3, 2024
530b1cc
Merge branch 'main' into Feat/FSRS-5
L-M-Sherlock Jul 4, 2024
c18a92a
Merge branch 'Feat/short-term-schedule' into Feat/FSRS-5
L-M-Sherlock Jul 4, 2024
88453de
bump version
L-M-Sherlock Jul 5, 2024
26d0aa6
extract new simulation config
L-M-Sherlock Jul 8, 2024
4e62c9f
refactor simulation
L-M-Sherlock Jul 8, 2024
27fd4cf
use the new simulation in optimizer
L-M-Sherlock Jul 9, 2024
d9bcd06
format
L-M-Sherlock Jul 9, 2024
607a668
fix state
L-M-Sherlock Jul 9, 2024
bc5902e
refactor default simulation config
L-M-Sherlock Jul 9, 2024
6450519
fix weight & consider short term schedule in d
L-M-Sherlock Jul 10, 2024
dbd7214
format & fix workload graph
L-M-Sherlock Jul 10, 2024
File filter

Filter by extension

Filter by extension


Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
2 changes: 1 addition & 1 deletion pyproject.toml
Original file line number Diff line number Diff line change
Expand Up @@ -4,7 +4,7 @@ build-backend = "setuptools.build_meta"

[project]
name = "FSRS-Optimizer"
version = "4.29.0"
version = "5.0.0"
readme = "README.md"
dependencies = [
"matplotlib>=3.7.0",
Expand Down
5 changes: 3 additions & 2 deletions src/fsrs_optimizer/__main__.py
Original file line number Diff line number Diff line change
Expand Up @@ -119,11 +119,12 @@ def remembered_fallback_prompt(key: str, pretty: str = None):
for i, f in enumerate(figures):
f.savefig(f"find_optimal_retention_{i}.png")
plt.close(f)
except:
except Exception as e:
print(e)
print("Failed to find optimal retention")
optimizer.optimal_retention = 0.9

optimizer.preview(optimizer.optimal_retention)
print(optimizer.preview(optimizer.optimal_retention))

profile = f"""{{
// Generated, Optimized anki deck settings
Expand Down
Loading
Loading