Buckets:

download
raw
601 Bytes
from mcp_server.indexing.friction import extract_friction_markers
def test_language_comment_syntaxes_produce_expected_categories():
fixtures = {
"python": "# TODO: python",
"javascript": "// FIXME: javascript",
"typescript": "/* HACK typescript */",
"shell": "# WORKAROUND: shell",
}
observed = {
name: extract_friction_markers(content)[0]["category"] for name, content in fixtures.items()
}
assert observed == {
"python": "todo",
"javascript": "fixme",
"typescript": "hack",
"shell": "workaround",
}

Xet Storage Details

Size:
601 Bytes
·
Xet hash:
0f299c9eb574147f5a183ed41ea357da98d8a58d4a095f59adea7fec800a9888

Xet efficiently stores files, intelligently splitting them into unique chunks and accelerating uploads and downloads. More info.