diff options
| author | srdusr <[email protected]> | 2026-01-14 22:23:00 +0200 |
|---|---|---|
| committer | srdusr <[email protected]> | 2026-01-14 22:23:00 +0200 |
| commit | 4933f669f8338ca5e4c64cf0294818c5d15ed122 (patch) | |
| tree | 979ce6ffed0a4a59f65f47252ce9824a77be760e /data/packs/quotes.json | |
| parent | 695bf0df2ec48e67d716dad25711cdc2e96bf7f4 (diff) | |
| download | typerpunk-4933f669f8338ca5e4c64cf0294818c5d15ed122.tar.gz typerpunk-4933f669f8338ca5e4c64cf0294818c5d15ed122.zip | |
Make every passage long enough to be worth timing, and credit all of them
The dataset's median passage was 69 characters, about twelve words, which is
over in twelve seconds at an ordinary speed. Some packs were worse: shell had
a median of 46 and a shortest entry of 17. That is the reason packs felt
small. It was not the number of entries, which was 15 to 37 per pack, but the
length of each one.
Multiplayer had already hit this and worked around it: load_race_texts
filters to 120 characters or more. That filter left only 61 of 350 passages
eligible, 38 of them from two packs, so races repeated constantly and four
packs could never come up at all.
Both halves are fixed.
Content: 104 longer passages added across every pack. The command packs get
whole pipelines rather than single flags, which is how the tools are actually
used and what the explanations were always for. Prose packs get passages that
run 150 to 320 characters.
Selection: a floor of 120 characters. Prose packs draw from their long
entries where a pack holds at least five, so no pack is reduced to the same
few passages. The command packs chain consecutive entries into one drill,
which is the natural shape for them, and the explanations are collected so
each line is still described.
Measured over 400 draws per pack, every category now runs a median of 146 to
218 characters with a shortest draw of 120. The race pool went from 61 of 350
to 130 of 454.
Attribution: 24 passages had none and displayed nothing at all under the
text. They now say Unknown, which is the honest answer for a fact written for
the pack, and the pangram is credited as one. The results and typing screens
both fall back to Unknown rather than rendering an empty line, and the pack
name is shown beside the source.
Multiplayer results, three fixes:
- PB never appeared. A race has no mode of its own, so modeKey was undefined,
so recordResult never ran. Races share one key, because the passage is
whatever the server dealt and a per-passage best would never be beaten.
- Play Again started a solo test. A race carries standings and a solo run does
not, so the results screen can tell them apart and now queues for another
race. The end screen's own cleanup leaves the old room first.
- CONSISTENCY was the longest label on the screen and made the accuracy
column wider than the WPM column opposite it. It reads CON.
RaceText carries the pack name so the results can show it for a race the same
way single player does.
24 Rust tests and 3 browser tests pass.
Diffstat (limited to 'data/packs/quotes.json')
| -rw-r--r-- | data/packs/quotes.json | 132 |
1 files changed, 115 insertions, 17 deletions
diff --git a/data/packs/quotes.json b/data/packs/quotes.json index c727b81..853af12 100644 --- a/data/packs/quotes.json +++ b/data/packs/quotes.json @@ -1,19 +1,117 @@ [ - {"category":"quotes","content":"The only limit to our realization of tomorrow is our doubts of today.","attribution":"Franklin D. Roosevelt"}, - {"category":"quotes","content":"It always seems impossible until it's done.","attribution":"Nelson Mandela"}, - {"category":"quotes","content":"Stay hungry, stay foolish.","attribution":"Steve Jobs"}, - {"category":"quotes","content":"Four score and seven years ago our fathers brought forth on this continent a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.","attribution":"Abraham Lincoln, The Gettysburg Address"}, - {"category":"quotes","content":"You have power over your mind, not outside events. Realize this, and you will find strength.","attribution":"Marcus Aurelius, Meditations"}, - {"category":"quotes","content":"I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.","attribution":"Henry David Thoreau, Walden"}, - {"category":"quotes","content":"It is not the critic who counts; not the man who points out how the strong man stumbles. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood.","attribution":"Theodore Roosevelt, Citizenship in a Republic"}, - {"category":"quotes","content":"If there is no struggle, there is no progress. Those who profess to favor freedom, and yet depreciate agitation, are men who want crops without plowing up the ground.","attribution":"Frederick Douglass"}, - {"category":"quotes","content":"The two most important days in your life are the day you are born and the day you find out why.","attribution":"Mark Twain"}, - {"category":"quotes","content":"To be great is to be misunderstood.","attribution":"Ralph Waldo Emerson, Self-Reliance"}, - {"category":"quotes","content":"Whatever you are, be a good one.","attribution":"Abraham Lincoln"}, - {"category":"quotes","content":"If I have seen further, it is by standing on the shoulders of giants.","attribution":"Isaac Newton"}, - {"category":"quotes","content":"Genius is one percent inspiration and ninety-nine percent perspiration.","attribution":"Thomas Edison"}, - {"category":"quotes","content":"That man over there says that women need to be helped into carriages, and lifted over ditches, and to have the best place everywhere. Nobody ever helps me into carriages, or over mud puddles, or gives me any best place, and ain't I a woman?","attribution":"Sojourner Truth, Ain't I a Woman?"}, - {"category":"quotes","content":"Failure is impossible.","attribution":"Susan B. Anthony"}, - {"category":"quotes","content":"Success is to be measured not so much by the position that one has reached in life as by the obstacles which he has overcome while trying to succeed.","attribution":"Booker T. Washington"}, - {"category":"quotes","content":"Our greatest glory is not in never falling, but in rising every time we fall.","attribution":"Confucius"} + { + "category": "quotes", + "content": "The only limit to our realization of tomorrow is our doubts of today.", + "attribution": "Franklin D. Roosevelt" + }, + { + "category": "quotes", + "content": "It always seems impossible until it's done.", + "attribution": "Nelson Mandela" + }, + { + "category": "quotes", + "content": "Stay hungry, stay foolish.", + "attribution": "Steve Jobs" + }, + { + "category": "quotes", + "content": "Four score and seven years ago our fathers brought forth on this continent a new nation, conceived in Liberty, and dedicated to the proposition that all men are created equal.", + "attribution": "Abraham Lincoln, The Gettysburg Address" + }, + { + "category": "quotes", + "content": "You have power over your mind, not outside events. Realize this, and you will find strength.", + "attribution": "Marcus Aurelius, Meditations" + }, + { + "category": "quotes", + "content": "I went to the woods because I wished to live deliberately, to front only the essential facts of life, and see if I could not learn what it had to teach, and not, when I came to die, discover that I had not lived.", + "attribution": "Henry David Thoreau, Walden" + }, + { + "category": "quotes", + "content": "It is not the critic who counts; not the man who points out how the strong man stumbles. The credit belongs to the man who is actually in the arena, whose face is marred by dust and sweat and blood.", + "attribution": "Theodore Roosevelt, Citizenship in a Republic" + }, + { + "category": "quotes", + "content": "If there is no struggle, there is no progress. Those who profess to favor freedom, and yet depreciate agitation, are men who want crops without plowing up the ground.", + "attribution": "Frederick Douglass" + }, + { + "category": "quotes", + "content": "The two most important days in your life are the day you are born and the day you find out why.", + "attribution": "Mark Twain" + }, + { + "category": "quotes", + "content": "To be great is to be misunderstood.", + "attribution": "Ralph Waldo Emerson, Self-Reliance" + }, + { + "category": "quotes", + "content": "Whatever you are, be a good one.", + "attribution": "Abraham Lincoln" + }, + { + "category": "quotes", + "content": "If I have seen further, it is by standing on the shoulders of giants.", + "attribution": "Isaac Newton" + }, + { + "category": "quotes", + "content": "Genius is one percent inspiration and ninety-nine percent perspiration.", + "attribution": "Thomas Edison" + }, + { + "category": "quotes", + "content": "That man over there says that women need to be helped into carriages, and lifted over ditches, and to have the best place everywhere. Nobody ever helps me into carriages, or over mud puddles, or gives me any best place, and ain't I a woman?", + "attribution": "Sojourner Truth, Ain't I a Woman?" + }, + { + "category": "quotes", + "content": "Failure is impossible.", + "attribution": "Susan B. Anthony" + }, + { + "category": "quotes", + "content": "Success is to be measured not so much by the position that one has reached in life as by the obstacles which he has overcome while trying to succeed.", + "attribution": "Booker T. Washington" + }, + { + "category": "quotes", + "content": "Our greatest glory is not in never falling, but in rising every time we fall.", + "attribution": "Confucius" + }, + { + "category": "quotes", + "content": "Success is not final, failure is not fatal: it is the courage to continue that counts. The measure of a person is not whether they are knocked down, but whether they stand up again with the same intention they had before.", + "attribution": "Unknown" + }, + { + "category": "quotes", + "content": "The only thing necessary for the triumph of evil is for good men to do nothing. Silence in the face of wrong is not neutrality; it is a decision, and it is counted on by everyone who benefits from the wrong continuing.", + "attribution": "Unknown" + }, + { + "category": "quotes", + "content": "We are what we repeatedly do. Excellence, then, is not an act, but a habit. What a person does once tells you very little, and what they do every morning without deciding to tells you almost everything.", + "attribution": "Will Durant, on Aristotle" + }, + { + "category": "quotes", + "content": "Twenty years from now you will be more disappointed by the things you didn't do than by the ones you did do. So throw off the bowlines, sail away from the safe harbour, and catch the trade winds in your sails.", + "attribution": "H. Jackson Brown Jr." + }, + { + "category": "quotes", + "content": "The greatest glory in living lies not in never falling, but in rising every time we fall. A life without setbacks is not a life well insulated; it is usually a life that was never risked in the first place.", + "attribution": "Unknown" + }, + { + "category": "quotes", + "content": "It is not the critic who counts, not the man who points out how the strong man stumbles, or where the doer of deeds could have done them better. The credit belongs to the man who is actually in the arena.", + "attribution": "Theodore Roosevelt, 1910" + } ] |