Datasets:
sig stringlengths 64 64 | task stringclasses 5
values | seed_id stringlengths 21 21 | category stringclasses 26
values | source_gallery stringlengths 42 126 | content_hash stringlengths 64 64 | variant_idx int64 0 3.75k | transform stringclasses 226
values | direction stringclasses 9
values | error_type stringclasses 12
values | slice stringclasses 14
values | positioning_angle stringclasses 5
values | positioning_mode stringclasses 2
values | positioning_template_id int64 0 199 | conversations listlengths 2 2 | human_draft stringlengths 122 393k | gpt_draft stringlengths 117 393k |
|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
b17f8a4d50d624a456d09d58180749b0d5c258ec692e8fbba98f4f3ab3bb8917 | nl2k2f | seed-6720ebb74e5d59a1 | brief | brief/882.noir-cyan-tech-brief/882.noir-cyan-tech-brief.K2F | 6720ebb74e5d59a15d6d05fabb5560c6ce5d35144b7d06e21089e391848d9669 | 0 | manifest_letter | manifest_letter | mature_ecosystem | micro | 0 | [
{
"from": "human",
"value": "K2F is a mature agent-oriented format with Gallery templates, pack/compile, and exports—this brief exercise uses that ecosystem— Write manifest.json for a US Letter portrait US Letter portrait document titled 'Noir Cyan Tech Brief'. Use millipt (1 pt = 1000), canvas_mode paged, ... | K2F is a mature agent-oriented format with Gallery templates, pack/compile, and exports—this brief exercise uses that ecosystem— Write manifest.json for a US Letter portrait US Letter portrait document titled 'Noir Cyan Tech Brief'. Use millipt (1 pt = 1000), canvas_mode paged, engine_version '0.3.0'.
Package: brief/8... | Here is `manifest.json` for the requested K2F State A fragment.
```json
{
"canvas_mode": "paged",
"created_at": 0,
"engine_version": "0.3.1",
"page_config": {
"width": 612000,
"height": 792000,
"margin": [
72000,
72000,
72000,
72000
]
},
"title": "Noir Cyan Tech Brie... | ||
67ac6705413731108c4839bbd119051b0e0afe6a028af9a5d3d3c7d747bd4e61 | format_convert | seed-c06e9aaf3fe255d2 | brief | brief/885.forest-gradient-press-release/885.forest-gradient-press-release.K2F | c06e9aaf3fe255d273af6c8debe584a5e7879d1321e33b6f4b54c8976a9ac467 | 1 | k2f_to_json | k2f_to_json | slice1 | semantic_model | micro | 1 | [
{
"from": "human",
"value": "Do not put colors or coordinates on nodes—theme roles paint this brief meaning after compile— Convert the K2F JSON fragment into plain JSON (same structure).\n\nPackage: brief/885.forest-gradient-press-release/885.forest-gradient-press-release.K2F · variant 1 · seed 3fe255d2\nFi... | Do not put colors or coordinates on nodes—theme roles paint this brief meaning after compile— Convert the K2F JSON fragment into plain JSON (same structure).
Package: brief/885.forest-gradient-press-release/885.forest-gradient-press-release.K2F · variant 1 · seed 3fe255d2
File: `content/root.json`
```json
{
"conten... | Equivalent JSON:
```json
{
"content": {
"type": "container",
"value": {
"children": [
{
"content": {
"type": "container",
"value": {
"children": [
{
"content": {
"type": "container",
... | |
f7cf34aa05d5ef1cf9f269c6ecff8691b3b1df4d7e2828b144184b8ba43378fa | error_correction | seed-92cd3d5f15c7a896 | brief | brief/909.grayscale-starburst-executive-brief/brief.k2f | 92cd3d5f15c7a8966b831aca4111015c245be11e328b3c2812e85e59bd8375b8 | 2 | manifest_bad_canvas | manifest_bad_canvas | root | pdf_html_fix | micro | 2 | [{"from":"human","value":"HTML/CSS would reflow this brief layout unpredictably; K2F fixes that with(...TRUNCATED) | "HTML/CSS would reflow this brief layout unpredictably; K2F fixes that with a single reference rende(...TRUNCATED) | "The fragment violates K2F constraints (manifest_bad_canvas). Apply the smallest change so `content/(...TRUNCATED) | |
18e3d4b36e81a9e509dbd907ec2a38d449cfe70fea8b6b422570402d997f891c | schema_complete | seed-f60f0684a9340bc1 | brief | brief/911.vivid-block-editorial-brief/brief.k2f | f60f0684a9340bc1310ddbae4a2ea542305f86a81db9542767cf6fe28ff2e8c0 | 3 | node_required_fields | node_required_fields | export_surface | micro | 3 | [{"from":"human","value":"Fillable PDF and print PDF both come from the same K2F brief meaning you e(...TRUNCATED) | "Fillable PDF and print PDF both come from the same K2F brief meaning you edit here— The JSON belo(...TRUNCATED) | "Completed `content/root.json` with required fields filled using the stated facts only.\n\n```json\n(...TRUNCATED) | ||
5f81f329ca284e2ed3abb46fb4e09e147231a4048cd63373ab12dae6bd3b081b | positioning_concept | seed-46d1df5e7018b39c | brief | brief/922.dynamic-project-brief/dynamic-project-brief.K2F | 46d1df5e7018b39c699511bffba99eaf5993ed54ff770aea20f9467bc7f050d9 | 4 | semantic_model:0 | semantic_model | concept | 0 | [{"from":"human","value":"What is State A versus the render lock in a .K2F package? (Example domain:(...TRUNCATED) | "What is State A versus the render lock in a .K2F package? (Example domain: brief; document title 'D(...TRUNCATED) | "State A is the editable semantic layer: `manifest.json` (page config), `content/**/*.json` (tree wi(...TRUNCATED) | |||
f32d01fd8cc38608f721d3a921c2eb8cec8a22babc041d933acd25083548fb97 | nl2k2f | seed-a6556a1919aba0d0 | brief | brief/928.crimson-precision-memo/crimson-precision-memo.K2F | a6556a1919aba0d02868ec28c20c585849929bb58b5133051d3c1450c22c9d84 | 5 | manifest_letter | manifest_letter | pdf_html_fix | micro | 5 | [{"from":"human","value":"Device-dependent HTML is a poor target for agents; K2F JSON plus one engin(...TRUNCATED) | "Device-dependent HTML is a poor target for agents; K2F JSON plus one engine solves that for brief w(...TRUNCATED) | "Here is `manifest.json` for the requested K2F State A fragment.\n\n```json\n{\n \"canvas_mode\": \(...TRUNCATED) | ||
620fb34161f905748f21164b5783ed866a4495108df0b51ccad22d5eb408b100 | format_convert | seed-0518adbd5f0c540e | brief | brief/935.monochrome-stellar-brief/monochrome-stellar-brief.K2F | 0518adbd5f0c540eeeaeaf904128abf77382c959f10831f8f0c6c35a886593c4 | 6 | xml_to_k2f | xml_to_k2f | slice2 | mature_ecosystem | micro | 6 | [{"from":"human","value":"Agents benefit from K2F’s established pack pipeline when editing brief p(...TRUNCATED) | "Agents benefit from K2F’s established pack pipeline when editing brief packages— Convert the XM(...TRUNCATED) | "K2F `content/root.json` equivalent:\n\n```json\n{\n \"content\": {\n \"type\": \"container\",\n(...TRUNCATED) | |
ae78f854a94b71c5426f0a698c4664bdc03395322ec828f006abb313b95a5979 | error_correction | seed-75392911e3242194 | brief | brief/951.modern-beige-brief/modern-beige-brief.K2F | 75392911e3242194225adbabea50114a92d7bea0fe657a35e5eab1ddb2470fc2 | 7 | node_unknown_role | node_unknown_role | root | export_surface | micro | 7 | [{"from":"human","value":"AcroForm and static PDF both trace back to K2F fields like the ones in thi(...TRUNCATED) | "AcroForm and static PDF both trace back to K2F fields like the ones in this brief task— `pack` va(...TRUNCATED) | "The fragment violates K2F constraints (node_unknown_role). Apply the smallest change so `content/ro(...TRUNCATED) | |
84b530cf51ee14cf685d58a81eab9ccfac05f5b8e9cbcb2033a888eed0fb4472 | schema_complete | seed-567b93bda98b4e07 | brief | brief/962.navy-analytics-brief/navy-analytics-brief.K2F | 567b93bda98b4e0732ba02584e754fe16547b4750d40145c432a510ef79002a1 | 8 | manifest_required | manifest_required | mature_ecosystem | micro | 8 | [{"from":"human","value":"K2F’s mature schema and export story underpin this brief editing task—(...TRUNCATED) | "K2F’s mature schema and export story underpin this brief editing task— The JSON below is syntac(...TRUNCATED) | "Completed `manifest.json` with required fields filled using the stated facts only.\n\n```json\n{\n (...TRUNCATED) | ||
daff27f01be90e0d2cc0140221305060072e4ec8faaba7fec9e8b6b67c44fbb3 | positioning_concept | seed-6cf07bf7ca3a6225 | brief | brief/964.soft-rose-executive-brief/soft-rose-executive-brief.K2F | 6cf07bf7ca3a622594d79a7984e559afddb5ce1fcc7fc68c52c29b4f83e96a2e | 9 | semantic_model:1 | semantic_model | concept | 1 | [{"from":"human","value":"Why must style live in theme.json roles, not on semantic nodes? (Example d(...TRUNCATED) | "Why must style live in theme.json roles, not on semantic nodes? (Example domain: brief; document ti(...TRUNCATED) | "State A is the editable semantic layer: `manifest.json` (page config), `content/**/*.json` (tree wi(...TRUNCATED) |
End of preview. Expand in Data Studio
K2F instruction SFT corpus
English ShareGPT-style instruction tuning data for K2F (agent-authored semantic document JSON).
Complements JohnSu/k2f-pretrain-corpus: pretrain holds long-form spec + annotated gallery samples; this dataset holds task-oriented Q&A.
Tasks
nl2k2f— natural language → K2F JSON fragmentsformat_convert— JSON / YAML / TOML / XML ↔ K2Ferror_correction— invalid fragment → explanation + minimal fixschema_complete— fill required fields from stated factspositioning_concept— what K2F is for agents, exports, and semantic vs lock
Columns
conversations— ShareGPT turns (human/gpt)task,seed_id,category,positioning_angle,sig,source_gallery
License
Apache-2.0 (aligned with the public k2f repository).
- Downloads last month
- 28