Sub topic 4
Measure Subject-Wise Weightage
What you need before this chapter
This chapter assumes you have done three things from earlier chapters:
- You know the current MPSC Prelims General Studies pattern: the number of questions, marks per question, and the negative-marking rule. You took these from the official notification.
- You have collected past papers and checked them against official answer keys.
- You have tagged each question with at least a year and a subject, in a spreadsheet or CSV file.
You also need basic comfort with percentages and with reading a short Python script.
What weightage means
Subject-wise weightage is the share of a paper that a subject takes up. If 14 of 100 questions in one paper come from Polity, Polity's weightage in that paper is 14%.
You can count weightage in two ways:
- By questions: the number of questions from the subject divided by the total number of questions.
- By marks: the marks carried by those questions divided by the total marks.
If every question carries the same marks, the two measures give the same answer. If the pattern changed over the years, they can differ. Always check this in the notification for each year you analyse. The code later in this chapter counts questions. That is enough only while marks per question stay equal within a paper.
Step 1: Check your tagging before you count
Weightage is only as good as the tags behind it. Three problems appear most often.
- Inconsistent labels. "Polity", "Indian Polity" and "polity " are three different labels to a program. Pick one list of subject names and use only those.
- Questions that belong to two subjects. An example is a question on the environmental impact of an economic policy. Choose one rule and apply it to every question. A common rule is to tag by the fact the answer depends on. If you tag some questions twice, your total will exceed the number of questions, and the shares will not add up to 100%.
- Missing rows. If a paper has 100 questions and your file has 97 rows for it, the shares are slightly wrong. Count the rows per year before you start.
A quick check is to confirm that each year has the expected number of rows. The second script below does this implicitly, because it prints each year's counts. You can add up the numbers by eye.
Step 2: Count questions per subject across all years
The first script reads your CSV (one row per question, with columns such as year, subject and topic). It prints each subject's question count and its share of the total.
import csv
from collections import Counter
with open("pyq.csv", newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
by_subject = Counter(r["subject"] for r in rows)
total = sum(by_subject.values())
for subject, n in by_subject.most_common():
print(f"{subject}: {n} ({n / total:.0%})")Here is how it works:
csv.DictReaderturns each row into a dictionary, sor["subject"]reads the subject column.Countercounts how many times each subject appears.most_common()sorts subjects from the largest count to the smallest.n / total:.0%formats the share as a whole-number percentage.
Suppose your file covers five papers of 100 questions each, which gives 500 rows. The output might look like this. These numbers are an invented illustration, not real MPSC data:
Polity: 80 (16%)
History: 75 (15%)
Geography: 70 (14%)
Economy: 65 (13%)
Science: 60 (12%)
Environment: 55 (11%)
Current Affairs: 95 (19%)Your own numbers will differ. Do not copy figures from a blog or a coaching sheet into your plan without checking them against your own tagged data.
Step 3: Look at each year separately
A combined count hides movement. A subject that averaged 12% could have been 8% in the early years and 16% in recent ones. The second script groups the counts by year.
import csv
from collections import Counter, defaultdict
with open("pyq.csv", newline="", encoding="utf-8") as f:
rows = list(csv.DictReader(f))
per_year = defaultdict(Counter)
for r in rows:
per_year[r["year"]][r["subject"]] += 1
for year in sorted(per_year):
print(year, dict(per_year[year]))Here per_year is a dictionary of counters. Each year maps to its own Counter of subjects. sorted(per_year) prints the years in order, so you can read down the lines and see how a subject moves.
A typical reading, with invented numbers:
| Year | Polity | Economy | Environment |
|---|---|---|---|
| A | 15 | 12 | 8 |
| B | 17 | 13 | 11 |
| C | 14 | 9 | 14 |
| D | 16 | 14 | 13 |
In this table Polity stays between 14 and 17, so it is stable. Environment rises from 8 to 14, which is a shift worth noting. Economy swings between 9 and 14, so its average hides real variation.
Step 4: Decide how to read the numbers
Two quantities matter: the average share and the spread across years.
- Average share tells you how much of a typical paper a subject fills. Use it to split your study time.
- Spread tells you how reliable that average is. A subject with a share between 14% and 17% can be planned for. A subject that swings between 9% and 14% needs a safety margin.
For a simple spread measure, write down the lowest and highest yearly share for each subject. You do not need a statistical formula for five or six papers. Too few data points make a formal measure misleading.
Convert shares into expected questions
Once you have an average share, you can estimate how many questions to expect from a subject. Multiply the share by the number of questions in the current pattern. If Polity averages 16% and the current paper has 100 questions, plan for roughly 16 questions. Treat that as a rough guide, not a promise. Use the current question count from the notification, not the count from an older paper.
Step 5: Handle current affairs separately
Current affairs often behaves differently from the other subjects. Its share may depend on how the paper's setters classify a question. A question on a recent government scheme could be tagged Economy, Polity or Current Affairs.
Decide your rule once. Two workable options:
- Keep Current Affairs as its own subject, and tag the underlying subject in a second column.
- Fold each question into its underlying subject, and mark it as current in a separate
source_typecolumn.
The second option keeps the subject totals comparable with the syllabus. A later chapter covers the split between static and current questions in detail, so here you only need to make the choice and stay consistent.
Common errors
- Mixing patterns. If the number of questions or the marking scheme changed between years, shares from before and after the change are not directly comparable. Analyse the two periods separately, or note the change.
- Reading small differences as trends. A one-question change between two years is noise. A change of several questions that persists over several years is worth acting on.
- Ignoring the syllabus. A subject with a low share may still be a large part of the syllabus. Compare your weightage table with the official syllabus before you drop anything.
- Over-trusting a single average. Always look at the per-year view before you set priorities.
Summary
- Weightage is a subject's share of the paper, counted by questions or by marks.
- Clean labels and a single tagging rule come before any counting.
- The total count gives the average share. The per-year count shows whether the share is stable.
- Use the current pattern to turn shares into expected question counts.
- Treat small year-to-year differences as noise.
Exercise
Your CSV has 5 years of papers. In the per-year output, Geography has 12, 13, 11, 12 and 13 questions out of 100 each year. Economy has 7, 15, 9, 16 and 8. Both average about 12. Which subject can you plan for with more confidence, and why?
Show answer
Geography. Its yearly counts stay between 11 and 13, so the average describes every year well. Economy's counts range from 7 to 16, so the average hides large swings. For Economy you should prepare for the high end and not count on the average.
Exercise
A paper in your dataset has 100 question rows but the subject shares you compute add up to 104%. What is the most likely cause, and how do you fix it?
Show answer
Some questions were tagged with two subjects, so they were counted twice. Apply one tagging rule so each question has exactly one subject, then rerun the count. The shares will then add up to 100%.