1cffe6d c620e09
1
2
3
4
5
6
7
"Reconstruct chunk text from the two dataset configurations." def materialize(article, chunk): body = article["md"].encode() start = chunk["start_byte"] return chunk["prefix_md"] + body[start:start+chunk["byte_len"]].decode()