Dataset Preview
The full dataset viewer is not available (click to read why). Only showing a preview of the rows.
The dataset generation failed because of a cast error
Error code: DatasetGenerationCastError
Exception: DatasetGenerationCastError
Message: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'lang', 'proj', 'idx'})
This happened while the json dataset builder was generating data using
hf://datasets/auphong2707/review-code-generation-code-changes/data/Comment_Generation/msg-valid.jsonl (at revision 59bb4f0c541d4f81332662e8adc1640a5d433a84)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)
Traceback: Traceback (most recent call last):
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1831, in _prepare_split_single
writer.write_table(table)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/arrow_writer.py", line 644, in write_table
pa_table = table_cast(pa_table, self._schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2272, in table_cast
return cast_table_to_schema(table, schema)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/table.py", line 2218, in cast_table_to_schema
raise CastError(
datasets.table.CastError: Couldn't cast
patch: string
y: int64
oldf: string
idx: int64
id: int64
msg: string
proj: string
lang: string
to
{'oldf': Value('string'), 'patch': Value('string'), 'msg': Value('string'), 'id': Value('int64'), 'y': Value('int64')}
because column names don't match
During handling of the above exception, another exception occurred:
Traceback (most recent call last):
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1456, in compute_config_parquet_and_info_response
parquet_operations = convert_to_parquet(builder)
File "/src/services/worker/src/worker/job_runners/config/parquet_and_info.py", line 1055, in convert_to_parquet
builder.download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 894, in download_and_prepare
self._download_and_prepare(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 970, in _download_and_prepare
self._prepare_split(split_generator, **prepare_split_kwargs)
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1702, in _prepare_split
for job_id, done, content in self._prepare_split_single(
File "/src/services/worker/.venv/lib/python3.9/site-packages/datasets/builder.py", line 1833, in _prepare_split_single
raise DatasetGenerationCastError.from_cast_error(
datasets.exceptions.DatasetGenerationCastError: An error occurred while generating the dataset
All the data files must have the same columns, but at some point there are 3 new columns ({'lang', 'proj', 'idx'})
This happened while the json dataset builder was generating data using
hf://datasets/auphong2707/review-code-generation-code-changes/data/Comment_Generation/msg-valid.jsonl (at revision 59bb4f0c541d4f81332662e8adc1640a5d433a84)
Please either edit the data files to have matching columns, or separate them into different configurations (see docs at https://hf.co/docs/hub/datasets-manual-configuration#multiple-configurations)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.
oldf string | patch string | msg string | id int64 | y int64 |
|---|---|---|---|---|
// | / |
// ' / __| _` | __| _ \ __|
// . \ | ( | | ( |\__ `
// _|\_\_| \__,_|\__|\___/ ____/
// Multi-Physics
//
// License: BSD License
// Kratos default license: kratos/license.txt
//
// Main authors: Vicente Mataix Ferrandiz
//
// System includes
#... | @@ -595,8 +595,10 @@ namespace Kratos
array_1d<double, 3> b = ZeroVector(3);
b[0] = 1.0;
- const array_1d<double, 3> c = MathUtils<double>::CrossProduct(a, b);
- const array_1d<double, 3> d = MathUtils<double>::UnitCrossProduct(a, b);
+ array_1d<double, 3> ... | I assumed that for CrossProduct the values were inverted as well... Is that right? | 90,017 | 1 |
#
# Licensed to the Apache Software Foundation (ASF) under one or more
# contributor license agreements. See the NOTICE file distributed with
# this work for additional information regarding copyright ownership.
# The ASF licenses this file to You under the Apache License, Version 2.0
# (the "License"); you may not us... | @@ -22,8 +22,13 @@
For internal use only; no backwards-compatibility guarantees.
"""
+from __future__ import absolute_import
+
import sys
import traceback
+from builtins import next
+from builtins import object
+from builtins import zip
import six
| I think we should we avoid `import six` for consistency with the approach followed elsewhere. What do you think, @RobbeSneyders ? Looks like we are using `six.reraise` in a few places and `six.text_type` in apiclient.py. | 144,914 | 1 |
# frozen_string_literal: true
require 'view/game/part/blocker'
require 'view/game/part/borders'
require 'view/game/part/cities'
require 'view/game/part/label'
require 'view/game/part/location_name'
require 'view/game/part/revenue'
require 'view/game/part/towns'
require 'view/game/part/track'
require 'view/game/part/up... | @@ -25,13 +25,16 @@ module View
def should_render_revenue?
revenue = @tile.revenue_to_render
+ # special case: city with multi-revenue - no choice but to draw separate revenue
+ return true if revenue.any? { |r| !r.is_a?(Numeric) }
+
return false if revenue.empty?
ret... | we call cities + towns . size a lot, maybe make a helper method on tiles | 12,959 | 1 |
"/*\n * (C) Copyright 2016-2021 Intel Corporation.\n *\n * SPDX-License-Identifier: BSD-2-Clause-Pat(...TRUNCATED) | "@@ -947,6 +947,7 @@ out:\n \t\tD_ERROR(\"pool \"DF_UUID\" event %d failed: rc %d\\n\",\n \t\t\tDP_U(...TRUNCATED) | This will be removed. | 171,235 | 1 |
"// Licensed to Elasticsearch B.V. under one or more contributor\n// license agreements. See the NOT(...TRUNCATED) | "@@ -160,6 +160,11 @@ func (r *routeBuilder) profileHandler() (request.Handler, error) {\n \treturn (...TRUNCATED) | "nit: `firehoseLogHandler` vs. `firehoseMiddleware` looks like a naming inconsistency? (`log` is not(...TRUNCATED) | 32,732 | 1 |
"# The actions necessary for managing grade entry forms.\n\nclass GradeEntryFormsController < Applic(...TRUNCATED) | "@@ -416,7 +416,8 @@ class GradeEntryFormsController < ApplicationController\n end\n end\n(...TRUNCATED) | Trailing whitespace detected. | 38,006 | 1 |
"/*\n * SonarQube Java\n * Copyright (C) 2012-2018 SonarSource SA\n * mailto:info AT sonarsource DOT(...TRUNCATED) | "@@ -40,6 +40,8 @@ import org.sonar.plugins.java.api.semantic.Symbol;\n \n public class BytecodeComp(...TRUNCATED) | Confirmed the issue on SQ side. | 18,300 | 1 |
"'use strict';\n\n/**\n * @ngdoc function\n * @module ng\n * @name angular.injector\n * @kind functi(...TRUNCATED) | "@@ -359,6 +359,8 @@ function annotate(fn, strictDi, name) {\n * * {@link auto.$provide#service ser(...TRUNCATED) | "service decorator is not correct, as not only services can be decorated. You should call it **decor(...TRUNCATED) | 77,485 | 1 |
"\"\"\"Generate and work with PEP 425 Compatibility Tags.\"\"\"\nfrom __future__ import absolute_imp(...TRUNCATED) | "@@ -158,6 +158,8 @@ def get_supported(versions=None, noarch=False):\n \n abis.append('none')\n (...TRUNCATED) | "Renaming this variable `arch` and flipping the values/logic in the surrounding code would make this(...TRUNCATED) | 27,839 | 1 |
"/*\n * Licensed to the Apache Software Foundation (ASF) under one\n * or more contributor license a(...TRUNCATED) | "@@ -641,8 +641,10 @@ public class DoFnOperator<InputT, OutputT>\n @Override\n public final void(...TRUNCATED) | Is this required on every element? I'd rather trigger this only if we set / remove a hold. | 224,505 | 1 |
End of preview.
No dataset card yet
- Downloads last month
- 8