flowchart TD id1{Learning, step1\nType/Queue=0}:::blueBox-->|"AGAIN 🔴\nBack to step 1"|id2(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,0):::redBox id1-->|"GOOD 🟢\nTo step 2"|id3(T/Q: 1, Due: TS+600\nIvl: 1, Factor: 0\n\nEase:3, Ivl: -600,-60):::yellowBox id1-->|"EASY 🍰\nGraduate(->review card)"|id4(T/Q: 2, Due: int-crt+Ivl\nIvl: easyInt, Factor: 2500\n\nEase:4, Ivl: easyInt):::greenBox
id2-->|"AGAIN 🔴\nBack to step 1"|id5(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,-60):::redBox id2-->|"GOOD 🟢\nStep 2"|id6(T/Q: 1, Due: TS+600\nIvl: 1, Factor: 0\n\nEase:3, Ivl: -600,-60):::yellowBox id2-->|"EASY 🍰\nGraduate"|id7(T/Q: 2, Due: int-crt+Ivl\nIvl: easyInt, Factor: 2500\n\nEase:4, Ivl: easyInt):::greenBox
id3-->|"AGAIN 🔴\nBack to step 1"|id8(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,-600):::redBox id3-->|"GOOD 🟢\nGraduate"|id9(T/Q: 2, Due: int-crt+1\nIvl: 1, Factor: 0\n\nEase:3, Ivl: 1,-600):::yellowBox id3-->|"EASY 🍰"\nGraduate|id10(T/Q: 2, Due: int-crt+Ivl\nIvl: easyInt, Factor: 2500\n\nEase:4, Ivl: easyInt):::greenBox
id4-->|"AGAIN 🔴\n Type 3 (re-learning)"|id11(T:3/Q:1, Due: TS+600\nIvl: 1, Factor: 2300\n\nEase:1, Ivl: -600,-3-, 2300\nTYPE1):::redBox id4-->|"GOOD 🟢"|id12(T:2/Q:2, Due: int-crt+ivl\nIvl: 1+EasyIntFactor, Factor: 2500\n\nEase:3, Ivl: 1+EasyIntFactor,4 factor:2500):::yellowBox id4-->|"EASY 🍰"|id13(T/Q: 2, Due: int-crt+ivl\nIvl:1+EasyIntFactorbonus, Factor: def+150\n\nEase:4, Ivl: 1+EasyIntFactorbonus,5):::greenBox
id5-->|"AGAIN 🔴\n Back to step 1"|id14(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,-60):::redBox id5-->|"GOOD 🟢"|id15(T/Q: 1, Due: TS+600\nIvl: 1, Factor: 0\n\nEase:3, Ivl: -600,-60):::yellowBox id5-->|"EASY 🍰"|id16(T/Q: 2, Due: int-crt+Ivl\nIvl: easyInt, Factor: 2500\n\nEase:4, Ivl: easyInt):::greenBox
id6-->|"AGAIN 🔴\nBack to step 1"|id17(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,-600):::redBox id6-->|"GOOD 🟢\nGraduate"|id18(T/Q: 2, Due: int-crt+1\nIvl: 1, Factor: 0\n\nEase:3, Ivl: 1,-600):::yellowBox id6-->|"EASY 🍰"\nGraduate|id19(T/Q: 2, Due: int-crt+Ivl\nIvl: easyInt, Factor: 2500\n\nEase:4, Ivl: easyInt):::greenBox
id7-->|"AGAIN 🔴\nBack to step 1"|id20(T/Q: 1, Due: TS+60\nIvl: 1, Factor: 0\n\nEase:1, Ivl: -60,-600):::redBox id7-->|"GOOD 🟢"|id21(T:2/Q:2, Due: int-crt+ivl\nIvl: 1+EasyIntFactor, Factor: 2500\n\nEase:3, Ivl: 1+EasyIntFactor,4 factor:2500):::yellowBox id7-->|"EASY 🍰"|id19(T/Q: 2, Due: int-crt+ivl\nIvl:1+EasyIntFactorbonus, Factor: def+150\n\nEase:4, Ivl: 1+EasyIntFactorbonus,5):::greenBox
classDef blueBox fill:#87CEEB; classDef redBox fill:#FFA07A; classDef greenBox fill:#ADFF2F; classDef yellowBox fill:#FFFF00;