Datasets:
diff stringlengths 12 9.3k | message stringlengths 8 199 | reasoning_trace null | repo stringlengths 6 68 | license stringclasses 3
values | language stringclasses 16
values |
|---|---|---|---|---|---|
@@ -582,3 +582,10 @@ export class DCons<T>
return cell;
}
}
+
+/**
+ * Functional syntax sugar for `new DCons(src?)`.
+ *
+ * @param src
+ */
+export const dcons = <T>(src?: Iterable<T>) => new DCons(src);
| feat(dcons): add dcons() factory fn (syntax sugar) | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
#include "ntl.h"
#include "json-actor.h"
+static void assert_is_pointer(void * p)
+{
+ if (NULL == p)
+ return;
+
+ /*
+ * This is a poor man's method to check if
+ * p is a legit pointer.
+ */
+ char * x = (char *)p;
+ static char c; // has to be a static variable
+ c = *x;
+}
+
+
extern char *
json_escape_string (siz... | feat: add a rudimentary pointer check for the operands of json_inject | null | cee-studio/orca | MIT License | C |
@@ -22,6 +22,7 @@ readonly GO111MODULE="on"
readonly GOFLAGS="-mod=readonly"
readonly GOPATH="$(mktemp -d)"
readonly CLUSTER_NAME="verify-gateway-api"
+readonly ADMISSION_WEBHOOK_VERSION="v0.5.1"
export KUBECONFIG="${GOPATH}/.kubeconfig"
export GOFLAGS GO111MODULE GOPATH
@@ -60,7 +61,7 @@ resources:
- certificate_confi... | feat: add the ADMISSION_WEBHOOK_VERSION | null | kubernetes-sigs/gateway-api | Apache License 2.0 | Shell |
import { Response, NextFunction } from 'express';
+import { Where } from '../types';
import executeAccess from './executeAccess';
import { Forbidden } from '../errors';
import { PayloadRequest } from '../express/types';
@@ -11,19 +12,33 @@ const getExecuteStaticAccess = ({ config, Model }) => async (req: PayloadRequest... | feat: applies upload access control to all auto-generated image sizes | null | payloadcms/payload | MIT License | TypeScript |
@@ -112,7 +112,7 @@ class PreparedQuery extends BasePreparedQuery implements PreparedQueryInterface
*/
public function _getResult()
{
- return $this->statement->get_result();
+ return $this->statement;
}
//--------------------------------------------------------------------
| feat: add get result method | null | codeigniter4/codeigniter4 | MIT License | PHP |
@@ -4,14 +4,15 @@ import template from './projects.html';
export default /* @ngInject */ ($stateProvider) => {
$stateProvider
.state('pci.projects', {
+ abstract: true,
url: '/projects',
controller,
controllerAs: '$ctrl',
template,
- resolve: {
- breadcrumb: /* @ngInject */ $translate => $translate
- .refresh()
- .then... | feat: disable projects page | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
@@ -254,8 +254,8 @@ class Entries
// Get entry file location
$entryFile = $this->getFileLocation($this->registry()->get('fetch.id'));
- // Try to get requested entry from the filesystem
- $entryFileContent = filesystem()->file($entryFile)->get();
+ // Try to get requested entry from the filesystem.
+ $entryFileContent ... | feat(entries): use file lock for read/write operations | null | flextype/flextype | MIT License | PHP |
@@ -44,11 +44,38 @@ class Chunk2DocRankDriver(BaseRankDriver):
if match_idx:
match_idx = np.array(match_idx, dtype=np.float64)
- doc_idx = self.exec_fn(match_idx, query_chunk_meta, match_chunk_meta)
- for _d in doc_idx:
+ docs_scores = self.exec_fn(match_idx, query_chunk_meta, match_chunk_meta)
+ for doc_id, score in d... | feat(drivers): add docrankerdriver | null | jina-ai/jina | Apache License 2.0 | Python |
@@ -14,11 +14,6 @@ class CollapsibleAccordion extends Component {
this._collapseItems(false, this.props.items.findIndex(item => !item.collapsed))
}
- componentWillReceiveProps (nextProps) {
- const id = nextProps.items.findIndex(item => !item.collapsed)
- this._setOpenIndex(id)
- }
-
_handleClick (id) {
return collapse... | feat(collapsible/accordion): delete unused code | null | sui-components/sui-components | MIT License | JavaScript |
@@ -1051,6 +1051,18 @@ namespace PepperDash.Essentials.DM
Debug.Console(2, this, "No index of {0} found in InputStreamCardStateFeedbacks");
break;
}
+ case DMInputEventIds.ResolutionEventId:
+ {
+ var inputPort =
+ InputPorts.Cast<RoutingInputPortWithVideoStatuses>()
+ .FirstOrDefault((ip) => ip.Key.Contains(String.For... | feat(Essentials_DM): Update DmInputEvent handler for input resolution feedback | null | pepperdash/essentials | MIT License | C# |
@@ -15,6 +15,16 @@ const enterCtrl = ContentState => {
this.insertAfter(container, parent)
}
+ ContentState.prototype.createRow = function (columns) {
+ const trBlock = this.createBlock('tr')
+ let i
+ for (i = 0; i < columns; i++) {
+ const tdBlock = this.createBlock('td')
+ this.appendChild(trBlock, tdBlock)
+ }
+ re... | feat: table hand metakey + enter | null | marktext/marktext | MIT License | JavaScript |
@@ -8,7 +8,7 @@ import (
var keyshareTaskCmd = &cobra.Command{
Use: "task",
- Short: "IRMA keyshare background task server",
+ Short: "Perform IRMA keyshare background tasks",
Run: func(command *cobra.Command, args []string) {
conf := configureKeyshareTask(command)
@@ -56,7 +56,7 @@ func init() {
}
func configureKeysha... | feat: modify irma keyshare task description | null | privacybydesign/irmago | Apache License 2.0 | Go |
@@ -2,4 +2,4 @@ export { LoggerModule } from "./LoggerModule";
export { Params, LoggerModuleAsyncParams } from "./params";
export { Logger } from "./Logger";
export { PinoLogger } from "./PinoLogger";
-export { InjectPinoLogger } from "./InjectPinoLogger";
+export { InjectPinoLogger, getLoggerToken } from "./InjectPino... | feat: export getLoggerToken from index.ts | null | iamolegga/nestjs-pino | MIT License | TypeScript |
@@ -55,7 +55,8 @@ class Course::CoursesController < Course::Controller
return unless current_course_user&.student?
todos = Course::LessonPlan::Todo.pending_for(current_course_user).
- preload(:user, { item: [:default_reference_time, :course, actable: :conditions] }).order(updated_at: :desc)
+ preload(:user, { item: [:d... | feat(course homepage): sort todos based on earliest deadline and start date | null | coursemology/coursemology2 | MIT License | Ruby |
@@ -30,6 +30,7 @@ import org.eclipse.core.runtime.IProgressMonitor;
import org.eclipse.core.runtime.SubMonitor;
import org.hibernate.validator.constraints.NotEmpty;
+import com.b2international.commons.CompareUtils;
import com.b2international.commons.exceptions.BadRequestException;
import com.b2international.commons.exc... | feat(VersionCreateRequest): add commit comment property | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
@@ -12,6 +12,7 @@ use reqwest::{Method, RequestBuilder};
use serde::{Deserialize, Serialize};
use serde_json::{json, Value};
use serde_with::skip_serializing_none;
+use tokio::time::{sleep, Duration};
use pact_matching::Mismatch;
use pact_matching::models::{Pact, PACT_RUST_VERSION, RequestResponsePact};
@@ -489,6 +490,... | feat: add exponental deplay the pact broker client retries | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -17,7 +17,7 @@ use ruma::{
DeviceKeyAlgorithm, OwnedRoomId,
};
use serde::{Deserialize, Serialize};
-use tracing::{error, warn};
+use tracing::{debug, error, warn};
use crate::{event_handler::HandlerKind, Client, Result};
@@ -100,6 +100,7 @@ impl Client {
notifications,
} = response;
+ let now = Instant::now();
self... | feat(sdk): Add debug logs for aggregated event handler execution times | null | matrix-org/matrix-rust-sdk | Apache License 2.0 | Rust |
@@ -734,33 +734,38 @@ class AuditableTest extends AuditingTestCase
*
* @dataProvider auditableTransitionTestProvider
*
- * @param bool $useOldValues
- * @param array $expectations
- */
- public function itTransitionsToAnotherModelState(bool $useOldValues, array $expectations)
- {
- $model = factory(Article::class)->cre... | feat(Auditable): increase test coverage for the transitionTo() method | null | owen-it/laravel-auditing | MIT License | PHP |
+package config
+
+import (
+ "fmt"
+ "io/ioutil"
+ "os"
+ "path/filepath"
+ "testing"
+
+ "github.com/stretchr/testify/assert"
+)
+
+func Test_WriteFile(t *testing.T) {
+ dir, err := ioutil.TempDir("", "")
+ if err != nil {
+ t.Skipf("unexpected error while creating temporay directory = %s", err)
+ }
+ defer os.Remove... | feat(internal/config/writefile): add tests | null | profclems/glab | MIT License | Go |
+package metabundle
+
+import (
+ "github.com/iotaledger/goshimmer/packages/model/meta_transaction"
+ "github.com/iotaledger/goshimmer/packages/ternary"
+)
+
+type MetaBundle struct {
+ hash ternary.Trytes
+ transactionHashes []ternary.Trytes
+}
+
+func New(transactions []*meta_transaction.MetaTransaction) (result *Met... | feat: bundle functionality | null | iotaledger/goshimmer | Apache License 2.0 | Go |
@@ -98,6 +98,7 @@ class PublicArchiveView(ListView):
query = self.request.GET.get('q')
if query:
qs = Snapshot.objects.filter(title__icontains=query)
+ qs = qs.prefetch_related("archiveresult_set").all()
for snapshot in qs:
snapshot.icons = get_icons(snapshot)
return qs
| feat: Use prefetch related to reduce the number of queries to the database on public index view | null | archivebox/archivebox | MIT License | Python |
*/
public static final String ENABLE_TCC_PNAME = "org.jitsi.jicofo.ENABLE_TCC";
+ /**
+ * The name of the property which enables the inclusion of the AST RTP
+ * header extension in the offer.
+ */
+ public static final String ENABLE_AST_PNAME = "org.jitsi.jicofo.ENABLE_AST";
+
+ /**
+ * The name of the property which ... | feat: Properties for turning on/off the TOF and AST hdr extensions | null | jitsi/jicofo | Apache License 2.0 | Java |
@@ -115,6 +115,7 @@ class RestServer(container: Container) {
.put("musicPlayers", musicPlayers)
.put("responses", shard.responseTotal)
.put("id", shard.shardInfo.shardId)
+ .put("unavailable", shard.unavailableGuilds.size)
dataArray.add(dataObject)
}
| feat: add stats for unavailable guilds | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -23,7 +23,8 @@ import envData from '../../../../../config/env.json';
import {
availableLangs,
LangNames,
- LangCodes
+ LangCodes,
+ hiddenLangs
} from '../../../../../config/i18n/all-langs';
import { hardGoTo as navigate } from '../../../redux';
import { updateUserFlag } from '../../../redux/settings';
@@ -427,7 +42... | feat: allow languages to be hidden | null | freecodecamp/freecodecamp | BSD 3-Clause New or Revised License | TypeScript |
@@ -9,6 +9,7 @@ declare(strict_types=1);
namespace Flextype;
+use Flextype\Component\Arr\Arr;
use Flextype\Component\Filesystem\Filesystem;
use Flextype\Component\Registry\Registry;
use Flextype\Component\Session\Session;
@@ -130,6 +131,8 @@ include_once 'dependencies.php';
*/
include_once 'endpoints/delivery/entries.p... | feat(bootstrap): add files and folders media endpoints | null | flextype/flextype | MIT License | PHP |
@@ -20,7 +20,7 @@ func main() {
pterm.Success.Println("Downloading " + fakeInstallList[vki])
vki++
p.Increment()
- time.Sleep(time.Millisecond * 500)
+ time.Sleep(time.Millisecond * 350)
}
pterm.Success.Println("Finished downloading!")
| feat: add `BarFiller` to `Progressbar` | null | pterm/pterm | MIT License | Go |
import { ExecutorContext } from '@nrwl/devkit';
import {
assetGlobsToFiles,
- copyAssetFiles,
FileInputOutput,
} from '@nrwl/workspace/src/utilities/assets';
import { join, resolve } from 'path';
@@ -94,7 +93,8 @@ export async function* tscExecutor(
return yield* eachValueFrom(
compileTypeScriptFiles(options, context, ... | feat(js): use same asset handler for both tsc and swc | null | nrwl/nx | MIT License | TypeScript |
@@ -21,7 +21,6 @@ use common_datavalues::DataType;
use common_datavalues::TypeDeserializer;
use common_exception::ErrorCode;
use common_exception::Result;
-use common_io::prelude::BufferRead;
use common_io::prelude::BufferReadExt;
use common_io::prelude::BufferReader;
use common_io::prelude::CheckpointReader;
@@ -32,7 ... | feat(format): support single quote | null | datafuselabs/databend | Apache License 2.0 | Rust |
@@ -85,7 +85,9 @@ func New(checksumHash map[string]interface{}) (*Sandbox, error) {
if s, _ := Get(sandboxID); s != nil {
logger.Infof("Collision! Somehow %s already existed as a sandbox id on attempt %d. Trying again.", sandboxID, i)
sandboxID = ""
+ continue
}
+ break
}
if sandboxID == "" {
| feat: sandbox id generation was producing useless cycles | null | ctdk/goiardi | Apache License 2.0 | Go |
set -e
+if ! grep -q "Photon" /etc/lsb-release; then
+ echo "Current OS is not Photon, skip appending ca bundle"
+ exit 0
+fi
+
if [ ! -f ~/ca-bundle.crt.original ]; then
cp /etc/pki/tls/certs/ca-bundle.crt ~/ca-bundle.crt.original
fi
cp ~/ca-bundle.crt.original /etc/pki/tls/certs/ca-bundle.crt
-if [ "$(ls -A /harbor_c... | feat(certs): install internal tls ca from /etc/harbor/ssl dir | null | goharbor/harbor | Apache License 2.0 | Shell |
@@ -156,7 +156,8 @@ func (i *Importer) Add(exportNode *ExportNode) error {
case node.leftHash != nil || node.rightHash != nil:
i.stack = i.stack[:stackSize-1]
}
- i.stack = append(i.stack, node)
+ // Only hash\height\size of the node will be used after it be pushed into the stack.
+ i.stack = append(i.stack, &Node{hash... | feat: optimize memory using when `Importer` works | null | cosmos/iavl | Apache License 2.0 | Go |
@@ -3461,7 +3461,9 @@ namespace PepperDash.Essentials.Devices.Common.VideoCodec.ZoomRoom
public void RecordingPromptAcknowledgement(bool agree)
{
- SendText(string.Format("zCommand Agree Recording: {0}", agree ? "on" : "off"));
+ var command = string.Format("zCommand Agree Recording: {0}", agree ? "on" : "off");
+ //De... | feat(essentials): Format update for command | null | pepperdash/essentials | MIT License | C# |
@@ -198,6 +198,33 @@ ffi_fn! {
}
/// The matching rule or reference from parsing the matching definition expression.
+///
+/// For matching rules, the ID corresponds to the following rules:
+/// | Rule | ID |
+/// | ---- | -- |
+/// | Equality | 1 |
+/// | Regex | 2 |
+/// | Type | 3 |
+/// | MinType | 4 |
+/// | MaxTy... | feat: add docs on the matching rule IDs | null | pact-foundation/pact-reference | MIT License | Rust |
@@ -129,7 +129,7 @@ interface Dependencies {
try {
final List<Dependency> all = new ArrayList<>(0);
if (Files.exists(this.file)) {
- Logger.info(this, String.format("Dependencies file: %s", this.file));
+ Logger.debug(this, String.format("Dependencies file: %s", this.file));
final JsonReader reader = Json.createReader(... | feat(#934): Logger.info -> Logger.debug | null | cqfn/eo | MIT License | Java |
@@ -87,15 +87,16 @@ impl<'a, V: Vault> XXSymmetricState<'a, V> {
/// Create a new `HandshakeState` starting with the prologue
pub fn prologue(vault: &'a mut V) -> Result<Self, VaultFailError> {
- let attributes = SecretKeyAttributes {
+ let mut attributes = SecretKeyAttributes {
xtype: SecretKeyType::Curve25519,
purpos... | feat(rust): format with cargo fmt | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -22,6 +22,7 @@ import (
"fmt"
"github.com/gorilla/mux"
"github.com/lf-edge/ekuiper/internal/binder"
+ "github.com/lf-edge/ekuiper/internal/conf"
"github.com/lf-edge/ekuiper/internal/plugin"
"github.com/lf-edge/ekuiper/internal/plugin/portable"
"github.com/lf-edge/ekuiper/pkg/errorx"
@@ -47,7 +48,7 @@ func (p portabl... | feat(portable): update portable plugin REST API | null | emqx/kuiper | Apache License 2.0 | Go |
@@ -93,7 +93,7 @@ class Origin extends Validator
}
/**
- * Check if Origin has been whitelisted
+ * Check if Origin has been allowed
* for access to the API
*
* @param mixed $origin
| feat: changed terminology | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
const path = require('path')
const { zipFunction } = require('@netlify/zip-it-and-ship-it')
-const { appendFile, exists, readFile, writeFile, ensureDir } = require('fs-extra')
+const fs = require('fs-extra')
function netlifyFunctionsPlugin(conf = {}) {
return {
@@ -20,16 +20,18 @@ function netlifyFunctionsPlugin(conf =... | feat: add method based function routing | null | netlify/build | MIT License | JavaScript |
@@ -23,11 +23,38 @@ func SetupUpdateReflectValue(db *gorm.DB) {
rel.Field.Set(db.Statement.ReflectValue, dest[rel.Name])
}
}
+ } else if modelType, destType := findType(db.Statement.Model), findType(db.Statement.Dest); modelType.Kind() == reflect.Struct && destType.Kind() == reflect.Struct {
+ db.Statement.Dest = trans... | feat: copy dest fields to model struct | null | go-gorm/gorm | MIT License | Go |
@@ -86,6 +86,11 @@ mixin TextControlState on State<Kraken> {
// Action to delete text.
DeleteTextIntent: CallbackAction<DeleteTextIntent>(onInvoke: _handleDeleteText),
+ DeleteByWordTextIntent: CallbackAction<DeleteByWordTextIntent>(onInvoke: _handleDeleteByWordText),
+ DeleteByLineTextIntent: CallbackAction<DeleteByLi... | feat: add multiline editing actions | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -11,6 +11,7 @@ use serde::{Deserialize, Serialize};
use slug::slugify;
use std::{
collections::{BTreeMap, VecDeque},
+ env,
fs::create_dir_all,
path::{Path, PathBuf},
sync::RwLockReadGuard,
@@ -54,11 +55,20 @@ pub enum ConfigError {
impl OckamConfig {
fn get_paths() -> ProjectDirs {
- ProjectDirs::from("io", "ockam"... | feat(rust): allow custom config location for `ockam_command` by setting `OCKAM_PROJECT_PATH` env var | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -15,7 +15,7 @@ import {
checkWebRTCSupport,
declineIncomingCall,
dismissIncomingCall,
- listenForIncomingCalls
+ listenForCalls
} from '@ciscospark/redux-module-media';
import {connectToMercury} from '@ciscospark/redux-module-mercury';
import {
@@ -183,7 +183,7 @@ export class RecentsWidget extends Component {
}
if ... | feat(widget-recents): use media's listenForCalls method | null | webex/react-widgets | MIT License | JavaScript |
@@ -20,7 +20,8 @@ use Symfony\Component\Console\Command\Command;
use Symfony\Component\Console\Input\InputArgument;
use Symfony\Component\Console\Input\InputInterface;
use Symfony\Component\Console\Output\OutputInterface;
-use Symfony\Component\Console\Style\SymfonyStyle;
+use function Thermage\div;
+use function Therm... | feat(console): improve `entries:update` logic | null | flextype/flextype | MIT License | PHP |
@@ -73,7 +73,7 @@ class FunctionsCustomClientTest extends Scope
$this->assertEquals(201, $function['headers']['status-code']);
- $tag = $this->client->call(Client::METHOD_POST, '/functions/'.$function['body']['$id'].'/tags', [
+ $deployment = $this->client->call(Client::METHOD_POST, '/functions/'.$function['body']['$id... | feat: update testCreateExecution() | null | appwrite/appwrite | BSD 3-Clause New or Revised License | PHP |
**/
import Foundation
+import RestKit
/**
An input object that includes the input text.
@@ -27,9 +28,13 @@ public struct InputData: Codable, Equatable {
*/
public var text: String
+ /// Additional properties associated with this model.
+ public var additionalProperties: [String: JSON]
+
// Map each property name to the... | feat(AssistantV1): Add `additionalProperties` property to InputData | null | watson-developer-cloud/swift-sdk | Apache License 2.0 | Swift |
@@ -113,6 +113,7 @@ rhel_release_map = {
"4.18.0-240": "8.3",
"4.18.0-305": "8.4",
"4.18.0-348": "8.5",
+ "4.18.0-372": "8.6",
}
release_to_kernel_map = dict((v, k) for k, v in rhel_release_map.items())
| feat: RHEL 8.6 is GA | null | redhatinsights/insights-core | Apache License 2.0 | Python |
@@ -71,6 +71,7 @@ export default createComponent({
wrapCells: Boolean,
virtualScroll: Boolean,
+ virtualScrollTarget: String,
...commonVirtPropsObj,
noDataLabel: String,
@@ -313,6 +314,7 @@ export default createComponent({
class: props.tableClass,
style: props.tableStyle,
...virtProps.value,
+ scrollTarget: props.virtu... | feat(QTable): add virtual scroll target | null | quasarframework/quasar | MIT License | JavaScript |
+using SendGrid.Helpers.Mail;
+using Xunit;
+
+namespace SendGrid.Tests.Helpers.Mail
+{
+ public class EmailAddressTests
+ {
+ [Fact]
+ public void TestEmailAddressEquality()
+ {
+ var left = new EmailAddress("test1@sendgrid.com", "test");
+ var right = new EmailAddress("test1@sendGrid.com", "Test");
+ var up = new Ema... | feat: Implement IEquatable in EmailAddress | null | sendgrid/sendgrid-csharp | MIT License | C# |
@@ -230,6 +230,7 @@ func (r *Router) Handle(uri string, handlers ...*service.HandlerConfig) {
if err := rc.Handler(ctx, w, req); err != nil {
observability.Record(ctx, r.Stats.Errors, 1)
+ observability.End(ctx, w, req)
service.WriteError(w, req, err)
return
}
| feat(api): observability end on err | null | ovh/cds | BSD 3-Clause New or Revised License | Go |
import React, { Component } from 'react';
+import ReactPiwik from 'react-piwik';
import { Grid, Modal, Typography, Paper, Button, withStyles } from '@material-ui/core';
import { SelfkeyLogoTemp, ModalWrap, ModalHeader, ModalBody } from 'selfkey-ui';
import { Link } from 'react-router-dom';
@@ -31,6 +32,10 @@ class Self... | feat(matomo): adding Create SelfKey Id goal | null | selfkeyfoundation/identity-wallet | MIT License | JavaScript |
@@ -6,6 +6,7 @@ import { isString } from "@thi.ng/checks/is-string";
import { TAG_REGEXP, VOID_TAGS } from "./api";
import { css } from "./css";
+import { escape } from "./escape";
/**
* Recursively normalizes and serializes given tree as HTML/SVG/XML
@@ -74,12 +75,24 @@ import { css } from "./css";
* strings, numbers,... | feat(hiccup): add optional support for spans & auto keying | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
@@ -36,6 +36,10 @@ emitter()->addListener('onEntriesFetchSingleField', static function (): void {
$field = entries()->registry()->get('methods.fetch.field');
+ if (is_string($field['value']) && strings($field['value'])->contains('!shortcodes')) {
+ return;
+ }
+
if (is_string($field['value'])) {
if (strings($field['val... | feat(directives): add ability to disable shortcodes using `!shortcodes` | null | flextype/flextype | MIT License | PHP |
@@ -116,6 +116,12 @@ func buildProject(cfgFile string) {
[]string{"mysql", "postgresql", "sqlite", "mssql"}, "mysql")
}
+ rootPath, err := os.Getwd()
+
+ if err != nil {
+ rootPath = "."
+ }
+
var cfg = config.SetDefault(config.Config{
Debug: true,
Env: config.EnvLocal,
@@ -127,10 +133,10 @@ func buildProject(cfgFile s... | feat(cli): update cli command init to adapt the plugin system | null | goadmingroup/go-admin | Apache License 2.0 | Go |
const { join, relative, sep, resolve } = require('path');
-const { existsSync, statSync } = require('fs-extra');
+const { existsSync, statSync, readJSONSync } = require('fs-extra');
const enhancedResolve = require('enhanced-resolve');
const targetPlatformMap = require('../config/miniapp/targetPlatformMap');
@@ -113,7 +... | feat(miniapp): exclude custom component from page js file | null | raxjs/rax-app | MIT License | JavaScript |
+import { Trans } from "@lingui/macro";
import PropTypes from "prop-types";
import React from "react";
import PureRender from "react-addons-pure-render-mixin";
@@ -89,7 +90,11 @@ class ServiceGroupFormModal extends React.Component {
buttonDefinition={buttonDefinition}
disabled={isPending}
modalProps={{
- header: <Modal... | feat(ServiceGroupFormModal): localize using Trans macro | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -64,17 +64,8 @@ import com.fasterxml.jackson.databind.annotation.JsonPOJOBuilder;
@Script(
name="typeSort",
script=
- "if (doc.resourceType.value.equals('bundles')) {"
- + " return '1'"
- + "}"
- + "if (doc.resourceType.value.equals('codesystems')) {"
- + " return '2'"
- + "}"
- + "if (doc.resourceType.value.equals(... | feat: make script more simple | null | b2ihealthcare/snow-owl | Apache License 2.0 | Java |
-import type { FnN, FnN2, FnN3 } from "@thi.ng/api";
+import type { FnN, FnN2, FnN3, FnU2 } from "@thi.ng/api";
/**
* Returns a value with the magnitude of `x` and the sign of `y`.
@@ -103,3 +103,17 @@ export const ldexp: FnN2 = (x, exp) => x * 2 ** exp;
* @param y
*/
export const remainder: FnN2 = (x, y) => x - y * Ma... | feat(math): add ldiv() | null | thi-ng/umbrella | Apache License 2.0 | TypeScript |
import * as React from "react";
import * as Constants from "~/common/constants";
-import * as Filter from "~/components/core/Filter";
import * as Styles from "~/common/styles";
import { css } from "@emotion/react";
import { GlobalCarousel } from "~/components/system/components/GlobalCarousel";
+import { FileTypeGroup }... | feat(SceneFilesFolder): remove Filter components | null | filecoin-project/slate | MIT License | JavaScript |
@@ -33,25 +33,71 @@ func (circuit *hintCircuit) Define(api frontend.API) error {
return nil
}
-func init() {
+type vectorDoubleCircuit struct {
+ A []frontend.Variable
+ B []frontend.Variable
+}
+
+func (c *vectorDoubleCircuit) Define(api frontend.API) error {
+ res, err := api.NewHint(dvHint, c.A...)
+ if err != nil {... | feat(integration_test): add variable-input/output hint test | null | consensys/gnark | Apache License 2.0 | Go |
@@ -116,6 +116,15 @@ func (r *Reader) ReadUint32() (uint32, error) {
return binary.BigEndian.Uint32(b[:]), nil
}
+func (r *Reader) ReadUint16() (uint16, error) {
+ var b [2]byte
+ _, err := r.Read(b[:2])
+ if err != nil {
+ return 0, err
+ }
+ return binary.BigEndian.Uint16(b[:]), nil
+}
+
func min(a, b int) int {
if a... | feat(embedded/appendable): method for reading short unsigned integer | null | codenotary/immudb | Apache License 2.0 | Go |
@@ -34,6 +34,8 @@ mixin EventHandlerMixin on Node {
renderBoxModel.onClick = null;
renderBoxModel.onSwipe = null;
renderBoxModel.onPan = null;
+ renderBoxModel.onScale = null;
+ renderBoxModel.onLongPress = null;
}
void handlePointDown(PointerDownEvent pointEvent) {
| feat: destroy onScale and onLongPress of renderBoxModel | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -191,3 +191,17 @@ test('find helper', function () {
$this->assertTrue(find(PATH['project'] . '/entries', [], 'files')->hasResults());
$this->assertTrue(find(PATH['project'], [], 'directories')->hasResults());
});
+
+test('generateToken helper', function () {
+ $this->assertTrue(strings(generateToken())->length() == ... | feat(tests): update tests tokens helpers | null | flextype/flextype | MIT License | PHP |
@@ -3,6 +3,7 @@ import Foundation
open class Container: UIBaseObject {
@objc internal(set) open var plugins: [UIContainerPlugin] = []
@objc open var options: Options
+ @objc open var sharedData = SharedData()
fileprivate var loader: Loader
@@ -33,6 +34,7 @@ open class Container: UIBaseObject {
self.options = options
se... | feat: create sharedData property on Container | null | clappr/clappr-ios | BSD 3-Clause New or Revised License | Swift |
#define LOG_ERROR_F(...) dlog_f(LOG_LEVEL_ERROR, __VA_ARGS__)
#define LOG_FATAL_F(...) dlog_f(LOG_LEVEL_FATAL, __VA_ARGS__)
-#define CHECK(x, ...) \
+#define CHECK_EXPRESSION(expression, evaluation, ...) \
do { \
- if (dsn_unlikely(!(x))) { \
- dlog_f(LOG_LEVEL_FATAL, "assertion expression: " #x); \
+ if (dsn_unlikely(... | feat: support showing true expression in message for CHECK* macro | null | apache/incubator-pegasus | Apache License 2.0 | C |
@@ -9,7 +9,6 @@ declare(strict_types=1);
namespace Flextype\Foundation\Media;
-use Flextype\Component\Filesystem\Filesystem;
use Slim\Http\Environment;
use Slim\Http\Uri;
@@ -46,7 +45,7 @@ class MediaFolders
{
$result = [];
- if (Filesystem::has(flextype('media_folders_meta')->getDirMetaLocation($path))) {
+ if (flexty... | feat(media-folder): use Atomastic Filesystem for fetch() fetchSingle() fetchCollection methods | null | flextype/flextype | MIT License | PHP |
@@ -3,7 +3,8 @@ const { version } = require('../package.json')
const styleguidistEnv = process.env.STYLEGUIDIST_ENV || 'dev' // dev, staging, production
-const enabledInStaging = []
+// Append strings to this array to enable components in staging, e.g. `['Box', 'ExpandCollapse']`
+const enabledInStaging = ['Box']
/* es... | feat(styleguide): enable box in staging | null | telus/tds-core | MIT License | JavaScript |
@@ -59,7 +59,7 @@ function diff (meta, other) {
add.title = other.title
}
- ;['meta', 'link', 'htmlAttr', 'bodyAttr'].forEach(type => {
+ ;['meta', 'link', 'script', 'htmlAttr', 'bodyAttr'].forEach(type => {
const old = meta[type], cur = other[type]
remove[type] = []
@@ -91,11 +91,10 @@ function apply ({ add, remove })... | feat: Add "script" support for Quasar Meta plugin | null | quasarframework/quasar | MIT License | JavaScript |
@@ -296,27 +296,32 @@ public class BitTextFieldTests : BunitTestContext
}
[DataTestMethod,
- DataRow(true, "hello world"),
- DataRow(false, "hello world")
+ DataRow(true, null, "hello world"),
+ DataRow(false, null, "hello world"),
+ DataRow(true, "hello bit", "hello world"),
+ DataRow(false, "hello bit", "hello world"... | feat(components): improve the DefaultValue tests in the BitTextField component | null | bitfoundation/bitframework | MIT License | C# |
#include "curl_data_source.h"
#include <pthread.h>
-#include <utils/frame_work_log.h>
-#include <utils/errors/framework_error.h>
+#include "CURLShareInstance.h"
+#include "data_source/DataSourceUtils.h"
+#include "utils/AsyncJob.h"
+#include "utils/CicadaJSON.h"
#include <thread>
+#include <utils/errors/framework_error... | feat(curl_data_source): support send http.globeHeader | null | alibaba/cicadaplayer | MIT License | C++ |
@@ -27,7 +27,8 @@ const slugify = (text: string) => {
.trim() // Remove whitespace from both sides of a string
.replace(/\s+/g, '-') // Replace spaces with "-"
.replace(/[^\w-]+/g, '') // Remove all non-word chars
- .replace(/--+/g, '-'); // Replace multiple "-" with single "-"
+ .replace(/--+/g, '-') // Replace multip... | feat: strip trailing hyphens from slug | null | guardian/dotcom-rendering | Apache License 2.0 | TypeScript |
@@ -6,13 +6,22 @@ const buildQueryString = (data) =>
.join('&');
export const buildURL = (application, url, query) => {
+ let applicationURL = Environment.getApplicationURL(application);
+ const currentApplicationURL = Environment.getApplicationURL(
+ Environment.getApplicationName(),
+ );
+
+ if (applicationURL === cu... | feat(url): build url based on location when possible | null | ovh/manager | BSD 3-Clause New or Revised License | JavaScript |
+export * as Composer from 'telegraf/composer';
+export * as Markup from 'telegraf/markup';
+export * as BaseScene from 'telegraf/scenes/base';
+export * as session from 'telegraf/session';
+export * as Stage from 'telegraf/stage';
+export * as WizardScene from 'telegraf/scenes/wizard';
+
export * from './telegraf.modu... | feat: export telegraf helpers | null | bukhalo/nestjs-telegraf | MIT License | TypeScript |
@@ -20,8 +20,6 @@ import org.springframework.amqp.rabbit.connection.CachingConnectionFactory;
import org.springframework.amqp.rabbit.connection.ConnectionFactory;
import org.springframework.amqp.rabbit.core.RabbitTemplate;
import org.springframework.beans.factory.ObjectProvider;
-import org.springframework.boot.actuate... | feat: remove RabbitHealthIndicator completely | null | spring-cloud/spring-cloud-stream | Apache License 2.0 | Java |
import { Chevron } from 'shared/components/navigation/primary.js'
import { Ul, Li, Details, Summary, SumButton, SumDiv, Deg } from 'shared/components/workbench/menu'
-const ConsoleLog = props => (
+const ConsoleLog = (props) => (
<Li>
<Details>
<Summary>
@@ -12,13 +12,16 @@ const ConsoleLog = props => (
<Chevron />
</S... | feat(workbench): Added logging of render props | null | freesewing/freesewing | MIT License | JavaScript |
@@ -4,6 +4,8 @@ use tokio::sync::mpsc::error::SendError;
/// Error declarations.
#[derive(Clone, Copy, Debug)]
pub enum Error {
+ /// No error
+ None,
/// Unable to gracefully stop the Node.
FailedStopNode,
/// Unable to start a worker
| feat(rust): add none to node error enum | null | ockam-network/ockam | Apache License 2.0 | Rust |
@@ -3,9 +3,11 @@ pub mod dictionary;
pub mod fixed;
pub mod fixed_null;
+use std::collections::BTreeSet;
+
use croaring::Bitmap;
-use delorean_arrow::arrow;
+use delorean_arrow::{arrow, arrow::array::Array};
/// The possible logical types that column values can have. All values in a
/// column have the same physical ty... | feat: create RLE columns from arrays | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -36,6 +36,16 @@ validate_install_dir() {
local dir="${1%/}"
# We test it's a directory and writeable.
+
+ # Try to create the directory if it doesn't exist already
+ if ! [ -d "$dir" ]; then
+ if ! mkdir -p "$dir"; then
+ if type sudo >/dev/null; then
+ sudo mkdir -p "$dir"
+ fi
+ fi
+ fi
+
! [ -d "$dir" ] && return... | feat: Allow installation without sudo if possible | null | dfinity/sdk | Apache License 2.0 | Shell |
@@ -222,8 +222,11 @@ int main(int argc, const char** argv)
BencodedMap initial_ping_reply = dht_.send_ping(nc, yield[ec], cancel);
std::cout << initial_ping_reply << endl;
-
- // TODO: check reply id == expected id
+ if (!initial_ping_reply.empty()) {
+ NodeID their_id = NodeID::from_bytestring(*((*initial_ping_reply["... | feat(test/bep5): Check reply id == expected id | null | equalitie/ouinet | MIT License | C++ |
+package com.alibaba.ttl3.kotlin
+
+import com.alibaba.crr.composite.Capture
+import com.alibaba.ttl3.transmitter.Transmitter
+import com.alibaba.ttl3.transmitter.Transmitter.*
+
+/**
+ * Util method for simplifying [Transmitter.capture] and [Transmitter.restore] operations.
+ *
+ * @param captured captured values from... | feat: add `Transmitter.kt` | null | alibaba/transmittable-thread-local | Apache License 2.0 | Kotlin |
@@ -660,8 +660,8 @@ static void*
dispatch_run(void *p_cxt)
{
struct discord_event_cxt *cxt = p_cxt;
- log_info("thread " ANSICOLOR("%u", ANSI_BG_RED) " is serving %s",
- cxt->tid, cxt->event_name);
+ log_info("thread " ANSICOLOR("starts", ANSI_BG_RED) " to serve %s",
+ cxt->event_name);
(*cxt->on_event)(cxt->p_gw, &cxt... | feat: remove tid as it is in every entry | null | cee-studio/orca | MIT License | C |
@@ -11,6 +11,9 @@ use \Rollbar\Payload\Level as Level;
* Instead it tests `verbose` functionality across multiple
* classes.
*
+ * The log mocking is achieved by mocking out the `handle`
+ * method of the log handler used in the `verbose_logger`.
+ *
* @package Rollbar
* @author Artur Moczulski <artur.moczulski@gmail.c... | feat(dev options): explain why `verbose` is not explicitly set | null | rollbar/rollbar-php | MIT License | PHP |
#include "acl/version.h"
#include "acl/core/error_result.h"
#include "acl/core/track_types.h"
+#include "acl/math/qvvf.h" // TODO: remove once qvv_is_finite has migrated to RTM
#include <rtm/scalarf.h>
@@ -63,6 +64,12 @@ namespace acl
if (constant_scale_threshold < 0.0F || !rtm::scalar_is_finite(constant_scale_threshol... | feat(compression): validate transform track description's default value | null | nfrechette/acl | MIT License | C |
+<?php
+
+declare(strict_types=1);
+
+test('test registry_get shortcode', function () {
+ $this->assertStringContainsString('http', flextype('shortcode')->process('[url]'));
+});
| feat(tests): add tests for Shortcode url | null | flextype/flextype | MIT License | PHP |
@@ -90,6 +90,10 @@ class SalesforceConfig(DatasetSourceConfigBase):
instance_url: Optional[str] = Field(
description="Salesforce instance url. e.g. https://MyDomainName.my.salesforce.com"
)
+ # Flag to indicate whether the instance is production or sandbox
+ is_sandbox: bool = Field(
+ default=False, description="Conne... | feat(ingest): salesforce - add sandbox support | null | linkedin/datahub | Apache License 2.0 | Python |
@@ -115,7 +115,7 @@ impl<V: IdentityVault> Identity<V> {
let key_attribs = KeyAttributes::new(
IdentityStateConst::ROOT_LABEL.to_string(),
- SecretAttributes::new(SecretType::NistP256, SecretPersistence::Persistent, 32),
+ SecretAttributes::new(SecretType::Ed25519, SecretPersistence::Persistent, 32),
);
let create_key_... | feat(rust): create identity keys by default | null | ockam-network/ockam | Apache License 2.0 | Rust |
rootProject.name = "Melijn"
-
| feat: error logging for commands | null | toxicmushroom/melijn | MIT License | Kotlin |
@@ -60,6 +60,8 @@ void _matchImageSnapshot(Pointer<Void> callbackContext, int contextId, Pointer<U
String filename = nativeStringToString(snapshotNamePtr);
matchImageSnapshot(bytes.asTypedList(size), filename).then((value) {
callback(callbackContext, contextId, value ? 1 : 0);
+ }).catchError((e, stack) {
+ print('$e\n... | feat: add error report for matchImageSnapshot | null | openkraken/kraken | Apache License 2.0 | Dart |
@@ -63,7 +63,7 @@ var EXCLUDE_NAMES = {
rules: 1,
values: 1
};
-var proxy;
+var whistleProxy;
if (notLoadPlugins) {
getPlugin = function(cb) {
@@ -485,22 +485,17 @@ function loadPlugin(plugin, callback) {
if (!first) {
return;
}
- proxy.emit('initPlugin', name, moduleName);
if (err) {
- proxy.emit(name + ':error', err)... | feat: add onPluginLoadError onPluginLoad events | null | avwo/whistle | MIT License | JavaScript |
@@ -782,6 +782,61 @@ public boolean addTransportUpdateReq(
}
return hasAnyChanges;
}
+ /**
+ * Adds next request to {@link RequestType#CHANNEL_INFO_UPDATE} query.
+ *
+ * @param map the map of content name to media direction. Maps
+ * media direction to media types.
+ * @param localChannelsInfo {@link ColibriConference... | feat(colibri): Allow update of media direction | null | jitsi/jitsi | Apache License 2.0 | Java |
@@ -56,6 +56,18 @@ public protocol AnySideEffectContext {
func dispatch<T: AnyStateUpdater>(_ dispatchable: T) -> Promise<Void>
}
+public extension AnySideEffectContext {
+ /// Default implementation of the `dispatch<T: AnyStateUpdater>`
+ func dispatch<T: AnyStateUpdater>(_ dispatchable: T) -> Promise<Void> {
+ return... | feat: add default implementation of the dispatch function | null | bendingspoons/katana-swift | MIT License | Swift |
@@ -8,7 +8,7 @@ import stream from 'stream';
import os from 'os';
import axios from 'axios';
import rimraf from 'rimraf';
-import { version, name } from './package.json';
+import { name, version } from './package.json';
const BINARY_LOCATION = 'https://d2bkhsss993doa.cloudfront.net';
| feat: bump npm package version | null | aws-amplify/amplify-cli | Apache License 2.0 | TypeScript |
@@ -146,6 +146,10 @@ func (i *RecipeInstaller) Install() error {
errChan := make(chan error)
var err error
+ // Test split service
+ // treatment := split.Service.Get(split.VirtuosoCLITest)
+ // log.Printf("Got treatment: %s for %s", treatment, split.VirtuosoCLITest)
+
log.Printf("Validating connectivity to the New Rel... | feat(install): add split service test commented out | null | newrelic/newrelic-cli | Apache License 2.0 | Go |
@@ -35,7 +35,7 @@ COMMAND_MATCHER = re.compile(r"@Mergify(?:|io) (\w*)(.*)", re.IGNORECASE)
COMMAND_RESULT_MATCHER = re.compile(r"\*Command `([^`]*)`: (pending|success|failure)\*")
MERGE_QUEUE_COMMAND_MESSAGE = "Command not allowed on merge queue pull request."
-UNKNOWN_COMMAND_MESSAGE = "Sorry but I didn't understand ... | feat(unknown command msg): add link to docs + emoji | null | mergifyio/mergify-engine | Apache License 2.0 | Python |
@@ -98,7 +98,7 @@ open class MediaControl(core: Core, pluginName: String = name) : UICorePlugin(co
val isEnabled: Boolean
get() = state == State.ENABLED
- private val isVisible: Boolean
+ val isVisible: Boolean
get() = visibility == Visibility.VISIBLE
private val isPlaybackIdle: Boolean
| feat(tv_back_button): make isVisible property public | null | clappr/clappr-android | BSD 3-Clause New or Revised License | Kotlin |
@@ -157,7 +157,20 @@ impl GoogleCloudStorage {
&'a self,
prefix: Option<&'a str>,
) -> InternalResult<impl Stream<Item = InternalResult<Vec<String>>> + 'a> {
- Ok(stream::empty())
+ let bucket_name = self.bucket_name.clone();
+ let prefix = prefix.map(|p| p.to_string());
+
+ let objects = tokio::task::spawn_blocking(mo... | feat: Make GCS list return a stream, by wrapping its still-sync API | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -2,18 +2,26 @@ package com.chesire.malime.flow
import android.content.Intent
import android.os.Bundle
+import com.chesire.malime.flow.login.LoginActivity
import com.chesire.malime.flow.overview.OverviewActivity
+import com.chesire.malime.kitsu.AuthProvider
import dagger.android.DaggerActivity
+import javax.inject.In... | feat: dynamically choose starting location | null | chesire/nekome | Apache License 2.0 | Kotlin |
@@ -29,7 +29,7 @@ func (p *python) init(props *properties, env environmentInfo) {
props: props,
commands: []string{"python", "python3"},
versionParam: "--version",
- extensions: []string{"*.py", "*.ipynb"},
+ extensions: []string{"*.py", "*.ipynb", "pyproject.toml", "venv.bak", "venv", ".venv"},
versionRegex: `Python (... | feat: add known Python extensions/folder | null | jandedobbeleer/oh-my-posh | MIT License | Go |
@@ -36,11 +36,10 @@ impl Bool {
self.arr.null_count() > 0
}
- /// Returns the total size in bytes of the encoded data. Note, this method
- /// is really an "accurate" estimation. It doesn't include for example the
- /// size of the `Plain` struct receiver.
+ /// Returns an estimation of the total size in bytes used by ... | feat: add size on bool encoding | null | influxdata/influxdb_iox | Apache License 2.0 | Rust |
@@ -108,7 +108,7 @@ class ServiceConfiguration extends mixin(StoreMixin) {
if (service.getVersion() !== selectedVersionID) {
applyButton = (
<button
- className="button button-stroke"
+ className="button button-primary-link"
disabled={isSDKService(service)}
key="version-button-apply"
onClick={() => this.handleApplyButt... | feat(ServiceConfiguration): use button-primary-link | null | dcos/dcos-ui | Apache License 2.0 | JavaScript |
@@ -43,6 +43,22 @@ class MoleculeCollapsible extends Component {
})
}
+ componentWillReceiveProps() {
+ let offsetHeight
+ if (this.props.maxHeight) {
+ offsetHeight = this.props.maxHeight
+ } else {
+ offsetHeight =
+ this.state.maxHeight === this.childrenContainer.current.offsetHeight
+ ? this.state.maxHeight
+ : thi... | feat(molecule/collapsible): add recalc height for added styles after first render | null | sui-components/sui-components | MIT License | JavaScript |
Committed — Conventional Commits dataset
Filtered (diff -> Conventional Commits message) pairs derived from CommitChronicle, for fine-tuning small models to write commit messages from a diff. Built by the Committed project.
Schema
| Field | Type | Notes |
|---|---|---|
diff |
string | The code diff for a single-file change. |
message |
string | Normalized Conventional Commits subject line (the training target). |
reasoning_trace |
string | null | Reserved for v2 (reasoning distillation); always null here. |
repo |
string | Source repository (provenance). |
license |
string | Source repository's license (provenance). |
language |
string | Programming language, identified by file extension. |
Composition
| Split | Rows |
|---|---|
| train | 52,173 |
| validation | 2,898 |
| test | 2,898 |
Languages (identified by file extension):
| Language | Rows | % |
|---|---|---|
| TypeScript | 6,000 | 10.4% |
| JavaScript | 6,000 | 10.4% |
| Python | 6,000 | 10.4% |
| Go | 6,000 | 10.4% |
| Java | 6,000 | 10.4% |
| Rust | 6,000 | 10.4% |
| Shell | 4,215 | 7.3% |
| C++ | 3,753 | 6.5% |
| PHP | 2,708 | 4.7% |
| C | 2,407 | 4.2% |
| C# | 2,146 | 3.7% |
| Swift | 2,129 | 3.7% |
| Kotlin | 1,812 | 3.1% |
| Dart | 1,370 | 2.4% |
| Ruby | 750 | 1.3% |
| Elixir | 679 | 1.2% |
Commit types:
| Type | Rows | % |
|---|---|---|
| fix | 28,366 | 48.9% |
| feat | 7,706 | 13.3% |
| chore | 5,959 | 10.3% |
| test | 5,214 | 9.0% |
| refactor | 5,055 | 8.7% |
| docs | 2,482 | 4.3% |
| ci | 1,336 | 2.3% |
| style | 868 | 1.5% |
| build | 562 | 1.0% |
| perf | 421 | 0.7% |
How it was built
Starting from CommitChronicle, a commit is kept only if:
- the subject line matches a relaxed Conventional Commits pattern
(
feat|fix|refactor|docs|test|chore|perf|style|build|ci, optional scope, optional breaking!), then normalized (lowercase type,doc->docs, strip!, subject line only, trim, strip one trailing period); - the subject is 5-200 characters;
- it touches exactly one file, and that file is a recognized code file by extension (the per-repo language attribute is ignored because it mislabels polyglot repos);
- it is not a merge, revert, or bot commit (e.g. Dependabot, detected by message pattern);
- the diff is at most 2048 tokens (Qwen3-1.7B tokenizer); over-cap diffs are dropped, not truncated.
The pool is then balanced (each language capped to 6,000 rows, languages with fewer than 500 rows dropped) and split 90/5/5 train/validation/test, stratified by commit type so each split preserves the type distribution.
Provenance & license
Each row keeps its source repo and license. CommitChronicle aggregates
permissively-licensed repositories (MIT, Apache-2.0, BSD-3-Clause); this
derivative is redistributed under those source terms. Please cite CommitChronicle
and its paper:
Eliseeva et al., From Commit Message Generation to History-Aware Commit Message Generation, arXiv:2308.07655.
Known limitations
- The source scan covered ~85-90% of CommitChronicle's train split, not a full pass, so the language mix is near-complete rather than exhaustive.
- Commit types are imbalanced (
fixis the plurality); a trivial always-predict-fixbaseline scores around its share, so read prefix-accuracy against that floor. - Description casing is not normalized (acronyms are preserved) — an accepted v1 limitation.
- No automated scrubbing of secrets/PII; the sensitive-data caveat from CommitChronicle is carried forward.
- Downloads last month
- 39