Datasets:
id stringlengths 25 25 | text stringlengths 419 7.52k | task stringclasses 6
values | phase stringclasses 1
value | generator stringclasses 1
value | group_id stringlengths 4 8 | prompt_chars int64 238 5.95k | n_tokens int64 119 2.14k | text_sha256 stringlengths 64 64 | meta stringlengths 181 876 |
|---|---|---|---|---|---|---|---|---|---|
web_html-ac6a5c607bdc6c86 | Select `article.notice strong` in the following page and say how many elements it matches.
Passage:
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><title>Parks and Recreation Commission - Sidewalk Repair Assessment</title></head><body><nav id=main-nav><ul><li><a href=/records/>Public Records</a></li><li><a hre... | extract | stable | deterministic | wh|11615 | 1,211 | 404 | a267b758227e2c6420464f1cb038075fdd383d1ffbd08d20d3f1490db1e602d3 | {"answer_form": "sentence", "frame_id": "ex:3:count", "gold": {"ids": [17], "mode": "count", "selector": "article.notice strong", "value": 1}, "marker": "wrap:3", "presentation": "plain", "source": "generated", "stratum": "extract:count", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit": false, "order"... |
web_html-c89d889e4659f019 | Using the CSS selector `#fees tbody td:nth-child(1)`, return the text content of each matched element (whitespace collapsed), one per line, in document order.
Text:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Office of Administrative Hearings - Noise Ordinance Revision</title>
</h... | extract | stable | deterministic | wh|15786 | 1,589 | 559 | 7bfae5df3b46f52452ec71649f6738a383ee8799c466b664bf1995b0c680825d | {"answer_form": "list", "frame_id": "ex:0:text", "gold": {"ids": [21, 25, 29, 33, 37], "mode": "text", "selector": "#fees tbody td:nth-child(1)", "value": ["Fee schedule", "Application form", "Environmental checklist", "Staff report", "Site plan"]}, "marker": "wrap:2", "presentation": "plain", "source": "generated", "s... |
web_html-a17ea781fefe1fc9 | Using the CSS selector `#effective-date > p:first-of-type`, return the text content of the matched element, with whitespace collapsed.
---
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Office of Small Business Programs - Stormwater Fee Schedule</title>
</head>
<body>
<article id="not... | extract | stable | deterministic | wh|12226 | 1,328 | 360 | acc72db0f52fa830ebe1debafa0857908146124205672f45c7378ec2bac709ef | {"answer_form": "bare", "frame_id": "ex:0:text", "gold": {"ids": [5], "mode": "text", "selector": "#effective-date > p:first-of-type", "value": ["Late submissions will not be considered. The Office of Small Business Programs has adopted the stormwater fee schedule."]}, "marker": "wrap:1", "presentation": "plain", "sour... |
web_html-61c912500fd90e23 | Give one CSS selector that selects the first paragraph directly inside the section with id "eligibility" in the document below.
Passage:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Transportation Planning Board - Food Vendor Permit Rules</title>
</head>
<body>
<article clas... | selector | stable | deterministic | wh|569 | 1,505 | 440 | fd3b302ee5d2f1194aee8e500768e7f597ab03d8f6fb9581fcf6f250d5a83093 | {"answer_form": "bare", "frame_id": "sel:1:pseudo", "gold": {"ids": [15], "kind": "pseudo", "selector": "#eligibility > p:first-of-type"}, "marker": "wrap:3", "presentation": "plain", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "... |
web_html-5c4eaafa2bcb7732 | <|start|><|user|>
Construct a CSS selector that targets the form whose id is "comment-form".
---
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Records Management Division - Public Pool Fee Schedule</title></head><body><h1>Comment Form</h1><p>A decision is expected within 45 days after the close of ... | selector | stable | deterministic | wh|927 | 1,189 | 351 | 05d03d09f43a414e522a9b2fd10e8bc0c4b015996792ef2eb74d35749e588352 | {"answer_form": "sentence", "frame_id": "sel:6:id", "gold": {"ids": [3], "kind": "id", "selector": "#comment-form"}, "marker": "wrap:1", "presentation": "chat", "source": "generated", "stratum": "selector:id", "style": {"boolean": "empty", "doctype": true, "indent": 0, "omit": false, "order": "reverse", "pretty": false... |
web_html-de53de43336648f1 | Select `#main-nav a` in the following page and say how many elements it matches.
---
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Housing Assistance Office - Recycling Collection Schedule</title>
</head>
<body>
<nav id="main-nav">
<ul>
<li><a href="/records/">Public Records</a></li>
<li>... | extract | stable | deterministic | wh|4430 | 1,284 | 431 | 04e7a780f983207e5ffe1a49e7e4056863df13a79786b6cb10e1ddda2fd8c30e | {"answer_form": "sentence", "frame_id": "ex:3:count", "gold": {"ids": [3, 5, 7], "mode": "count", "selector": "#main-nav a", "value": 3}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "extract:count", "style": {"boolean": "min", "doctype": false, "indent": 1, "omit": false, "order": "gi... |
web_html-f786edcc63011589 | <|start|><|user|>
Rewrite the following HTML document body as Markdown, preserving its structure (headings, lists, tables, links, bold/italic).
Passage:
<!doctype html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Notice</title>
</head>
<body>
<h1>Notice on the Short-Term Rental Licensing</h1>
... | html2md | stable | deterministic | wh|23259 | 856 | 394 | dd85f6030268d198d072529c8ec52e5cd6e6d774d4284bd43dd0c97048ea1945 | {"answer_form": "structured", "frame_id": "h2m:1", "gold": {"n_blocks": 6}, "marker": "wrap:3", "presentation": "chat", "source": "generated", "stratum": "html2md:1", "style": {"boolean": "empty", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "auto", "upper_doctype": false, "vo... |
web_html-75b7230fc4b1f50a | Produce the Markdown equivalent of the HTML below: same headings, paragraphs, lists, links, emphasis and tables.
---
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset="utf-8"/>
<title>Notice</title>
</head>
<body>
<h1>Notice on the Noise Ordinance Revision</h1>
<p>Resident... | html2md | stable | deterministic | wh|17920 | 671 | 249 | 14b780bd318e8a7764304a062e889fd1d072c73ed9dd154b11bcc1758220977f | {"answer_form": "structured", "frame_id": "h2m:3", "gold": {"n_blocks": 4}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "html2md:3", "style": {"boolean": "min", "doctype": true, "indent": 4, "omit": true, "order": "reverse", "pretty": true, "quote": "auto", "upper_doctype": true, "voi... |
web_html-6d1cd633db5d44f2 | Apply the following edit and give back the full HTML, otherwise unchanged.
Edit: Make the field named "parcel" optional by removing its required attribute.
Text:
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Department of Public Records - Sidewalk Repair Assessment</title>
</head>
<body... | edit | stable | deterministic | wh|23562 | 1,866 | 1,157 | 4260f11a5688eabf96b005c90f969e61de8cdeffa81b3ff8515f8064176ccc32 | {"answer_form": "structured", "frame_id": "edit:2:toggle_required", "gold": {"op": "toggle_required"}, "marker": "wrap:2", "presentation": "plain", "source": "generated", "stratum": "edit:toggle_required", "style": {"boolean": "name", "doctype": true, "indent": 1, "omit": false, "order": "reverse", "pretty": true, "quo... |
web_html-89a05a4121bfb3a8 | <|start|><|system|>
You are a helpful assistant.<|eot|>
<|user|>
Find the error in this HTML document, if any (unclosed / misnested elements, stray end tag, duplicate id, missing alt on an image, unquoted attribute value with a space). Give the line number. (Line 1 is the first line of the document.)
---
<!DOCTYPE htm... | validate | stable | deterministic | wh|8449 | 2,293 | 598 | 267a01dbe6bdc2cae5351fc3c459c1863ba15a71e06890707682ab215ca138f9 | {"answer_form": "sentence", "frame_id": "val:3:stray", "gold": {"error": "stray", "line": 30}, "marker": "wrap:1", "presentation": "chat", "source": "generated", "stratum": "validate:stray", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": true, "order": "reverse", "pretty": true, "quote": "\"", "uppe... |
web_html-eda5eb847373a4b4 | Q: Does this HTML have a problem? Consider only: unclosed or misnested tags, stray closing tags, duplicate ids, images lacking alt text, and unquoted attribute values containing spaces. Answer with the problem and line number, or say no problem was found. Line numbers are shown at the left.
---
1 <!DOCTYPE html>
... | validate | stable | deterministic | wh|24795 | 2,069 | 765 | 7a003a2b28a0b222c5aef13ecb6aec976b2fbff51ce687582cae9a4317034180 | {"answer_form": "sentence", "frame_id": "val:5:stray", "gold": {"error": "stray", "line": 17}, "marker": "wrap:1|Q:", "presentation": "qa", "source": "generated", "stratum": "validate:stray", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "\"", "upper... |
web_html-8fc4af1e3d8121a3 | Request: Find the elements matched by `#fees tbody tr:last-child td:first-child` and return the text content of the matched element, with whitespace collapsed.
---
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Office of Regional Planning - Parking Permit Program</title></head><body><h1>Office of Re... | extract | stable | deterministic | wh|16381 | 1,159 | 440 | 5f1b51f17745724ca2eb51d3e1c31bbb47edd92ef63c45719e2dc0ee090f55bc | {"answer_form": "sentence", "frame_id": "ex:6:text", "gold": {"ids": [32], "mode": "text", "selector": "#fees tbody tr:last-child td:first-child", "value": ["Staff report"]}, "marker": "wrap:1|Request:", "presentation": "qa", "source": "generated", "stratum": "extract:text", "style": {"boolean": "min", "doctype": true,... |
web_html-39db5e559cee37c7 | Query: Given the selector `#permits tbody tr:last-child td:first-child`, return the text content of the matched element, with whitespace collapsed.
---
<!doctype html><html lang="en"><head><meta charset="utf-8"><title>Office of Water Resources - Stormwater Fee Schedule</title></head><body><h1>Office of Water Resources... | extract | stable | deterministic | wh|2090 | 979 | 327 | df8281eb53278ee98752dd91566109d34776d0d41e800608ab1ea83be80932c8 | {"answer_form": "bare", "frame_id": "ex:5:text", "gold": {"ids": [24], "mode": "text", "selector": "#permits tbody tr:last-child td:first-child", "value": ["September"]}, "marker": "wrap:1|Query:", "presentation": "qa", "source": "generated", "stratum": "extract:text", "style": {"boolean": "empty", "doctype": true, "in... |
web_html-00ba97a605385c4a | Write a CSS selector that matches exactly the form whose id is "comment-form", and nothing else.
Excerpt:
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Environmental Review Office - Floodplain Map Update</title>
</head>
<body>
<nav id='main-nav'>
... | selector | stable | deterministic | wh|12757 | 2,310 | 702 | f19a2086363c75a67a1f412baeb607ee3794b64a7fada84f7d08b3c5e616d5fe | {"answer_form": "bare", "frame_id": "sel:0:id", "gold": {"ids": [12], "kind": "id", "selector": "#comment-form"}, "marker": "wrap:5", "presentation": "plain", "source": "generated", "stratum": "selector:id", "style": {"boolean": "name", "doctype": true, "indent": 4, "omit": false, "order": "given", "pretty": true, "quo... |
web_html-a5cbfba278fdc69b | [Task]
Write a selector (CSS, no JavaScript) for the first cell of the last body row.
"""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Parks and Recreation Commission - Bicycle Lane Expansion</title>
</head>
<body>
<h1>Parks and Recreation Commission</h1>
<p>The Parks and... | selector | stable | deterministic | wh|673 | 1,018 | 333 | 4519fd2deecab53f77559291730b6803006e645d8f6a2fc59612085b37cf31ab | {"answer_form": "bare", "frame_id": "sel:3:pseudo", "gold": {"ids": [25], "kind": "pseudo", "selector": "#permits tbody tr:last-child td:first-child"}, "marker": "wrap:0|[Task]", "presentation": "qa", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": ... |
web_html-9bf60b8ebad2f19d | Query: Using the CSS selector `#comment-form label[for="start-date"]`, give the value of its `for` attribute.
"""
<!DOCTYPE html><html lang=en><head><meta charset=utf-8><title>Office of Administrative Hearings - Bicycle Lane Expansion</title></head><body><nav id=main-nav><ul><li><a href=https://www.example.org/hearing... | extract | stable | deterministic | wh|10265 | 2,498 | 728 | e93223c9bd02ab6fcdbd086d979753b5aa5f5686f5ff03f4d5e04f9ec35c13fd | {"answer_form": "sentence", "frame_id": "ex:0:attr", "gold": {"ids": [42], "mode": "attr", "selector": "#comment-form label[for=\"start-date\"]", "value": ["start-date"]}, "marker": "wrap:0|Query:", "presentation": "qa", "source": "generated", "stratum": "extract:attr", "style": {"boolean": "name", "doctype": true, "in... |
web_html-b007a3f9f6ae9334 | Run the CSS selector `ul.requirements > li` against this document. Say how many elements it matches.
<text>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<title>Office of Code Enforcement - Stormwater Fee Schedule</title>
</head>
<body>
<article id="notice">
<h1>Notice of Proposed Stormwa... | extract | stable | deterministic | wh|19424 | 1,515 | 410 | 01945c0f237038420ad73dd3b32b32909e9c284e2c5cfd73ccc32820e5c4b35c | {"answer_form": "sentence", "frame_id": "ex:2:count", "gold": {"ids": [13, 14], "mode": "count", "selector": "ul.requirements > li", "value": 2}, "marker": "wrap:4", "presentation": "plain", "source": "generated", "stratum": "extract:count", "style": {"boolean": "min", "doctype": true, "indent": 1, "omit": false, "orde... |
web_html-1d7cc3b9cfc991e0 | Provide a CSS selector matching the input named "full_name" in the form and no other element.
```
<!DOCTYPE html><html lang='en'><head><meta charset='utf-8'><title>Parks and Recreation Commission - Food Vendor Permit Rules</title></head><body><h1>Contact Form</h1><p>Questions may be directed to the Parks and Recreatio... | selector | stable | deterministic | wh|20175 | 1,427 | 474 | 76eb661de164f0179a368b9a5e62a3060726e8ec8e931adda61955a272878c59 | {"answer_form": "bare", "frame_id": "sel:4:attr", "gold": {"ids": [4], "kind": "attr", "selector": "#comment-form input[name=\"full_name\"]"}, "marker": "wrap:6", "presentation": "plain", "source": "generated", "stratum": "selector:attr", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit": true, "order":... |
web_html-cca2a786b8aa916c | <|start|><|user|>
Which CSS selector picks out the first paragraph directly inside the section with id "required-documents"? It must match nothing else.
<text>
<!doctype html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Parks and Recreation Commission - Noise Ordinance Revision</title>
</head>
<body>
... | selector | stable | deterministic | wh|22910 | 1,335 | 391 | 3eca8305008b91a4c0dca4d6f8558643bb6889311577d2b9d7b455fc9a2da519 | {"answer_form": "sentence", "frame_id": "sel:2:pseudo", "gold": {"ids": [14], "kind": "pseudo", "selector": "#required-documents > p:first-of-type"}, "marker": "wrap:4", "presentation": "chat", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "min", "doctype": true, "indent": 1, "omit": false, ... |
web_html-f75a1111b6be8258 | Instruction: Find the error in this HTML document, if any (unclosed / misnested elements, stray end tag, duplicate id, missing alt on an image, unquoted attribute value with a space). Give the line number. (Line 1 is the first line of the document.)
Excerpt:
<!DOCTYPE html>
<html lang="en">
<head>
<meta ch... | validate | stable | deterministic | wh|5826 | 1,602 | 396 | f5f07f68c595b236f088e8d2cefb2c4ced8f1db6a894fcf6640eaf9144c79fc5 | {"answer_form": "sentence", "frame_id": "val:3:control", "gold": {"error": null}, "marker": "wrap:5|Instruction:", "presentation": "qa", "source": "generated", "stratum": "validate:control", "style": {"boolean": "min", "doctype": true, "indent": 1, "omit": false, "order": "reverse", "pretty": true, "quote": "\"", "uppe... |
web_html-a9276bd8438bd67e | Select `#notice strong` in the following page and return the text content of the matched element, with whitespace collapsed.
---
<!DOCTYPE html><html lang='en'><head><meta charset='utf-8'><title>Environmental Review Office - Sign Permit Standards</title></head><body><nav id='main-nav'><ul><li><a href='https://www.exam... | extract | stable | deterministic | wh|8111 | 1,588 | 492 | b12adc7a92a0698187f3c95ec63faefdab8b371d38b524b31765bd368bc3dd18 | {"answer_form": "bare", "frame_id": "ex:3:text", "gold": {"ids": [16], "mode": "text", "selector": "#notice strong", "value": ["sign permit standards"]}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "extract:text", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false... |
web_html-47224772c1571445 | Task: Edit the document as described below. Output the whole document after the edit, formatted like the original.
Edit: Make the field named "start_date" required.
"""
<html lang=en>
<head>
<meta charset="utf-8"/>
<title>Housing Assistance Office - Floodplain Map Update</title>
</head>
<body>
<nav ... | edit | stable | deterministic | wh|18819 | 2,629 | 1,413 | f066c412e605a9ee21232288efeb49fe47b794f790154978b49a962281926f72 | {"answer_form": "structured", "frame_id": "edit:1:toggle_required", "gold": {"op": "toggle_required"}, "marker": "wrap:0|Task:", "presentation": "qa", "source": "generated", "stratum": "edit:toggle_required", "style": {"boolean": "min", "doctype": false, "indent": 2, "omit": false, "order": "given", "pretty": true, "qu... |
web_html-8c20525f0d0a6ef2 | Apply the following edit and give back the full HTML, otherwise unchanged.
Edit: Change the link "Events" so that it points to /about/archive instead of /calendar/.
Text:
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'/>
<title>Office of Water Resources - Zoning Amendment</title>
</head>
<... | edit | stable | deterministic | wh|5123 | 2,185 | 1,192 | d7a982d94c9c5ccaa837440610a3c11ddec78b52f62459db4284d1e9567855ff | {"answer_form": "structured", "frame_id": "edit:2:set_href", "gold": {"op": "set_href"}, "marker": "wrap:2", "presentation": "plain", "source": "generated", "stratum": "edit:set_href", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "'", "upper_doctype... |
web_html-adfef310cd42241b | Q: Given the selector `#summary > p:first-of-type`, say how many elements it matches.
<text>
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset="utf-8"/>
<title>Office of Permits and Licensing - Public Records Retention Policy</title>
</head>
<body>
<article id=notice>
<h1>Notice of Public Hea... | extract | stable | deterministic | wh|12711 | 2,071 | 498 | edc519cf2fef48bc11218f0fd259b216ec5e28ce166564de7be788acc3952c2b | {"answer_form": "bare", "frame_id": "ex:5:count", "gold": {"ids": [20], "mode": "count", "selector": "#summary > p:first-of-type", "value": 1}, "marker": "wrap:4|Q:", "presentation": "qa", "source": "generated", "stratum": "extract:count", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": true, "order"... |
web_html-7a9793256d1aadd9 | <|start|><|user|>
Change the HTML as requested. Return the entire updated document in the same style.
Edit: Add scope="col" to every header cell (<th>) of the table with id "hearings".
"""
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>Office of Code Enforcement - Recyclin... | edit | stable | deterministic | wh|16772 | 1,865 | 993 | 4da7bbaf082919632433dc204c5704c74f6f446f75567aa29665bb52ded5673e | {"answer_form": "structured", "frame_id": "edit:3:th_scope", "gold": {"op": "th_scope"}, "marker": "wrap:0", "presentation": "chat", "source": "generated", "stratum": "edit:th_scope", "style": {"boolean": "name", "doctype": true, "indent": 4, "omit": false, "order": "sorted", "pretty": true, "quote": "'", "upper_doctyp... |
web_html-2fe7442c6c136391 | Query: Construct a CSS selector that targets every link inside the navigation block.
<text>
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8' />
<title>Office of Code Enforcement - Floodplain Map Update</title>
</head>
<body>
<nav id='main-nav'>
<ul>
... | selector | stable | deterministic | wh|3142 | 1,375 | 466 | a35a9390ecf46bf7175ffe4700b07234da773c1117d370adb91cc3b1f77b37dd | {"answer_form": "sentence", "frame_id": "sel:6:group", "gold": {"ids": [3, 5, 7, 9, 11], "kind": "group", "selector": "#main-nav a"}, "marker": "wrap:4|Query:", "presentation": "qa", "source": "generated", "stratum": "selector:group", "style": {"boolean": "min", "doctype": true, "indent": 4, "omit": false, "order": "so... |
web_html-d740e52d65fd35d4 | ### Task
Give me this HTML as clean Markdown with the structure intact.
---
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8>
<title>Notice</title>
</head>
<body>
<h1>Notice on the Bicycle Lane Expansion</h1>
<p>The current fee of $50.00 will remain in effect until <em>July 28, 2020</em>... | html2md | stable | deterministic | wh|15217 | 618 | 281 | d397568c8421583d2ed7809003396f7672d325adf4ff52f317db99ce4b439559 | {"answer_form": "structured", "frame_id": "h2m:6", "gold": {"n_blocks": 4}, "marker": "wrap:1|### Task", "presentation": "qa", "source": "generated", "stratum": "html2md:6", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "auto", "upper_doctype": true,... |
web_html-1e037897a1c3c25a | <|start|><|user|>
Review the HTML below. At most one of these errors is present: unclosed element, misnested tags, end tag with no matching start tag, duplicate id, image without alt, unquoted value containing a space. What is wrong, and on which line? Line numbers are shown at the left.
---
1 <!DOCTYPE html>
2 ... | validate | stable | deterministic | wh|23524 | 1,402 | 473 | 7d5e4a17bff4683e6a539a41fb71bab040fb19631c243b83f1c4f51505abb42c | {"answer_form": "sentence", "frame_id": "val:2:stray", "gold": {"error": "stray", "line": 33}, "marker": "wrap:1", "presentation": "chat", "source": "generated", "stratum": "validate:stray", "style": {"boolean": "empty", "doctype": false, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "\"", "upp... |
web_html-4dc18ead73448230 | Review the HTML below. At most one of these errors is present: unclosed element, misnested tags, end tag with no matching start tag, duplicate id, image without alt, unquoted value containing a space. What is wrong, and on which line? Line numbers are shown at the left.
---
1 <!DOCTYPE html>
2 <html lang="en">
... | validate | stable | deterministic | wh|2805 | 2,968 | 719 | e98b85cdcc18dcf5d9fbca0d4884caeeeb284dd35e785eb7d4dda66050d2f702 | {"answer_form": "sentence", "frame_id": "val:2:unclosed", "gold": {"error": "unclosed", "line": 24, "tag": "a"}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "validate:unclosed", "style": {"boolean": "min", "doctype": true, "indent": 4, "omit": true, "order": "sorted", "pretty": true, ... |
web_html-16128c1d48c1df48 | ### Task
Which CSS selector picks out the heading of the section "summary"? It must match nothing else.
```
<!DOCTYPE html><html lang='en'><head><meta charset='utf-8'/><title>Office of Permits and Licensing - Parking Permit Program</title></head><body><nav class='site-nav'><ul><li><a href='/news/'>News</a></li><li><a ... | selector | stable | deterministic | wh|17944 | 1,528 | 501 | 547bafce7658ca26037247bfeaa3d7b961ce0abd7fecd36c49155081e732eaf1 | {"answer_form": "bare", "frame_id": "sel:2:id", "gold": {"ids": [22], "kind": "id", "selector": "#summary h2"}, "marker": "wrap:6|### Task", "presentation": "qa", "source": "generated", "stratum": "selector:id", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "given", "pretty": false, ... |
web_html-f4ef0226d3c39a5f | <|start|><|user|>
Turn this HTML into GitHub-flavored Markdown with the same structure. Attributes other than link targets can be dropped.
Passage:
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Notice</title>
</head>
<body>
<h1>Notice on the Public Records Retention Policy</h1... | html2md | stable | deterministic | wh|18119 | 1,241 | 551 | db6cf7eff9647e682245efff10427981e57539a9619dab2b879e3d88bab93ee4 | {"answer_form": "structured", "frame_id": "h2m:2", "gold": {"n_blocks": 7}, "marker": "wrap:3", "presentation": "chat", "source": "generated", "stratum": "html2md:2", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "'", "upper_doctype": true, "void": "... |
web_html-dcaeddb7e0a05420 | Query: Find the elements matched by `#background h2` and return the text content of the matched element, with whitespace collapsed.
"""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Office of Water Resources - Short-Term Rental Licensing</title>
</head>
<body>
<article class... | extract | stable | deterministic | wh|11025 | 1,410 | 394 | 0b1482dfc68fb9ef200a591a680c991e5b3952fc6b038ac1ed1087e3e3a3b725 | {"answer_form": "bare", "frame_id": "ex:6:text", "gold": {"ids": [8], "mode": "text", "selector": "#background h2", "value": ["Background"]}, "marker": "wrap:0|Query:", "presentation": "qa", "source": "generated", "stratum": "extract:text", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order... |
web_html-581894d59d30475c | Validate this page against these checks: every element closed and properly nested, no stray end tags, ids unique, every <img> has alt, attribute values with spaces are quoted. Report the one failure and its line, or confirm it passes. (Line 1 is the first line of the document.)
Excerpt:
<!DOCTYPE html>
<html lang="en"... | validate | stable | deterministic | wh|21994 | 3,291 | 955 | 879e9ae8909b5480a82e128c389f220d8fbd17d5b0a92b42ec1f0827b354f584 | {"answer_form": "sentence", "frame_id": "val:4:unclosed", "gold": {"error": "unclosed", "line": 11, "tag": "a"}, "marker": "wrap:5", "presentation": "plain", "source": "generated", "stratum": "validate:unclosed", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "given", "pretty": false,... |
web_html-e2124f5c81eb0f87 | Turn this Markdown into HTML, one block element per line.
"""
# Notice on the Community Grant Program
Copies of the environmental checklist are available at the Office of Permits and Licensing during regular business hours. The Office of Permits and Licensing will hold a public hearing on the community grant program.... | md2html | stable | deterministic | wh|10120 | 1,179 | 585 | 23f586ea73dd187bf9dfa73fa36c69415569e3978c3beff391d6ee4ed2f51446 | {"answer_form": "structured", "frame_id": "m2h:5", "gold": {"n_blocks": 9}, "marker": "wrap:0", "presentation": "plain", "source": "generated", "stratum": "md2html:5", "style": null} |
web_html-dd78cb4f0148c7f4 | Run the CSS selector `nav.site-nav a` against this document. Return the text content of each matched element (whitespace collapsed), one per line, in document order.
"""
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Office of Regional Planning - Floodplain Map Update</title></head><body><nav class=... | extract | stable | deterministic | wh|25364 | 1,830 | 572 | f59e64caa8dcbd3fe2538ab43ba88f30f124ab315c17a16f3992af6eb67e084f | {"answer_form": "list", "frame_id": "ex:2:text", "gold": {"ids": [3, 5, 7, 9], "mode": "text", "selector": "nav.site-nav a", "value": ["News", "Events", "Online Services", "Public Notices"]}, "marker": "wrap:0", "presentation": "plain", "source": "generated", "stratum": "extract:text", "style": {"boolean": "name", "doc... |
web_html-77036ea99269da25 | <|start|><|user|>
Render the following Markdown as HTML elements: headings, paragraphs, lists, tables, links and emphasis. Give just the body content.
"""
# Notice on the Community Grant Program
Comments must be received by July 28, 2020. Applicants must submit the application form together with proof of residence in... | md2html | stable | deterministic | wh|5039 | 1,421 | 953 | 7a14678d1538b5c604592745af9f29b74c9c5b409d93ac063c4e1154a0836eb9 | {"answer_form": "structured", "frame_id": "m2h:1", "gold": {"n_blocks": 11}, "marker": "wrap:0", "presentation": "chat", "source": "generated", "stratum": "md2html:1", "style": null} |
web_html-86a7d104efd35783 | <|start|><|user|>
Convert this Markdown to HTML. Output only the HTML for the content (no <html>, <head> or <body>).
---
# Notice on the Recycling Collection Schedule
The *recycling collection schedule* applies to all properties within Stonebridge. The hearing will take place on January 11, 2025 at 2:00 p.m. in Heari... | md2html | stable | deterministic | wh|22986 | 572 | 268 | ee7d4c05af4799af76ba009f7ccb138cec55af15c76a4764e5b46301eea57462 | {"answer_form": "structured", "frame_id": "m2h:0", "gold": {"n_blocks": 4}, "marker": "wrap:1", "presentation": "chat", "source": "generated", "stratum": "md2html:0", "style": null} |
web_html-e54daa64007343d3 | <|start|><|user|>
Render the following Markdown as HTML elements: headings, paragraphs, lists, tables, links and emphasis. Give just the body content.
```
# Notice on the Noise Ordinance Revision
The Office of Administrative Hearings will consider the noise ordinance revision. Use form `E-57`.
## Appeals
The noise ... | md2html | stable | deterministic | wh|17130 | 1,019 | 405 | 8d7cbb589732b00f8f96ecc469241ec84c6d083ecf6b51bbe62d9b4b27ab3c1d | {"answer_form": "structured", "frame_id": "m2h:1", "gold": {"n_blocks": 7}, "marker": "wrap:6", "presentation": "chat", "source": "generated", "stratum": "md2html:1", "style": null} |
web_html-b8f3fb034ee2cb6f | <|start|><|user|>
Edit the document as described below. Output the whole document after the edit, formatted like the original.
Edit: Change the link "Public Notices" so that it points to /contact/current instead of /notices/.
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/>
<tit... | edit | stable | deterministic | wh|12916 | 1,578 | 807 | feaff1e8563d312c22db025f8e2860cb2e3ad11e2c9170b3854d703c5ca232ff | {"answer_form": "structured", "frame_id": "edit:1:set_href", "gold": {"op": "set_href"}, "marker": "wrap:6", "presentation": "chat", "source": "generated", "stratum": "edit:set_href", "style": {"boolean": "empty", "doctype": true, "indent": 4, "omit": true, "order": "reverse", "pretty": true, "quote": "\"", "upper_doct... |
web_html-84431def7bc7f250 | <|start|><|system|>
You are a precise assistant for text and documents.<|eot|>
<|user|>
Review the HTML below. At most one of these errors is present: unclosed element, misnested tags, end tag with no matching start tag, duplicate id, image without alt, unquoted value containing a space. What is wrong, and on which lin... | validate | stable | deterministic | wh|2606 | 4,197 | 1,118 | 9df8087c011b09d8e4c49341058f37642389f27588b497f7aaeaf95056cda521 | {"answer_form": "sentence", "frame_id": "val:2:dup_id", "gold": {"error": "dup_id", "first": 21, "line": 50}, "marker": "wrap:0", "presentation": "chat", "source": "generated", "stratum": "validate:dup_id", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quot... |
web_html-9583bf1346922329 | Request: Give one CSS selector that selects the table whose id is "fees" in the document below.
<text>
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Office of Regional Planning - Stormwater Fee Schedule</title>
</head>
<body>
<nav id="main-nav">
<ul>
<li><a href=... | selector | stable | deterministic | wh|3444 | 1,969 | 596 | bf65e4bb7e7006444f65e3ad00f4bd00ebfe4d1c4d1d32517717c8ba58547c2b | {"answer_form": "bare", "frame_id": "sel:1:id", "gold": {"ids": [15], "kind": "id", "selector": "#fees"}, "marker": "wrap:4|Request:", "presentation": "qa", "source": "generated", "stratum": "selector:id", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": false, "order": "sorted", "pretty": true, "quot... |
web_html-59ba574a02a85d74 | Does this HTML have a problem? Consider only: unclosed or misnested tags, stray closing tags, duplicate ids, images lacking alt text, and unquoted attribute values containing spaces. Answer with the problem and line number, or say no problem was found. (Line 1 is the first line of the document.)
---
<!DOCTYPE html>
<h... | validate | stable | deterministic | wh|24340 | 1,380 | 375 | ab289cca61a3e965c93f3721be0902d4bcff9a197d68cccd3300a8ea9ccccd06 | {"answer_form": "sentence", "frame_id": "val:5:stray", "gold": {"error": "stray", "line": 13}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "validate:stray", "style": {"boolean": "empty", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "\"", "upp... |
web_html-61a56fdfdd21ddfe | Task: Apply the following edit and give back the full HTML, otherwise unchanged.
Edit: Make the field named "email" required.
Text:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Office of Water Resources - Zoning Amendment</title></head><body><nav id="main-nav"><ul><li><a href="/reports/">Annual R... | edit | stable | deterministic | wh|22073 | 2,030 | 1,125 | 45cde2121f35142f8dc2492eef3298578cb4cd344a6b26517e59b04c4960af99 | {"answer_form": "structured", "frame_id": "edit:2:toggle_required", "gold": {"op": "toggle_required"}, "marker": "wrap:2|Task:", "presentation": "qa", "source": "generated", "stratum": "edit:toggle_required", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit": true, "order": "reverse", "pretty": false, "... |
web_html-e0df03fffd1f5837 | <|start|><|user|>
Review the HTML below. At most one of these errors is present: unclosed element, misnested tags, end tag with no matching start tag, duplicate id, image without alt, unquoted value containing a space. What is wrong, and on which line? Line numbers are shown at the left.
---
1 <!DOCTYPE html>
2 ... | validate | stable | deterministic | wh|3138 | 2,036 | 753 | deefd46e2326c8869204e26ead9ce7747567118617c3a6d61a7cace375e90408 | {"answer_form": "sentence", "frame_id": "val:2:unclosed", "gold": {"error": "unclosed", "line": 12, "tag": "a"}, "marker": "wrap:1", "presentation": "chat", "source": "generated", "stratum": "validate:unclosed", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "given", "pretty": false, ... |
web_html-f6ffe2d8352d23a4 | Construct a CSS selector that targets the first cell of the last body row.
Text:
<!DOCTYPE html><html lang='en'><head><meta charset='utf-8'><title>Office of Small Business Programs - Sign Permit Standards</title></head><body><nav id='main-nav'><ul><li><a href='https://www.example.org/contact'>Contact Us</a><li><a href... | selector | stable | deterministic | wh|7326 | 1,085 | 456 | 325da1232de7912aa08e0f9504a1923afc4b26e1b71456e50d6aec496dab9156 | {"answer_form": "sentence", "frame_id": "sel:6:pseudo", "gold": {"ids": [37], "kind": "pseudo", "selector": "#hearings tbody tr:last-child td:first-child"}, "marker": "wrap:2", "presentation": "plain", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit"... |
web_html-88075c96c7b1a071 | <|start|><|user|>
Express the content of this page in Markdown, keeping every structural element.
Passage:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Notice</title>
</head>
<body>
<h1>Notice on the Stormwater Fee Schedule</h1>
<p>The Parks and Recreation Commission wi... | html2md | stable | deterministic | wh|20154 | 1,631 | 742 | 0e1a3a3b40c64b8c25a41eb98e9fd927b98dcddf3340c93c35329713d44cdf74 | {"answer_form": "structured", "frame_id": "h2m:4", "gold": {"n_blocks": 8}, "marker": "wrap:3", "presentation": "chat", "source": "generated", "stratum": "html2md:4", "style": {"boolean": "empty", "doctype": true, "indent": 2, "omit": false, "order": "reverse", "pretty": true, "quote": "\"", "upper_doctype": true, "voi... |
web_html-90ef8f8dd121598a | <|start|><|user|>
Change the HTML as requested. Return the entire updated document in the same style.
Edit: Change the link "Permits" so that it points to /news/2025 instead of /permits/.
<text>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"/><title>Office of Small Business Programs - Zoning Amendment</ti... | edit | stable | deterministic | wh|19939 | 2,029 | 1,245 | b19cf0c94637e8c85fc72467441b36365568558bdae1c6281c64a29c0f6d9652 | {"answer_form": "structured", "frame_id": "edit:3:set_href", "gold": {"op": "set_href"}, "marker": "wrap:4", "presentation": "chat", "source": "generated", "stratum": "edit:set_href", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit": false, "order": "reverse", "pretty": false, "quote": "\"", "upper_doc... |
web_html-99b04d538b52295b | <|start|><|system|>
You are a careful assistant. Follow the user's instructions exactly.<|eot|>
<|user|>
Provide a CSS selector matching all header cells of the table and no other element.
```
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'/>
<title>Office of Administrative Hearings - Parking P... | selector | stable | deterministic | wh|11405 | 1,961 | 615 | b682ab0a247754f71b63f1d81d874e23125bc5da3ad38225a4758a62daf94342 | {"answer_form": "bare", "frame_id": "sel:4:group", "gold": {"ids": [28, 29, 30], "kind": "group", "selector": "#fees thead th"}, "marker": "wrap:6", "presentation": "chat", "source": "generated", "stratum": "selector:group", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": true, "order": "given", "pre... |
web_html-6dfd496a9107750f | Question: Construct a CSS selector that targets the heading of the section "required-documents".
---
<!DOCTYPE html>
<html lang=en>
<head>
<meta charset=utf-8 />
<title>Office of Water Resources - Recycling Collection Schedule</title>
</head>
<body>
<article class=notice>
<h1>Notice of Proposed... | selector | stable | deterministic | wh|884 | 1,444 | 392 | e5afef613d6930d1c17af6ec4f892b7d4d2b3644140a024919375805459e5813 | {"answer_form": "bare", "frame_id": "sel:6:id", "gold": {"ids": [13], "kind": "id", "selector": "#required-documents h2"}, "marker": "wrap:1|Question:", "presentation": "qa", "source": "generated", "stratum": "selector:id", "style": {"boolean": "name", "doctype": true, "indent": 2, "omit": false, "order": "sorted", "pr... |
web_html-840bbaed67f7e163 | Query: Produce the Markdown equivalent of the HTML below: same headings, paragraphs, lists, links, emphasis and tables.
<text>
<!DOCTYPE html>
<html lang='en'>
<head>
<meta charset='utf-8'/>
<title>Notice</title>
</head>
<body>
<h1>Notice on the Floodplain Map Update</h1>
<p... | html2md | stable | deterministic | wh|16891 | 1,750 | 691 | 5f7761709ffb2bf2d807957d9f5b1324646b635d9578a4f9c778991cf622311f | {"answer_form": "structured", "frame_id": "h2m:3", "gold": {"n_blocks": 7}, "marker": "wrap:4|Query:", "presentation": "qa", "source": "generated", "stratum": "html2md:3", "style": {"boolean": "min", "doctype": true, "indent": 4, "omit": false, "order": "sorted", "pretty": true, "quote": "'", "upper_doctype": true, "vo... |
web_html-dfc4be991f16d54d | <|start|><|user|>
Make this change to the HTML and return the complete edited document, keeping its existing formatting.
Edit: Change the link "Meeting Calendar" so that it points to /about/2025 instead of https://www.example.org/meetings.
```
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8"/... | edit | stable | deterministic | wh|23266 | 1,260 | 660 | b4904cb85ed38d869e34427a09141b6afea5a8c727e2d2b3b2490f83ea0cec58 | {"answer_form": "structured", "frame_id": "edit:0:set_href", "gold": {"op": "set_href"}, "marker": "wrap:6", "presentation": "chat", "source": "generated", "stratum": "edit:set_href", "style": {"boolean": "empty", "doctype": true, "indent": 4, "omit": true, "order": "sorted", "pretty": true, "quote": "\"", "upper_docty... |
web_html-4fdf597cd6adc783 | Construct a CSS selector that targets the label attached to the field with id "parcel".
---
<html lang="en"><head><meta charset="utf-8" /><title>Office of Permits and Licensing - Short-Term Rental Licensing</title></head><body><h1>Permit Application</h1><p>Copies of the application form are available at the Office of ... | selector | stable | deterministic | wh|5422 | 902 | 272 | 6da2291e122b32538942225d03b99eb6306cc9c347aec5acc8ce1cb066933f03 | {"answer_form": "bare", "frame_id": "sel:6:attr", "gold": {"ids": [6], "kind": "attr", "selector": "#comment-form label[for=\"parcel\"]"}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "selector:attr", "style": {"boolean": "min", "doctype": false, "indent": 0, "omit": false, "order": "s... |
web_html-90d3cc44495ca3d8 | <|start|><|user|>
Turn this HTML into GitHub-flavored Markdown with the same structure. Attributes other than link targets can be dropped.
<text>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Notice</title></head><body><h1>Notice on the Floodplain Map Update</h1><p>Copies of the site plan are avail... | html2md | stable | deterministic | wh|12746 | 1,576 | 652 | 543f8f188ce2cf4a6cee097215ff1d71a641f0be0a74bf180e9216a9c56f33d8 | {"answer_form": "structured", "frame_id": "h2m:2", "gold": {"n_blocks": 10}, "marker": "wrap:4", "presentation": "chat", "source": "generated", "stratum": "html2md:2", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "reverse", "pretty": false, "quote": "\"", "upper_doctype": true, "voi... |
web_html-4001ded59d33e52a | <|start|><|user|>
I need a CSS selector for the first option of the drop-down list. Give one that matches exactly that.
"""
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Historic Preservation Board - Stormwater Fee Schedule</title>
</head>
<body>
<h1>Permit Application</h1>
... | selector | stable | deterministic | wh|6815 | 1,694 | 480 | 131ccece454ada757148cf52ba1f3d12d6194897d362fd3c7fb46298dd8e5ee8 | {"answer_form": "bare", "frame_id": "sel:5:pseudo", "gold": {"ids": [13], "kind": "pseudo", "selector": "#comment-form select option:first-child"}, "marker": "wrap:0", "presentation": "chat", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "empty", "doctype": true, "indent": 2, "omit": false, ... |
web_html-e7908f9ce17a056c | <|start|><|user|>
Provide a CSS selector matching the article whose id is "notice" and no other element.
Excerpt:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8" /><title>Environmental Review Office - Street Tree Replacement Plan</title></head><body><nav id="main-nav"><ul><li><a href="/calendar/">Events</a>... | selector | stable | deterministic | wh|13528 | 2,711 | 760 | 5e61629a14b847ed976aa20c6468a0c0c7264a841e235b6a2fcf1c8173f7e265 | {"answer_form": "bare", "frame_id": "sel:4:id", "gold": {"ids": [14], "kind": "id", "selector": "#notice"}, "marker": "wrap:5", "presentation": "chat", "source": "generated", "stratum": "selector:id", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "reverse", "pretty": false, "quote": ... |
web_html-dc8bfb1606373fbe | <|start|><|user|>
Rewrite the following HTML document body as Markdown, preserving its structure (headings, lists, tables, links, bold/italic).
Passage:
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Notice</title></head><body><h1>Notice on the Sidewalk Repair Assessment</h1><p>Residents of Stonebri... | html2md | stable | deterministic | wh|18688 | 1,091 | 514 | 6c910c28690f9bc766b1182b7b9bb425cb4bf4508f3432ea36119ec607bbfe9c | {"answer_form": "structured", "frame_id": "h2m:1", "gold": {"n_blocks": 7}, "marker": "wrap:3", "presentation": "chat", "source": "generated", "stratum": "html2md:1", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": true, "order": "reverse", "pretty": false, "quote": "\"", "upper_doctype": true, "void"... |
web_html-9d7b688b7f5a5170 | <|start|><|user|>
Write a selector (CSS, no JavaScript) for every link inside the navigation block.
Text:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Parks and Recreation Commission - Parking Permit Program</title>
</head>
<body>
<nav id="main-nav">
<ul>
<li><a... | selector | stable | deterministic | wh|13336 | 1,612 | 507 | 0fcae7bb357b4197ff3632f57366e3a60da2ad51ac1ba61c73456e973fce594c | {"answer_form": "bare", "frame_id": "sel:3:group", "gold": {"ids": [3, 5, 7, 9, 11], "kind": "group", "selector": "#main-nav a"}, "marker": "wrap:2", "presentation": "chat", "source": "generated", "stratum": "selector:group", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": true, "order": "given", "pre... |
web_html-d9a42fcd26d02089 | Using the CSS selector `#contact h2`, return the text content of the matched element, with whitespace collapsed.
```
<!doctype html><html lang='en'><head><meta charset='utf-8'><title>Board of Zoning Appeals - Public Pool Fee Schedule</title></head><body><article id='notice'><h1>Notice of Comment Period for the Public ... | extract | stable | deterministic | wh|2679 | 1,841 | 498 | 0294f2ae3c4a6824bb2c3d57001a71c632eafec8516c1e4016a701b69a1bcbbf | {"answer_form": "bare", "frame_id": "ex:0:text", "gold": {"ids": [17], "mode": "text", "selector": "#contact h2", "value": ["Contact"]}, "marker": "wrap:6", "presentation": "plain", "source": "generated", "stratum": "extract:text", "style": {"boolean": "empty", "doctype": true, "indent": 0, "omit": false, "order": "giv... |
web_html-ea1e93e8c91cfdd1 | <|start|><|user|>
Select `#main-nav a[href^="https://"]` in the following page and give the value of its `href` attribute.
<text>
<html lang='en'>
<head>
<meta charset='utf-8'>
<title>Transportation Planning Board - Recycling Collection Schedule</title>
</head>
<body>
<nav id='main-... | extract | stable | deterministic | wh|537 | 1,653 | 493 | b34f735a454936a9dbb70217860ef3942c58e1e50ff7a7a7a9f93f0fecbdccec | {"answer_form": "bare", "frame_id": "ex:3:attr", "gold": {"ids": [7], "mode": "attr", "selector": "#main-nav a[href^=\"https://\"]", "value": ["https://www.example.org/programs"]}, "marker": "wrap:4", "presentation": "chat", "source": "generated", "stratum": "extract:attr", "style": {"boolean": "name", "doctype": false... |
web_html-17a85cd0256f24a7 | Q: Write the HTML that corresponds to this Markdown. Use <thead>/<tbody> for tables; no wrapper elements.
<text>
# Notice on the Floodplain Map Update
Applicants must submit the staff report together with proof of residence in Elm Ridge. Use form `C-11`. Questions may be directed to the Housing Assistance Office at a... | md2html | stable | deterministic | wh|4433 | 1,063 | 660 | 2a0ec5114f55e2e6704b3486c902feb2e42c482071eee4016629daaa5894410e | {"answer_form": "structured", "frame_id": "m2h:2", "gold": {"n_blocks": 8}, "marker": "wrap:4|Q:", "presentation": "qa", "source": "generated", "stratum": "md2html:2", "style": null} |
web_html-77ba444644b73f03 | Select `table.data-table > tbody > tr:nth-of-type(1) > td:nth-of-type(1)` in the following page and return the text content of the matched element, with whitespace collapsed.
Text:
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Office of Permits and Licensing - Public Records Retention... | extract | stable | deterministic | wh|11489 | 1,357 | 435 | ba405b959608f08bcea5a83ecf763fef5cb4c0ece1925e79283ba2abd33f1279 | {"answer_form": "bare", "frame_id": "ex:3:text", "gold": {"ids": [13], "mode": "text", "selector": "table.data-table > tbody > tr:nth-of-type(1) > td:nth-of-type(1)", "value": ["August 21, 2019"]}, "marker": "wrap:2", "presentation": "plain", "source": "generated", "stratum": "extract:text", "style": {"boolean": "min",... |
web_html-614ad587d6bb4eae | <|start|><|user|>
Write a selector (CSS, no JavaScript) for the navigation links whose href starts with "https://".
<text>
<!DOCTYPE html><html lang="en"><head><meta charset="utf-8"><title>Office of Administrative Hearings - Sidewalk Repair Assessment</title></head><body><nav class="site-nav"><ul><li><a href="/program... | selector | stable | deterministic | wh|25187 | 1,235 | 423 | 124b66dba9a315a5f54e789c0445681b7c635c85be13dd44da45ede4077bfcfb | {"answer_form": "sentence", "frame_id": "sel:3:attr", "gold": {"ids": [5], "kind": "attr", "selector": "nav.site-nav a[href^=\"https://\"]"}, "marker": "wrap:4", "presentation": "chat", "source": "generated", "stratum": "selector:attr", "style": {"boolean": "min", "doctype": true, "indent": 0, "omit": false, "order": "... |
web_html-a6eb8d676e3ff531 | Edit the document as described below. Output the whole document after the edit, formatted like the original.
Edit: Make the field named "start_date" required.
---
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Office of Regional Planning - Bicycle Lane Expansion</title>
... | edit | stable | deterministic | wh|19274 | 2,856 | 1,415 | b49b0ffd4716ea51aebf76385183a037020efadffac78cd543c8009e4a269b49 | {"answer_form": "structured", "frame_id": "edit:1:toggle_required", "gold": {"op": "toggle_required"}, "marker": "wrap:1", "presentation": "plain", "source": "generated", "stratum": "edit:toggle_required", "style": {"boolean": "name", "doctype": true, "indent": 4, "omit": false, "order": "sorted", "pretty": true, "quot... |
web_html-d3173b40eadeb7cf | Express the content of this page in Markdown, keeping every structural element.
Passage:
<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="utf-8">
<title>Notice</title>
</head>
<body>
<h1>Notice on the Public Records Retention Policy</h1>
<p>Residents of North Fairview may attend in person o... | html2md | stable | deterministic | wh|17729 | 1,200 | 475 | a9f840ccdee9ee4a9ce8d3593ecdb3141a1c1b337d9b126e6ea4cca01fdc6449 | {"answer_form": "structured", "frame_id": "h2m:4", "gold": {"n_blocks": 7}, "marker": "wrap:3", "presentation": "plain", "source": "generated", "stratum": "html2md:4", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": true, "order": "given", "pretty": true, "quote": "\"", "upper_doctype": true, "void": ... |
web_html-806a3c08b1d0c738 | Using the CSS selector `#comment-period h2`, return the text content of the matched element, with whitespace collapsed.
<text>
<!doctype html>
<html lang="en">
<head>
<meta charset="utf-8" />
<title>Office of Administrative Hearings - Parking Permit Program</title>
</head>
<body>
<article class="notice">
<... | extract | stable | deterministic | wh|13537 | 1,362 | 377 | 88771445f991d5c7991d64721fc5d1ce4c508dd19092aa3a602da21f55656320 | {"answer_form": "bare", "frame_id": "ex:0:text", "gold": {"ids": [8], "mode": "text", "selector": "#comment-period h2", "value": ["Comment Period"]}, "marker": "wrap:4", "presentation": "plain", "source": "generated", "stratum": "extract:text", "style": {"boolean": "name", "doctype": true, "indent": 1, "omit": true, "o... |
web_html-7425c4ebd8d2ecf8 | <|start|><|user|>
I need a CSS selector for the first paragraph directly inside the section with id "comment-period". Give one that matches exactly that.
Excerpt:
<!doctype html><html lang='en'><head><meta charset='utf-8'/><title>Office of Small Business Programs - Noise Ordinance Revision</title></head><body><nav id=... | selector | stable | deterministic | wh|15683 | 2,592 | 754 | 1f7d6309624e91e3e401ace8cbdc34a27091394f900a4097b0bbd30e1c3bfa87 | {"answer_form": "bare", "frame_id": "sel:5:pseudo", "gold": {"ids": [21], "kind": "pseudo", "selector": "#comment-period > p:first-of-type"}, "marker": "wrap:5", "presentation": "chat", "source": "generated", "stratum": "selector:pseudo", "style": {"boolean": "name", "doctype": true, "indent": 0, "omit": false, "order"... |
web_html-94be38ca3c7cdd8a | Q: Perform this edit on the page and output the complete result, preserving the existing markup style.
Edit: Add a new last row to the body of the table with id "hearings" with the cells Date: "September 26, 2019", Time: "11:30 a.m.", Location: "Room 214".
Text:
<!DOCTYPE html>
<html lang="en">
<head>
<meta cha... | edit | stable | deterministic | wh|25396 | 1,623 | 1,046 | 89cd287ba0d836017742de2205ac74c3633c2f40778435220cf1c6e9becd918f | {"answer_form": "structured", "frame_id": "edit:4:add_row", "gold": {"op": "add_row"}, "marker": "wrap:2|Q:", "presentation": "qa", "source": "generated", "stratum": "edit:add_row", "style": {"boolean": "min", "doctype": true, "indent": 2, "omit": false, "order": "given", "pretty": true, "quote": "\"", "upper_doctype":... |
ALEA HTML tasks
HTML tasks over generated forms, tables, navigation, articles and notices: extract text, attributes or counts via a stated CSS selector, write a selector, make a semantic edit, convert HTML to Markdown and back, and find the one injected error (or confirm a valid document).
17,442 documents, 10,543,449 tokens (alea-v2b-sw32k, the ALEA R4 tokenizer, counting each document's start and end tokens).
Part of the ALEA R4 training mix
This dataset contains exactly the documents of this family that ALEA's R4 model trained on in its stable pretraining mixture (second data stage, one pass each). Every row is byte-identical to the trained text; text_sha256 is the SHA-256 of text.
Held-out evaluation items generated by the same code are not part of this release.
Composition
| task | documents | tokens |
|---|---|---|
extract |
3,785 | 1,857,463 |
selector |
3,420 | 1,656,257 |
edit |
3,118 | 2,939,612 |
html2md |
2,720 | 1,521,223 |
md2html |
2,241 | 1,201,632 |
validate |
2,158 | 1,367,262 |
6,004 documents use ALEA's chat template.
How it was made
Written by deterministic code from typed trees with invented names; no language model was used. Layout, attribute quoting and order, void-element style, omitted optional end tags and doctype vary per document.
Sources
- Invented documents
Verification
- Every document is parsed by html5lib and lxml and both must equal the generated tree.
- Selectors must match exactly the target in both soupsieve and lxml.cssselect; edits are checked by tree equality; Markdown by markdown-it-py; injected errors by html5lib's error list or a custom checker.
- Decontamination: training rows that shared a word 13-gram with a held-out evaluation item of this or any sibling family were removed, and rows overlapping ALEA's evaluation sets were removed or logged according to ALEA's decontamination policy.
- Sampled records were reviewed blind by a separate reviewer who recomputed or re-derived the answers; defect patterns found in review were fixed in the generator, or the affected rows dropped, before the final build.
Columns
| column | content |
|---|---|
id |
row id from the generator (not always unique: a few families reuse an id across variants, and a handful of exact duplicate documents were trained twice and appear twice) |
text |
the document exactly as trained; chat documents use ALEA's chat template, whose control tokens appear as text (`< |
task |
task kind |
phase |
stable (trained in R4's stable pretraining mixture) |
generator |
what wrote the row (deterministic = code only) |
group_id |
source passage / record group; all variants of one group share it |
prompt_chars |
length in characters of the request part of text (0 for plain documents; null where not recorded) |
n_tokens |
tokens under alea-v2b-sw32k, including the document start and end tokens |
text_sha256 |
SHA-256 of text |
meta |
JSON: the generator's structured fields (source, presentation, answer form, gold values, checks) |
Known limitations
- Error types have little surface variety; edits are mostly link changes.
- The documents are generated and more repetitive than natural text.
License
CC-BY-4.0 for this compilation and the generated text. Public-domain and public-record source text keeps its status; Wikidata is CC0; OpenGloss and SHELF are CC-BY-4.0.
Published by the ALEA Institute.
- Downloads last month
- 16