Dataset Viewer
Duplicate
The dataset viewer is not available for this split.
Cannot extract the features (columns) for the split 'train' of the config 'metrics' of the dataset.
Error code:   FeaturesError
Exception:    ArrowInvalid
Message:      JSON parse error: Invalid value. in row 0
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 342, in _generate_tables
                  df = pandas_read_json(f)
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 38, in pandas_read_json
                  return pd.read_json(path_or_buf, **kwargs)
                         ~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 815, in read_json
                  return json_reader.read()
                         ~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1014, in read
                  obj = self._get_object_parser(self.data)
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1040, in _get_object_parser
                  obj = FrameParser(json, **kwargs).parse()
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1176, in parse
                  self._parse()
                  ~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/pandas/io/json/_json.py", line 1392, in _parse
                  ujson_loads(json, precise_float=self.precise_float), dtype=None
                  ~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
              ValueError: Expected object or value
              
              During handling of the above exception, another exception occurred:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/split/first_rows.py", line 244, in compute_first_rows_from_streaming_response
                  iterable_dataset = iterable_dataset._resolve_features()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 4645, in _resolve_features
                  features = _infer_features_from_batch(self.with_format(None)._head())
                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2866, in _head
                  return next(iter(self.iter(batch_size=n)))
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 3073, in iter
                  for key, pa_table in ex_iterable.iter_arrow():
                                       ~~~~~~~~~~~~~~~~~~~~~~^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 2581, in _iter_arrow
                  yield from self.ex_iterable._iter_arrow()
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 558, in _iter_arrow
                  for key, pa_table in iterator:
                                       ^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/iterable_dataset.py", line 440, in _iter_arrow
                  for key, pa_table in self.generate_tables_fn(**gen_kwags):
                                       ~~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 345, in _generate_tables
                  raise e
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 291, in _generate_tables
                  pa_table = paj.read_json(
                      io.BytesIO(batch), read_options=paj.ReadOptions(block_size=block_size)
                  )
                File "pyarrow/_json.pyx", line 364, in pyarrow._json.read_json
                File "pyarrow/error.pxi", line 155, in pyarrow.lib.pyarrow_internal_check_status
                  return check_status(status)
                File "pyarrow/error.pxi", line 92, in pyarrow.lib.check_status
                  raise convert_status(status)
              pyarrow.lib.ArrowInvalid: JSON parse error: Invalid value. in row 0

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

Receipts eval: does reading the whole Conversation help?

Receipts turns the real history between two people into a poem made only of things they actually said to each other, each line carrying proof of who said it and when. Beam reads the whole Conversation in one call (about 350k tokens for the Gallery) and chooses Snippet IDs; code looks up the verbatim text, verifies it and sorts it by date. Beam never writes any Poem text.

This dataset is the eval behind the claim that reading everything matters. It compares three groups of Poems over the same Conversation, the Gallery (Robert Browning and Elizabeth Barrett's 1845-1846 letters). Each group has 20 Poems, 60 in all. The full-Conversation group was made in two sittings: a $5 spend cap stopped the first at 18 of its 20, and the cap was raised to make the last two (see Results and Method). This is the second run of the eval: the first one used an older prompt and is compared with this one below.

  1. Beam on the full Conversation: the real product path.
  2. Beam on the last 10%: the same pipeline and prompt, but Beam is shown only the last tenth of the Messages, as if it could not read more.
  3. Random Snippets: 8 to 14 Snippets drawn uniformly at random, with no Beam call. A floor to compare against.

All metrics are computed in code from the traces. No model judges anything and no human rated any Poem.

Results

Group Poems completed Verification rate Timeline coverage Sender balance Note callbacks per Poem
Beam on the full Conversation 17 of 20 85% 54% 0.66 1.6
Beam on the last 10% 20 of 20 100% 10% 0.69 3.1
Random Snippets 20 of 20 100% 56% 0.46 0.0
  • Poems: 60 attempted, 57 completed, 3 failed after all retries.
  • Beam calls: 52, of which 15 failed (each Poem is retried at most twice).
  • Estimated spend: $5.79 (reported tokens x the router's prices of $0.40/M input and $1.20/M output; $2.14 of it is an upper-bound estimate for failed calls whose token counts never came back).
  • About $5.57 was billed by our best estimate: calls that reported no tokens are priced at the prompt size Beam reported for the same group, with the whole 60,000-token completion budget spent if the answer was truncated (a dropped connection is priced at its input only).
  • Beam on the full Conversation: 31 calls; 17 came back as a usable Poem (55%), 9 truncated (out of completion budget), 5 returned the wrong number of Lines (5 too many: 19 to 48 Lines, 0 too few). A Poem that completed used about 353k prompt tokens and 8k completion tokens (7k of them reasoning) on average, in 13 s for the final call.
  • Beam on the last 10%: 21 calls; 20 came back as a usable Poem (95%), 1 returned the wrong number of Lines (1 too many: 16 Lines, 0 too few). A Poem that completed used about 39k prompt tokens and 2k completion tokens (2k of them reasoning) on average, in 6 s for the final call.

This dataset holds all 60 planned Poems, 3 of them failed. The run was first given a hard spend cap of $5. After 18 full-Conversation Poems the next call could have taken the estimate past it, so the runner stopped there. The cap was then raised (to $6.38, the $4.89 already spent plus $1.50) and the same command resumed: the 58 finished Poems were not redone, and full-18 and full-19 were made, with the same two retries as every other Poem. full-18 completed on its second call; full-19 failed (its first call was truncated, and its two retries returned 20 and 48 Lines where 8 to 14 were allowed), so it is a failed Poem that scores 0 in the table, not a missing one. The full group has 3 failed Poems in all (full-05, full-08, full-19).

The same table over only the Poems that completed (a failed Poem scores 0 above, so it cannot be hidden):

Group Poems Verification rate Timeline coverage Sender balance Note callbacks per Poem
Beam on the full Conversation 17 100% 64% 0.77 1.9
Beam on the last 10% 20 100% 10% 0.69 3.1
Random Snippets 20 100% 56% 0.46 0.0

Reading the results

These readings are from the run published here: 17 to 20 completed Poems per group, one Beam sample each, so treat differences of a few points as noise.

  • Reading less costs coverage, by construction. Beam on the last 10% sees under a month of a twenty-month correspondence, so every one of its Poems sits in the final timeline bucket (10% coverage).
  • Reading everything does not clearly beat chance at spreading Lines across time. The 17 full-Conversation Poems that completed cover 64% of the timeline buckets, against 56% for random Snippets. The per-Poem spread is large (a standard deviation of about 16 points for the full group and 12 for random), so an 8-point gap at 17 and 20 Poems is about one and a half standard errors: suggestive, but not something this sample can tell apart from chance. With the 3 failed Poems counted as 0, the full group's coverage is 54%, below random's 56%. Part of the 8 points is length: Beam's Poems average 13.6 Lines against 11.1 for random Poems (drawn at 8 to 14), and more Lines cover more buckets on their own (a straight-line fit over the 20 random Poems puts 13.6 random Lines at about 59%). The prompt asks Beam for a Line from each quarter, and the new quarter markers did not change the outcome beyond noise (58% in the first run, 64% here, completed Poems only).
  • Beam balances the two voices; chance does not. Elizabeth's letters yield more Snippets (68% of the Gallery's 12,513), so random Poems lean to her (balance 0.46). Completed full-Conversation Poems balance at 0.77 (0.66 with the failed Poems counted as 0), last-10% Poems at 0.69.
  • Verification held. No Beam answer that completed named a Snippet that does not exist: every completed Poem carries the badge. The full group's 85% is the 3 Poems that never arrived.
  • Reading more did not produce more callbacks, and this run produced fewer than the first. Completed full-Conversation Poems cite 1.9 callbacks on average and last-10% Poems 3.1; random Poems have none by definition. The full group's average is carried by two Poems (12 and 7 callbacks, 19 of the group's 32): 9 of its 17 completed Poems cite none, against 3 of 20 in the last-10% group. Both Beam groups fell from the first run (full 4.4, last 10% 5.1, which used the older prompt). The same prompt change applies to both groups, and it asks Beam to reason in short lines of candidate IDs only; this eval did not test whether that is why. The count says nothing about how far back a callback reaches or whether it is apt.
  • The price of reading everything is reliability and money, less than before. Even at low, 9 of the 31 full-Conversation calls ran through the 60,000-token completion budget and ended truncated (the Poems that completed used 0.7k to 54k completion tokens, 8k on average), 5 more returned too many Lines, and 3 of 20 full Poems failed after three tries. Counting retries and failures, a full-Conversation Poem cost about $0.27 on the recorded prices (about $0.32 per Poem that completed), against about $0.02 for a last-10% Poem. The completed-only numbers for the full group describe the Poems that finished, which may be the easier ones.

In short: the full read is what lets Beam draw from the whole timeline, and it picks a balanced, verified set of Lines. By this eval's structural metrics it spreads Lines a little wider than random Snippets do when it completes (64% against 56%, within noise at this sample size, and partly because its Poems are longer) and a little narrower once its failed Poems count (54%). It cites fewer callbacks than a Beam that reads 10%. It fails often enough at this budget that retry handling is part of the product: 3 of 20 full Poems never arrived (4 of 20 in the first run), and 45% of the full calls failed (57% in the first run).

First run vs. second run

The eval was run twice on the same Gallery, groups and metrics. The first run was made at commit 3f68ae6 of the code repository, with the prompt as it was then; the second run is this dataset. The first run's traces are not in this dataset (they are in the code repository's git history).

What the first run found. With the quarters given as date ranges in the instructions and with "read start to end, keep a shortlist as you read" in the prompt, Beam often spent its whole 60,000-token completion budget "reading". Its reasoning turned into an in-order index of the Snippets (s3173 R "...", s3174 R "...", and so on) that was only about 40% of the way through the Conversation when the budget ran out. The quarters themselves were not the problem (they came up about ten times in 150,000 characters of reasoning). Of its 37 full-Conversation calls, 16 finished (43%): 20 were truncated and 1 lost the connection. (The project's own Space text had cited this as "17 of 37", which is 37 minus the 20 truncations and left out the dropped connection.) 16 of 20 full Poems completed, and the run was estimated at $7.79.

What changed before the second run.

  • The prompt. The quarters are marked in the Conversation itself by lines the code inserts (=== QUARTER n of 4: first date to last date ===), so Beam can see which quarter a Snippet is in without comparing dates. "Start to end" and "keep a shortlist as you read" are gone, and Beam is given a reasoning format that is cheap to finish: one short line per quarter naming 2 to 4 candidate IDs. The ask is repeated after the Conversation, where Beam reads it last.
  • A Poem-length rule. A Poem must be the size the Conversation can carry (8 to 14 Lines for the Gallery, never outside 6 to 14). Verified Lines outside that range are a retryable wrong-size error, counted as a failed call like any other, and a Poem that never comes back the right size fails. In the first run a 16-Line Poem (last10-09) got through.

The pipeline is shared, so this eval picked both changes up with no change to its own code.

First run (older prompt, no length rule) Second run (this dataset)
Full group: Poems attempted / completed 20 / 16 20 / 17
Full group: calls that finished 16 of 37 (43%) 17 of 31 (55%)
Full group: calls truncated 20 of 37 (54%) 9 of 31 (29%)
Full group: calls with the wrong number of Lines not checked 5 of 31 (19, 20, 20, 25 and 48 Lines)
Full group: other failed calls 1 dropped connection none
Full group: calls per Poem attempted 1.9 1.6
Last-10% group: calls that finished 20 of 20 20 of 21
Spend (estimated, failed calls included) $7.79 (about $7.26 best estimate) $5.79 (about $5.57 best estimate)
Metric Full, first run Full, second run Last 10%, first run Last 10%, second run Random (both runs)
Verification rate 80% 85% 100% 100% 100%
Timeline coverage 47% 54% 10% 10% 56%
Sender balance 0.65 0.66 0.62 0.69 0.46
Note callbacks per Poem 3.5 1.6 5.1 3.1 0.0
Same, completed Poems only: coverage 58% 64% 10% 10% 56%
Same, completed Poems only: callbacks 4.4 1.9 5.1 3.1 0.0

The random group is the same in both runs (same seeds, same Poems, 8 to 14 Lines each, all passing the size rule), so its identical numbers are expected and it shows the baseline did not move. Both full-group columns count 20 Poems, failed ones as 0.

Over-returning Lines. Beam sometimes names more Snippets than it was asked for. Under the new rule that is caught and retried: 6 of the 52 Beam calls in this run returned too many Lines (5 in the full group with 19, 20, 20, 25 and 48 Lines, 1 in the last-10% group with 16), none too few. Three of those Poems (full-07, full-17, last10-13) then came back the right size on the next call. The other two full Poems failed: full-08 had already been truncated twice and failed on a 25-Line answer, and full-19 was truncated once and then returned 20 and 48 Lines. The project's own test calls on the new prompt before this run (not part of this dataset) saw about 1 call in 3 over-return 16 to 18 Lines. 6 of 52 calls here (5 of 31 in the full group) is a lower rate, and with so few over-returns neither figure is precise.

Metrics

Each Poem is scored by eval/lib/metrics.ts in the code repository; a group's number is the mean over the Poems attempted (20 in every group), and a Poem that never arrived scores 0 (and is unverified).

  • Verification rate: the share of Poems carrying the "every line is real" badge, meaning every Snippet ID Beam named resolved to a real Snippet of the Conversation. Random Poems are real by construction, so their 100% only shows the baseline is sound.
  • Timeline coverage: the full Conversation's date span (10 January 1845 to 19 September 1846) is cut into 10 equal buckets; coverage is the share of buckets holding at least one Line. It is always measured against the full Conversation, so the last-10% group cannot reach past the final bucket or two. Ten buckets rather than the prompt's four quarters, so a few random Lines do not score near 100% by luck.
  • Sender balance: 1 means the Lines split evenly between Robert and Elizabeth, 0 means one Sender has every Line (twice the smaller Sender's share).
  • Note callbacks per Poem: how many callbacks to other moments the Poem's private Notes cite, as Snippet IDs. Only callbacks that point at real Snippets count (a Note that cites an unknown Snippet is dropped by verification). Random Poems have no Notes, so they score 0 by definition.

Method

  • Conversation. The Gallery: 573 letters, read from the two Project Gutenberg volumes with src/sources/gallery.ts into 12,513 Snippets (a Message of 40 words or fewer is one Snippet; longer ones are split into sentences; Snippets under 3 or over 40 words are dropped).
  • Beam. reflection/Beam-1.0-501B-A23B through the Hugging Face router (provider Baseten), streaming, strict JSON-schema output (Snippet IDs, a one-line Note, callbacks), reasoning_effort: "low", max_completion_tokens: 60000. Every Beam Poem, in both Beam groups, is made by the same makePoem function the Space uses. The prompt tells Beam to read everything, spread its picks across the timeline (at least one Line from each quarter of what it is shown, with the quarters marked in the Conversation by lines the code inserts), include both Senders and avoid private matters, and to reason in one short line of candidate IDs per quarter; the ask is repeated after the Conversation.
  • Last 10%. The last 10% of Messages (rounded up: 58 of 573, 24 August to 19 September 1846) in Conversation order. Beam gets the same instructions, with the timeline quarters computed over the part it is shown.
  • Random. Seeded (random-0 to random-19), so a rerun draws the same Poems. They go through the same verification and ordering as Beam's picks.
  • Poems. 20 per group, 60 in all (the full group's last two were made in a second sitting, after the spend cap stopped the first). The six Occasions (birthday, anniversary, thank you, sorry, missing you, farewell) cycle in the same order in every group, so Poem i has the same Occasion in all three. The Giver is Robert and the Recipient Elizabeth for every Poem.
  • Failures. A retryable Beam error (truncation, a malformed answer, a gateway or network error) is retried at most twice per Poem. The pipeline also refuses a Poem whose verified Lines are fewer or more than the Conversation allows (8 to 14 for the Gallery, 6 to 8 for a small chat; a Poem is never outside 6 to 14); that is a retryable wrong-size error too, so such a Poem is retried, and one that never comes back the right size counts as a failed Poem in its group, scoring 0 like any other. Every failed call is counted in the call tallies above, whatever its kind (truncation, wrong size, dropped connection). The random group goes through the same check, and every random Poem passed it. A Poem that still fails is kept as a failed trace and counted against its group; nothing is dropped or replaced. An error that cannot be retried (bad token, no credits) stops the run.
  • Spend. Counted from the usage Beam reports, at the router's prices of $0.40 per million input and $1.20 per million output tokens; every reported token is priced in full, so a provider-side cache, if any, would make the real bill lower. The run aborts rather than start a call that could take the estimate past a hard cap, which for the first two sittings was $5 (--cap 5) and for the last was $6.38 (--cap 6.38). The cap counts everything already spent in the traces folder, so the last sitting's $1.50 of headroom was added to the $4.89 already spent. A call whose token counts never came back (a truncated call: the adapter raises before the final usage chunk) is priced from the prompt size with the whole 60,000-token completion budget spent, so the recorded total is an upper bound; the results section gives a tighter one. The run was made in three sittings: the random and last-10% groups first (they cost $0.38 together), then the full-Conversation group, which stopped itself at $4.89 estimated, before full-18, because the next call could cost up to $0.24 and pass $5. The third sitting resumed the full group with the cap raised and made full-18 and full-19, which cost $0.91 estimated (about $0.86 by the best estimate) for 5 calls, 2 of them truncated and 2 over-returning.
  • Reproduce. npm ci && npm run eval in the code repository, with a Hugging Face token that has inference access. npm run eval -- --groups random,last10 --cap 5, then npm run eval -- --groups full --cap 5 (which stopped before full-18), then npm run eval -- --groups full --cap 6.38 made this dataset's run. All 60 Poems cost about $5.8 at this run's rates ($0.27 a full Poem, $0.02 a last-10% Poem), so a $5 cap stops short, as it did here; the default cap of $8 is enough to finish in one go. Finished traces are skipped, so an interrupted run resumes where it stopped.

Finding: only low reasoning effort completes on 500k-token inputs

Beam always reasons, and its reasoning tokens are drawn from the same max_completion_tokens budget as the answer. On the Gallery, a prompt of about 513,000 tokens, the prototype for this project measured (1 November 2026, same Conversation, same router):

reasoning_effort completion budget result
low 60,000 finished in about 70 s: 513k tokens in, 34k out (33k reasoning), about $0.25, 14 valid picks, no unknown IDs
medium 120,000 spent the entire budget reasoning for 308 s, finish_reason: length, empty content
high 32,000 truncated the same way, no content
medium (not streaming) - the gateway returned an HTML error page instead of a response

The pipeline has since dropped fragments and end matter from the Snippets, so today's Gallery prompt is smaller (12,513 Snippets, about 352k tokens); the table was measured on the larger prototype prompt and was not rerun at 352k. So only low completes on inputs of this size, and long calls must stream. That is why every Beam Poem in this dataset uses reasoning_effort: "low" with stream: true, and why the product does not offer higher efforts. Other builders report the same mechanics on smaller inputs: reasoning tokens consume the completion budget and a tight budget yields empty content with finish_reason: "length" (see iarsalanshah/beam-effort-atlas), and low stays close to higher efforts on quality while using about half the tokens (PengoSword123/beamdial-v0.1). The medium and high rows come from the prototype and were not rerun for this eval, which spent its budget on the Poems.

low is not a guarantee, though. On the current 352k-token prompt with a 60,000-token budget, the first run saw 20 of its 37 full-Conversation calls end with finish_reason: length after reasoning through the whole budget; the prompt change described above cut that to 9 of 31 in this run. The calls that completed used between 0.7k and 54k completion tokens. Truncation clustered somewhat on particular Poems: all 9 truncated calls fell on 5 of the 20 full Poems, each of which was truncated on its first call; 3 of those 5 were truncated again on the first retry (against about 3 calls in 10 overall), and 2 of the 5 completed on a later try (the other three failed after three tries). With 5 Poems that is suggestive, not established. A retry can work, but it is not reliable, so a larger completion budget is the first thing to try; the eval kept the product's setting.

Files

  • poems.jsonl (config poems): one row per Poem: group (condition: full, last10, random), Occasion, status, whether it verified, its per-Poem metrics, Beam calls, tokens, cost, time, and its lines (Snippet ID, sender, date, verbatim text, Beam's Note and callbacks).
  • metrics.csv (config metrics) and metrics.json: the table above, one row per group, with the completed-only means.
  • traces/<condition>-<NN>.json: the raw trace of each Poem: every Beam attempt with its token usage, finish reason, cost and any error, Beam's final JSON answer, and the resulting Poem. Prompts are not stored (each Beam prompt is about 2 MB of the public-domain letters; the code regenerates them exactly). In the last10 group, Snippet IDs such as s0 are relative to the part of the Conversation Beam was shown, so use message_ordinal and date to place a Line in the full Conversation.
  • No token, header or credential is stored anywhere in this dataset.

Limits

One Conversation, 20 Poems per group, and Beam samples: another run will not give identical numbers. The two runs differ in the prompt and the Poem-length rule together, so this eval cannot say which of the two changed an outcome. The metrics measure structure (real Lines, spread across time, both voices, callbacks), not whether a Poem is moving; there are no human preference ratings. The last-10% group is a deliberately blunt way to show what a model that reads less would see, not a model of any real product. No metric checks that a Note fits its Line or that what it says is in the Conversation. A spot check of three Poems from this run found Notes that add context the Line itself does not contain (a brother's loss, a private grief), which may come from other letters Beam read but was not verified; the first run and the prototype saw Notes describing something other than their Line. The Gallery is letters, not chats.

Credits

The letters are The Letters of Robert Browning and Elizabeth Barrett Barrett, 1845-1846 (Project Gutenberg ebook 16182) and its second volume (ebook 73891). Both are in the public domain in the United States; Snippets in this dataset are verbatim excerpts with Gutenberg's boilerplate, editorial notes and indexes removed. The license in the front-matter covers what this project added (the selections, Notes, traces, metrics and this card), not the letters. Poems are chosen by Beam by Reflection AI (Apache 2.0), made for the Build with Beam hackathon.

Downloads last month
68