Dataset Viewer
Auto-converted to Parquet Duplicate
chunk_id
large_stringlengths
11
11
question_id
large_stringlengths
8
8
language
large_stringclasses
1 value
chunk_index
int64
0
7
chunk_text
large_stringlengths
113
2.53k
sparse_text
large_stringlengths
128
4.15k
dense_vector
listlengths
3.58k
3.58k
sparse_indices
listlengths
12
238
sparse_values
listlengths
12
238
export_source
large_stringclasses
1 value
57365314_c0
57365314
elixir
0
Title: How to round to the next 1000 value? Problem title: How to round to the next 1000 value? Tags: elixir Problem: How to round to the next 1000 value? Code signals: How
How to round to the next 1000 value? How to round to the next 1000 value? elixir How How to round to the next 1000 value? I want to round to the next 1000 value, always rounding up. Example inputs: I can only find a Float.ceil function which is not relevant for me.
[ -0.017578125, 0.00799560546875, -0.01531982421875, -0.00872802734375, 0.007476806640625, -0.0042724609375, -0.004913330078125, -0.006011962890625, 0.0014495849609375, -0.006744384765625, -0.00567626953125, 0.0024261474609375, -0.020751953125, 0.0014495849609375, -0.01104736328125, 0.00...
[ 11249, 47, 68807, 11737, 4382, 34292, 15296, 38308, 3444, 11343, 214, 1257, 89536, 107730, 7413, 38699, 257, 329, 379, 32354, 959, 29191 ]
[ 0.1048583984375, 0.1533203125, 0.233642578125, 0.13818359375, 0.2471923828125, 0.2000732421875, 0.026580810546875, 0.18212890625, 0.07000732421875, 0.078125, 0.02093505859375, 0.08917236328125, 0.0181121826171875, 0.130859375, 0.05572509765625, 0.12841796875, 0.08758544921875, 0.09...
embed
44271584_c0
44271584
elixir
0
Title: How to invert a map? Problem title: How to invert a map? Tags: elixir Problem: How to invert a map? Code signals: How, MapSet, Enum.reduce, update_in, MapSet.new, MapSet.put
How to invert a map? How to invert a map? elixir How MapSet Enum.reduce update_in MapSet.new MapSet.put How to invert a map? What I have: What I need: I cannot seem to find such a function in elixir, and my attempts to write my own aren't going so well. Edit: I ended up with this as my final solution:
[ -0.01458740234375, 0.0020904541015625, 0.0024566650390625, 0.01531982421875, -0.031494140625, 0.0027313232421875, -0.0096435546875, 0.002593994140625, 0.02099609375, 0.0162353515625, 0.01190185546875, 0.035400390625, 0.01043701171875, 0.044677734375, 0.010009765625, 0.01416015625, -0...
[ 11249, 47, 131983, 10, 22288, 15296, 38308, 42719, 294, 126, 357, 316, 107, 106357, 28350, 73, 54936, 7077, 765, 3871, 53418, 7413, 6044, 32354, 81887, 33022, 10002, 2704, 29806 ]
[ 0.116455078125, 0.11328125, 0.294189453125, 0.0760498046875, 0.2293701171875, 0.10321044921875, 0.2391357421875, 0.159423828125, 0.1436767578125, 0.1754150390625, 0.0760498046875, 0.1865234375, 0.1343994140625, 0.2113037109375, 0.1666259765625, 0.05096435546875, 0.043121337890625, ...
embed
45107621_c0
45107621
elixir
0
Title: Elixir pattern match on ecto error Problem title: Elixir pattern match on ecto error Tags: ecto, elixir Problem: Elixir pattern match on ecto error Code signals: Elixir, Repo.insert, IO.puts, is_certain_ecto_error
Elixir pattern match on ecto error Elixir pattern match on ecto error ecto elixir Elixir Repo.insert IO.puts is_certain_ecto_error Elixir pattern match on ecto error I am relying on Ecto to return an error when an insert fails a database level constraint. Is it possible to run different code depending on the error type...
[ -0.007354736328125, 0.010498046875, -0.0179443359375, -0.00537109375, -0.00762939453125, -0.00836181640625, -0.03076171875, -0.0030364990234375, 0.01446533203125, -0.013671875, 0.0194091796875, -0.033447265625, 0.0201416015625, 0.008056640625, 0.01507568359375, 0.01141357421875, -0.0...
[ 25318, 38308, 103510, 14858, 98, 60751, 18499, 15296, 853, 771, 73, 33657, 17780, 7077, 83, 106290, 188800, 456, 538, 241, 44150, 30646, 3229, 183540, 35782, 63399, 17366, 158, 2816, 4288, 7722, 11675, 12921, 18151, 96819, 10644, 176377 ]
[ 0.11993408203125, 0.2362060546875, 0.20556640625, 0.189208984375, 0.05474853515625, 0.2469482421875, 0.1934814453125, 0.08734130859375, 0.08154296875, 0.164306640625, 0.10076904296875, 0.1632080078125, 0.147705078125, 0.0780029296875, 0.060546875, 0.1923828125, 0.2100830078125, 0.0...
embed
49699688_c0
49699688
elixir
0
"Title: Elixir regex groups and ?-mark\nProblem title: Elixir regex groups and ?-mark\nTags: regex, (...TRUNCATED)
"Elixir regex groups and ?-mark Elixir regex groups and ?-mark regex pcre elixir Elixir COMMAND:ARGS(...TRUNCATED)
[0.016845703125,-0.000091552734375,0.0029754638671875,0.0159912109375,0.00421142578125,0.0244140625,(...TRUNCATED)
[25318,38308,6835,3355,94407,136,705,10015,107,15296,31436,13940,11909,34162,13685,11678,76,4806,156(...TRUNCATED)
[0.1002197265625,0.254150390625,0.15966796875,0.1951904296875,0.2066650390625,0.0192413330078125,0.1(...TRUNCATED)
embed
35258566_c0
35258566
elixir
0
"Title: Is it a tail recursion\nProblem title: Is it a tail recursion\nTags: elixir\nProblem: Is it (...TRUNCATED)
"Is it a tail recursion Is it a tail recursion elixir Is it a tail recursion I have following code s(...TRUNCATED)
[-0.005889892578125,0.00653076171875,0.02001953125,0.00823974609375,0.0106201171875,0.00741577148437(...TRUNCATED)
[2071,442,10,46741,195625,1830,15296,38308,6,87,765,25632,18151,58134,28875,3525,1238,254,8999,3444,(...TRUNCATED)
[0.09637451171875,0.1524658203125,0.11572265625,0.2705078125,0.22314453125,0.1275634765625,0.1176147(...TRUNCATED)
embed
30627233_c0
30627233
elixir
0
"Title: Sort List elements in Elixir Lang\nProblem title: Sort List elements in Elixir Lang\nTags: e(...TRUNCATED)
"Sort List elements in Elixir Lang Sort List elements in Elixir Lang elixir Sort List Elixir Lang So(...TRUNCATED)
[0.0167236328125,0.00811767578125,-0.00970458984375,0.0166015625,-0.005615234375,-0.005645751953125,(...TRUNCATED)
[53666,32036,80854,25318,38308,15786,23,15296,765,5303,79315,7,3444,47,12989,6626,48322,76569,4626,7(...TRUNCATED)
[0.1954345703125,0.18310546875,0.18310546875,0.099609375,0.185302734375,0.187255859375,0.03108215332(...TRUNCATED)
embed
57011849_c0
57011849
elixir
0
"Title: Reduce list of maps in one map\nProblem title: Reduce list of maps in one map\nTags: elixir,(...TRUNCATED)
"Reduce list of maps in one map Reduce list of maps in one map elixir list-comprehension Reduce AM01(...TRUNCATED)
[-0.010498046875,-0.01141357421875,-0.00958251953125,0.0262451171875,-0.00653076171875,-0.0039978027(...TRUNCATED)
[853,106357,5303,111,22288,7,23,1632,15296,38308,4692,3220,9677,6746,7709,357,316,120337,23351,5,435(...TRUNCATED)
[0.174072265625,0.2020263671875,0.215087890625,0.08648681640625,0.237060546875,0.09783935546875,0.10(...TRUNCATED)
embed
38865759_c0
38865759
elixir
0
"Title: Pattern matching of exception names\nProblem title: Pattern matching of exception names\nTag(...TRUNCATED)
"Pattern matching of exception names Pattern matching of exception names elixir ArithmeticError Case(...TRUNCATED)
[0.00173187255859375,0.0196533203125,-0.0177001953125,-0.0006866455078125,0.0123291015625,0.00842285(...TRUNCATED)
[9876,22766,14858,214,111,131527,123055,15296,38308,8962,282,9523,18468,31611,43731,26253,130403,304(...TRUNCATED)
[0.1640625,0.13134765625,0.1923828125,0.049713134765625,0.0174102783203125,0.238037109375,0.171875,0(...TRUNCATED)
embed
32011028_c0
32011028
elixir
0
"Title: How to send emails with Phoenix framework\nProblem title: How to send emails with Phoenix fr(...TRUNCATED)
"How to send emails with Phoenix framework How to send emails with Phoenix framework phoenix-framewo(...TRUNCATED)
[0.005096435546875,0.002197265625,-0.00274658203125,0.00836181640625,0.00927734375,0.0218505859375,0(...TRUNCATED)
[11249,47,25379,3340,7,678,133720,170846,53073,33,4084,160328,18244,15296,38308,2965,2684,2082,18750(...TRUNCATED)
[0.05816650390625,0.078369140625,0.08953857421875,0.160400390625,0.02117919921875,0.09893798828125,0(...TRUNCATED)
embed
31395097_c0
31395097
elixir
0
"Title: Why is this Elixir code so slow?\nProblem title: Why is this Elixir code so slow?\nTags: eli(...TRUNCATED)
"Why is this Elixir code so slow? Why is this Elixir code so slow? elixir Why Elixir LineMatch File.(...TRUNCATED)
[-0.0106201171875,-0.01470947265625,-0.012451171875,0.00579833984375,0.00299072265625,-0.01031494140(...TRUNCATED)
[44084,83,903,25318,38308,18151,221,72803,15296,16777,79520,206,42724,59636,17780,7077,11435,51727,1(...TRUNCATED)
[0.117919921875,0.07415771484375,0.0521240234375,0.11669921875,0.276123046875,0.1856689453125,0.1066(...TRUNCATED)
embed
End of preview. Expand in Data Studio

Elixir StackOverflow Vector Dataset Datasheet

1. What This Dataset Is

This dataset is the Elixir-specific vector shard of the Stack2Graph StackOverflow retrieval corpus. Each Hugging Face dataset repository contains exactly one language dataset.

It is optimized for dense+sparse retrieval, Qdrant restoration, and embedding-based RAG experiments.

It is used in the Stack2Graph project as the vector counterpart to the language-scoped RDF knowledge graph shards.

See the Stack2Graph repository for more details: https://github.com/tha-atlas/Stack2Graph

2. Repository Layout

dataset_manifest.json
question_metadata_*.parquet
chunk_records_*.parquet
question_records_*.parquet
  • dataset_manifest.json: language-scoped manifest for this dataset shard.
  • question_metadata_*.parquet: per-question metadata and retrieval bookkeeping.
  • chunk_records_*.parquet: chunk-level vector rows when parent-child indexing is enabled.
  • question_records_*.parquet: question-level vector rows when chunking is disabled or exported alongside chunk data.

3. Data Model And Coverage

The dataset is derived from Stack Overflow questions selected for the Elixir programming language. It contains the structured records needed to rebuild the Stack2Graph Qdrant collection for that language.

Coverage scope:

  • records are retained when they match the Stack2Graph supported language-tag set
  • this repository contains only the Elixir shard
  • the archive may contain both metadata-only and retrieval-ready vector rows depending on the export mode

4. Recommended Preprocessing

  1. Read dataset_manifest.json first and use it as the source of truth for included Parquet files.
  2. Load all Parquet shards for this repository into your vector indexing pipeline.
  3. Rebuild or restore the Qdrant collection stackoverflow_elixir_vector.
  4. Preserve attribution and license metadata during downstream export.

5. Automatic Download And Vector DB Setup

You do not need to regenerate embeddings from GraphDB to use this dataset.

In the Stack2Graph repository, you can use the automation script python -m experiment.load_hf_datasets_into_services --skip-kg to download dataset artifacts and prepare the vector database service state automatically.

Typical workflow:

  1. Clone and configure Stack2Graph (.env with HF token and service paths).
  2. Clone and configure Stack2Graph (.env with HF token and service paths).
  3. Start required local services:
docker compose up -d
  1. Run the loader script:
python -m experiment.load_hf_datasets_into_services --skip-kg

For manual usage without automation, directly ingest the listed Parquet files into your vector database.

6. Quality Notes And Caveats

  • A Stack Overflow question may belong to multiple language shards when tagged with multiple languages.
  • Embeddings and sparse representations depend on the configured export pipeline and model versions.
  • As with community-generated data, content may include noise, bias, and temporal drift.

7. Intended Use

  • semantic retrieval and reranking
  • RAG and hybrid retriever experiments
  • vector database benchmarking and diagnostics
  • language-scoped developer tooling research

8. Limitations

  • Not a complete mirror of all Stack Overflow content.
  • Not all export modes include the same row types or chunk layouts.
  • Best used together with the Stack2Graph retrieval pipeline and Qdrant-compatible tooling.

9. Licensing And Attribution

This dataset inherits Stack Overflow source licensing and attribution requirements. Ensure compliant attribution and redistribution practices in all derived artifacts.

10. Suggested Citation

If you use this dataset, cite the Stack2Graph work:

  • Stack2Graph: A Structured Knowledge Representation of Stack Overflow Data for Retrieval-based Question Answering
Downloads last month
19