QuantEcon / QuantEcon/QuantEcon.py
MAINT: Replace pejorative wording in a test comment
Nobody has claimed this yet.
- Dominant language
- Python
- Stars
- 2.4k
- Forks
- 2.3k
- Avg merge
- 3d 3h
- Merged PRs (30d)
- 3
Description
Problem
quantecon/tests/test_lqnash.py:95 contains a comment using "ghetto" as a pejorative. The word carries a racial connotation and has no place in a widely-forked teaching library. The underlying concern — that hardcoded MATLAB reference values are an unsatisfying way to fix expected outputs — is legitimate and worth keeping, just phrased plainly.
A one-word fix, and a reasonable first contribution.
Acceptance criteria
- The comment is rewritten to state the actual concern about hardcoded MATLAB reference values
- A quick grep confirms no similar wording elsewhere in the tree
From the July 2026 technical-debt audit (AI-assisted; claims verified against 28d4b3b on 2026-07-25).
Contributor guide
First steps
- Read the whole issue, then the project's contributing guide.
- Comment on the issue to say you are picking it up — it saves two people doing the same work.
- Fork the repository and make your change on a branch.
- Open a pull request that references the issue number.
Research direction
Open quantecon/tests/test_lqnash.py at line 95 and read the comment about hardcoded MATLAB reference values. Rewrite the wording to preserve that concern without the pejorative term, then run a quick grep across the repository to confirm no similar wording remains.
Written by the indexing model from the issue text.
Assessment
- Tech stack
- python
- Domain
- testing
- Issue type
- Documentation
- Difficulty
- 1/5
- Estimated time
- Under an hour
- Activity status
- Quiet
- Clarity
- Clearly specified
- Newbie friendliness
- 88/100