From 4933f669f8338ca5e4c64cf0294818c5d15ed122 Mon Sep 17 00:00:00 2001 From: srdusr <99972264+srdusr@users.noreply.github.com> Date: Wed, 14 Jan 2026 22:23:00 +0200 Subject: 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. --- data/packs/business.json | 145 ++++++++++++++++++++++++++++++++++++++++------- 1 file changed, 125 insertions(+), 20 deletions(-) (limited to 'data/packs/business.json') diff --git a/data/packs/business.json b/data/packs/business.json index ad4863a..fa9685b 100644 --- a/data/packs/business.json +++ b/data/packs/business.json @@ -1,22 +1,127 @@ [ - {"category":"business","attribution":"Peter Drucker","content":"Management is doing things right; leadership is doing the right things."}, - {"category":"business","attribution":"Peter Drucker","content":"There is nothing so useless as doing efficiently that which should not be done at all."}, - {"category":"business","attribution":"Peter Drucker","content":"The purpose of business is to create and keep a customer."}, - {"category":"business","attribution":"Adam Smith, The Wealth of Nations","content":"It is not from the benevolence of the butcher, the brewer, or the baker that we expect our dinner, but from their regard to their own interest."}, - {"category":"business","attribution":"Adam Smith, The Wealth of Nations","content":"The real price of everything is the toil and trouble of acquiring it."}, - {"category":"business","attribution":"John Maynard Keynes","content":"The market can remain irrational longer than you can remain solvent."}, - {"category":"business","attribution":"Warren Buffett","content":"Price is what you pay. Value is what you get."}, - {"category":"business","attribution":"Warren Buffett","content":"It takes twenty years to build a reputation and five minutes to ruin it."}, - {"category":"business","attribution":"Clayton Christensen, The Innovator's Dilemma","content":"Disruptive technologies typically enable new markets to emerge, and they underperform established products in mainstream markets."}, - {"category":"business","attribution":"W. Edwards Deming","content":"In God we trust; all others must bring data."}, - {"category":"business","attribution":"W. Edwards Deming","content":"A bad system will beat a good person every time."}, - {"category":"business","attribution":"Herbert Simon","content":"A wealth of information creates a poverty of attention."}, - {"category":"business","attribution":"Michael Porter","content":"The essence of strategy is choosing what not to do."}, - {"category":"business","attribution":"Andy Grove, Only the Paranoid Survive","content":"Success breeds complacency. Complacency breeds failure. Only the paranoid survive."}, - {"category":"business","attribution":"Reid Hoffman","content":"If you are not embarrassed by the first version of your product, you have launched too late."}, - {"category":"business","attribution":"Jeff Bezos","content":"Your brand is what other people say about you when you're not in the room."}, - {"category":"business","attribution":"Conway's Law","content":"Organisations design systems which are copies of the communication structures of those organisations."}, - {"category":"business","attribution":"Goodhart's Law","content":"When a measure becomes a target, it ceases to be a good measure."}, - {"category":"business","attribution":"Parkinson's Law","content":"Work expands so as to fill the time available for its completion."}, - {"category":"business","attribution":"Peter Thiel, Zero to One","content":"Every moment in business happens only once. The next Bill Gates will not build an operating system."} + { + "category": "business", + "attribution": "Peter Drucker", + "content": "Management is doing things right; leadership is doing the right things." + }, + { + "category": "business", + "attribution": "Peter Drucker", + "content": "There is nothing so useless as doing efficiently that which should not be done at all." + }, + { + "category": "business", + "attribution": "Peter Drucker", + "content": "The purpose of business is to create and keep a customer." + }, + { + "category": "business", + "attribution": "Adam Smith, The Wealth of Nations", + "content": "It is not from the benevolence of the butcher, the brewer, or the baker that we expect our dinner, but from their regard to their own interest." + }, + { + "category": "business", + "attribution": "Adam Smith, The Wealth of Nations", + "content": "The real price of everything is the toil and trouble of acquiring it." + }, + { + "category": "business", + "attribution": "John Maynard Keynes", + "content": "The market can remain irrational longer than you can remain solvent." + }, + { + "category": "business", + "attribution": "Warren Buffett", + "content": "Price is what you pay. Value is what you get." + }, + { + "category": "business", + "attribution": "Warren Buffett", + "content": "It takes twenty years to build a reputation and five minutes to ruin it." + }, + { + "category": "business", + "attribution": "Clayton Christensen, The Innovator's Dilemma", + "content": "Disruptive technologies typically enable new markets to emerge, and they underperform established products in mainstream markets." + }, + { + "category": "business", + "attribution": "W. Edwards Deming", + "content": "In God we trust; all others must bring data." + }, + { + "category": "business", + "attribution": "W. Edwards Deming", + "content": "A bad system will beat a good person every time." + }, + { + "category": "business", + "attribution": "Herbert Simon", + "content": "A wealth of information creates a poverty of attention." + }, + { + "category": "business", + "attribution": "Michael Porter", + "content": "The essence of strategy is choosing what not to do." + }, + { + "category": "business", + "attribution": "Andy Grove, Only the Paranoid Survive", + "content": "Success breeds complacency. Complacency breeds failure. Only the paranoid survive." + }, + { + "category": "business", + "attribution": "Reid Hoffman", + "content": "If you are not embarrassed by the first version of your product, you have launched too late." + }, + { + "category": "business", + "attribution": "Jeff Bezos", + "content": "Your brand is what other people say about you when you're not in the room." + }, + { + "category": "business", + "attribution": "Conway's Law", + "content": "Organisations design systems which are copies of the communication structures of those organisations." + }, + { + "category": "business", + "attribution": "Goodhart's Law", + "content": "When a measure becomes a target, it ceases to be a good measure." + }, + { + "category": "business", + "attribution": "Parkinson's Law", + "content": "Work expands so as to fill the time available for its completion." + }, + { + "category": "business", + "attribution": "Peter Thiel, Zero to One", + "content": "Every moment in business happens only once. The next Bill Gates will not build an operating system." + }, + { + "category": "business", + "content": "A process that depends on one person paying attention is not a process. It is that person, and it will fail on the first day they are unavailable, usually in a way nobody has planned for.", + "attribution": "Unknown" + }, + { + "category": "business", + "content": "Cash and profit are different things, and businesses fail on the first while reporting the second. Revenue recognised this month may not arrive for ninety days, and wages will not wait that long.", + "attribution": "Unknown" + }, + { + "category": "business", + "content": "The cost of a decision is not what it takes to make it, but what it takes to reverse it. Cheap, reversible choices should be made quickly; expensive, permanent ones deserve the time that quick decisions save.", + "attribution": "Unknown" + }, + { + "category": "business", + "content": "Meetings expand to fill the people invited to them. Every additional attendee adds the cost of their hour and the temptation to justify their presence by speaking, which is why small rooms decide faster.", + "attribution": "Unknown" + }, + { + "category": "business", + "content": "A price is a message about what something is worth, not merely what it costs to make. Setting it too low tells a buyer the thing is cheap, which is often harder to recover from than setting it too high.", + "attribution": "Unknown" + } ] -- cgit v1.2.3