Datasets:
id string | question_id int64 | chunk_index int32 | embedding_text string | dense_tokens int32 | sparse_tokens int32 | languages list | tags list | payload_json string | dense list | sparse_indices list | sparse_values list |
|---|---|---|---|---|---|---|---|---|---|---|---|
0ed5a31b-ad67-539d-94d3-fd5015398cd0 | 3,210,025 | 0 | Title: What is typestate?
What does TypeState refer to in respect to language design? I saw it mentioned in some discussions regarding a new language by mozilla called Rust.
| 37 | 40 | [
"rust"
] | [
"rust",
"language-design",
"rust-obsolete"
] | {"accepted_answer_id":10319250,"answer_count":4,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2010-07-09T05:22:09.193000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["rust"],"last_activity_date":"2022-05-17T01:23:14.083000+00:00","last_edit_date":"2015-05-17T14:25:03.737000+00:... | [
0.0050201416015625,
0.004810333251953125,
-0.015411376953125,
0.00087738037109375,
0.032257080078125,
-0.01529693603515625,
-0.01995849609375,
0.01995849609375,
-0.0023593902587890625,
0.021026611328125,
-0.048980712890625,
0.0008139610290527344,
0.0283203125,
-0.006450653076171875,
0.02... | [
13,
47,
83,
442,
2298,
3525,
4331,
4865,
10644,
14602,
15005,
27511,
35107,
35839,
46876,
60457,
61340,
119056,
135206,
144222
] | [
0.185546875,
0.010498046875,
0.0791015625,
0.05224609375,
0.142578125,
0.03857421875,
0.2060546875,
0.08056640625,
0.2451171875,
0.006103515625,
0.0888671875,
0.0849609375,
0.030517578125,
0.002197265625,
0.1884765625,
0.275390625,
0.3046875,
0.0556640625,
0.27734375,
0.2148437... |
cb3f7857-0c26-54ea-be91-9f9029a17f03 | 8,984,174 | 0 | Title: Sockets in Rust
Are there any socket or net libraries for Rust? The net page in the standard library documentation seems to only include address-related functions.
| 35 | 40 | [
"rust"
] | [
"sockets",
"rust",
"rust-obsolete"
] | {"accepted_answer_id":32962296,"answer_count":3,"chunk_count":1,"chunk_index":0,"closed_date":"2019-04-12T12:30:38.130000+00:00","creation_date":"2012-01-24T09:01:25.393000+00:00","has_accepted_answer":true,"is_closed":true,"languages":["rust"],"last_activity_date":"2019-06-27T09:07:45.657000+00:00","last_edit_date":"2... | [
0.00809478759765625,
-0.004016876220703125,
-0.032135009765625,
-0.0065155029296875,
-0.004016876220703125,
-0.037109375,
-0.01273345947265625,
0.01160430908203125,
0.004909515380859375,
0.00562286376953125,
-0.0267791748046875,
-0.0004944801330566406,
0.04998779296875,
0.01213836669921875... | [
23,
70,
100,
221,
707,
1061,
1294,
2043,
2499,
2685,
4734,
5570,
9191,
10484,
26698,
27853,
29823,
32354,
35773,
37202,
144222,
174822,
209806
] | [
0.06103515625,
0.009033203125,
0.0888671875,
0.1396484375,
0.015380859375,
0.111328125,
0.04833984375,
0.1748046875,
0.05712890625,
0.0439453125,
0.044921875,
0.1396484375,
0.1142578125,
0.1474609375,
0.0625,
0.251953125,
0.1591796875,
0.1708984375,
0.21875,
0.033203125,
0.26... |
e8f707c2-d00c-51f4-bd72-c815ce0b5a9f | 9,109,872 | 0 | "Title: How do you access enum values in Rust?\n\nstruct Point {\n x: f64,\n y: f64,\n}\n\nenu(...TRUNCATED) | 131 | 132 | [
"rust"
] | [
"rust"
] | "{\"accepted_answer_id\":9112468,\"answer_count\":8,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0025768280029296875,0.00859832763671875,0.0179290771484375,-0.0270843505859375,-0.013175964355468(...TRUNCATED) | [7,22,23,54,106,113,133,316,398,481,759,1022,1081,1238,1810,2420,2725,3444,3688,4068,7224,10666,1103(...TRUNCATED) | [0.040771484375,0.15234375,0.0634765625,0.0224609375,0.119140625,0.0947265625,0.126953125,0.25976562(...TRUNCATED) |
bbaac0d0-cb6e-5aad-afc5-62f4843b5aad | 9,271,924 | 0 | "Title: How do I emulate Lisp (apply) or (curry) in Rust?\n\nI'm porting QuickCheck to Rust, and I'v(...TRUNCATED) | 127 | 140 | [
"rust"
] | [
"testing",
"quickcheck",
"rust"
] | "{\"accepted_answer_id\":null,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.0028209686279296875,-0.00528717041015625,0.0186767578125,-0.0022449493408203125,0.021743774414062(...TRUNCATED) | [4,10,21,23,28,38,47,53,54,67,85,87,100,136,196,237,297,454,538,707,805,1124,1221,1261,2174,3034,453(...TRUNCATED) | [0.010986328125,0.005859375,0.043701171875,0.0576171875,0.099609375,0.060546875,0.04736328125,0.1777(...TRUNCATED) |
f53af214-e376-5644-a813-f9ed918217f8 | 9,271,970 | 0 | "Title: How do you make a range in Rust?\n\nThe documentation doesn't say how and the tutorial compl(...TRUNCATED) | 27 | 30 | [
"rust"
] | [
"loops",
"for-loop",
"range",
"rust"
] | "{\"accepted_answer_id\":19145081,\"answer_count\":7,\"chunk_count\":1,\"chunk_index\":0,\"closed_da(...TRUNCATED) | [0.02197265625,0.0021991729736328125,0.00753021240234375,-0.00885772705078125,0.003765106201171875,-(...TRUNCATED) | [
7,
10,
18,
23,
100,
581,
3249,
3642,
5154,
11249,
22027,
37457,
40956,
48962,
57143,
64557,
124962,
144222,
209806
] | [0.0361328125,0.05322265625,0.07470703125,0.0240478515625,0.1201171875,0.0181884765625,0.1240234375,(...TRUNCATED) |
dbee5b31-9f17-5e1b-93ba-30aaa8ebf8f6 | 9,282,805 | 0 | "Title: Rust pattern matching over a vector\n\nThe tutorial shows some very basic examples of patter(...TRUNCATED) | 412 | 466 | [
"rust"
] | [
"vector",
"pattern-matching",
"rust",
"rust-obsolete"
] | "{\"accepted_answer_id\":9284416,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0192413330078125,0.0256500244140625,0.00089263916015625,-0.01155853271484375,0.007564544677734375(...TRUNCATED) | [8,23,51,173,209,214,217,335,370,617,645,678,758,808,831,856,876,892,1022,1096,1405,1505,2174,2641,2(...TRUNCATED) | [0.14453125,0.028076171875,0.03515625,0.173828125,0.0179443359375,0.08056640625,0.095703125,0.077148(...TRUNCATED) |
2ed9c353-4a0d-522a-8e33-9d7a8128a913 | 9,298,459 | 0 | "Title: Can't compile Rust\n\nI'm on Debian and following the compile instructions from the Rust wik(...TRUNCATED) | 301 | 383 | [
"rust"
] | [
"llvm",
"rust"
] | "{\"accepted_answer_id\":null,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.000652313232421875,-0.0020904541015625,0.00539398193359375,-0.0200347900390625,0.0077095031738281(...TRUNCATED) | [8,11,14,18,39,96,98,106,116,133,238,262,309,334,429,438,771,1181,1328,1340,2146,2298,2394,2397,2967(...TRUNCATED) | [0.140625,0.0458984375,0.0245361328125,0.1181640625,0.1484375,0.0400390625,0.02392578125,0.011474609(...TRUNCATED) |
b446f51e-9f14-5372-b9ad-fc42e297030c | 9,450,224 | 0 | "Title: I want to call C library \"mysql.h\" from Rust language\n\nI'm trying to connect to mysql fr(...TRUNCATED) | 162 | 202 | [
"c",
"rust"
] | [
"c",
"rust"
] | "{\"accepted_answer_id\":9457553,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.010345458984375,-0.0112457275390625,0.0176849365234375,-0.004810333251953125,0.005413055419921875(...TRUNCATED) | [5,7,31,47,127,238,254,313,501,759,991,1294,1295,1456,2397,3444,3642,3917,4527,5612,6077,6097,7639,1(...TRUNCATED) | [0.061279296875,0.07177734375,0.013671875,0.1171875,0.17578125,0.0732421875,0.03125,0.1484375,0.1484(...TRUNCATED) |
22c0ffcd-dc99-53f1-881e-45ece1f26f95 | 9,645,595 | 0 | "Title: \"expected crate directive\" error about rust\n\n \nEditor's note: This question was asked b(...TRUNCATED) | 238 | 221 | [
"rust"
] | [
"rust",
"rust-obsolete"
] | "{\"accepted_answer_id\":9645712,\"answer_count\":1,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0029811859130859375,-0.0041656494140625,0.007671356201171875,-0.012939453125,-0.00098896026611328(...TRUNCATED) | [13,31,71,127,141,238,304,334,362,425,501,617,757,846,903,963,966,1324,1340,1528,1672,2967,3714,4068(...TRUNCATED) | [0.1533203125,0.130859375,0.1298828125,0.0927734375,0.0169677734375,0.13671875,0.1123046875,0.108398(...TRUNCATED) |
0e40d687-9863-52e8-a284-415c00693c9b | 9,646,490 | 0 | "Title: rust cargo init occur signature verification failed\n\ni try to use cargo init to init cargo(...TRUNCATED) | 126 | 130 | [
"rust"
] | [
"rust"
] | "{\"accepted_answer_id\":9652211,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.0224609375,0.004962921142578125,-0.0070343017578125,-0.01702880859375,0.00392913818359375,-0.0032(...TRUNCATED) | [18,23,64,100,170,217,238,362,425,438,493,519,592,831,841,966,1257,1631,1681,1957,3284,4068,4527,540(...TRUNCATED) | [0.01220703125,0.1220703125,0.001708984375,0.003662109375,0.0361328125,0.1748046875,0.038330078125,0(...TRUNCATED) |
Stack2Graph vector database: rust
This release contains 49786 text chunks from Stack Overflow with dense and
sparse embeddings, selected by the producer's programming-language memberships.
Memberships can overlap: a chunk may occur in several language datasets. These
labels describe programming languages, not the natural language of the text.
extra-languages, when present, contains source rows without a language match.
An absent language is never replaced with an empty dataset.
Files and fields
data/vectors-*.parquet contains Zstandard-compressed tables. Each row has a
stable id, question_id, chunk_index, embedding_text, model token counts,
languages, tags, dense, sparse_indices, sparse_values and payload_json.
The last field preserves the complete original Qdrant payload, including source
snapshot identity, source dates, scores and answer flags when available.
Dense values are float32 representations of the producer's stored float16
values; this does not recover precision discarded during embedding. Sparse
weights preserve float32 values and uint32 token indices.
On Hugging Face, load the vectors config with datasets.load_dataset and use
streaming for large releases. The dataset viewer uses only the explicitly listed
Parquet files. data/dataset.tar.gz is the portable package also used by MDC:
extract it to obtain the same Parquet bytes, README and publication.json.
The archive is an exchange dataset, not a Qdrant binary snapshot. Import in
bounded batches using each row's id, named dense/sparse vectors and decoded
payload_json. Recreate collection settings deliberately for your Qdrant version.
Provenance and reproducibility
{
"after_id": -9223372036854775808,
"chunk_overlap": 128,
"chunk_tokens": 1024,
"collection": "stackoverflow_questions",
"dense_dimension": 4096,
"dense_model": "Qwen/Qwen3-Embedding-8B",
"dense_revision": "1d8ad4ca9b3dd8059ad90a75d4983776a23d44af",
"question_limit": null,
"registry_digest": "d2a7357c04e7f47d9bb598189aeeb7db0680d6b35f0d9695d8d2e544121afb8e",
"snapshot_digest": "56fe643952cec74b17ea13d91edc8ad95181326156177c94cce48d3fed9834b9",
"snapshot_id": "stackexchange_20260630_sakura",
"sparse_model": "BAAI/bge-m3",
"sparse_revision": "5617a9f61b028005a4858fdac845db406aefb181"
}
Export identity: bc9f696c9588560e3be547879c58b96c50c64e3828495471bee43e504392ec7f.
Point-ID configuration digest: d16d58c9e7b8007664e3f77b4e9f4a1689a8b8de2c6727b479595621b25e3460.
Point IDs use the same snapshot/configuration/question/chunk UUID derivation as
the project's Qdrant loader. publication.json lists exact file sizes, SHA-256
hashes, row count, source identity and model/chunking settings. On HF,
release.json additionally verifies all managed remote files.
Only locally finalized runs with matching stage/report counts are published.
The uploader does not re-embed text or query a running database.
Uses and limitations
Intended for dense, sparse and hybrid retrieval, retrieval-augmented generation and reproducible search experiments. Retrieval quality depends on the pinned models and chunking configuration. Overlapping chunks and language memberships are not independent samples; split evaluations by source question to avoid leakage. Source questions can contain personal data, obsolete code, errors and biases. Source-window limits are recorded above. No retrieval benchmark or completeness beyond the recorded source window is claimed.
Attribution and licensing
Derived from Stack Overflow content. Preserve the original post/author attribution and applicable Stack Overflow licensing when redistributing or displaying source content. Question IDs and source snapshot are retained to resolve source posts. This publication declares CC BY-SA 4.0; embedding model licenses and any upstream obligations still apply. Pinned model names and revisions above identify their model cards for review.
Source and procedures: https://github.com/tha-atlas/Stack2Graph. When citing this dataset, include the dataset repository, immutable release revision, source snapshot, export identity, model revisions and the project.
Project citation: Kleybolte, Ventura and Zarcone (2026), Stack2Graph, KG-LLM at LREC26. https://doi.org/10.63317/583q4d3mwbdu.
- Downloads last month
- 99