-
-
Notifications
You must be signed in to change notification settings - Fork 25
/
Copy pathts-fsrs-workflow.drawio
178 lines (178 loc) · 17.8 KB
/
ts-fsrs-workflow.drawio
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
<mxfile host="app.diagrams.net" modified="2024-07-12T16:31:21.977Z" agent="Mozilla/5.0 (Windows NT 10.0; Win64; x64) AppleWebKit/537.36 (KHTML, like Gecko) Chrome/126.0.0.0 Safari/537.36" etag="Dg1vk4nbgVSpZjXzIEpq" version="24.6.5" type="device">
<diagram id="aEf3h9zvOVPK_aX-VWGx" name="TS-FSRS WorkFlow">
<mxGraphModel dx="1434" dy="738" grid="1" gridSize="10" guides="1" tooltips="1" connect="1" arrows="1" fold="1" page="1" pageScale="1" pageWidth="827" pageHeight="1169" math="0" shadow="0">
<root>
<mxCell id="0" />
<mxCell id="1" parent="0" />
<mxCell id="hIY5gGmRd6_EkSXHLzxa-1" value="<font style="font-size: 16px;"><b>TS-FSRS</b> Workflow</font>" style="shape=cube;whiteSpace=wrap;html=1;boundedLbl=1;backgroundOutline=1;darkOpacity=0.05;darkOpacity2=0.1;" parent="1" vertex="1">
<mxGeometry x="537" y="430" width="270" height="80" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-2" value="<font style="font-size: 16px;"><b>NEW</b></font>" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="20" y="650" width="140" height="80" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-3" value="<b style="font-size: 16px;">Learning/</b><br><b style="font-size: 16px;">ReLearning</b><br><font style="font-size: 14px;">Ex:1m 5m 10m</font>" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="407" y="640" width="140" height="80" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-4" value="<span style="font-size: 16px;"><b>Review</b></span>" style="ellipse;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="407" y="980" width="140" height="80" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-6" value="<font style="font-size: 16px;"><b>Again</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ff5961;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="597" y="570" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-7" value="<span style="font-size: 16px;"><b>Hard</b></span>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffbf00;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="677" y="570" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-8" value="<font style="font-size: 16px;"><b>Good</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00b5ff;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="757" y="570" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-14" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;entryX=-0.015;entryY=0.392;entryDx=0;entryDy=0;exitX=1;exitY=0.5;exitDx=0;exitDy=0;entryPerimeter=0;strokeWidth=2;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-2" target="hIY5gGmRd6_EkSXHLzxa-3" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="267" y="680" as="sourcePoint" />
<mxPoint x="407" y="680" as="targetPoint" />
<Array as="points">
<mxPoint x="327" y="530" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-15" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="507" y="620" as="sourcePoint" />
<mxPoint x="557" y="670" as="targetPoint" />
<Array as="points">
<mxPoint x="607" y="560" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-16" value="<font style="font-size: 16px;">First/Current/Next Step</font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="607" y="620" width="190" height="30" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-22" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=0.5;entryY=0;entryDx=0;entryDy=0;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-3" target="hIY5gGmRd6_EkSXHLzxa-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="487" y="770" as="sourcePoint" />
<mxPoint x="537" y="820" as="targetPoint" />
<Array as="points">
<mxPoint x="397" y="720" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-9" value="<font style="font-size: 16px;"><b>Easy</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00a96e;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="407" y="890" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-19" value="<font style="font-size: 16px;"><b>Good</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00b5ff;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="407" y="825" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-25" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;entryX=1;entryY=1;entryDx=0;entryDy=0;exitX=0.723;exitY=0.017;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-4" target="hIY5gGmRd6_EkSXHLzxa-3" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="547" y="960" as="sourcePoint" />
<mxPoint x="487" y="990" as="targetPoint" />
<Array as="points">
<mxPoint x="787" y="740" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-24" value="<font style="font-size: 16px;"><b>Again</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ff5961;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="597" y="820" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-29" value="<b><font style="font-size: 16px;">= Relearning</font></b>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="667" y="830" width="120" height="30" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-32" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;exitX=0.5;exitY=1;exitDx=0;exitDy=0;entryX=-0.015;entryY=0.36;entryDx=0;entryDy=0;entryPerimeter=0;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-2" target="hIY5gGmRd6_EkSXHLzxa-4" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="177" y="840" as="sourcePoint" />
<mxPoint x="227" y="890" as="targetPoint" />
<Array as="points">
<mxPoint x="157" y="910" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-30" value="<font style="font-size: 16px;"><b>Easy</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00a96e;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="187" y="880" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-33" value="<font style="font-size: 16px;"><b>Again</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ff5961;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="177" y="590" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-34" value="<span style="font-size: 16px;"><b>Hard</b></span>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffbf00;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="257" y="590" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-35" value="<font style="font-size: 16px;"><b>Good</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00b5ff;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="337" y="590" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-36" value="<font style="font-size: 16px;"><b>Learning</b></font>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="247" y="665" width="90" height="30" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-37" value="<span style="font-size: 16px;"><b>=</b></span>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;rotation=90;" parent="1" vertex="1">
<mxGeometry x="276" y="645" width="30" height="30" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-38" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;" parent="1" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="527" y="1060" as="sourcePoint" />
<mxPoint x="430" y="1060" as="targetPoint" />
<Array as="points">
<mxPoint x="487" y="1200" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-40" value="<span style="font-size: 16px;"><b>Hard</b></span>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#ffbf00;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="367" y="1140" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-41" value="<font style="font-size: 16px;"><b>Good</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00b5ff;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="447" y="1140" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-42" value="<font style="font-size: 16px;"><b>Easy</b></font>" style="rounded=1;whiteSpace=wrap;html=1;fillColor=#00a96e;strokeColor=none;" parent="1" vertex="1">
<mxGeometry x="527" y="1140" width="70" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-43" value="<div style=""><pre style=""><font style="font-size: 16px;"><i>Next_Interval&gt;0</i></font></pre></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="367" y="780" width="170" height="60" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-44" value="<div style=""><pre style=""><pre style="font-size: 13px; border-color: var(--border-color);"><pre style="font-size: 12px; border-color: var(--border-color);"><span style="font-size: 13px; background-color: initial; font-family: Helvetica; white-space: normal;">Next_Interval =</span><br></pre></pre><pre style="font-size: 13px; border-color: var(--border-color);"> enable_fuzz &amp;&amp; ivl&gt;2.5?</pre><pre style="border-color: var(--border-color);"> <span style="font-size: 13px;">fuzz_factor * (max_ivl - min_ivl + 1):</span></pre><pre style="border-color: var(--border-color);"><span style="font-size: 13px;"> </span>ivl</pre><pre style="border-color: var(--border-color);"><hr></pre><pre style="border-color: var(--border-color);"> get_fuzz_range(ivl, elapsed, maximum_interval) =&gt;<br></pre><pre style="border-color: var(--border-color);"> return { min_ivl, max_ivl }<br></pre></pre></div>" style="whiteSpace=wrap;html=1;shape=mxgraph.basic.document;align=left;" parent="1" vertex="1">
<mxGeometry y="1010" width="320" height="180" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-45" value="<span style="orphans: 2; text-align: start; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important; font-size: 16px;">Rollback the previous <br>review operation.<br><br></span>" style="text;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="1004.5" y="750" width="170" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-50" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#dae8fc;strokeColor=#6c8ebf;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-53" target="hIY5gGmRd6_EkSXHLzxa-52" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="1001.5" y="910" as="sourcePoint" />
<mxPoint x="1004.5" y="770" as="targetPoint" />
<Array as="points">
<mxPoint x="1080" y="860" />
<mxPoint x="1070" y="860" />
<mxPoint x="1070" y="870" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-52" value="<font style="font-size: 16px;">Status of the previous card</font>" style="shape=card;whiteSpace=wrap;html=1;fillColor=#f5f5f5;fontColor=#333333;strokeColor=#666666;" parent="1" vertex="1">
<mxGeometry x="871.5" y="700" width="103" height="130" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-53" value="<font style="font-size: 16px;">Reviewed card</font>" style="shape=card;whiteSpace=wrap;html=1;fillColor=#d5e8d4;strokeColor=#82b366;" parent="1" vertex="1">
<mxGeometry x="870" y="850" width="103" height="130" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-60" value="<font style="font-size: 16px;">fsrs.rollback<br>(reviewedCard, currentLog)</font>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="1070" y="825" width="220" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-61" value="<font style="font-size: 16px;">New card<br></font>" style="shape=card;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="870" y="1000" width="103" height="130" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-62" value="" style="curved=1;endArrow=classic;html=1;rounded=0;dashed=1;strokeWidth=2;entryX=1;entryY=0.5;entryDx=0;entryDy=0;entryPerimeter=0;fillColor=#f8cecc;strokeColor=#b85450;exitX=1;exitY=0.5;exitDx=0;exitDy=0;exitPerimeter=0;" parent="1" source="hIY5gGmRd6_EkSXHLzxa-53" target="hIY5gGmRd6_EkSXHLzxa-61" edge="1">
<mxGeometry width="50" height="50" relative="1" as="geometry">
<mxPoint x="994.5" y="940" as="sourcePoint" />
<mxPoint x="984.5" y="775" as="targetPoint" />
<Array as="points">
<mxPoint x="1045" y="960" />
<mxPoint x="1070" y="990" />
</Array>
</mxGeometry>
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-63" value="<span style="orphans: 2; text-align: start; text-indent: 0px; widows: 2; text-decoration-thickness: initial; text-decoration-style: initial; text-decoration-color: initial; float: none; display: inline !important;"><font style="font-size: 16px;">Revert to a new card.</font></span>" style="text;whiteSpace=wrap;html=1;" parent="1" vertex="1">
<mxGeometry x="990" y="1050" width="200" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-64" value="<font style="font-size: 16px;">fsrs.forget<br>(reviewedCard,now,resetCount=false<span style="background-color: initial;">)</span></font>" style="text;html=1;align=left;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="1070" y="960" width="290" height="50" as="geometry" />
</mxCell>
<mxCell id="hIY5gGmRd6_EkSXHLzxa-65" value="<div style=""><pre style=""><font style="font-size: 16px;"><i>Next_Interval&gt;0</i></font></pre></div>" style="text;html=1;align=center;verticalAlign=middle;resizable=0;points=[];autosize=1;strokeColor=none;fillColor=none;" parent="1" vertex="1">
<mxGeometry x="17" y="870" width="170" height="60" as="geometry" />
</mxCell>
</root>
</mxGraphModel>
</diagram>
</mxfile>