Comments (5)
files-to-prompt docs/*.rst | llm -m pro15 --system \
'identify and list any possible spelling mistakes, for each one show the file and the surrounding text'
Possible Spelling Mistakes:
File: docs/authentication.rst
- "anaynomous":
- Surrounding Text: "You can specify that only unauthenticated actors (from anaynomous HTTP requests) should be allowed access using the special"
- Suggested Correction: "anonymous"
File: docs/binary_data.rst
- "infulunce":
- Surrounding Text: "... It lets Datasette know if the current SQL query can be represented by the plugin - and hence infulunce if a link to this output format is displayed in the user interface."
- Suggested Correction: "influence"
File: docs/changelog.rst
- "collides":
- Surrounding Text: "... setting rules for what should happen if a primary key collides with an existing row."
- Suggested Correction: "collides" is likely spelled correctly, but consider alternatives like "conflicts" depending on the intended meaning.
- "datsette":
- Surrounding Text: "The
**datsette** --get
command-line mechanism now ensures any plugins using thestartup()
hook are correctly executed."- Suggested Correction: "datasette"
- "frist":
- Surrounding Text: "Datasette will only return the first 100 rows - the 101st is used purely to detect if there should be another page. Since the where clause acts against the index on the primary key, the query is extremely frist even for records that are a long way into the overall pagination set."
- Suggested Correction: "fast"
File: docs/configuration.rst
- "correct":
- Surrounding Text: "... Some plugins can be configured at the database or table level. These should use a
plugins
key nested under the appropriate place within thedatabases
object:\n...\n\n my_other_database:\n tables:\n my_table:\n # plugin configuration for the my_table table inside the my_other_database database\n plugins:\n datasette-my-plugin:\n key: my_value"- Suggested Correction: "correct" is likely spelled correctly, but consider alternatives like "relevant" depending on the intended meaning.
File: docs/json_api.rst
- "correct":
- Surrounding Text: "... The
"rows"
key is a list of objects, each one representing a row. \n\nThe"truncated"
key lets you know if the query was truncated."- Suggested Correction: "truncated" is likely spelled correctly, but consider alternatives like "limited" depending on the intended meaning.
- "correct":
- Surrounding Text: "... The JSON array option is useful if one of your matching values itself contains a comma:\n\n
?column__in=[""value"",""value,with,commas""]
"- Suggested Correction: "correct" is likely spelled correctly, but consider alternatives like "provided" or "specified" depending on the intended meaning.
- "correct":
- Surrounding Text: "... you may decide that a specific query can be cached for a longer time, or maybe you need to set
?_ttl=0
for some requests for example if you are running a SQLorder by random()
query."- Suggested Correction: "correct" is likely spelled correctly, but consider alternatives like "appropriate" or "desired" depending on the intended meaning.
File: docs/metadata.rst
- "correct":
- Surrounding Text: "... If your table has more than two columns you can specify which column should be used for the link label with the
label_column
property:"- Suggested Correction: "correct" is likely spelled correctly, but consider alternatives like "intended" or "desired" depending on the intended meaning.
File: docs/testing_plugins.rst
- "than":
- Surrounding Text: "... Datasette will search for this file first in the
--template-dir=
location, if it was specified - than in the plugin's bundled templates and finally in Datasette's set of default templates."- Suggested Correction: "then"
- "than":
- Surrounding Text: "... This method registers any :ref:
plugin_hook_startup
or :ref:plugin_hook_prepare_jinja2_environment
plugins that might themselves need to make async calls.\n\nIf you are usingawait datasette.client.get()
and similar methods than you don't need to worry about this - Datasette automatically callsinvoke_startup()
the first time it handles a request."- Suggested Correction: "then"
- "or":
- Surrounding Text: "If an exception occurs within Datasette itself during a test, the response returned to your plugin will have a
response.status_code
value of 500.\n\nYou can addpdb=True
to theDatasette
constructor to drop into a Python debugger session inside your test run instead of getting back a 500 response code. This is equivalent to running thedatasette
command-line tool with the--pdb
option.\n\nHere's what that looks like in a test function:\n\n.. code-block:: python\n\n def test_that_opens_the_debugger_or errors():\n ds = Datasette([db_path], pdb=True)\n response = await ds.client.get("/")"- Suggested Correction: "on"
File: docs/writing_plugins.rst
- "thang":
- Surrounding Text: "The exception to this rule is anythang that is documented here. If you find a need for an undocumented utility function in your own work, consider
opening an issue <https://github.com/simonw/datasette/issues/new>
__ requesting that the function you are using be upgraded to documented and supported status."- Suggested Correction: "thing"
from datasette.
Hah, that's amusing. It hallucinated the incorrect spellings a bit:
- "anaynomous":
- Surrounding Text: "You can specify that only unauthenticated actors (from anaynomous HTTP requests) should be allowed access using the special"
The misspelling is actually anynomous
:
datasette/docs/authentication.rst
Line 315 in d32176c
from datasette.
Hah, yeah Gemini Pro 1.5 (and maybe LLMs in general) Isn't great for spellcheck.
It pointed to "the query is extremely frist even for records that" but the sentence was actually "the query is extremely fast even for records that".
from datasette.
Also lots of suggestions like this, I can probably fix those with a prompt that says not to do this:
"correct" is likely spelled correctly, but consider alternatives like "appropriate" or "desired" depending on the intended meaning.
from datasette.
I'm done with this experiment for now.
from datasette.
Related Issues (20)
- Document maximum rows allowed per batch in JSON Write API HOT 1
- Actions menu sometimes displays behind datasette-cluster-map controls HOT 1
- Official Docker image of Datasette does not support VirtualKNN2
- Cannot install plugins on desktop variant HOT 4
- 'Datasette' object has no attribute 'table_metadata' HOT 6
- Database download missing content-length header and is sent chunked
- Async example for track_event plugin hook HOT 1
- Test fail against Python 3.13-dev with a Pint error HOT 4
- 500 Error editing row with binary column using datasette-write-ui
- Canned queries don't appear in the app
- `json1` SQLite extension is not correctly detected in `versions.json`
- `Stable` documentation refers to `latest` demo instance
- get_metadata() plugin hook should support async await_me_maybe pattern HOT 2
- Datasette 1.0 rc tracking issue
- Usablity issue with need for root user
- Consider releasing a 0.65 with some forwards compatibility for 1.0 HOT 2
- Bug (in docs?): the "_internal" table on latest.datasette.io doesn't load HOT 1
- Consider adding a new plugin hook: "pre_query" or similar HOT 3
- Proposal - store metadata inside `internal.db` tables HOT 2
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from datasette.