Dataset Preview
Duplicate
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed
Error code:   DatasetGenerationError
Exception:    CastError
Message:      Couldn't cast
id: string
repo: string
commit: string
path: string
category: string
license_id: string
sha256: string
license_review_status: string
source_url: string
text_chars: int64
metadata: struct<repo: string, commit: string, path: string, category: string, license_id: string, sha256: str (... 55 chars omitted)
  child 0, repo: string
  child 1, commit: string
  child 2, path: string
  child 3, category: string
  child 4, license_id: string
  child 5, sha256: string
  child 6, license_review_status: string
  child 7, source_url: string
text: string
to
{'id': Value('string'), 'text': Value('string'), 'metadata': {'repo': Value('string'), 'commit': Value('string'), 'path': Value('string'), 'category': Value('string'), 'license_id': Value('string'), 'sha256': Value('string'), 'license_review_status': Value('string'), 'source_url': Value('string')}}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1827, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 613, in wrapped
                  for item in generator(*args, **kwargs):
                              ~~~~~~~~~^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 343, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/packaged_modules/json/json.py", line 132, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2378, in table_cast
                  return cast_table_to_schema(table, schema)
                File "/usr/local/lib/python3.14/site-packages/datasets/table.py", line 2306, in cast_table_to_schema
                  raise CastError(
                  ...<3 lines>...
                  )
              datasets.table.CastError: Couldn't cast
              id: string
              repo: string
              commit: string
              path: string
              category: string
              license_id: string
              sha256: string
              license_review_status: string
              source_url: string
              text_chars: int64
              metadata: struct<repo: string, commit: string, path: string, category: string, license_id: string, sha256: str (... 55 chars omitted)
                child 0, repo: string
                child 1, commit: string
                child 2, path: string
                child 3, category: string
                child 4, license_id: string
                child 5, sha256: string
                child 6, license_review_status: string
                child 7, source_url: string
              text: string
              to
              {'id': Value('string'), 'text': Value('string'), 'metadata': {'repo': Value('string'), 'commit': Value('string'), 'path': Value('string'), 'category': Value('string'), 'license_id': Value('string'), 'sha256': Value('string'), 'license_review_status': Value('string'), 'source_url': Value('string')}}
              because column names don't match
              
              The above exception was the direct cause of the following exception:
              
              Traceback (most recent call last):
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1369, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ~~~~~~~~~~~~~~~~~~~~~~~~~^
                      builder, max_dataset_size_bytes=max_dataset_size_bytes
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  )
                  ^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 948, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                  ~~~~~~~~~~~~~~~~~~~~~~^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1694, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ~~~~~~~~~~~~~~~~~~~~~~~~~~^
                      gen_kwargs=gen_kwargs, job_id=job_id, **_prepare_split_args
                      ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                  ):
                  ^
                File "/usr/local/lib/python3.14/site-packages/datasets/builder.py", line 1879, in _prepare_split_single
                  raise DatasetGenerationError("An error occurred while generating the dataset") from e
              datasets.exceptions.DatasetGenerationError: An error occurred while generating the dataset

Need help to make the dataset viewer work? Make sure to review how to configure the dataset viewer, and open a discussion for direct support.

id
string
text
string
metadata
dict
42f6e957ea35b73c53c3
use std::env; use std::fs; use std::io::{Read, Write}; use std::net::TcpListener; use std::path::{Path, PathBuf}; use std::process::Command; /// (slug, title, description, category) const BOOKS: &[(&str, &str, &str, &str)] = &[ ( "c-cpp-book", "Rust for C/C++ Programmers", "Move semantics, ...
{ "repo": "microsoft/RustTraining", "commit": "278f1d7ee0e5432c1a4e1e4d2a749796f60e7711", "path": "xtask/src/main.rs", "category": "code", "license_id": "mit", "sha256": "c68572b214e4b8a57f271a655029f6a33d3a61ca1096edaa0a57b249df099b1e", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url...
c871b53754e0b311b67e
if let (Some(hi), Some(lo)) = (hex_val(b[i + 1]), hex_val(b[i + 2])) { decoded.push(hi << 4 | lo); i += 3; continue; } } decoded.push(b[i]); i += 1; } String::from_utf8_lossy(&decoded).into_owned() } // ── serve ───────────────...
{ "repo": "microsoft/RustTraining", "commit": "278f1d7ee0e5432c1a4e1e4d2a749796f60e7711", "path": "xtask/src/main.rs", "category": "code", "license_id": "mit", "sha256": "dc7fa6d50048f28930580e9489edff028efc1a4ed1df09c1a650e06cffe92008", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url...
6672c584ba8ae04cc7a5
use std::error::Error; use std::fs::File; use std::io::Read; use std::path::Path; use std::result::Result; use tensorflow::Code; use tensorflow::Graph; use tensorflow::ImportGraphDefOptions; use tensorflow::Session; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use tensorflow::...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/addition.rs", "category": "code", "license_id": "apache-2.0", "sha256": "bf44e1a873c11fd5d43a4902e1b0ca8f5e6a3eb5f8f61423fa3a7896b1c664db", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_...
25f5b71d59932c4f28cf
extern crate rand; extern crate tensorflow; use std::error::Error; use std::result::Result; use tensorflow::expr::{Compiler, Placeholder}; use tensorflow::Code; use tensorflow::Graph; use tensorflow::Session; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use tensorflow::Tensor...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/expressions.rs", "category": "code", "license_id": "apache-2.0", "sha256": "b50879f100f0c3a73bc0837160708bd555aaf34ce5b67a759480541d39a0d7ae", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "sour...
9b3b8995a05a568c4f7a
use std::error::Error; use std::path::PathBuf; use std::result::Result; use tensorflow::Code; use tensorflow::Graph; use tensorflow::SavedModelBundle; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use tensorflow::Tensor; use tensorflow::DEFAULT_SERVING_SIGNATURE_DEF_KEY; use t...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/mobilenetv3.rs", "category": "code", "license_id": "apache-2.0", "sha256": "d95f63d72f41fcedc17f0d7ba737f62d8fff5ae4ec1822e7e0a2410784ca2e10", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "sour...
e0ab57d12a711b427b22
use rand; use std::error::Error; use std::fs::File; use std::io::Read; use std::path::Path; use std::result::Result; use tensorflow::Code; use tensorflow::Graph; use tensorflow::ImportGraphDefOptions; use tensorflow::Session; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use te...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/regression.rs", "category": "code", "license_id": "apache-2.0", "sha256": "d6c27bc9a3ae421b501c161de574e4089f6d86d93b5e261a2106293c056743f1", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "sourc...
0c252ee2752ce8f48f2b
use rand; use std::error::Error; use std::fs::File; use std::io::Read; use std::path::Path; use std::result::Result; use tensorflow::Code; use tensorflow::Graph; use tensorflow::ImportGraphDefOptions; use tensorflow::Session; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use te...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/regression_checkpoint.rs", "category": "code", "license_id": "apache-2.0", "sha256": "08c0ed9d9fb92ef5eec5a497f33aa92a3608a9e594b1b963c18ca71d6f0ee6e2", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW...
31e7a8b18cec53ed4ddc
use rand; use std::error::Error; use std::path::Path; use std::result::Result; use tensorflow::Code; use tensorflow::Graph; use tensorflow::SavedModelBundle; use tensorflow::SessionOptions; use tensorflow::SessionRunArgs; use tensorflow::Status; use tensorflow::Tensor; #[cfg_attr(feature = "examples_system_alloc", glo...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/regression_savedmodel.rs", "category": "code", "license_id": "apache-2.0", "sha256": "bd86d49d261a3875d92e375dcfba9e01dbccd86e6a7a075afaa3e6402b184d92", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW...
59d4a825bce67c723513
use std::env; use std::error::Error; use std::fs; use std::io::ErrorKind; use std::path::Path; use std::result::Result; use tensorflow::ops; use tensorflow::train::AdadeltaOptimizer; use tensorflow::train::MinimizeOptions; use tensorflow::train::Optimizer; use tensorflow::Code; use tensorflow::DataType; use tensorflow:...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "examples/xor.rs", "category": "code", "license_id": "apache-2.0", "sha256": "68da8d1bfa4378ab9abee4070b9868d953e1d718635cf31a73eca2c6d67e99b3", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url":...
6666abe2783f3c03b3ff
use super::TensorType; use libc::size_t; use std::alloc; use std::borrow::Borrow; use std::borrow::BorrowMut; use std::marker::PhantomData; use std::mem; use std::ops::Deref; use std::ops::DerefMut; use std::ops::Index; use std::ops::IndexMut; use std::ops::Range; use std::ops::RangeFrom; use std::ops::RangeFull; use s...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/buffer.rs", "category": "code", "license_id": "apache-2.0", "sha256": "d9aa6fecbe584b0e54305390b7e1359dba33e598cbead2cbb004454662ec3401", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "...
ff0b34c7e5d2cd77545e
use crate::{ops, Operation, Scope, Session, SessionRunArgs, Status, Tensor, Variable}; #[derive(Debug)] struct SaveRestoreOps { prefix_save: Operation, prefix_restore: Operation, save_op: Operation, restore_op: Operation, } /// This struct supports saving and restoring variables using Tensorflow check...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/checkpoint.rs", "category": "code", "license_id": "apache-2.0", "sha256": "b4ffb132cea0347f13a4dff0cc5946440ca5e2b607243b5864dc426151d7cd95", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url...
ca6624b7d9f117b3dbd0
.ok_or(Status::new_set(Code::Internal, "Shape item not present")?) }) .collect::<Result<Vec<u64>, Status>>()? .as_ref(), ) .with_values(&values[i_var])?; values_fed.push(value_fed_as_tensor); } for i_var in 0...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/checkpoint.rs", "category": "code", "license_id": "apache-2.0", "sha256": "534d9e55fc9403fccf4dc9c0c56ce56237c9b245f313e0701e4af611fb4533f3", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url...
5a2da2c6944ca04bf363
//! C API extensions to experiment with eager execution of kernels. //! //! WARNING: The underlying C-API for the eager execution is not guaranteed to be //! stable and can be changed without notice, which could result in breaking. //! //! This API requires the `eager` feature to be enabled as follows: //! //! ``` //! ...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager.rs", "category": "code", "license_id": "apache-2.0", "sha256": "a79597563a0b87f247dcbc4ed5531127a7a057bf63b402a6877db1cd78446488", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "h...
a9f9832a5ae870ce5ddb
use std::ffi::CStr; use tensorflow_sys as tf; use crate::{Device, Result, Status}; /// Options that can be passed during context creation. #[derive(Debug)] pub struct ContextOptions { inner: *mut tf::TFE_ContextOptions, } impl_new!( ContextOptions, TFE_NewContextOptions, "Creates a blank set of conte...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/context.rs", "category": "code", "license_id": "apache-2.0", "sha256": "5adff8f25b15a5a5b12c44b77667d3c488a6883747b698bc13b1b5b10b1bcb88", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_...
4dc51f9cdd27b17afc0c
#![allow(dead_code)] // until raw_ops are implemented use libc::c_float; use libc::c_int; use libc::c_uchar; use libc::c_void; use libc::size_t; use std::ffi::{CStr, CString}; use std::marker::PhantomData; use std::mem::{self, ManuallyDrop}; use std::os::raw::c_void as std_c_void; use std::ptr; use crate::eager::{Con...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/op.rs", "category": "code", "license_id": "apache-2.0", "sha256": "26679925168d9dc8d85ec3fd36869d23260d69cbf0ab2521b3ad898054548ac6", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url":...
f4c6add56ba9a0e48190
/// and return "non-ready" handles. Note that any handles contained in the `Op` /// should not be mutated till the kernel execution actually finishes. /// /// For sync execution, if any of the inputs to `op` are not ready, this call /// will block till they become ready and then return when the kernel e...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/op.rs", "category": "code", "license_id": "apache-2.0", "sha256": "1918e9ddefe6c63ea0394bc2e6cb98c441d618d9f10f0d05f9b9c487082a9cd0", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url":...
3785ac58d1e204b6a142
#![allow(non_snake_case)] /// Code for Op's ut that mimics raw_opw. use crate::eager::{TensorHandle, ToTensorHandle}; use crate::Result; use super::Op; /// Add #[derive(::std::fmt::Debug)] pub struct Add { T: ::std::option::Option<crate::DataType>, device_name: ::std::option::Option<String>, } impl ::std::de...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/op/op_test_util.rs", "category": "code", "license_id": "apache-2.0", "sha256": "bfd17e69118c3349e0488e64258150963bb499c0818607c9199008ad9650b9c9", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", ...
3aa4d3c04f39c98733e0
use crate::{ write_tensor_recursive, AnyTensor, DataType, Result, Shape, Tensor, TensorInner, TensorType, }; use core::fmt; use fmt::{Debug, Formatter}; use libc::c_int; use std::{fmt::Display, ops::Deref}; use tensorflow_sys as tf; /// A read-only tensor. /// /// ReadonlyTensor is a [`Tensor`](Tensor) that does n...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/readonly_tensor.rs", "category": "code", "license_id": "apache-2.0", "sha256": "55e0a8f63a41fb726b487a30b4b7d105fbe836d2765c2607acdcfe04b1ff3502", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", ...
bcb1e961659ace8e55a3
use std::ffi::{CStr, CString}; use std::marker::PhantomData; use tensorflow_sys as tf; use crate::eager::{Context, ReadonlyTensor}; use crate::{AnyTensor, DataType, Result, Status, TensorType}; /// A handle to a tensor on a device. /// /// Constructing a TensorHandle requires a reference to an execute context so tha...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/tensor_handle.rs", "category": "code", "license_id": "apache-2.0", "sha256": "9c2c7b1873ca4de7229e4ced204f611ae760f14006ff1ad8f06b2d753adf7b96", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "s...
f750d5d430538b7a8cc5
let ctx2 = Context::new(opts).unwrap(); let t = Tensor::new(&[2, 2]).with_values(&values).unwrap().freeze(); // Create a TensorHandle managed by the context `ctx2`. let h = TensorHandle::new(&ctx2, &t).unwrap(); // Copy to GPU. This creates a new handle ...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/eager/tensor_handle.rs", "category": "code", "license_id": "apache-2.0", "sha256": "1ec7d43a6e52ff96d8bff9ffc862fb9cbb49a9d93e03b9bc5506ca1549237a39", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "s...
58b1c8ecef420cc0426d
//! This module builds computation graphs. //! //! This module is unfinished. #![cfg(feature = "tensorflow_unstable")] use super::Graph; use super::Operation; use super::Shape; use super::Status; use super::Tensor; use super::TensorType; use std::cmp::Eq; use std::collections::HashMap; use std::convert::From; use std:...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/expr.rs", "category": "code", "license_id": "apache-2.0", "sha256": "3e604ad2dfcdcc6d85598e035a31bb3fe40415e29731e6e96496f120900bd7f3", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "ht...
88578504841d666da096
_children: &[Operation], _id_gen: &mut dyn FnMut() -> String, ) -> Result<Operation, Status> { let mut nd = graph.new_operation("Variable", &self.name)?; let shape = self .shape .iter() .map(|dim_size| Some(*dim_size as i64)) .collect(); ...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/expr.rs", "category": "code", "license_id": "apache-2.0", "sha256": "56ead262c77fd907e6ca1437cfc51c688ab44a2147bebf9f8b955304a47e082a", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "ht...
2fbc7254ea6a3a521df2
let x = <Placeholder<f32>>::new_expr(&vec![2, 3], "x"); let w = <Variable<f32>>::new_expr(&vec![2, 3], "w"); let mut compiler = Compiler::new(&mut g); compiler .compile(x * w.clone() / w.clone() % w.clone() + w.clone() - w.clone()) .unwrap(); compiler ...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/expr.rs", "category": "code", "license_id": "apache-2.0", "sha256": "4659bdd4a1692a064333b60cbd15227bc24f57385436873e5645b868281a7f03", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "ht...
49408e12a7eb06e3aeaa
use super::buffer::Buffer; use super::AnyTensor; use super::Code; use super::DataType; use super::Result; use super::Shape; use super::Status; use super::Tensor; use super::TensorType; use libc::c_char; use libc::c_float; use libc::c_int; use libc::c_uchar; use libc::c_uint; use libc::c_void; use libc::size_t; use std:...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/graph.rs", "category": "code", "license_id": "apache-2.0", "sha256": "992fb3f40c92d2736eefc4846bc65b7cd4e687c11042c8fee6073f23c9674ad7", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "h...
1ff766c2bd435f9102a6
) .unwrap()), } } /// Finds a unique operation name. The pattern must contain exactly one /// '{}' placeholder to indicate where a unique ID can be inserted, e.g. /// 'Add_{}' or 'while_loop_{}/Merge', and the function returns an integer /// which, when inserted into the placeh...
{ "repo": "tensorflow/rust", "commit": "1ddf5a348037402f87d67c076bf3019857eae05f", "path": "src/graph.rs", "category": "code", "license_id": "apache-2.0", "sha256": "f1f56e274b58fba25bb024f07b1985530955b3bbca7fbb531f4624080b431949", "license_review_status": "REQUIRES_FILE_LEVEL_REVIEW", "source_url": "h...
End of preview.

Promethean Rust Corpus

A curated corpus of Rust source code, documentation, and exercises for research and development of Promethean language models.

Dataset overview

Category Samples
Rust source code 5,524
Documentation 1,850
Exercises 236
Total 7,610

  • Configured repositories: 12
  • Successfully collected repositories: 11
  • Collection generated: 2026-10-10 14:39 UTC

Files

  • code.jsonl: Rust source code samples.
  • docs.jsonl: Documentation and explanatory text.
  • exercises.jsonl: Exercise-related material.
  • manifest.jsonl: Sample IDs, source paths, commit hashes, content hashes, and preliminary license metadata.
  • repo_report.json: Repository collection results.
  • dataset.yaml: Dataset schema and collection configuration.

Record format

Each JSONL record contains:

  • id: Stable identifier for the sample.
  • text: Text content.
  • metadata: Repository, commit, file path, category, source URL, and related provenance information.

Intended use

This dataset is intended for experimentation with Rust code understanding, code generation, programming education, and small-language-model training.

Data quality and licensing

This is an initial, automatically collected corpus. Samples have not necessarily been compiled, tested, or manually reviewed.

Repository-level license metadata is only an initial filter. It does not establish redistribution rights for every file. Individual file notices, applicable licenses, attribution requirements, and source terms must be reviewed before public redistribution or commercial use.

Exercise files are not guaranteed to contain verified solutions. No benchmark performance is implied by inclusion in this corpus.

Reproducibility

The manifest records source commit hashes where available. Review repo_report.json for skipped repositories and collection errors before using the corpus for training.

Downloads last month
41

Collection including PrometheanStudio/promethean-rust-corpus