Does Firecrawl preserve mathematical equations when converting a document?
Firecrawl preserved the equations as math in this document. It returned all six displayed equations as correct LaTeX.
1 of 1 test case passed
Every test case in this scenario has a result.
The test case
Each test case is judged on its own: Pass, Fail, Not gradable, or Untested. The scenario result above is based on this test case.
Equations — math markup or honest fallbackPassEvidence
# A one-dimensional model of tidal attenuation in the Braithe channel ## 1 Introduction The tide entering the Braithe is attenuated over the eleven kilometres between the bar and Braithe Bridge, and the attenuation is large enough to matter to anyone predicting water levels in the upper estuary. This note sets out the one-dimensional model the Institute has used since 2018, states the approximation on which the working formula rests, and compares the result with the gauge record at three stations. Nothing here is new. The intention is to have the derivation, the assumptions and the coefficients in one place, because the formula has been quoted in Partnership papers without them. ## 2 Governing equations Take the channel as a single reach of slowly varying cross-section and neglect lateral inflow. Conservation of mass gives $$ \frac{\partial A}{\partial t}+\frac{\partial Q}{\partial x}=0 $$ (1) where *A* is the cross-sectional area below the free surface and *Q* the discharge through it. Conservation of momentum, with friction represented in the Manning form, gives $$ \frac{\partial Q}{\partial t}+\frac{\partial}{\partial x}\left(\frac{Q^{2}}{A}\right)+g A\frac{\partial\eta}{\partial x}+\frac{g n^{2}Q|Q|}{A R^{4/3}}=0 $$ (2) in which *η* is the surface elevation above mean sea level, *n* is Manning's coefficient, *R* the hydraulic radius *R* = *A*/*P* for wetted perimeter *P*, and *g* the acceleration due to gravity. The friction term is the only nonlinear one that matters over the range of interest. $$ n $$ $$ R=A/P $$ $$ P, $$ ## 3 Attenuation of the leading harmonic For a channel of nearly uniform depth the leading semidiurnal harmonic decays close to exponentially with distance upstream, so that $$ \eta(x,t)=\eta_{0}e^{-\mu x}\cos{(\omega t-k x)} $$ (3) with *η₀* the amplitude at the bar, *ω* the angular frequency of the harmonic, *k* the wavenumber and *μ* the attenuation coefficient. Linearising the friction term by the Lorentz method and collecting terms gives --- $$ \mu=\frac{\omega}{c}\left(\frac{\chi}{2\left(1+\chi^2\right)}\right)^{1/2},\qquad\chi=\frac{8n^2c\eta_0}{3\pi h^{4/3}} $$ (4) where *c* is the frictionless wave speed and *h* the mean depth. The second expression is the friction parameter; it is small in the lower reach and approaches unity above Harrowby Reach, which is where the exponential form begins to fail. ## 4 Application to the Braithe Taking the mean depth as eleven metres below the bar and four metres at the bridge, with Manning's coefficient at the value fitted in 2018, the formula reproduces the observed amplitude at Vardenne Quay to within four per cent and at Harrowby Reach to within nine. At Braithe Bridge it overestimates the amplitude, and the discrepancy grows through the spring tides, which is the behaviour the friction parameter predicts. A two-reach treatment with separate depths would probably remove most of the error at the bridge. It has not been attempted here because the gauge record above Harrowby Reach is too short to fit a second coefficient with any confidence. ## 5 Coefficients Manning's coefficient is not constant with depth in a channel of this kind, and the single fitted value used above is a compromise. Fitting the 2018 record with a depth-dependent form gives $$ n(h)=n_{\infty}+\frac{b}{h^{1/3}} $$ (5) with *n*<sub>∞</sub> the deep-water value and *b* a bed constant. The fit is better in the lower reach and no better at the bridge, which suggests that the error there is not in the friction term at all. $$ n_{\infty} $$ The two constants were fitted to the 2018 record and have not been refitted since. Refitting on the four years now available would be worth doing; the Institute's expectation is that the deep-water value will move very little and the bed constant appreciably, because it is carrying the shallow reaches where the record has improved most. ## 6 Limitations Three limitations should be stated plainly. The first is the one-dimensional assumption, which fails where the channel divides above Harrowby Reach. The second is the neglect of the freshwater inflow, which is small in summer and not small after rain. The third is the linearisation itself, which is a poor approximation once the friction parameter approaches unity - that is, in exactly the reach where the model is least accurate. The error measure quoted in the previous section is --- $$ \varepsilon=\frac{\left|\eta_{o}-\eta_{m}\right|}{\eta_{o}} $$ (6) taken over the spring-neap cycle at each gauge, with η<sub>o</sub> the observed amplitude and η<sub>m</sub> the modelled one. It is a crude measure and it flatters the model at the bar, where the amplitude is large and the absolute error is not. $$ \eta_{o} $$ $$ \eta_{m} $$ None of this is an argument against using the formula, which is quick, transparent and good enough for the purposes the Partnership puts it to. It is an argument for quoting it with the reach and the tidal range attached, which the papers that quote it have not always done. ## References Sandiman, R. K. (2018). Tidal propagation in the Braithe: a first fit. Tarnbeck Institute internal report TIH/IR/09. Vale, H. and Croyde, P. (2021). The Harrowby Reach gauge, 2015 to 2020. Journal of Estuarine Hydrology 44, 218-31. Prosser, A. (2009). Friction coefficients for the Braithe channel. Braithe Harbour Board, unpublished.
Returned Markdown: six source equations and additional display blocks
Copied from Output file (Markdown), lines 1–149 · an excerpt
Open the whole Markdown file ↗- success
- true
- data › metadata
- { "scrapeId": "01a08b72-2751-7768-ab3b-f889f7cb8473", "sourceURL": "technical_note_TIH-TN-18.pdf", "url": "https://parse.firecrawl.dev/uploads/technical_note_TIH-TN-18.pdf", "statusCode": 200, "numPages": 3, "totalPages": 3, "title": "Technical note TIH-TN-18", "contentType": "application/pdf", "proxyUsed": "basic", "creditsUsed": 3, "concurrencyLimited": false }
- data › markdown
- # A one-dimensional model of tidal attenuation in the Braithe channel ## 1 Introduction The tide entering the Braithe is attenuated over the eleven kilometres between the bar and Braithe Bridge, and the attenuation is large enough to matter to anyone predicting water levels in the upper estuary. This note sets out the one-dimensional model the Institute has used since 2018, states the approximation on which the working formula rests, and compares the result with the gauge record at three stations. Nothing here is new. The intention is to have the derivation, the assumptions and the coefficients in one place, because the formula has been quoted in Partnership papers without them. ## 2 Governing equations Take the channel as a single reach of slowly varying cross-section and neglect lateral inflow. Conservation of mass gives $$ \frac{\partial A}{\partial t}+\frac{\partial Q}{\partial x}=0 $$ (1) where *A* is the cross-sectional area below the free surface and *Q* the discharge through it. Conservation of momentum, with friction represented in the Manning form, gives $$ \frac{\partial Q}{\partial t}+\frac{\partial}{\partial x}\left(\frac{Q^{2}}{A}\right)+g A\frac{\partial\eta}{\partial x}+\frac{g n^{2}Q|Q|}{A R^{4/3}}=0 $$ (2) in which *η* is the surface elevation above mean sea level, *n* is Manning's coefficient, *R* the hydraulic radius *R* = *A*/*P* for wetted perimeter *P*, and *g* the acceleration due to gravity. The friction term is the only nonlinear one that matters over the range of interest. $$ n $$ $$ R=A/P $$ $$ P, $$ ## 3 Attenuation of the leading harmonic For a channel of nearly uniform depth the leading semidiurnal harmonic decays close to exponentially with distance upstream, so that $$ \eta(x,t)=\eta_{0}e^{-\mu x}\cos{(\omega t-k x)} $$ (3) with *η₀* the amplitude at the bar, *ω* the angular frequency of the harmonic, *k* the wavenumber and *μ* the attenuation coefficient. Linearising the friction term by the Lorentz method and collecting terms gives --- $$ \mu=\frac{\omega}{c}\left(\frac{\chi}{2\left(1+\chi^2\right)}\right)^{1/2},\qquad\chi=\frac{8n^2c\eta_0}{3\pi h^{4/3}} $$ (4) where *c* is the frictionless wave speed and *h* the mean depth. The second expression is the friction parameter; it is small in the lower reach and approaches unity above Harrowby Reach, which is where the exponential form begins to fail. ## 4 Application to the Braithe Taking the mean depth as eleven metres below the bar and four metres at the bridge, with Manning's coefficient at the value fitted in 2018, the formula reproduces the observed amplitude at Vardenne Quay to within four per cent and at Harrowby Reach to within nine. At Braithe Bridge it overestimates the amplitude, and the discrepancy grows through the spring tides, which is the behaviour the friction parameter predicts. A two-reach treatment with separate depths would probably remove most of the error at the bridge. It has not been attempted here because the gauge record above Harrowby Reach is too short to fit a second coefficient with any confidence. ## 5 Coefficients Manning's coefficient is not constant with depth in a channel of this kind, and the single fitted value used above is a compromise. Fitting the 2018 record with a depth-dependent form gives $$ n(h)=n_{\infty}+\frac{b}{h^{1/3}} $$ (5) with *n*<sub>∞</sub> the deep-water value and *b* a bed constant. The fit is better in the lower reach and no better at the bridge, which suggests that the error there is not in the friction term at all. $$ n_{\infty} $$ The two constants were fitted to the 2018 record and have not been refitted since. Refitting on the four years now available would be worth doing; the Institute's expectation is that the deep-water value will move very little and the bed constant appreciably, because it is carrying the shallow reaches where the record has improved most. ## 6 Limitations Three limitations should be stated plainly. The first is the one-dimensional assumption, which fails where the channel divides above Harrowby Reach. The second is the neglect of the freshwater inflow, which is small in summer and not small after rain. The third is the linearisation itself, which is a poor approximation once the friction parameter approaches unity - that is, in exactly the reach where the model is least accurate. The error measure quoted in the previous section is --- $$ \varepsilon=\frac{\left|\eta_{o}-\eta_{m}\right|}{\eta_{o}} $$ (6) taken over the spring-neap cycle at each gauge, with η<sub>o</sub> the observed amplitude and η<sub>m</sub> the modelled one. It is a crude measure and it flatters the model at the bar, where the amplitude is large and the absolute error is not. $$ \eta_{o} $$ $$ \eta_{m} $$ None of this is an argument against using the formula, which is quick, transparent and good enough for the purposes the Partnership puts it to. It is an argument for quoting it with the reach and the tidal range attached, which the papers that quote it have not always done. ## References Sandiman, R. K. (2018). Tidal propagation in the Braithe: a first fit. Tarnbeck Institute internal report TIH/IR/09. Vale, H. and Croyde, P. (2021). The Harrowby Reach gauge, 2015 to 2020. Journal of Estuarine Hydrology 44, 218-31. Prosser, A. (2009). Friction coefficients for the Braithe channel. Braithe Harbour Board, unpublished.
Show the whole file (6 KB)
{ "success": true, "data": { "markdown": "# A one-dimensional model of tidal attenuation in the Braithe channel\n\n## 1 Introduction\n\nThe tide entering the Braithe is attenuated over the eleven kilometres between the bar and Braithe\nBridge, and the attenuation is large enough to matter to anyone predicting water levels in the upper\nestuary. This note sets out the one-dimensional model the Institute has used since 2018, states the\napproximation on which the working formula rests, and compares the result with the gauge record at\nthree stations.\n\nNothing here is new. The intention is to have the derivation, the assumptions and the coefficients in one\nplace, because the formula has been quoted in Partnership papers without them.\n\n## 2 Governing equations\n\nTake the channel as a single reach of slowly varying cross-section and neglect lateral inflow.\nConservation of mass gives\n\n$$\n\\frac{\\partial A}{\\partial t}+\\frac{\\partial Q}{\\partial x}=0\n$$\n\n(1)\n\nwhere *A* is the cross-sectional area below the free surface and *Q* the discharge through it. Conservation of\nmomentum, with friction represented in the Manning form, gives\n\n$$\n\\frac{\\partial Q}{\\partial t}+\\frac{\\partial}{\\partial x}\\left(\\frac{Q^{2}}{A}\\right)+g A\\frac{\\partial\\eta}{\\partial x}+\\frac{g n^{2}Q|Q|}{A R^{4/3}}=0\n$$\n\n(2)\n\nin which *\u03b7* is the surface elevation above mean sea level, *n* is Manning's coefficient, *R* the hydraulic\nradius *R* = *A*/*P* for wetted perimeter *P*, and *g* the acceleration due to gravity. The friction term is the only\nnonlinear one that matters over the range of interest.\n\n$$\nn\n$$\n\n$$\nR=A/P\n$$\n\n$$\nP,\n$$\n\n## 3 Attenuation of the leading harmonic\n\nFor a channel of nearly uniform depth the leading semidiurnal harmonic decays close to exponentially\nwith distance upstream, so that\n\n$$\n\\eta(x,t)=\\eta_{0}e^{-\\mu x}\\cos{(\\omega t-k x)}\n$$\n\n(3)\n\nwith *\u03b7\u2080* the amplitude at the bar, *\u03c9* the angular frequency of the harmonic, *k* the wavenumber and *\u03bc* the\nattenuation coefficient. Linearising the friction term by the Lorentz method and collecting terms gives\n\n---\n\n$$\n\\mu=\\frac{\\omega}{c}\\left(\\frac{\\chi}{2\\left(1+\\chi^2\\right)}\\right)^{1/2},\\qquad\\chi=\\frac{8n^2c\\eta_0}{3\\pi h^{4/3}}\n$$\n\n(4)\n\nwhere *c* is the frictionless wave speed and *h* the mean depth. The second expression is the friction\nparameter; it is small in the lower reach and approaches unity above Harrowby Reach, which is where\nthe exponential form begins to fail.\n\n## 4 Application to the Braithe\n\nTaking the mean depth as eleven metres below the bar and four metres at the bridge, with Manning's\ncoefficient at the value fitted in 2018, the formula reproduces the observed amplitude at Vardenne Quay\nto within four per cent and at Harrowby Reach to within nine. At Braithe Bridge it overestimates the\namplitude, and the discrepancy grows through the spring tides, which is the behaviour the friction\nparameter predicts.\n\nA two-reach treatment with separate depths would probably remove most of the error at the bridge. It has\nnot been attempted here because the gauge record above Harrowby Reach is too short to fit a second\ncoefficient with any confidence.\n\n## 5 Coefficients\n\nManning's coefficient is not constant with depth in a channel of this kind, and the single fitted value used\nabove is a compromise. Fitting the 2018 record with a depth-dependent form gives\n\n$$\nn(h)=n_{\\infty}+\\frac{b}{h^{1/3}}\n$$\n\n(5)\n\nwith *n*<sub>\u221e</sub> the deep-water value and *b* a bed constant. The fit is better in the lower reach and no better at\nthe bridge, which suggests that the error there is not in the friction term at all.\n\n$$\nn_{\\infty}\n$$\n\nThe two constants were fitted to the 2018 record and have not been refitted since. Refitting on the four\nyears now available would be worth doing; the Institute's expectation is that the deep-water value will\nmove very little and the bed constant appreciably, because it is carrying the shallow reaches where the\nrecord has improved most.\n\n## 6 Limitations\n\nThree limitations should be stated plainly. The first is the one-dimensional assumption, which fails where\nthe channel divides above Harrowby Reach. The second is the neglect of the freshwater inflow, which is\nsmall in summer and not small after rain. The third is the linearisation itself, which is a poor\napproximation once the friction parameter approaches unity - that is, in exactly the reach where the\nmodel is least accurate.\n\nThe error measure quoted in the previous section is\n\n---\n\n$$\n\\varepsilon=\\frac{\\left|\\eta_{o}-\\eta_{m}\\right|}{\\eta_{o}}\n$$\n\n(6)\n\ntaken over the spring-neap cycle at each gauge, with \u03b7<sub>o</sub> the observed amplitude and \u03b7<sub>m</sub> the modelled\none. It is a crude measure and it flatters the model at the bar, where the amplitude is large and the\nabsolute error is not.\n\n$$\n\\eta_{o}\n$$\n\n$$\n\\eta_{m}\n$$\n\nNone of this is an argument against using the formula, which is quick, transparent and good enough for\nthe purposes the Partnership puts it to. It is an argument for quoting it with the reach and the tidal range\nattached, which the papers that quote it have not always done.\n\n## References\n\nSandiman, R. K. (2018). Tidal propagation in the Braithe: a first fit. Tarnbeck Institute internal report TIH/IR/09.\nVale, H. and Croyde, P. (2021). The Harrowby Reach gauge, 2015 to 2020. Journal of Estuarine Hydrology 44,\n218-31.\nProsser, A. (2009). Friction coefficients for the Braithe channel. Braithe Harbour Board, unpublished.", "metadata": { "scrapeId": "01a08b72-2751-7768-ab3b-f889f7cb8473", "sourceURL": "technical_note_TIH-TN-18.pdf", "url": "https://parse.firecrawl.dev/uploads/technical_note_TIH-TN-18.pdf", "statusCode": 200, "numPages": 3, "totalPages": 3, "title": "Technical note TIH-TN-18", "contentType": "application/pdf", "proxyUsed": "basic", "creditsUsed": 3, "concurrencyLimited": false } } }
| ✓ | Expected: Equations should appear as math markup or an honest fallback, not garbled prose.Found: The six source display equations appeared as LaTeX, correct term by term. Inline symbols appeared as italics or subscripts. |
The result is a pass: the complete document reached the default conversion pipeline, and its six displayed equations came back as accurate LaTeX. The extra display blocks and omitted byline do not change the math-format requirement tested here.
Extra math displays. Firecrawl added six display blocks repeating inline notation, including Manning’s coefficient, hydraulic radius and wetted perimeter, followed later by n-infinity, eta-o and eta-m.
Document details omitted. The returned Markdown omitted the first-page byline, the running header and the page footers.
Configuration and setup
How this tool was set up for the run and what the test needed in place. Each row is a fact from the run's records; a fact the records do not hold is left out, not guessed.
How this scenario is graded
How we decide Pass, Fail and Not gradable. The same rules apply to every tool tested on this scenario.
Each test case gets one result per tool: Pass, Fail or Not gradable. A test case we haven't run yet shows Untested. There are no partial results.
- Pass: the tool did everything the test expected, and nothing it said contradicts the correct answer.
- Fail: at least one expected behaviour clearly didn't happen; the test case's result says which one and quotes the tool.
- Not gradable: our evidence couldn't settle the outcome (for example a record we needed is missing). It is never counted as a fail, and the test case's result says what's missing.
Where this sits in the benchmark
This page is one cell of a larger study: one tool, one scenario. Only this benchmark's frame appears here.
| Level | Name | Scope |
|---|---|---|
| Benchmark | Converting a complex PDF into clean Markdown with a hosted API → | 12 scenarios · 13 tools |
| Capability | Equations & Mathematical Notation → | |
| Scenario | A document containing mathematical equations → | |
| Tool | Firecrawl → |
Global scenario definition → · Global capability definition → · Firecrawl product page →
History of this result
What has happened to this result since it was first published. Runs and grades are never overwritten: a retest or a re-grade publishes a new result and keeps the earlier one readable.
Act on this result
Nothing filed here edits the run or the grade. A challenge opens a review, and a review can produce a new run or a re-grade — which becomes the current result and leaves this one in the history.
You run the same kind of test against your own setup and get the same behaviour.
Agree →Yours behaves differently. Tell us what you got, with a screenshot if you have one.
Disagree →Something here is wrong — a reference value, a transcription, a grade.
Report an issue →Tell us what changed and we schedule a rerun of the failing test case. The old result stays as history.
Vendor notice →The same record is available as structured data through the AI Demos MCP server, with the counts, the coverage and every per-test-case reason carried as fields.
Verify the proof files
These files support this result. Open a file to inspect the original evidence.
File fingerprints (SHA-256)
A fingerprint identifies the exact file used for this result.