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 |
|---|---|---|---|---|---|---|---|---|---|---|---|
46fedb54-423d-57ae-9f7e-af5adf242c7d | 72 | 0 | Title: How do I add existing comments to RDoc in Ruby?
I want to format my existing comments as 'RDoc comments' so they can be viewed using ri.
What are some recommended resources for starting out using RDoc?
| 50 | 52 | [
"ruby"
] | [
"ruby",
"rdoc"
] | {"accepted_answer_id":null,"answer_count":2,"chunk_count":1,"chunk_index":0,"closed_date":"2017-04-20T07:24:44.697000+00:00","creation_date":"2008-08-01T13:38:27.133000+00:00","has_accepted_answer":false,"is_closed":true,"languages":["ruby"],"last_activity_date":"2016-12-30T06:56:18.310000+00:00","last_edit_date":"2016... | [
-0.0220184326171875,
-0.0302886962890625,
-0.01113128662109375,
0.0026302337646484375,
-0.005504608154296875,
-0.009735107421875,
-0.0201873779296875,
0.0140533447265625,
-0.0139312744140625,
0.0367431640625,
-0.0008287429809570312,
0.0243377685546875,
0.0242156982421875,
-0.03089904785156... | [
23,
47,
54,
87,
237,
297,
831,
1427,
1810,
3444,
6652,
9384,
11249,
15190,
17368,
21455,
24626,
40756,
48962,
65514,
72134,
144573,
158189,
170198
] | [
0.0244140625,
0.07373046875,
0.0189208984375,
0.00537109375,
0.049560546875,
0.011474609375,
0.010498046875,
0.12890625,
0.044677734375,
0.080078125,
0.216796875,
0.1689453125,
0.0556640625,
0.14453125,
0.0869140625,
0.1279296875,
0.236328125,
0.1337890625,
0.025634765625,
0.10... |
5618643f-943b-5548-8a06-2172a96145a9 | 438 | 0 | Title: Implementation of "Remember me" in a Rails application
My Rails-app has a sign in box with a "remember me" checkbox. Users who check that box should remain logged in even after closing their browser. I'm keeping track of whether users are logged in by storing their id in the user's session.
But sessions are ... | 212 | 243 | [
"ruby"
] | [
"ruby-on-rails",
"ruby",
"http"
] | {"accepted_answer_id":77397,"answer_count":7,"chunk_count":1,"chunk_index":0,"closed_date":null,"creation_date":"2008-08-02T12:56:58.590000+00:00","has_accepted_answer":true,"is_closed":false,"languages":["ruby"],"last_activity_date":"2016-12-22T03:54:36.970000+00:00","last_edit_date":"2016-12-22T03:54:36.970000+00:00"... | [
0.015594482421875,
-0.018585205078125,
-0.0004029273986816406,
0.0018968582153320312,
-0.005126953125,
-0.01427459716796875,
-0.06427001953125,
0.019195556640625,
0.0022182464599609375,
-0.00470733642578125,
0.0020847320556640625,
0.0182342529296875,
0.02374267578125,
-0.03717041015625,
... | [
7,
8,
14,
23,
39,
90,
116,
163,
237,
294,
603,
615,
831,
959,
2517,
2856,
3082,
3249,
3447,
3564,
3853,
3917,
4127,
4136,
4332,
5608,
6889,
7103,
7328,
8108,
9007,
11522,
11728,
12765,
14375,
16031,
16530,
17489,
18507,
20450,
24092,
... | [
0.15625,
0.0201416015625,
0.05615234375,
0.0732421875,
0.1513671875,
0.1005859375,
0.08544921875,
0.20703125,
0.0712890625,
0.0267333984375,
0.0673828125,
0.035888671875,
0.0150146484375,
0.0791015625,
0.1201171875,
0.08056640625,
0.1005859375,
0.07666015625,
0.1220703125,
0.05... |
140cf427-bcd9-5b0b-810f-7e9fb47974cc | 514 | 0 | "Title: Frequent SystemExit in Ruby when making HTTP calls\n\nI have a Ruby on Rails Website that ma(...TRUNCATED) | 586 | 664 | [
"ruby"
] | [
"ruby-on-rails",
"ruby",
"crash"
] | "{\"accepted_answer_id\":519,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\":(...TRUNCATED) | [-0.0031890869140625,-0.03631591796875,-0.026336669921875,0.01922607421875,-0.0143585205078125,-0.02(...TRUNCATED) | [5,6,7,9,10,12,13,18,23,25,31,41,42,47,64,70,73,87,98,110,136,217,223,238,248,272,309,454,590,615,67(...TRUNCATED) | [0.005615234375,0.005859375,0.08984375,0.002197265625,0.001220703125,0.003662109375,0.00244140625,0.(...TRUNCATED) |
047fd185-30a1-5ae3-9c82-b87c3f8b9a4b | 626 | 0 | "Title: When to use lambda, when to use Proc.new?\n\nIn Ruby 1.8, there are subtle differences betwe(...TRUNCATED) | 81 | 84 | [
"ruby"
] | [
"ruby",
"lambda",
"proc"
] | "{\"accepted_answer_id\":723,\"answer_count\":14,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [-0.0035457611083984375,-0.0110931396484375,-0.0124053955078125,0.0036945343017578125,0.040832519531(...TRUNCATED) | [5,7,21,64,85,136,143,360,621,1614,1632,3229,3535,3789,4527,6492,10402,12921,14847,17721,17991,28288(...TRUNCATED) | [0.072265625,0.07666015625,0.099609375,0.0986328125,0.212890625,0.1025390625,0.1005859375,0.03662109(...TRUNCATED) |
6195cf26-222a-5830-b102-03517dccc74a | 1,024 | 0 | "Title: How do I fix 'Unprocessed view path found' error with ExceptionNotifier plugin in rails 2.1?(...TRUNCATED) | 118 | 150 | [
"ruby"
] | [
"ruby-on-rails",
"ruby",
"exception",
"plugins"
] | "{\"accepted_answer_id\":171170,\"answer_count\":2,\"chunk_count\":1,\"chunk_index\":0,\"closed_date(...TRUNCATED) | [-0.005451202392578125,-0.0252685546875,-0.0026798248291015625,-0.0233612060546875,0.011199951171875(...TRUNCATED) | [188,297,673,683,992,1257,1353,2278,3355,3611,4165,5443,5612,7013,7870,8961,9007,10519,10869,11627,1(...TRUNCATED) | [0.0458984375,0.03564453125,0.15234375,0.111328125,0.0615234375,0.0244140625,0.061767578125,0.042968(...TRUNCATED) |
b51737ad-28bc-5be7-98eb-92dca06f207b | 1,306 | 0 | "Title: How do I use (n)curses in Ruby?\n\nI'd like to create a progress bar to indicate the status (...TRUNCATED) | 124 | 138 | [
"ruby"
] | [
"ruby",
"unix",
"curses"
] | "{\"accepted_answer_id\":1318,\"answer_count\":4,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [-0.01445770263671875,0.0134429931640625,0.00479888916015625,0.01751708984375,0.029754638671875,-0.0(...TRUNCATED) | [7,10,16,19,23,47,54,87,90,206,678,1777,1884,1909,2472,2967,3674,4527,9077,10778,11249,12447,12983,1(...TRUNCATED) | [0.0341796875,0.01123046875,0.021240234375,0.1064453125,0.06396484375,0.015380859375,0.001220703125,(...TRUNCATED) |
be1aae39-e4fc-5eb6-a1f2-2db0f82c1001 | 1,615 | 0 | "Title: How can I modify .xfdl files? (Update #1)\n\nThe .XFDL file extension identifies XFDL Format(...TRUNCATED) | 183 | 207 | [
"ruby"
] | [
"ruby",
"language-agnostic",
"xfdl"
] | "{\"accepted_answer_id\":1628,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [-0.022216796875,0.009918212890625,-0.0071563720703125,-0.0002560615539550781,-0.00307464599609375,-(...TRUNCATED) | [4,5,6,7,8,9,10,12,22,32,33,47,51,56,64,70,71,83,87,90,98,100,111,136,142,177,186,214,223,272,390,42(...TRUNCATED) | [0.008544921875,0.087890625,0.007568359375,0.008544921875,0.14453125,0.00927734375,0.00830078125,0.0(...TRUNCATED) |
223cf486-a5d1-5005-9473-3a6626c74b14 | 2,232 | 0 | "Title: How to call shell commands from Ruby\n\nHow do I call shell commands from inside of a Ruby p(...TRUNCATED) | 38 | 42 | [
"ruby",
"shell"
] | [
"ruby",
"shell",
"interop"
] | "{\"accepted_answer_id\":2400,\"answer_count\":23,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\(...TRUNCATED) | [-0.0180206298828125,-0.03173828125,-0.0180206298828125,0.00337982177734375,0.009796142578125,-0.055(...TRUNCATED) | [
7,
47,
54,
87,
1295,
1528,
2046,
3934,
4420,
11249,
11782,
46132,
48962,
75101,
128019,
140992,
158189
] | [0.103515625,0.07080078125,0.0281982421875,0.0576171875,0.123046875,0.123046875,0.064453125,0.094726(...TRUNCATED) |
6b1b0880-1787-52cf-9729-8cc293aac0f7 | 2,993 | 0 | "Title: Reverse DNS in Ruby?\n\nI'm in an environment with a lot of computers that haven't been prop(...TRUNCATED) | 603 | 624 | [
"ruby"
] | [
"ruby",
"sockets",
"dns",
"nslookup"
] | "{\"accepted_answer_id\":5544777,\"answer_count\":3,\"chunk_count\":1,\"chunk_index\":0,\"closed_dat(...TRUNCATED) | [0.00904083251953125,-0.0108489990234375,-0.03350830078125,-0.02435302734375,-0.01386260986328125,-0(...TRUNCATED) | [11,17,18,20,23,32,70,83,106,136,147,170,184,187,238,254,304,305,334,361,382,456,468,571,678,712,759(...TRUNCATED) | [0.03515625,0.013916015625,0.05859375,0.05810546875,0.0673828125,0.012451171875,0.015625,0.004882812(...TRUNCATED) |
5fd58857-c539-5d76-84aa-94b9c1bb641b | 3,281 | 0 | "Title: Mapping values from two array in Ruby\n\nI'm wondering if there's a way to do what I can do (...TRUNCATED) | 93 | 106 | [
"ruby"
] | [
"ruby",
"maps",
"reduce"
] | "{\"accepted_answer_id\":4270,\"answer_count\":6,\"chunk_count\":1,\"chunk_index\":0,\"closed_date\"(...TRUNCATED) | [0.0157470703125,0.00830078125,-0.002288818359375,0.0228118896484375,0.043182373046875,-0.0262298583(...TRUNCATED) | [12,23,47,53,54,85,113,143,678,831,911,997,1022,1295,2053,2203,3917,4778,6492,6626,10298,10554,13267(...TRUNCATED) | [0.001708984375,0.0546875,0.007080078125,0.09765625,0.053955078125,0.1015625,0.072265625,0.034667968(...TRUNCATED) |
Stack2Graph vector database: ruby
This release contains 260355 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
- 35