Skip to content

Commit

Permalink
Feat/FSRS-5 [WIP]
Browse files Browse the repository at this point in the history
  • Loading branch information
L-M-Sherlock authored Jul 10, 2024
2 parents ba6c23c + dbd7214 commit 89ac5cd
Show file tree
Hide file tree
Showing 4 changed files with 453 additions and 296 deletions.
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

0 comments on commit 89ac5cd

Please sign in to comment.