Relevance Weights
Relevance weights determine how study time is distributed among your subjects. The algorithm prioritizes subjects that are highly important but where you have low current knowledge — the sweet spot for maximum learning impact.The Weight Formula
The relevance weight is calculated using a simple but effective formula (seelogic.js:537-559):
Formula Breakdown
Knowledge Factor
Convert knowledge level to a factor:
fatorConhecimento = 6 - conhecimento- Knowledge 0 (beginner) → Factor 6
- Knowledge 1 → Factor 5
- Knowledge 2 → Factor 4
- Knowledge 3 (medium) → Factor 3
- Knowledge 4 → Factor 2
- Knowledge 5 (master) → Factor 1
Setting Importance
Importance represents how critical this subject is for your exam or goals.Scale: 1 to 5
| Level | Meaning | When to Use |
|---|---|---|
| 1 | Low importance | Optional topics, rarely appears on exam |
| 2 | Below average | Minor section, low point value |
| 3 | Medium importance | Standard subject, balanced weight |
| 4 | High importance | Major section, high point value |
| 5 | Critical | Core subject, highest exam weight |
Importance should reflect the exam’s weighting, not your personal interest. Study what the test values most.
UI Implementation
The wizard presents sliders for each subject (fromplanejamento-wizard.js:342-354):
Setting Knowledge Level
Knowledge represents your current mastery of the subject.Scale: 0 to 5
| Level | Meaning | Description |
|---|---|---|
| 0 | Complete beginner | Never studied this before |
| 1 | Basic familiarity | Seen the topics, very weak understanding |
| 2 | Elementary | Can recognize concepts, can’t apply them |
| 3 | Intermediate | Decent understanding, some gaps |
| 4 | Advanced | Strong grasp, minor weak points |
| 5 | Mastery | Expert level, could teach others |
Knowledge Factor Impact
The formula6 - conhecimento creates an inverse relationship:
- Lower knowledge → Higher factor → More time allocated
- Higher knowledge → Lower factor → Less time allocated
Real-Time Weight Preview
The wizard shows a live preview of time distribution (seeplanejamento-wizard.js:384-415):
Weight Calculation Examples
Example 1: Balanced Distribution
Setup: 3 subjects, all equal importance (3), all equal knowledge (3)| Subject | Importance | Knowledge | Factor | Weight | % Time |
|---|---|---|---|---|---|
| Math | 3 | 3 | 3 | 9 | 33.3% |
| Portuguese | 3 | 3 | 3 | 9 | 33.3% |
| History | 3 | 3 | 3 | 9 | 33.3% |
Example 2: Prioritizing Weak Areas
Setup: Math is critical but you’re a beginner; History is less important and you know it well| Subject | Importance | Knowledge | Factor | Weight | % Time |
|---|---|---|---|---|---|
| Math | 5 | 0 | 6 | 30 | 54.5% |
| Portuguese | 3 | 2 | 4 | 12 | 21.8% |
| History | 2 | 5 | 1 | 2 | 3.6% |
| Science | 4 | 3 | 3 | 12 | 21.8% |
Example 3: All High Importance, Varied Knowledge
Setup: Exam has 4 equally important sections, but you have different mastery levels| Subject | Importance | Knowledge | Factor | Weight | % Time |
|---|---|---|---|---|---|
| Section A | 5 | 1 | 5 | 25 | 32.5% |
| Section B | 5 | 2 | 4 | 20 | 26.0% |
| Section C | 5 | 3 | 3 | 15 | 19.5% |
| Section D | 5 | 4 | 2 | 10 | 13.0% |
When to Adjust Weights
You should review and update your relevance weights:After completing a study cycle
Your knowledge has improved — update knowledge levels to redistribute time
When exam priorities change
If the exam syllabus is updated or you learn new weightings, adjust importance
After practice tests
Tests reveal true knowledge gaps — adjust knowledge levels based on performance
Updating Weights
Weights are updated through the planning wizard (seeplanejamento-wizard.js:126-135):
Default Values
When you select a subject, if it doesn’t have weights set, it gets defaults:Impact on Time Blocks
After calculating percentages, the system converts them to actual study time:Visual Indicators
The preview panel shows:- Subject name: Truncated if too long
- Percentage: Calculated from weight
- Progress bar: Visual representation using subject’s color
- Sorted order: Highest weight first
Best Practices
Start with honest self-assessment
Don’t inflate your knowledge level out of pride. Accuracy ensures proper time allocation.
Use exam documentation
Base importance on official exam weightings, point values, or question counts.
Don't neglect high-knowledge subjects
Even with knowledge 5, a highly important subject (5) still gets weight 5 — not zero.
Common Mistakes
Setting everything to 5/5
If all subjects have max importance and max knowledge:- Weight = 5 × (6 - 5) = 5 for all
- Result: Even distribution (not necessarily bad, but defeats the purpose)
Setting everything to 1/0
If all subjects are low importance and zero knowledge:- Weight = 1 × 6 = 6 for all
- Result: Even distribution again
The algorithm works best when there’s variation in your inputs. Honest assessment creates optimal distribution.
Never updating
Static weights become inaccurate as you learn. Your knowledge level should increase over time, which naturally shifts focus to other subjects.See Also
- Study Cycles - How weights affect cycle sequencing
- Weekly Planner - How weights distribute time across the week
- Scheduling - How weighted blocks become calendar events