Language: English
Accessibility

Accessibility

Text size
Reading font

Accessibility statement

House of the People

Who gets India's seats in Parliament, and what the bills before Parliament would change.

Contributing

House of the People is a neutral research site. A contribution is welcome when it makes a figure more accurate, a source better, a sentence clearer or a page easier to use. This page says how to report a problem and what a change must meet to be merged.

#Report an error

Open an issue and choose the form that fits: a wrong figure or source, a translation problem, or a suggestion. Give the page address, the figure or sentence, what it should say and the source that says so. A correction without a source cannot be made.

Security problems go through the private route in SECURITY.md, not an issue.

#Before you change anything

Read CLAUDE.md. It records the decisions taken and the traps already met. Then read the document for what you are changing:

#What every change must meet

  1. Neutral. State each position in its holders' own terms, with a source, and give comparable space. Do not argue for a party or an outcome. Do not copy briefing material written for any organisation.
  2. Sourced. Every figure comes from a data file, and every data file names its source, the document's date and the table or page. Do not type a calculated figure into a sentence. The build inserts it.
  3. Plain. Write full sentences with facts and explanations. No em dashes. No "not X but Y" turns. No stock words, flourishes or slogans. No emoji. Headings in sentence case. Say what a figure is, where it comes from and what it cannot show. The writing rules are set out in CLAUDE.md, and scripts/check.py fails on the ones a pattern can catch. A pattern cannot catch a fragment or a flourish, so read what you write.
  4. In all languages. A change to an English string is a change to the five translations in the same commit. See docs/translation.md.
  5. Accessible. Colour pairs must pass contrast in both themes. Controls must work with a keyboard. A page must not scroll sideways at 320 pixels wide. After a change to layout or colour, run axe over the pages you changed in both themes at 390 and 1280 pixels.
  6. Dated. Anything about the bills states the date and time it was true, and the source.

#How to submit a change

  1. Fork the repository, or create a branch if you have access.
  2. Make the change. Edit the source (data/, site/pages/, i18n/, paper/source.html), never the generated output.
  3. Run the checks:
    python3 scripts/check.py
    python3 scripts/make_map.py --check
    python3 scripts/make_tables.py --check
    python3 scripts/make_paper.py --check
    node scripts/test-apportion.mjs

    node scripts/test-site.mjs needs Chromium. It runs in CI if you cannot run it.

  4. If you changed a page title, description or a figure shown on a state page, redraw the share cards (node scripts/make_cards.mjs <built site>) and commit og/.
  5. Open a pull request using the template. Describe what changed, why, and how you checked it. A merge to main publishes the site, so a pull request is merged only after its checks pass and a maintainer has read it.

#Corrections policy

If a published figure or claim was wrong, the fix goes on the page, and the Corrections page records the date, the page, what it said, what it says now and why. A change of wording that leaves the meaning alone is not listed. A detail removed because it could identify a person is described and never repeated.

#Licence

By contributing you agree that your code is released under the MIT licence and your text and data under CC BY 4.0, as set out in LICENSE.

Edit this page on GitHub