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
_soc_127: struct<doc_id: string, doc_id_field: string, input_shard: string, phase: string, source_family: stri (... 26 chars omitted)
  child 0, doc_id: string
  child 1, doc_id_field: string
  child 2, input_shard: string
  child 3, phase: string
  child 4, source_family: string
  child 5, source_folder: string
id: string
metadata: string
source: string
text: string
blob_id: string
detected_licenses: list<item: string>
  child 0, item: string
download_success: bool
int_score: int64
language: string
length_bytes: int64
license_type: string
path: string
repo_name: string
score: double
src_encoding: string
added: string
created: string
to
{'_soc_127': {'doc_id': Value('string'), 'doc_id_field': Value('string'), 'input_shard': Value('string'), 'phase': Value('string'), 'source_family': Value('string'), 'source_folder': Value('string')}, 'added': Value('string'), 'created': Value('string'), 'id': Value('string'), 'metadata': Json(decode=True), 'source': Value('string'), 'text': Value('string')}
because column names don't match
Traceback:    Traceback (most recent call last):
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1779, in _prepare_split_single
                  for key, table in generator:
                                    ^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 609, in wrapped
                  for item in generator(*args, **kwargs):
                              ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 299, in _generate_tables
                  self._cast_table(pa_table, json_field_paths=json_field_paths),
                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/packaged_modules/json/json.py", line 128, in _cast_table
                  pa_table = table_cast(pa_table, self.info.features.arrow_schema)
                             ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2321, in table_cast
                  return cast_table_to_schema(table, schema)
                         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/table.py", line 2249, in cast_table_to_schema
                  raise CastError(
              datasets.table.CastError: Couldn't cast
              _soc_127: struct<doc_id: string, doc_id_field: string, input_shard: string, phase: string, source_family: stri (... 26 chars omitted)
                child 0, doc_id: string
                child 1, doc_id_field: string
                child 2, input_shard: string
                child 3, phase: string
                child 4, source_family: string
                child 5, source_folder: string
              id: string
              metadata: string
              source: string
              text: string
              blob_id: string
              detected_licenses: list<item: string>
                child 0, item: string
              download_success: bool
              int_score: int64
              language: string
              length_bytes: int64
              license_type: string
              path: string
              repo_name: string
              score: double
              src_encoding: string
              added: string
              created: string
              to
              {'_soc_127': {'doc_id': Value('string'), 'doc_id_field': Value('string'), 'input_shard': Value('string'), 'phase': Value('string'), 'source_family': Value('string'), 'source_folder': Value('string')}, 'added': Value('string'), 'created': Value('string'), 'id': Value('string'), 'metadata': Json(decode=True), 'source': Value('string'), 'text': 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 1342, in compute_config_parquet_and_info_response
                  parquet_operations, partial, estimated_dataset_info = stream_convert_to_parquet(
                                                                        ^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 907, in stream_convert_to_parquet
                  builder._prepare_split(split_generator=splits_generators[split], file_format="parquet")
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1646, in _prepare_split
                  for job_id, done, content in self._prepare_split_single(
                                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^
                File "/usr/local/lib/python3.12/site-packages/datasets/builder.py", line 1832, 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.

_soc_127
dict
added
string
created
string
id
string
metadata
unknown
source
string
text
string
{ "doc_id": "fdc7c1bdf3ca0f7a5f23f2dc867d4bce9169b350", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
fdc7c1bdf3ca0f7a5f23f2dc867d4bce9169b350
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1540, "license_type": "no_license", "path": "/backend/PHPOGMS/students/students.php", "repo_name": "huhuapop/AngularOGMS", "score": 2.671875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'fdc7...
<?php /** * Returns the list of students. */ require '../osms.dbconfig.php'; $students = []; $sql = "select PantherID,FirstName,MiddleName,LastName,Email,MobileNumber,College,Department, Location,Degree,Major,Concentration,matricTerm,Position,Status from tbl_student_info "; if(empty($_G...
{ "doc_id": "43806084477c6d3d80bead088d57ff0bf133a580", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
43806084477c6d3d80bead088d57ff0bf133a580
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 6965, "license_type": "no_license", "path": "/services/TobiasAx_UserService.php", "repo_name": "nerds-and-company/tobiasax", "score": 2.59375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '438...
<?php namespace Craft; use Exception; /** * Tobias AX User service */ class TobiasAx_UserService extends BaseApplicationComponent { /** * @var string */ const UNKNOWN_ERROR = 'An unknown error occurred: {message}'; /** * @var string */ const ERROR_CREATE_UNKNOWN = 'An unknown e...
{ "doc_id": "be352af752916d23816236ea92b36d1ad2b60f5c", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
be352af752916d23816236ea92b36d1ad2b60f5c
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2603, "license_type": "no_license", "path": "/Calender/Calender.php", "repo_name": "humuhimi/start", "score": 3.21875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'be352af752916d23816236ea92b...
<?php namespace Myapp; // ini_set('display_errors',1); class Calender{ // public $ini; public $prev; public $next; public $yearMonth; private $_thisMonth; // よく使う奴はprivateにしておく function __construct(){ try { if(!isset($_GET['t'])||!preg_match('/\A\d{4}-\d{2}\z/',$_GET['t'])){ throw new \Exc...
{ "doc_id": "29b13145770a29f503834db75b939ac403ec517b", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
29b13145770a29f503834db75b939ac403ec517b
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2608, "license_type": "no_license", "path": "/PHP calculator/calculator.php", "repo_name": "morleyxjtu/Database-system-implementation", "score": 3.1875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob...
<html> <body> <form method="GET" action="calculator.php"> Name: <input type="text" name="fname"> <input type="submit"> </form> <?php if($_GET['fname']){ $name = $_GET['fname']; if (empty($name)){ echo "EM"; return; }//if input is empty, return nothing $arra = str_split($name); if (preg_mat...
{ "doc_id": "c9188e30b9f8d50d4ca14d8f9bb809394d554e50", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
c9188e30b9f8d50d4ca14d8f9bb809394d554e50
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 481, "license_type": "no_license", "path": "/app/Contracts/Dao/Post/PostDaoInterface.php", "repo_name": "nannulwin/laravelapi", "score": 2.625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'c9...
<?php namespace App\Contracts\Dao\Post; interface PostDaoInterface { public function getAllPost($user_id); public function addNewPost($user_id, $name, $description, $created_at, $modified_at); public function deletePostById($user_id, $id); public function getPostById($id); public function updatePo...
{ "doc_id": "d10353455481a13e6b4cb69534522d354e68762f", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
d10353455481a13e6b4cb69534522d354e68762f
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2181, "license_type": "no_license", "path": "/app/Models/RequirementService.php", "repo_name": "elam0444/laasistente-laravel", "score": 2.640625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '...
<?php namespace App\Models; use App\Traits\HashableModel; use Illuminate\Database\Eloquent\Model; use Illuminate\Database\Eloquent\SoftDeletes; /** * Class Requirement * @property integer requirement_id * @property integer service_id * @property integer associate_user_id * @property integer requirement_service_...
{ "doc_id": "dbeb5f681424e9282bb016a6bbd37b9f5fc88dbe", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
dbeb5f681424e9282bb016a6bbd37b9f5fc88dbe
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 6681, "license_type": "no_license", "path": "/application/admincp/controllers/adminlogin.php", "repo_name": "kpsahani/vue_napoleon_api", "score": 2.5625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blo...
<?php if (!defined('BASEPATH')) exit('No direct script access allowed'); class Adminlogin extends CI_Controller { /** * Index Page for this controller. * * Maps to the following URL * http://example.com/index.php/welcome * - or - * http://example.com/index.php/welcome/ind...
{ "doc_id": "fe3497e9cc1983db926f30e6f52788b4f95d2cba", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
fe3497e9cc1983db926f30e6f52788b4f95d2cba
{ "detected_licenses": [ "BSD-3-Clause" ], "int_score": 3, "language": "PHP", "length_bytes": 1979, "license_type": "permissive", "path": "/models/Surat.php", "repo_name": "megumi24/projecttgr", "score": 2.609375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'fe34...
<?php namespace app\models; use Yii; /** * This is the model class for table "surat". * * @property int $id_surat * @property int $id_jenissurat * @property int $id_kasus * @property string $nomor_surat * @property string $tgl_upload * @property string $path_surat * * @property Kasus $kasus * @property Ma...
{ "doc_id": "f3cacbd11414823769f0e3b1c37d4db2cc634071", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
f3cacbd11414823769f0e3b1c37d4db2cc634071
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 614, "license_type": "permissive", "path": "/app/Models/Workflow/WorkflowStep.php", "repo_name": "mutokvachi/mindwo", "score": 2.5625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id':...
<?php namespace App\Models\Workflow; use Illuminate\Database\Eloquent\Model; /** * Model for workflow step object */ class WorkflowStep extends Model { /** * @var string Saistītā tabula */ protected $table = 'dx_workflows'; /** * @var bool Atslēdz laravel iebūvēto modeļu izveides un lab...
{ "doc_id": "f21dfebe963c89f1bfdf4d4a2f524683127c1960", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
f21dfebe963c89f1bfdf4d4a2f524683127c1960
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1889, "license_type": "no_license", "path": "/public/staff/articulos/index.php", "repo_name": "Izaack-B97/Manejador-de-Contenido---Periodico", "score": 2.546875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/conte...
<?php require_once('../../../private/initialize.php'); ?> <?php $articulos_set = find_all_articulos(); ?> <?php $page_title = 'Articulos'; ?> <!-- Importamos el header con sus respectivas funciones --> <?php include(SHARED_PATH . '/staff_header.php'); ?> <br> <h3>Listado de Articulos</h3> <a class="btn btn-succ...
{ "doc_id": "a95ca41508f9f1cd0879a4bc5790f030977e55ec", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
a95ca41508f9f1cd0879a4bc5790f030977e55ec
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 3799, "license_type": "no_license", "path": "/gerar-pdf-boleto.php", "repo_name": "AlefeT/GerarCodigoDeBarras-MontarBoleto-PHP-DomPDF", "score": 2.671875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'bl...
<?php ob_start(); //include 'functions.php'; /***************************** ** Puxar variaveis do BD ** *****************************/ $cpfCliente = $cpfcliente; //$cpfcliente $dadosDevdor = getDadosdevedor($cpfCliente); $nomecliente = $dadosDevdor[0]; //nome do devedor $codCliente = $dadosDevdor[1]; //código d...
{ "doc_id": "333a75b82a2fa07a13e547c141858371571b48d2", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
333a75b82a2fa07a13e547c141858371571b48d2
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1113, "license_type": "no_license", "path": "/mappy-travels/php/prizes.php", "repo_name": "arabellastrange/mobile-stuff", "score": 2.5625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '333a75b...
<?php session_start(); require ('dbconnect.php'); $json = Array(); if (isset($_SESSION['username'])){ $username = $_SESSION['username']; } else { header("Location: ../index.html"); die(); } header("Content-Type: application/json; charset=UTF-8"); //PrizesToUsers $ptuResult = $conn->query("SELECT PrizeID...
{ "doc_id": "f85b450a65e90236a7e748131eb5410690742bd7", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
f85b450a65e90236a7e748131eb5410690742bd7
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2657, "license_type": "no_license", "path": "/class/KeyRequest.php", "repo_name": "PrasannaMalitha/KeyDistributionSystem", "score": 2.78125, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'f85b4...
<?php /** * Created by PhpStorm. * User: Janani * Date: 10/4/2018 * Time: 4:24 PM */ final class KeyRequest extends Permission { private $id; private $requesting_user; private $machine; private $key_type; private $responding_admin; private $approved; private $issued; function __co...
{ "doc_id": "806077657fb904fdfa6bca24b262cd2515bd135e", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
806077657fb904fdfa6bca24b262cd2515bd135e
{ "detected_licenses": [], "int_score": 4, "language": "PHP", "length_bytes": 552, "license_type": "no_license", "path": "/Fundamental Concepts/conditional_statements/index.php", "repo_name": "tom-williams26/PHP", "score": 3.984375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'bl...
<!DOCTYPE html> <html> <head> <meta charset="utf-8"> <title>Conditional statements</title> </head> <body> <?php //Conditional statements are used to run a chunk of code if a statement is true $number = 14; if ($number < 10) { echo "The number is less than 10"; ...
{ "doc_id": "4d1e2c55f40fe79cfdeb435f8d9d52d8e803532d", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
4d1e2c55f40fe79cfdeb435f8d9d52d8e803532d
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 4105, "license_type": "no_license", "path": "/private/libs/edq/qSession.php", "repo_name": "eDataQuest/simpleweb", "score": 2.875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '4d1e2c55f40fe79...
<?php class qSession { static protected $dbh = null; /************** START SessionHandlerInterface Methods **************/ static public function close() { return true; } static public function destroy($session_id) { self::dbConnect(); $stmt = self::$dbh->prepare('DEL...
{ "doc_id": "67ae37f604a97f72cd34200ca120d023517b7194", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
67ae37f604a97f72cd34200ca120d023517b7194
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 8444, "license_type": "permissive", "path": "/app/controllers/ProjectMastersController.php", "repo_name": "yashbarot/xm", "score": 2.515625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blo...
<?php class ProjectMastersController extends \BaseController { protected $project_master; public function __construct(ProjectMaster $project_master){ $this->project_master = $project_master; } /** * Display a listing of the resource. * * @return Response */ public function index() { $projects = $th...
{ "doc_id": "434c838a144ea4574958cf246ec66cefbfa77458", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
434c838a144ea4574958cf246ec66cefbfa77458
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 602, "license_type": "no_license", "path": "/PHP, XAMPP, MySQL/MySQL for PHP Developers Exercises/ex03-create-user.php", "repo_name": "awekisa/Software-Technologies", "score": 2.890625, "src_encoding": "UTF-8", "uri": "s3:...
<?php $hostname = 'localhost'; $username = 'root'; $password = ''; $dbname = 'blog'; $mysqli = new mysqli($hostname, $username, $password, $dbname); if ($mysqli->connect_errno) { die("Error! Failed to connect to MySQL"); } $query = $mysqli->prepare("INSERT INTO users (username, password_hash, full_name) VALUES (...
{ "doc_id": "7744217e7b62d0428905f4162b2b483c667a9c1d", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
7744217e7b62d0428905f4162b2b483c667a9c1d
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 19805, "license_type": "no_license", "path": "/inc/lib/model/xrumer.php", "repo_name": "dmitry575/RedButton3", "score": 2.65625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '7744217e7b62d0428...
<?php //+------------------------------------------------------------------+ //| Copyright c 2012, RedButton Web Sites Generator | //| http://www.getredbutton.com | //+------------------------------------------------------------------+ /** * Генерация проектов для ...
{ "doc_id": "0078ceba1bea0b808cd338dc1d564df7d0c2b2dd", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
0078ceba1bea0b808cd338dc1d564df7d0c2b2dd
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 4806, "license_type": "permissive", "path": "/tests/src/Device/PdfWriteTest.php", "repo_name": "GravityMedia/Ghostscript", "score": 2.53125, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blo...
<?php /** * This file is part of the Ghostscript test package * * @author Daniel Schröder <daniel.schroeder@gravitymedia.de> */ namespace GravityMedia\GhostscriptTest\Device; use GravityMedia\Ghostscript\Device\PdfWrite; use GravityMedia\Ghostscript\Enum\PdfSettings; use GravityMedia\Ghostscript\Enum\ProcessColor...
{ "doc_id": "1cfd8bfb45a071b93d2a679fcafa78138848ce1f", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
1cfd8bfb45a071b93d2a679fcafa78138848ce1f
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 3987, "license_type": "permissive", "path": "/src/Resource/MemberResource.php", "repo_name": "dkben/slim4-api-jwt", "score": 2.578125, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id':...
<?php namespace App\Resource; use App\Entity\Member; use App\Exception\ExceptionResponse; use App\Exception\TestException; use App\Helper\RedisHelper; use App\Helper\SaveLogHelper; class MemberResource extends BaseResource { public function __construct($request, $response, $args) { parent::__const...
{ "doc_id": "ff2ac106083376ae15e4a09b2c0f87d0b5bcee61", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
ff2ac106083376ae15e4a09b2c0f87d0b5bcee61
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1640, "license_type": "no_license", "path": "/admin/rsvp-edit.php", "repo_name": "marklippert/cajunfest", "score": 2.546875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'ff2ac106083376ae15e4a...
<?php include "login.php"; $PageTitle = "Edit RSVP Entry"; include "header.php"; include "../inc/dbconfig.php"; $result = $mysqli->query("SELECT * FROM rsvp WHERE id = '" . $_GET['id'] . "'"); $row = $result->fetch_array(MYSQLI_BOTH); ?> <h1>Edit RSVP Entry</h1> <form action="rsvp-db.php?a=edit" method="...
{ "doc_id": "149fa2b0a8f0d19a28da6ce5fde91076bf226dba", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
149fa2b0a8f0d19a28da6ce5fde91076bf226dba
{ "detected_licenses": [ "LicenseRef-scancode-warranty-disclaimer", "Apache-2.0" ], "int_score": 3, "language": "PHP", "length_bytes": 2157, "license_type": "permissive", "path": "/Bengine/lib/Recipe/Email/Template.php", "repo_name": "DocKob/PHP-Games-Archives", "score": 3, "src_encoding": "...
<?php /** * Email template. * * @package Recipe 1.2 * @author Sebastian Noll * @copyright Copyright (c) 2012, Sebastian Noll * @license Proprietary * @version $Id$ */ class Recipe_Email_Template { /** * Template file name. * * @var string */ protected $template = null; /** * Rendered messages. ...
{ "doc_id": "775052dc9c64c3b0009dc42ed330b42da042c98b", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
775052dc9c64c3b0009dc42ed330b42da042c98b
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 4886, "license_type": "no_license", "path": "/src/IdentityService/Service/CampaignApiService.php", "repo_name": "paul-schulleri/IdentityService", "score": 2.609375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/co...
<?php namespace IdentityService\Service; use GuzzleHttp\Client; use GuzzleHttp\RequestOptions; use IdentityService\Config\CampaignApiConfig; use IdentityService\ValueObject\CampaignApiResponse; use IdentityService\ValueObject\Locale; use IdentityService\ValueObject\ParameterName; use Olando\Exception\MissingRequiredPa...
{ "doc_id": "66d04097dc5c61dbb635a9f1a5bd16fc44135ef0", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
66d04097dc5c61dbb635a9f1a5bd16fc44135ef0
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 1765, "license_type": "permissive", "path": "/src/Symlinks/SymlinksProcessor.php", "repo_name": "somework/composer-symlinks", "score": 2.8125, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'b...
<?php namespace SomeWork\Symlinks; use Composer\Util\Filesystem; class SymlinksProcessor { /** * @var Filesystem */ private $filesystem; public function __construct(Filesystem $filesystem) { $this->filesystem = $filesystem; } /** * @param Symlink $symlink * ...
{ "doc_id": "0293a3dbf101b25279cc07a5adf51e8b1d7b149f", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
0293a3dbf101b25279cc07a5adf51e8b1d7b149f
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 18363, "license_type": "no_license", "path": "/app/Models/Game.php", "repo_name": "trofimovdev/vk_chess", "score": 2.75, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '0293a3dbf101b25279cc07a5a...
<?php namespace App\Models; use App\Exceptions\Database\DatabaseGameNotCreatedException; use App\Exceptions\Database\DatabaseInvalidPieceException; use App\Exceptions\Game\GameInvalidCoords; use App\Exceptions\Game\GameRulesException; use App\Exceptions\Http\HttpNotFoundException; use App\Exceptions\Http\HttpRequestE...
{ "doc_id": "d4405df61644d72830ed3a7b36e3b831a238a7a4", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
d4405df61644d72830ed3a7b36e3b831a238a7a4
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1821, "license_type": "no_license", "path": "/func/filter/filter_filter_var.php", "repo_name": "mumingv/php", "score": 3.28125, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'd4405df61644d72830...
<?php /*********************************************************** * FileName: filter_filter_var.php * Desc: 使用特定的过滤器过滤一个变量 * Author: Jie Yin * Email: mumingv@163.com * HomePage: https://github.com/mumingv * Version: 0.0.1 * LastChange: 2016-03-29 15:40:26 * History: **...
{ "doc_id": "0ae22563c71c706ddd7d0a656d1d121c4aae1d29", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
0ae22563c71c706ddd7d0a656d1d121c4aae1d29
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 1387, "license_type": "permissive", "path": "/read.php", "repo_name": "jac7mc/Community_Honor_Fund_Directory", "score": 2.71875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '0ae2...
<?php include 'databaseinfo.php'; //get all the rows in the mysql database $query = "select * from clientmain ORDER BY lastName, firstName, phone, email"; $result = $db->query($query) or die("Your query couldn't be done: " . $db->error); $rows = $result->num_rows; //number of rows there are $jsonArray =...
{ "doc_id": "0d385a8d33ebc4d5fbf871a37b8abcb50e41ebb9", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
0d385a8d33ebc4d5fbf871a37b8abcb50e41ebb9
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 1577, "license_type": "permissive", "path": "/modules/Contact/Contact.php", "repo_name": "GRAVOXMarshall/huka", "score": 2.546875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '0d...
<?php namespace Modules\Contact; use App\Http\Classes\Module; class Contact extends Module { public function __construct() { $this->name = 'Contact'; $this->description = 'This module allow create a contact form'; //parent::__construct(); } /** * @return bool */ ...
{ "doc_id": "05f1866e249d345370146624746e6c805b478592", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
05f1866e249d345370146624746e6c805b478592
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 5087, "license_type": "no_license", "path": "/signup.php", "repo_name": "krysje/ObservationPoint", "score": 2.59375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '05f1866e249d345370146624746e6...
<?php define('TITLE',"Signup"); include 'header.php'; if(isset($_SESSION['userId'])) { header("Location: index.php"); exit(); } ?> <div id="contact"> <?php $userName = ''; $email = ''; if(isset($_GET['error'])) { if($_GET['error'] =...
{ "doc_id": "4692923f76a632d4f20041a8289be5e08c69d2f4", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
4692923f76a632d4f20041a8289be5e08c69d2f4
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1365, "license_type": "permissive", "path": "/src/Metadata/MetadataMap.php", "repo_name": "mezzio/mezzio-hal", "score": 2.9375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '4692923f76a632d4f2...
<?php declare(strict_types=1); namespace Mezzio\Hal\Metadata; use function class_exists; class MetadataMap { /** * @var array * @psalm-var array<string, AbstractMetadata> */ private $map = []; /** * @throws Exception\DuplicateMetadataException If metadata matching the * cla...
{ "doc_id": "da7ca9a8197a51309af74cd990c5a03019cc16f0", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
da7ca9a8197a51309af74cd990c5a03019cc16f0
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 1075, "license_type": "permissive", "path": "/siges_v10_laravel/database/factories/EmployeeFactory.php", "repo_name": "edukmattos/siges_laravel_quasar", "score": 2.515625, "src_encoding": "UTF-8", "uri": "s3:/...
<?php use Faker\Generator as Faker; /* |-------------------------------------------------------------------------- | Model Factories |-------------------------------------------------------------------------- | | This directory should contain each of the model factory definitions for | your application. Factories pro...
{ "doc_id": "bd42e6b399f2afd102e90511c19d0a6942ef6cad", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
bd42e6b399f2afd102e90511c19d0a6942ef6cad
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 8316, "license_type": "no_license", "path": "/src/functions.php", "repo_name": "Findforsikring/Support", "score": 3.21875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'bd42e6b399f2afd102e9051...
<?php /** * Helper functions * @global */ if (!function_exists('implode_danish_list')) { if (!function_exists('is_assoc')) { /** * Checks if array is associative or not * @param array $array * @return bool */ function is_assoc(array $array) { ...
{ "doc_id": "5680e27a4524dc80a3b8f2124ef35c3f953edcff", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
5680e27a4524dc80a3b8f2124ef35c3f953edcff
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 2332, "license_type": "permissive", "path": "/project/app/Http/Controllers/LanguageController.php", "repo_name": "JakubDadela/Platforma_do_nauki_jezykow", "score": 2.640625, "src_encoding": "UTF-8", "uri": "s3...
<?php namespace App\Http\Controllers; use App\Models\Language; use Illuminate\Http\Request; use Illuminate\Support\Facades\Validator; class LanguageController extends Controller { public function index() { // } /** * Show the form for creating a new resource. * * @return \Illu...
{ "doc_id": "1671e1617472a92f3df0c536c331521613f207eb", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
1671e1617472a92f3df0c536c331521613f207eb
{ "detected_licenses": [ "Apache-2.0" ], "int_score": 3, "language": "PHP", "length_bytes": 1415, "license_type": "permissive", "path": "/application/jiandan/controller/Meizi.php", "repo_name": "CodeJies/ToBeContinue", "score": 2.515625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/c...
<?php /** * Created by PhpStorm. * User: zjt57 * Date: 2018/8/21 * Time: 16:33 */ namespace app\jiandan\controller; use app\jiandan\Base; use app\jiandan\logic\Meizi as MeiziLogic; class Meizi extends Base { /** * * @param $pageIndex * @return \think\response\Json */ public function...
{ "doc_id": "111eefab00ef012c9218de7cc2abf0996ab1cf8e", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
111eefab00ef012c9218de7cc2abf0996ab1cf8e
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 1633, "license_type": "no_license", "path": "/module/CodeOrders/src/CodeOrders/V1/Rest/Orders/OrdersEntity.php", "repo_name": "johnnyfagundes/apigility", "score": 2.78125, "src_encoding": "UTF-8", "uri": "s3://softwareheri...
<?php namespace CodeOrders\V1\Rest\Orders; class OrdersEntity { protected $id; protected $clients_id; protected $user_id; protected $ptypes_id; protected $total; protected $status; protected $created_at; protected $items; function getId() { return $this->id; } ...
{ "doc_id": "3a1b4fdbbd6a4a5c0bf4fa45f3955f644597d938", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
3a1b4fdbbd6a4a5c0bf4fa45f3955f644597d938
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2745, "license_type": "no_license", "path": "/modules/shopcart/lib/ShopcartGood.php", "repo_name": "agrinceac/life-kofe.ru", "score": 2.59375, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '3a1...
<?php namespace modules\shopcart\lib; class ShopcartGood { use traits\ShopcartBaseMethods; protected $objectClass; protected $objectId; protected $good; protected $quantity; protected $index; public function __construct($objectClass, $objectId, $quantity, $index) { $this->setObjectClass($objectClass) -...
{ "doc_id": "3341b198471d7d74a27c7c300bff5a3b8a6b6920", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
3341b198471d7d74a27c7c300bff5a3b8a6b6920
{ "detected_licenses": [ "MIT" ], "int_score": 3, "language": "PHP", "length_bytes": 3498, "license_type": "permissive", "path": "/src/Tyler/TopTrumpsBundle/Controller/AbstractDbController.php", "repo_name": "DaveTCode/TopTrumps-PHPSymfony", "score": 2.953125, "src_encoding": "UTF-8", "uri": "...
<?php namespace Tyler\TopTrumpsBundle\Controller; use Symfony\Bundle\FrameworkBundle\Controller\Controller; use Symfony\Component\HttpFoundation\Request; use Symfony\Component\HttpKernel\Exception\HttpException; /** * Class AbstractDbController * * @package Tyler\TopTrumpsBundle\Controller */ abstract class Abst...
{ "doc_id": "a862f6a71c3055b9ad823952a75e17332763348d", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
a862f6a71c3055b9ad823952a75e17332763348d
{ "detected_licenses": [ "MIT", "LicenseRef-scancode-unknown-license-reference" ], "int_score": 3, "language": "PHP", "length_bytes": 884, "license_type": "permissive", "path": "/app/Fields/Displaytype/Hidden.php", "repo_name": "dimitridacosta/uccello", "score": 2.625, "src_encoding": "UTF-8...
<?php namespace Uccello\Core\Fields\Displaytype; use Uccello\Core\Contracts\Field\Displaytype; class Hidden implements Displaytype { /** * Checks if the field can be displayed in List view. * * @return boolean */ public function isListable() : bool { return false; } /...
{ "doc_id": "f9857b3857e48aedc67b5b2cdc0b47581b8ee975", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
f9857b3857e48aedc67b5b2cdc0b47581b8ee975
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 3212, "license_type": "no_license", "path": "/Web Applications/Travel Info Web Application/Source Code/signup.php", "repo_name": "shaikalimulla/Apps", "score": 2.65625, "src_encoding": "UTF-8", "uri": "s3://softwareheritag...
<?php //Name : Alimulla Shaik //Purpose: A php page to handle signup functionalities //Author : shal5122@colorado.edu //Version: 1.0 //Date : 2016/04/22 session_start(); session_regenerate_id(); include_once('/var/www/html/project/project-lib.php'); isset($_REQUEST['s'])?$s=strip_tags($_REQUEST['s']):$s=""; isse...
{ "doc_id": "392a6ba91f2227f1cfa97988f90f554c1b15963e", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
392a6ba91f2227f1cfa97988f90f554c1b15963e
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 686, "license_type": "no_license", "path": "/mytest/main.php", "repo_name": "koreauniv-oaz/juneyoung_kang", "score": 2.75, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '392a6ba91f2227f1cfa9798...
<?php include('./dbconfig.php'); $query1 = "SELECT * FROM mytest where delta='4'"; $row1 = mysqli_fetch_row($mysqli->query($query1)); //print_r($row1); $query2 = "SELECT * FROM mytest where delta='4'"; $row2 = mysqli_fetch_assoc($mysqli->query($query2)); //print_r($row2); function res...
{ "doc_id": "bd175e67ef496e9386c8b2acfa1bea6fa0e586e5", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
bd175e67ef496e9386c8b2acfa1bea6fa0e586e5
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 2299, "license_type": "no_license", "path": "/SMAL/OggettiPersistenti/Cliente.php", "repo_name": "s-sirchia/SMAL", "score": 2.90625, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': 'bd175e67ef496...
<?php require_once '/Users/Luigi/Sites/WorkSpaceSmal/SMAL/OggettiPersistenti/Richiesta.php'; require_once '/Users/Luigi/Sites/WorkSpaceSmal/SMAL/Storage/Storage.php'; class Cliente{ private $id; private $username; private $nome; private $cognome; private $password; private $email; private $storage; ...
{ "doc_id": "67cfc690627358bb586ba5e0602ac45d78381a0d", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
67cfc690627358bb586ba5e0602ac45d78381a0d
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 798, "license_type": "no_license", "path": "/src/Reports/Infrastructure/Report/Parser/Xml/Reader.php", "repo_name": "pausf/consume_readings", "score": 2.921875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/conten...
<?php namespace Pau\Reports\Infrastructure\Report\Parser\Xml; class Reader { public function __construct($xml = null) { $this->checkFile($xml); $this->xml = $xml; } public function checkFile($xml) { if (file_exists($xml) !== true) { throw new \InvalidArgument...
{ "doc_id": "26acbac74ae4ee22ffde1e39c37e875dd1da4f86", "doc_id_field": "id", "input_shard": "data/stack_edu-PHP/shard_00000017.jsonl.zst", "phase": "mix_nonpool", "source_family": "stack_edu", "source_folder": "stack_edu-PHP" }
26acbac74ae4ee22ffde1e39c37e875dd1da4f86
{ "detected_licenses": [], "int_score": 3, "language": "PHP", "length_bytes": 3349, "license_type": "no_license", "path": "/core/rs/csv/preset/singlephoto.inc.php", "repo_name": "2br-dev/esayan_site", "score": 2.671875, "src_encoding": "UTF-8", "uri": "s3://softwareheritage/content/{'blob_id': '26ac...
<?php /** * ReadyScript (http://readyscript.ru) * * @copyright Copyright (c) ReadyScript lab. (http://readyscript.ru) * @license http://readyscript.ru/licenseAgreement/ */ namespace RS\Csv\Preset; /** * Добавляет к экспорту колонку для поля Orm\Type\Image с экспортом фото. * Обеспечивает корректный импорт */ class Sin...
End of preview.

YAML Metadata Warning:empty or missing yaml metadata in repo card

Check out the documentation for more information.

dolma3-6t-unique

1.258B unique Dolma3 documents materialized after Bloom-filter dedup (SOC-90). Used as the canonical deduplicated 6T corpus on HF.

Provenance

This dataset was renamed on 2026-05-25 as part of the HCAI-Lab HF naming convention cleanup (PR 3). See docs/HCAI_LAB_NAMING_CONVENTION.md in the project repo for the convention.

Field Value
Previous name HCAI-Lab/dolma3_6t_unique
Renamed 2026-05-25

See docs/data_home/inventory.json for the full inventory including the old_names field on each entry.

Downloads last month
25,654

Collection including HCAI-Lab/dolma3-6t-unique