OctoPack: Instruction Tuning Code Large Language Models
Paper • 2308.07124 • Published • 32
commit stringlengths 40 40 | old_file stringlengths 4 264 | new_file stringlengths 4 264 | old_contents stringlengths 0 4.24k | new_contents stringlengths 1 5.44k | subject stringlengths 14 778 | message stringlengths 15 9.92k | lang stringclasses 277
values | license stringclasses 13
values | repos stringlengths 5 127k |
|---|---|---|---|---|---|---|---|---|---|
e466f86a763f89a26274cf01cb6bbe79b251c50c | ZUSR_LISP_REPL.abap | ZUSR_LISP_REPL.abap | *&---------------------------------------------------------------------*
*& Report ZUSR_LISP_REPL
*& https://github.com/mydoghasworms/abap-lisp
*& Simple REPL for Lisp Interpreter written in ABAP
*& Martin Ceronio, June 2015
*& martin.ceronio@infosize.co.za
*&-----------------------------------------------------------... | *&---------------------------------------------------------------------*
*& Report ZUSR_LISP_REPL
*& https://github.com/mydoghasworms/abap-lisp
*& Simple REPL for Lisp Interpreter written in ABAP
*& Martin Ceronio, June 2015
*& martin.ceronio@infosize.co.za
*&-----------------------------------------------------------... | Add runtime measurement to REPL | Add runtime measurement to REPL
| ABAP | mit | mydoghasworms/abap-lisp,mydoghasworms/abap-lisp,mydoghasworms/abap-lisp |
e7cbdfab19d615b146da95f6fbabc3520795fb4f | test/flash_test.as | test/flash_test.as | package {
import stdio.Sprite
[SWF(width=0, height=0)]
public class flash_test extends Sprite {
public function main(): void {
test_body()
}
}
}
| package {
import stdio.Sprite
[SWF(width=100, height=100)]
public class flash_test extends Sprite {
public function flash_test(): void {
graphics.beginFill(0xff0000)
graphics.drawRect(10, 10, 80, 80)
graphics.endFill()
}
public function main(): void {
graphics.beginFill(0x000... | Add colors to Flash test to ease debugging. | Add colors to Flash test to ease debugging.
| ActionScript | mit | dbrock/stdio.as,dbrock/stdio.as,dbrock/stdio.as |
250ef712d3bba79191d5ae7f4612d391c78f52f8 | as3/smartform/src/com/rpath/raf/views/CompoundInputItem.as | as3/smartform/src/com/rpath/raf/views/CompoundInputItem.as | /*
#
# Copyright (c) 2009 rPath, Inc.
#
# This program is distributed under the terms of the MIT License as found
# in a file called LICENSE. If it is not present, the license
# is always available at http://www.opensource.org/licenses/mit-license.php.
#
# This program is distributed in the hope that it will be useful... | /*
#
# Copyright (c) 2009 rPath, Inc.
#
# This program is distributed under the terms of the MIT License as found
# in a file called LICENSE. If it is not present, the license
# is always available at http://www.opensource.org/licenses/mit-license.php.
#
# This program is distributed in the hope that it will be useful... | Handle null in validation elem iteration | Handle null in validation elem iteration
| ActionScript | apache-2.0 | sassoftware/smartform |
282e0c5177e4bcf16e8594d9d97d97b2d63dd94c | ImpetusSound.as | ImpetusSound.as | package io.github.jwhile.impetus
{
import flash.media.Sound;
import flash.media.SoundChannel;
public class ImpetusSound
{
private var url:String;
private var sound:Sound;
private var channels:Vector.<SoundChannel>;
public function ImpetusSound(url:String):void
... | package io.github.jwhile.impetus
{
import flash.media.Sound;
import flash.media.SoundChannel;
import flash.net.URLRequest;
public class ImpetusSound
{
private var sound:Sound;
private var channels:Vector.<SoundChannel>;
public function ImpetusSound(url:String):void
... | Load sound directly on constructor | Load sound directly on constructor
| ActionScript | mit | Julow/Impetus |
249ac6912541cdd6eff1d6ec04f86a1de1f6e597 | FlexUnit4Test/src/org/flexunit/experimental/theories/internals/cases/ParameterizedAssertionErrorCase.as | FlexUnit4Test/src/org/flexunit/experimental/theories/internals/cases/ParameterizedAssertionErrorCase.as | package org.flexunit.experimental.theories.internals.cases
{
import org.flexunit.Assert;
import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
public class ParameterizedAssertionErrorCase
{
//TODO: Ensure that these tests and this test case are being implemented correctly.
//... | package org.flexunit.experimental.theories.internals.cases
{
import org.flexunit.Assert;
import org.flexunit.experimental.theories.internals.ParameterizedAssertionError;
public class ParameterizedAssertionErrorCase
{
//TODO: Ensure that these tests and this test case are being implemented correctly.
//It is cu... | Set test to ignore while stack trace is still under investigation | Set test to ignore while stack trace is still under investigation
| ActionScript | apache-2.0 | SlavaRa/flex-flexunit,SlavaRa/flex-flexunit,SlavaRa/flex-flexunit,apache/flex-flexunit,apache/flex-flexunit,apache/flex-flexunit,SlavaRa/flex-flexunit,apache/flex-flexunit |
5a0a30838ae3515302f39b2f3ccb3ea98aba5101 | braineditor/Brain.as | braineditor/Brain.as | import Drawable;
import Lobe;
import Core;
class Brain{
static var brain = new Array();
var mSelectionManager:SelectionManager;
static function makenewlobe(){
var newmov=(new Lobe(_root,_root.getNextHighestDepth()));
var topleft = new Point(100,40);
var botright = new Point(200,... | import Drawable;
import Lobe;
import Core;
class Brain{
static var brain = new Array();
var mSelectionManager:SelectionManager;
static function makenewlobe(){
var newmov=(new Lobe(_root,_root.getNextHighestDepth()));
var topleft = new Point(100,40);
var botright = new Point(200,... | Delete is now a non-core function | Delete is now a non-core function
git-svn-id: f772d44cbf86d9968f12179c1556189f5afcea6e@658 e0ac87d7-b42b-0410-9034-8248a05cb448
| ActionScript | bsd-3-clause | elysia/elysia,elysia/elysia,elysia/elysia |
e2f5dda9653b3f96d48985af0d263eb2a6200b44 | index.as | index.as | // [ ] Variable declaration
let name: type = expression;
// [ ] Basic types (arrow)
/*
byte (8-bit, unsigned)
bool (1-bit[*])
int8
int16
int32
int64
int128
uint8
uint16
uint32
uint64
uint128
intptr (size of a pointer, signed)
uintptr (size of a pointer, unsigned)
char (32-bit, unsigned)
float16
float32
float64
f... | Add a roadmap (of sorts) | Add a roadmap (of sorts)
| ActionScript | mit | arrow-lang/arrow,arrow-lang/arrow,arrow-lang/arrow | |
5e97a04402e9e854dd68c6aceb088ed46f0faa6f | src/as/com/threerings/crowd/data/ManagerCaller.as | src/as/com/threerings/crowd/data/ManagerCaller.as | //
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | //
// $Id$
//
// Narya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/narya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | Change this instance back. Varargs are still a nightmare and should generally be avoided, but nobody's going to override this method and we're always calling a regular method on the server, not a varargs method. | Change this instance back. Varargs are still a nightmare and should
generally be avoided, but nobody's going to override this method and
we're always calling a regular method on the server, not a varargs method.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@4622 542714f4-19e9-0310-aa3c-eee0fc999fb1
| ActionScript | lgpl-2.1 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya |
f475b23fb4845ee1bd34bf8d88581f16c96470eb | src/as/com/threerings/flex/LabeledSlider.as | src/as/com/threerings/flex/LabeledSlider.as | package com.threerings.flex {
import mx.containers.HBox;
import mx.controls.Label;
import mx.controls.sliderClasses.Slider;
import mx.events.SliderEvent;
/**
* A simple component that displays a label to the left of a slider.
*/
public class LabeledSlider extends HBox
{
/** The slider, all public and accessa... | package com.threerings.flex {
import mx.containers.HBox;
import mx.controls.Label;
import mx.controls.sliderClasses.Slider;
import mx.events.SliderEvent;
/**
* A simple component that displays a label to the left of a slider.
*/
public class LabeledSlider extends HBox
{
/** The actual slider. */
public v... | Clean up my comment, this is in a public API (and my comment wasn't helpful). | Clean up my comment, this is in a public API (and my comment wasn't helpful).
git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@166 ed5b42cb-e716-0410-a449-f6a68f950b19
| ActionScript | lgpl-2.1 | threerings/nenya,threerings/nenya |
09607ce618998f098daf204f4dfb54f3a79408c3 | HLSPlugin/src/org/denivip/osmf/utils/Utils.as | HLSPlugin/src/org/denivip/osmf/utils/Utils.as | package org.denivip.osmf.utils
{
import org.osmf.utils.URL;
public class Utils
{
public static function createFullUrl(rootUrl:String, url:String):String{
if(url.search(/(ftp|file|https?):\/\/\/?/) == 0)
return url;
// other manipulations :)
if(url.charAt(0) == '/'){
return URL.getRootUrl... | package org.denivip.osmf.utils
{
import org.osmf.utils.URL;
public class Utils
{
public static function createFullUrl(rootUrl:String, url:String):String {
if(url.search(/(ftp|file|https?):\/\/\/?/) == 0)
return url;
// other manipulations :)
if(url.charAt(0) == '/'){
return URL.getRootUrl(ro... | Fix issue where check for final slash was comparing zero-based index with length | Fix issue where check for final slash was comparing zero-based index with length
| ActionScript | isc | mruse/osmf-hls-plugin,denivip/osmf-hls-plugin,mruse/osmf-hls-plugin,denivip/osmf-hls-plugin |
616f18546c777108dd2b7b39d2e4f524bbfd42c1 | src/as/com/threerings/util/NetUtil.as | src/as/com/threerings/util/NetUtil.as | package com.threerings.util {
import flash.net.URLRequest;
//import flash.net.navigateToURL; // function import
public class NetUtil
{
/**
* Convenience method to load a web page in the browser window without
* having to worry about SecurityErrors in various conditions.
*/
public static functio... | package com.threerings.util {
import flash.net.URLRequest;
//import flash.net.navigateToURL; // function import
public class NetUtil
{
/**
* Convenience method to load a web page in the browser window without
* having to worry about SecurityErrors in various conditions.
*
* @return true if the... | Return true if we succeeded. | Return true if we succeeded.
git-svn-id: a1a4b28b82a3276cc491891159dd9963a0a72fae@4462 542714f4-19e9-0310-aa3c-eee0fc999fb1
| ActionScript | lgpl-2.1 | threerings/narya,threerings/narya,threerings/narya,threerings/narya,threerings/narya |
a7d413fa70a55a8050ba5ca6c98938c2d5533c0b | src/laml/display/Skin.as | src/laml/display/Skin.as | package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
public class Skin extends Sprite implements ISkin {
public function getBitmapByName(alias:String):DisplayObject {
if(hasOwnProperty(alias)) {
return new this[alias]() as DisplayObject;
}
return null;
}
}
... | package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
import mx.core.BitmapAsset;
import mx.core.FontAsset;
import mx.core.IFlexAsset;
import mx.core.IFlexDisplayObject;
import mx.core.SpriteAsset;
public class Skin extends Sprite implements ISkin {
private var bitmapAss... | Put MX dependencies in skin | Put MX dependencies in skin
git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4281 3e7533ad-8678-4d30-8e38-00a379d3f0d0
| ActionScript | mit | lukebayes/laml |
0f4d55bed5e68604f4dcc42305136227aa075e3c | flexclient/dag/Components/Association.as | flexclient/dag/Components/Association.as | package Components
{
[Bindable]
public class Association
{
public var associatedNode:String;
public var associatedLink:String;
public var operatorIndex:int;
public function Association(associatedNode:String,associatedLink:String,operatorIndex:int)
{
this.associatedLink = associatedLink;
... | package Components
{
[Bindable]
public class Association
{
public var associatedNode:String;
public var associatedLink:String;
public var operatorIndex:int;
public var order:int=0;
public function Association(associatedNode:String,associatedLink:String,operatorIndex:int,order:int)
{
thi... | Order vairable added todecide order of association | Order vairable added todecide order of association
SVN-Revision: 9306
| ActionScript | bsd-3-clause | asamgir/openspecimen,asamgir/openspecimen,krishagni/openspecimen,krishagni/openspecimen,asamgir/openspecimen,krishagni/openspecimen |
5230cd695aca000a21c51a148333efc1b83d77bf | tests/org/osflash/signals/AllTestsRunner.as | tests/org/osflash/signals/AllTestsRunner.as | package org.osflash.signals {
import asunit4.ui.MinimalRunnerUI;
import org.osflash.signals.AllTests;
public class AllTestsRunner extends MinimalRunnerUI
{
public function AllTestsRunner()
{
run(org.osflash.signals.AllTests);
}
}
}
| package org.osflash.signals {
import asunit4.ui.MinimalRunnerUI;
import org.osflash.signals.AllTests;
[SWF(width='1000', height='800', backgroundColor='#333333', frameRate='31')]
public class AllTestsRunner extends MinimalRunnerUI
{
public function AllTestsRunner()
{
run(org.osflash.signals.AllT... | Put [SWF] tag in test runner app. | Put [SWF] tag in test runner app.
| ActionScript | mit | ifuller1/Signals |
7b21f4727df5d0d411788bc1db1c73e4606727b0 | src/com/axis/rtspclient/NALU.as | src/com/axis/rtspclient/NALU.as | package com.axis.rtspclient {
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.utils.ByteArray;
public class NALU extends Event {
public static const NEW_NALU:String = "NEW_NALU";
private var data:ByteArray;
public var ntype:uint;
public var nri:uint;
public... | package com.axis.rtspclient {
import flash.events.Event;
import flash.external.ExternalInterface;
import flash.utils.ByteArray;
public class NALU extends Event {
public static const NEW_NALU:String = "NEW_NALU";
private var data:ByteArray;
public var ntype:uint;
public var nri:uint;
public... | Implement getPayload() method to extract SPS/PPS bytes | Implement getPayload() method to extract SPS/PPS bytes
| ActionScript | bsd-3-clause | AxisCommunications/locomote-video-player,gaetancollaud/locomote-video-player |
dfa67685ba284fc652661591d78c5cda846680df | test-src/test_readline_flash.as | test-src/test_readline_flash.as | package {
import stdio.flash.Sprite
import stdio.process
import stdio.Interactive
[SWF(width=0, height=0)]
public class test_readline_flash extends Sprite implements Interactive {
public function main(): void {
process.prompt = "What’s your name? "
process.gets(function (name: String): void {... | package {
import stdio.colorize
import stdio.flash.Sprite
import stdio.process
import stdio.Interactive
[SWF(width=0, height=0)]
public class test_readline_flash extends Sprite implements Interactive {
public function main(): void {
process.prompt = "What’s your name? "
process.gets(functio... | Use `colorize` in readline test. | Use `colorize` in readline test.
| ActionScript | mit | dbrock/stdio.as,dbrock/stdio.as,dbrock/stdio.as |
9eab92b2206ba25d79229f744fe95824c95ce64a | collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/i18n/Message.as | collect-flex/collect-flex-client/src/main/flex/org/openforis/collect/i18n/Message.as | package org.openforis.collect.i18n {
import mx.resources.ResourceManager;
/**
* @author Mino Togna
* */
public class Message {
public function Message() {
}
public static function get(resource:String, parameters:Array=null, bundle:String="messages"):String {
return ResourceManager.get... | package org.openforis.collect.i18n {
import mx.resources.ResourceManager;
/**
* @author Mino Togna
* @author S. Ricci
* */
public class Message {
public function Message() {
}
public static function get(resource:String, parameters:Array=null, bundle:String="messages"):String {
var ... | Return resource name instead of null if not found | Return resource name instead of null if not found | ActionScript | mit | openforis/collect,openforis/collect,openforis/collect,openforis/collect |
630666dc175d469d0b6e9dabb880aeffc2f2d5ee | dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as | dolly-framework/src/test/resources/dolly/data/PropertyLevelCopyableClass.as | package dolly.data {
public class PropertyLevelCopyableClass {
[Copyable]
public static var staticProperty1:String = "Value of first-level static property 1.";
public static var staticProperty2:String = "Value of first-level static property 2.";
[Cloneable]
private var _writableField1:String = "Value of first-... | package dolly.data {
public class PropertyLevelCopyableClass {
[Copyable]
public static var staticProperty1:String = "Value of first-level static property 1.";
public static var staticProperty2:String = "Value of first-level static property 2.";
[Copyable]
private var _writableField1:String = "Value of first-l... | Fix stupid mistake with metadata names. | Fix stupid mistake with metadata names.
| ActionScript | mit | Yarovoy/dolly |
c6baab42b3de3e9651be5a9ef0fa0a59135c77e1 | test/unit/Suite.as | test/unit/Suite.as | package {
import asunit.framework.TestSuite;
public class Suite extends TestSuite {
public function Suite() {
super();
addTest(new PlayerTest("testPass"));
}
}
}
| package {
import asunit.framework.TestSuite;
public class Suite extends TestSuite {
public function Suite() {
super();
addTest(new PlayerTest("testPass"));
addTest(new UriTest("test_isSafe"));
}
}
}
| Add URI tests to the asunit test suite | Add URI tests to the asunit test suite
| ActionScript | mit | cameronhunter/divine-player-swf |
66f76eb954dd7fb4a0d9b92c099a53aa6ef6519a | ImpetusSound.as | ImpetusSound.as | package
{
import flash.media.Sound;
import flash.net.URLRequest;
public class ImpetusSound
{
private var sound:Sound;
private var channels:Vector.<ImpetusChannel>;
public function ImpetusSound(url:String):void
{
this.sound = new Sound();
this.c... | package
{
import flash.media.Sound;
import flash.net.URLRequest;
public class ImpetusSound
{
private var url:String;
private var sound:Sound;
private var channels:Vector.<ImpetusChannel>;
public function ImpetusSound(url:String):void
{
this.url = ur... | Store url & add getUrl() getter | Store url & add getUrl() getter
| ActionScript | mit | Julow/Impetus |
c20791327b41070b5de2d34c49be14eb766be31d | src/avm2/tests/regress/correctness/callsuper7.as | src/avm2/tests/regress/correctness/callsuper7.as | package {
class ClassA
{
public function ClassA()
{
trace('A');
}
protected function foo() : void
{
trace('a');
}
protected function bar() : void
{
trace('b');
}
}
class ClassC extends ClassA
{
public function ClassC()
{
trace('> C');
... | package {
class ClassA
{
public function ClassA()
{
trace('A');
}
protected function foo() : void
{
trace('a');
}
protected function bar() : void
{
trace('b');
}
}
class ClassC extends ClassA
{
public function ClassC()
{
trace('> C');
... | Fix call super test case. | Fix call super test case.
| ActionScript | apache-2.0 | mbebenita/shumway,mbebenita/shumway,tschneidereit/shumway,mozilla/shumway,mbebenita/shumway,mozilla/shumway,tschneidereit/shumway,yurydelendik/shumway,mozilla/shumway,mozilla/shumway,mozilla/shumway,yurydelendik/shumway,tschneidereit/shumway,mbebenita/shumway,yurydelendik/shumway,tschneidereit/shumway,mbebenita/shumway... |
6f3e6e0cf6bd1178eb5aa12ccb1e9e179f9c420b | src/flails/mxml/ResourcefulServiceInvoker.as | src/flails/mxml/ResourcefulServiceInvoker.as | package flails.mxml {
import com.asfusion.mate.actions.AbstractServiceInvoker;
import com.asfusion.mate.actionLists.IScope;
import com.asfusion.mate.actions.IAction;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import flails.request.RequestPipe;
import flails.resource.Resources;
... | package flails.mxml {
import com.asfusion.mate.actions.AbstractServiceInvoker;
import com.asfusion.mate.actionLists.IScope;
import com.asfusion.mate.actions.IAction;
import mx.rpc.events.ResultEvent;
import mx.rpc.events.FaultEvent;
import flails.request.RequestPipe;
import flails.resource.Resources;
... | Set currentInstance on prepare, not on instantiation time. | Set currentInstance on prepare, not on instantiation time.
| ActionScript | mit | lancecarlson/flails,lancecarlson/flails |
b9d05ab7c28d46cd78ed67539719266e6a2be545 | collect-client/src/generated/flex/org/openforis/collect/metamodel/proxy/UITabSetProxy.as | collect-client/src/generated/flex/org/openforis/collect/metamodel/proxy/UITabSetProxy.as | /**
* Generated by Gas3 v2.3.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package org.openforis.collect.metamodel.proxy {
import mx.collections.IList;
import org.openforis.collect.util.CollectionUtil;
[Bi... | /**
* Generated by Gas3 v2.3.0 (Granite Data Services).
*
* NOTE: this file is only generated if it does not exist. You may safely put
* your custom code here.
*/
package org.openforis.collect.metamodel.proxy {
import mx.collections.IList;
import org.openforis.collect.util.CollectionUtil;
[Bi... | Fix unexpected behavior with nested tabs | Fix unexpected behavior with nested tabs | ActionScript | mit | openforis/collect,openforis/collect,openforis/collect,openforis/collect |
ee53a0253c3012d5673767ec32fd7fabf73c324d | src/laml/display/Skin.as | src/laml/display/Skin.as | package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
public class Skin extends Sprite implements ISkin {
public function getBitmapByName(alias:String):DisplayObject {
if(hasOwnProperty(alias)) {
return new this[alias]() as DisplayObject;
}
return null;
}
}
... | package laml.display {
import flash.display.DisplayObject;
import flash.display.Sprite;
import mx.core.BitmapAsset;
import mx.core.FontAsset;
import mx.core.IFlexAsset;
import mx.core.IFlexDisplayObject;
import mx.core.SpriteAsset;
public class Skin extends Sprite implements ISkin {
private var bitmapAss... | Put MX dependencies in skin | Put MX dependencies in skin
git-svn-id: 02605e11d3a461bc7e12f3f3880edf4b0c8dcfd0@4281 3e7533ad-8678-4d30-8e38-00a379d3f0d0
| ActionScript | mit | lukebayes/laml |
bff95367e7657906745761bf06f795bb767219e0 | src/flails/resource/Resource.as | src/flails/resource/Resource.as | /**
* Copyright (c) 2009 Lance Carlson
* See LICENSE for full license information.
*/
package flails.resource {
import flails.request.RequestPipe;
import flails.request.HTTPClient;
import flails.request.ResourcePathBuilder;
import flails.request.JSONFilter;
import flash.utils.getQualifiedClassName;
... | /**
* Copyright (c) 2009 Lance Carlson
* See LICENSE for full license information.
*/
package flails.resource {
import flails.request.RequestPipe;
import flails.request.HTTPClient;
import flails.request.ResourcePathBuilder;
import flails.request.JSONFilter;
import mx.core.IMXMLObject;
public class Res... | Implement IMXMLObject. Some defaults and checks. | Implement IMXMLObject. Some defaults and checks.
| ActionScript | mit | lancecarlson/flails,lancecarlson/flails |
736682536f49fd2ff75131649a522c519d6d3022 | dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as | dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as | package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Type;
use namespace dolly_internal;
public class CloningOfCompositeCloneableClassTest {
private var compositeCloneableClass:CompositeCloneableClass;
private var compositeCloneableClassType:T... | package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertNotNull;
use namespace dolly_internal;
public class CloningOfCompositeClone... | Test for calculation of cloneable fields in CompositeCloneableClass. | Test for calculation of cloneable fields in CompositeCloneableClass.
| ActionScript | mit | Yarovoy/dolly |
5ea2fefddeb6cd9681f0e8bdc2fd5c7214105327 | dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as | dolly-framework/src/test/actionscript/dolly/CloningOfCompositeCloneableClassTest.as | package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertNotNull;
use namespace dolly_internal;
public class CloningOfCompositeClone... | package dolly {
import dolly.core.dolly_internal;
import dolly.data.CompositeCloneableClass;
import org.as3commons.reflect.Field;
import org.as3commons.reflect.Type;
import org.flexunit.asserts.assertEquals;
import org.flexunit.asserts.assertFalse;
import org.flexunit.asserts.assertNotNull;
import org.hamcrest.assertT... | Test for cloning array in CompositeCloneableClass. | Test for cloning array in CompositeCloneableClass.
| ActionScript | mit | Yarovoy/dolly |
8eb7d7978dfd82a0b5f3b21ab5ec2a462bef3aa1 | FlexUnit4/src/org/flexunit/events/UnknownError.as | FlexUnit4/src/org/flexunit/events/UnknownError.as | package org.flexunit.events
{
import flash.events.ErrorEvent;
import flash.events.Event;
public class UnknownError extends Error
{
public function UnknownError( event:Event )
{
var error:Error;
if ( event.hasOwnProperty( "error" ) ) {
var errorGeneric:* = event[ "error" ];
if ( errorGeneric... | package org.flexunit.events
{
import flash.events.ErrorEvent;
import flash.events.Event;
public class UnknownError extends Error
{
public function UnknownError( event:Event )
{
var error:Error;
if ( event.hasOwnProperty( "error" ) ) {
var errorGeneric:* = event[ "error" ];
if ( errorGeneric... | Fix for build issue around unknown error | Fix for build issue around unknown error
| ActionScript | apache-2.0 | SlavaRa/flex-flexunit,apache/flex-flexunit,apache/flex-flexunit,apache/flex-flexunit,SlavaRa/flex-flexunit,SlavaRa/flex-flexunit,apache/flex-flexunit,SlavaRa/flex-flexunit |
9cb51568c37c5ffec45d001c69cae5d3969cfb83 | plugins/wvPlugin/src/com/kaltura/kdpfl/plugin/WVLoader.as | plugins/wvPlugin/src/com/kaltura/kdpfl/plugin/WVLoader.as | package com.kaltura.kdpfl.plugin
{
import org.osmf.traits.LoaderBase;
public class WVLoader extends LoaderBase
{
public function WVLoader()
{
super();
}
}
} | package com.kaltura.kdpfl.plugin
{
import flash.external.ExternalInterface;
import org.osmf.media.MediaResourceBase;
import org.osmf.traits.LoaderBase;
public class WVLoader extends LoaderBase
{
public function WVLoader()
{
super();
}
override public function canHandleResource(resou... | Fix a bug that caused "ChangeMedia" to fail | Fix a bug that caused "ChangeMedia" to fail | ActionScript | agpl-3.0 | kaltura/kdp,shvyrev/kdp,shvyrev/kdp,shvyrev/kdp,kaltura/kdp,kaltura/kdp |
a52512f1414c32c6b96c98965148f4a97ec4c3dd | src/goplayer/FlashContentLoadAttempt.as | src/goplayer/FlashContentLoadAttempt.as | package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
private const loa... | package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
private const loa... | Improve error handling of external content loading. | Improve error handling of external content loading.
| ActionScript | mit | dbrock/goplayer,dbrock/goplayer |
9048d4b0250a6742f81712f65cccf04c0be4aa94 | src/aerys/minko/render/effect/vertex/VertexUVShader.as | src/aerys/minko/render/effect/vertex/VertexUVShader.as | package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicProperties;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public class VertexUVShad... | package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicProperties;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public class VertexUVShad... | Optimize uv shader for limit values | Optimize uv shader for limit values
| ActionScript | mit | aerys/minko-as3 |
912692ea30af1f186de02f86b8a0687523e9c7e9 | dolly-framework/src/test/resources/dolly/ClassWithSomeCopyableFields.as | dolly-framework/src/test/resources/dolly/ClassWithSomeCopyableFields.as | package dolly {
public class ClassWithSomeCopyableFields {
public static var staticProperty1:String;
[Cloneable]
public static var staticProperty2:String;
[Cloneable]
public static var staticProperty3:String;
private var _writableField:String;
private var _readOnlyField:String = "read-only field value";
pu... | package dolly {
public class ClassWithSomeCopyableFields {
public static var staticProperty1:String;
[Copyable]
public static var staticProperty2:String;
[Copyable]
public static var staticProperty3:String;
private var _writableField:String;
private var _readOnlyField:String = "read-only field value";
publ... | Change metadata tags to Copyable in test data class. | Change metadata tags to Copyable in test data class.
| ActionScript | mit | Yarovoy/dolly |
5f9b770ac4d5d2b6799009db942e4bfcd3ffb7bc | src/goplayer/FlashContentLoadAttempt.as | src/goplayer/FlashContentLoadAttempt.as | package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
private const loa... | package goplayer
{
import flash.display.Loader
import flash.events.Event
import flash.events.IOErrorEvent
import flash.net.URLRequest
import flash.system.ApplicationDomain
import flash.system.LoaderContext
import flash.system.SecurityDomain
public class FlashContentLoadAttempt
{
private const loa... | Remove custom LoaderContext creation code. | Remove custom LoaderContext creation code.
| ActionScript | mit | dbrock/goplayer,dbrock/goplayer |
7c291f387d8af2946b6407ef5a5cde2cb58958f3 | src/main/as/flump/export/PackedTexture.as | src/main/as/flump/export/PackedTexture.as | //
// Flump - Copyright 2012 Three Rings Design
package flump.export {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.geom.Point;
import flash.geom.Rectangle;
import flump.xfl.XflTexture;
public class PackedTexture
{
public const holder :Sprite = new Sprite();
public var tex :... | //
// Flump - Copyright 2012 Three Rings Design
package flump.export {
import flash.display.DisplayObject;
import flash.display.Sprite;
import flash.geom.Point;
import flash.geom.Rectangle;
import flump.xfl.XflTexture;
public class PackedTexture
{
public const holder :Sprite = new Sprite();
public var tex :... | Move the images by their offset | Move the images by their offset
| ActionScript | mit | funkypandagame/flump,tconkling/flump,funkypandagame/flump,tconkling/flump,mathieuanthoine/flump,mathieuanthoine/flump,mathieuanthoine/flump |
51cf6b65bec7c91b21172fff6224855f503e01fa | src/as/com/threerings/flex/FlexWrapper.as | src/as/com/threerings/flex/FlexWrapper.as | //
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | //
// $Id$
//
// Nenya library - tools for developing networked games
// Copyright (C) 2002-2007 Three Rings Design, Inc., All Rights Reserved
// http://www.threerings.net/code/nenya/
//
// This library is free software; you can redistribute it and/or modify it
// under the terms of the GNU Lesser General Public Licens... | Make this optional, and not the default. Turns out a bunch of shit makes the wrapper size a little bigger, and some things seem to freak out when the wrapper has a size, even when includeInLayout=false. Flex you very much. | Make this optional, and not the default.
Turns out a bunch of shit makes the wrapper size a little bigger,
and some things seem to freak out when the wrapper has a size,
even when includeInLayout=false.
Flex you very much.
git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@616 ed5b42cb-e716-0410-a449-f6a68f950b19
| ActionScript | lgpl-2.1 | threerings/nenya,threerings/nenya |
60ec297e24004ef5f50d8dae05c3313e99d3263a | src/stdio/Sprite.as | src/stdio/Sprite.as | package stdio {
import flash.display.*
import flash.utils.getQualifiedClassName
import flash.utils.setTimeout
public class Sprite extends flash.display.Sprite {
public function Sprite() {
stage.scaleMode = StageScaleMode.NO_SCALE
stage.align = StageAlign.TOP_LEFT
// Let the subclass cons... | package stdio {
import flash.display.*
import flash.utils.getQualifiedClassName
import flash.utils.setTimeout
public class Sprite extends flash.display.Sprite {
public function Sprite() {
if (stage) {
stage.scaleMode = StageScaleMode.NO_SCALE
stage.align = StageAlign.TOP_LEFT
}
... | Fix bug preventing running processes recursively. | Fix bug preventing running processes recursively.
| ActionScript | mit | dbrock/stdio.as,dbrock/stdio.as,dbrock/stdio.as |
14e29c99fbaba25aace6714949c3cca398c89643 | bin/Data/Scripts/Main.as | bin/Data/Scripts/Main.as | Scene@ newScene_;
Scene@ scene_;
Camera@ camera_;
void Start()
{
StartScene("Scenes/Level1.xml");
SubscribeToEvent("LevelComplete", "HandleLevelComplete");
}
void Stop()
{
}
void HandleLevelComplete(StringHash type, VariantMap& data)
{
log.Debug("Level Complete. I should be loading "+data["NextLevel"].GetString()... | Scene@ newScene_;
Scene@ scene_;
Camera@ camera_;
Timer timer_;
void Start()
{
StartScene("Scenes/Level1.xml");
SubscribeToEvent("LevelComplete", "HandleLevelComplete");
}
void Stop()
{
}
void HandleLevelComplete(StringHash type, VariantMap& data)
{
log.Debug("Level Complete. I should be loading "+data["NextLevel... | Add a level timer to the main procedure | Add a level timer to the main procedure
| ActionScript | mit | leyarotheconquerer/on-off |
59c6998c30630453371516f40bfa19f6fd24cf36 | src/as/com/threerings/flash/FrameSprite.as | src/as/com/threerings/flash/FrameSprite.as | //
// $Id$
package com.threerings.flash {
import flash.display.Sprite;
import flash.events.Event;
/**
* Convenience superclass to use for sprites that need to update every frame.
* (One must be very careful to remove all ENTER_FRAME listeners when not needed, as they
* will prevent an object from being garbage c... | //
// $Id$
package com.threerings.flash {
import flash.display.Sprite;
import flash.events.Event;
/**
* Convenience superclass to use for sprites that need to update every frame.
* (One must be very careful to remove all ENTER_FRAME listeners when not needed, as they
* will prevent an object from being garbage c... | Allow subclasses to choose not to call handleFrame() when ADDED_TO_STAGE is received. | Allow subclasses to choose not to call handleFrame() when
ADDED_TO_STAGE is received.
git-svn-id: b675b909355d5cf946977f44a8ec5a6ceb3782e4@253 ed5b42cb-e716-0410-a449-f6a68f950b19
| ActionScript | lgpl-2.1 | threerings/nenya,threerings/nenya |
074ee8976d0c8c96773a51f3a81f0bede4f50177 | src/main/flex/org/servebox/cafe/core/application/Application.as | src/main/flex/org/servebox/cafe/core/application/Application.as | package org.servebox.cafe.core.application
{
import org.servebox.cafe.core.spring.ApplicationContext;
import spark.components.Application;
public class Application extends spark.components.Application implements CafeApplication
{
private var _context : ApplicationContext;
public function Application()
... | package org.servebox.cafe.core.application
{
import org.servebox.cafe.core.spring.ApplicationContext;
import spark.components.Application;
public class Application extends spark.components.Application implements CafeApplication
{
private var _context : ApplicationContext;
public function Application()
... | Fix bug on getContext() null | Fix bug on getContext() null
| ActionScript | mit | servebox/as-cafe |
afe0ec129b581ac6d1fc693226c997ae23d30a23 | frameworks/as/src/org/apache/flex/html/staticControls/beads/SolidBackgroundBead.as | frameworks/as/src/org/apache/flex/html/staticControls/beads/SolidBackgroundBead.as | ////////////////////////////////////////////////////////////////////////////////
//
// 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 license... | Add bead to draw solid background | Add bead to draw solid background
| ActionScript | apache-2.0 | greg-dove/flex-asjs,greg-dove/flex-asjs,greg-dove/flex-asjs,greg-dove/flex-asjs | |
e7bf51cfb89a12a7d718026032b58910d9fc755b | test/swfs/test_Template.as | test/swfs/test_Template.as | /* -*- Mode: java; indent-tabs-mode: nil -*- */
/*
Compiled with:
java -jar utils/asc.jar -import playerglobal.abc -swf Template,100,100,10 test/swfs/test_TemplateTest.as
This template is for writing test SWFs using pure AS3. It allows for testing
UI events, screen and program state using the Shumway test ... | Add template for writing SWF unit tests | Add template for writing SWF unit tests
| ActionScript | apache-2.0 | mozilla/shumway,mozilla/shumway,mozilla/shumway,mbebenita/shumway,mozilla/shumway,yurydelendik/shumway,mbebenita/shumway,tschneidereit/shumway,tschneidereit/shumway,yurydelendik/shumway,mbebenita/shumway,yurydelendik/shumway,tschneidereit/shumway,tschneidereit/shumway,yurydelendik/shumway,yurydelendik/shumway,mbebenita... | |
479ea0c600c850d250a09fe2dd6d9df3e37db95a | Classes/Textbox.as | Classes/Textbox.as | package Classes
{
public class Textbox
{
public var contents:String;
public function Textbox()
{
contents="";
}
public function Textbox(text)
{
contents=text;
}
public setContents(text)
{
contents=text;
}
}
} | Create a dummy textbox class for the sole purpose of writing the XML loader | Create a dummy textbox class for the sole purpose of writing the XML loader
| ActionScript | agpl-3.0 | mbjornas3/AGORA,MichaelHoffmann/AGORA,mbjornas3/AGORA,MichaelHoffmann/AGORA,MichaelHoffmann/AGORA | |
969ae27b78e5252d95d53c2ac482eafeb899e437 | bin/Data/Scripts/43_HttpRequestDemo.as | bin/Data/Scripts/43_HttpRequestDemo.as | // Http request example.
// This example demonstrates:
// - How to use Http request API
#include "Scripts/Utilities/Sample.as"
String message;
Text@ text;
HttpRequest@ httpRequest;
void Start()
{
// Execute the common startup for samples
SampleStart();
// Create the user interface
CreateUI();
... | Add AngelScript Http Request demo sample. | Add AngelScript Http Request demo sample.
| ActionScript | mit | PredatorMF/Urho3D,SuperWangKai/Urho3D,MeshGeometry/Urho3D,henu/Urho3D,fire/Urho3D-1,iainmerrick/Urho3D,eugeneko/Urho3D,codemon66/Urho3D,MeshGeometry/Urho3D,xiliu98/Urho3D,urho3d/Urho3D,codemon66/Urho3D,tommy3/Urho3D,codemon66/Urho3D,urho3d/Urho3D,carnalis/Urho3D,luveti/Urho3D,SirNate0/Urho3D,299299/Urho3D,MonkeyFirst/U... | |
da113bebedd55e245527c41d507e7a0f4af97893 | swfcat.as | swfcat.as | package
{
import flash.display.Sprite;
import flash.text.TextField;
import flash.net.XMLSocket;
public class swfcat extends Sprite
{
private var output_text:TextField;
private function puts(s:String):void
{
output_text.appendText(s + "\n");
}
pu... | Add a simple terminal-like output. | Add a simple terminal-like output.
| ActionScript | mit | glamrock/flashproxy,infinity0/flashproxy,glamrock/flashproxy,arlolra/flashproxy,arlolra/flashproxy,arlolra/flashproxy,infinity0/flashproxy,infinity0/flashproxy,glamrock/flashproxy,infinity0/flashproxy,infinity0/flashproxy,arlolra/flashproxy,arlolra/flashproxy,arlolra/flashproxy,glamrock/flashproxy,glamrock/flashproxy,a... | |
d309f0539165ce6a1603728fa49753daa0f63d3d | flash/org/windmill/TestCase.as | flash/org/windmill/TestCase.as | /*
Copyright 2009, Matthew Eernisse (mde@fleegix.org) and Slide, Inc.
Licensed under the Apache License, Version 2.0 (the "License");
you may not use this file except in compliance with the License.
You may obtain a copy of the License at
http://www.apache.org/licenses/LICENSE-2.0
Unless required by applica... | Test case base class -- all AS test classes extend this. | Test case base class -- all AS test classes extend this.
| ActionScript | apache-2.0 | windmill/windmill,windmill/windmill,windmill/windmill,windmill/windmill,windmill/windmill,windmill/windmill | |
0e3d427edcef3904f1f46bd7e53c6b163e985771 | unittests/TestEquivalence.as | unittests/TestEquivalence.as | package unittests
{
public class TestEquivalence
{
[Before]
public function setUp():void
{
}
[After]
public function tearDown():void
{
}
[BeforeClass]
public static function setUpBeforeClass():void
{
}
[AfterClass]
public static function tearDownAfterClass():... | Add stub class for Equivalence class testing | Add stub class for Equivalence class testing
| ActionScript | agpl-3.0 | mbjornas3/AGORA,MichaelHoffmann/AGORA,mbjornas3/AGORA,MichaelHoffmann/AGORA,MichaelHoffmann/AGORA | |
40df1f5dc2d021e9562c0d4a9e594b4ac00c29c4 | src/aerys/minko/render/effect/vertex/VertexUVShader.as | src/aerys/minko/render/effect/vertex/VertexUVShader.as | package aerys.minko.render.effect.vertex
{
import aerys.minko.render.RenderTarget;
import aerys.minko.render.effect.basic.BasicShader;
import aerys.minko.render.shader.SFloat;
import aerys.minko.type.stream.format.VertexComponent;
public class VertexUVShader extends BasicShader
{
public function VertexUVSh... | Add VertexUvShader (vertex streams must have an uv component) | Add VertexUvShader (vertex streams must have an uv component)
| ActionScript | mit | aerys/minko-as3 | |
7d076cb1674217d0b171d19ce9839e93512dc9d9 | dolly-framework/src/test/actionscript/dolly/utils/PropertyUtilTests.as | dolly-framework/src/test/actionscript/dolly/utils/PropertyUtilTests.as | package dolly.utils {
import dolly.core.dolly_internal;
import mx.collections.ArrayCollection;
import mx.collections.ArrayList;
use namespace dolly_internal;
public class PropertyUtilTests {
private var sourceObj:Object;
private var targetObj:Object;
[Before]
public function before():void {
sourceObj = {};
... | Add empty test for PropertyUtil class. | Add empty test for PropertyUtil class.
| ActionScript | mit | Yarovoy/dolly | |
44897a82d0a0921479f56c7ba29ad1b0b0dfbb9b | test/acceptance/as3/Vector/specializedAtRuntime.as | test/acceptance/as3/Vector/specializedAtRuntime.as | /* ***** BEGIN LICENSE BLOCK *****
* Version: MPL 1.1/GPL 2.0/LGPL 2.1
*
* The contents of this file are subject to the Mozilla Public License Version
* 1.1 (the "License"); you may not use this file except in compliance with
* the License. You may obtain a copy of the License at
* http://www.mozilla.org/MPL/
*
... | Fix 525654 - added test for runtime Vector specialization | Fix 525654 - added test for runtime Vector specialization
| ActionScript | mpl-2.0 | pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pfgenyun/tamarin-redux,pnkfelix/tamarin-redux,pnkfelix/tamarin-redu... | |
7f04749ad7a0d346562dbdc851a30df5fb71d8e5 | dolly-framework/src/test/actionscript/dolly/CloningOfPropertyLevelCopyableCloneableClassTest.as | dolly-framework/src/test/actionscript/dolly/CloningOfPropertyLevelCopyableCloneableClassTest.as | package dolly {
import dolly.core.dolly_internal;
import dolly.data.PropertyLevelCopyableCloneableClass;
import org.as3commons.reflect.Type;
use namespace dolly_internal;
public class CloningOfPropertyLevelCopyableCloneableClassTest {
private var propertyLevelCopyableCloneable:PropertyLevelCopyableCloneableClass;... | Test class for cloning of PropertyLevelCopyableCloneableClass. | Test class for cloning of PropertyLevelCopyableCloneableClass.
| ActionScript | mit | Yarovoy/dolly | |
d1d2f358c84830e4266273cb1d2ab5179695b0e1 | src/util-events.ads | src/util-events.ads | -----------------------------------------------------------------------
-- util-events -- Events
-- Copyright (C) 2001, 2002, 2003, 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file... | -----------------------------------------------------------------------
-- util-events -- Events
-- Copyright (C) 2001, 2002, 2003, 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... | Change the Event type to a limited type | Change the Event type to a limited type
| Ada | apache-2.0 | Letractively/ada-util,flottokarotto/ada-util,Letractively/ada-util,flottokarotto/ada-util |
03237add331b06e61a262343dcd94772313315e7 | src/gen-commands-info.ads | src/gen-commands-info.ads | -----------------------------------------------------------------------
-- gen-commands-info -- Collect and give information about the project
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you... | -----------------------------------------------------------------------
-- gen-commands-info -- Collect and give information about the project
-- Copyright (C) 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-... | Update to use the new command implementation | Update to use the new command implementation
| Ada | apache-2.0 | stcarrez/dynamo,stcarrez/dynamo,stcarrez/dynamo |
d0ab12f36377fddc0c022062223506a1dc863dbd | src/gen-commands-docs.ads | src/gen-commands-docs.ads | -----------------------------------------------------------------------
-- gen-commands-docs -- Extract and generate documentation for the project
-- Copyright (C) 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | -----------------------------------------------------------------------
-- gen-commands-docs -- Extract and generate documentation for the project
-- Copyright (C) 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License"... | Update to use the new command implementation | Update to use the new command implementation
| Ada | apache-2.0 | stcarrez/dynamo,stcarrez/dynamo,stcarrez/dynamo |
ea4dd9f87719743362a2abfacd4abd89ef217cf7 | src/gen-commands-page.ads | src/gen-commands-page.ads | -----------------------------------------------------------------------
-- gen-commands-page -- Page creation command for dynamo
-- Copyright (C) 2011, 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you m... | -----------------------------------------------------------------------
-- gen-commands-page -- Page creation command for dynamo
-- Copyright (C) 2011, 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | Add Name parameter to the Help procedure | Add Name parameter to the Help procedure
| Ada | apache-2.0 | stcarrez/dynamo,stcarrez/dynamo,stcarrez/dynamo |
21f82397c418c064056bbe9a13f43e47129653ff | awa/plugins/awa-questions/regtests/awa-questions-services-tests.ads | awa/plugins/awa-questions/regtests/awa-questions-services-tests.ads | -----------------------------------------------------------------------
-- awa-questions-services-tests -- Unit tests for question service
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... | -----------------------------------------------------------------------
-- awa-questions-services-tests -- Unit tests for question service
-- Copyright (C) 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... | Add unit tests for the questionVote bean | Add unit tests for the questionVote bean
| Ada | apache-2.0 | stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa |
024e51ab76465425bc7eb8a738bb5b64cd1f45ea | src/gen-commands-layout.ads | src/gen-commands-layout.ads | -----------------------------------------------------------------------
-- gen-commands-layout -- Layout creation command for dynamo
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not u... | -----------------------------------------------------------------------
-- gen-commands-layout -- Layout creation command for dynamo
-- Copyright (C) 2011, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may... | Update to use the new command implementation | Update to use the new command implementation
| Ada | apache-2.0 | stcarrez/dynamo,stcarrez/dynamo,stcarrez/dynamo |
9a00519d1c63d366087a34d065172766c6535a39 | mat/src/mat-readers-files.ads | mat/src/mat-readers-files.ads | -----------------------------------------------------------------------
-- mat-readers-files -- Reader for files
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... | -----------------------------------------------------------------------
-- mat-readers-files -- Reader for files
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except ... | Use the MAT.Readers.Streams package for the file reader implementation | Use the MAT.Readers.Streams package for the file reader implementation
| Ada | apache-2.0 | stcarrez/mat,stcarrez/mat,stcarrez/mat |
a8a3b7f6797a6c27d37d3031e130f52fec143a91 | regtests/ado-drivers-tests.ads | regtests/ado-drivers-tests.ads | -----------------------------------------------------------------------
-- ado-drivers-tests -- Unit tests for database drivers
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... | -----------------------------------------------------------------------
-- ado-drivers-tests -- Unit tests for database drivers
-- Copyright (C) 2014, 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... | Declare the Test_Set_Connection_Error test procedure | Declare the Test_Set_Connection_Error test procedure
| Ada | apache-2.0 | stcarrez/ada-ado |
6ae7c11cfd399db0f9bf3285cc2a41ac08658d44 | tools/druss-commands-status.ads | tools/druss-commands-status.ads | -----------------------------------------------------------------------
-- druss-commands-status -- Druss status commands
-- Copyright (C) 2017, 2018 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use th... | -----------------------------------------------------------------------
-- druss-commands-status -- Druss status commands
-- Copyright (C) 2017, 2018, 2019 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not ... | Change Help command to accept in out command | Change Help command to accept in out command
| Ada | apache-2.0 | stcarrez/bbox-ada-api |
655325db4f269f9472a62ac3a5ae49763ffaae64 | mat/src/mat-readers-streams.ads | mat/src/mat-readers-streams.ads | -----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... | -----------------------------------------------------------------------
-- mat-readers-streams -- Reader for streams
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... | Add the data buffer in the Stream_Reader_Type type | Add the data buffer in the Stream_Reader_Type type
| Ada | apache-2.0 | stcarrez/mat,stcarrez/mat,stcarrez/mat |
210d73c3b779f1568daf80f23ca6bd280a3e65cc | awa/regtests/awa_harness.adb | awa/regtests/awa_harness.adb | -----------------------------------------------------------------------
-- AWA - Unit tests
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compli... | -----------------------------------------------------------------------
-- AWA - Unit tests
-- Copyright (C) 2009, 2010, 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in ... | Call the Finish procedure after executing the testsuite Finish will destroy the AWA application that was allocated dynamically | Call the Finish procedure after executing the testsuite
Finish will destroy the AWA application that was allocated dynamically
| Ada | apache-2.0 | Letractively/ada-awa,tectronics/ada-awa,Letractively/ada-awa,tectronics/ada-awa,Letractively/ada-awa,tectronics/ada-awa |
ad5f598a5a6d99a236054747dccd1f295fe74be9 | mat/regtests/mat-testsuite.adb | mat/regtests/mat-testsuite.adb | -----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... | -----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... | Add the new unit tests | Add the new unit tests
| Ada | apache-2.0 | stcarrez/mat,stcarrez/mat,stcarrez/mat |
fdd736f163dc4171df927ab8958869fa3dd562a9 | regtests/util-locales-tests.ads | regtests/util-locales-tests.ads | -----------------------------------------------------------------------
-- locales.tests -- Unit tests for Locales
-- Copyright (C) 2009, 2010, 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... | -----------------------------------------------------------------------
-- util-locales-tests -- Unit tests for Locales
-- Copyright (C) 2009, 2010, 2011, 2022 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may ... | Declare the new Test_Null_Locale procedure | Declare the new Test_Null_Locale procedure
| Ada | apache-2.0 | stcarrez/ada-util,stcarrez/ada-util |
f7031e582d729d6bf57c2c28a86f9b853167c008 | src/definitions.ads | src/definitions.ads | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package Definitions is
pragma Pure;
synth_version_major : constant String := "1";
synth_version_minor : constant String := "21";
copyright_years : constant String := "2015-2016";
host_localbase... | -- This file is covered by the Internet Software Consortium (ISC) License
-- Reference: ../License.txt
package Definitions is
pragma Pure;
synth_version_major : constant String := "1";
synth_version_minor : constant String := "22";
copyright_years : constant String := "2015-2016";
host_localbase... | Upgrade version 1.21 => 1.22 | ports-mgmt/synth: Upgrade version 1.21 => 1.22
Two minor bug fixes:
* A specific check during test mode would emit a failure to stdout when
testing devel/py-setuptools27. It turns out that there's a file there
with a space in the filename. The filename was an argument for
/usr/bin//file and it wasn't escap... | Ada | isc | jrmarino/synth,jrmarino/synth,jrmarino/synth,jrmarino/synth |
11273ac359e6d79c6e7efb1ede26b9bbfdd15083 | awa/regtests/awa-commands-tests.ads | awa/regtests/awa-commands-tests.ads | -----------------------------------------------------------------------
-- awa-commands-tests -- Test the AWA.Commands
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file e... | -----------------------------------------------------------------------
-- awa-commands-tests -- Test the AWA.Commands
-- Copyright (C) 2020 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file e... | Declare the Test_List_Tables procedure to test the 'list -t' command | Declare the Test_List_Tables procedure to test the 'list -t' command
| Ada | apache-2.0 | stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa |
e223e201134ee99a44185842f8349f21c8b2bcae | regtests/security-testsuite.adb | regtests/security-testsuite.adb | -----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... | -----------------------------------------------------------------------
-- Security testsuite - Ada Security Test suite
-- Copyright (C) 2011, 2012, 2013 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not us... | Add the new unit tests | Add the new unit tests
| Ada | apache-2.0 | stcarrez/ada-security |
8b2d4a837b9804f6a97f091c9580c6f19d5d9d00 | mat/regtests/mat-testsuite.adb | mat/regtests/mat-testsuite.adb | -----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... | -----------------------------------------------------------------------
-- mat-testsuite - MAT Testsuite
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compl... | Add the new unit tests | Add the new unit tests
| Ada | apache-2.0 | stcarrez/mat,stcarrez/mat,stcarrez/mat |
89671b58bfe23174debacc207afbb95060c27ee4 | regtests/util_harness.adb | regtests/util_harness.adb | -----------------------------------------------------------------------
-- Util -- Utilities
-- Copyright (C) 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... | -----------------------------------------------------------------------
-- Util -- Utilities
-- Copyright (C) 2009, 2010 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file except in compliance ... | Fix running the testsuite with AUnit: create the 'regtests/result' directory if it does not exist | Fix running the testsuite with AUnit: create the 'regtests/result' directory if it does not exist
| Ada | apache-2.0 | stcarrez/ada-util,stcarrez/ada-util |
67f5cf9d4cbbd08eff3503e0f094e24a78aa60c1 | regtests/security-permissions-tests.ads | regtests/security-permissions-tests.ads | -----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you ma... | -----------------------------------------------------------------------
-- Security-permissions-tests - Unit tests for Security.Permissions
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- ... | Add new unit tests to check the Permissions.Definition package | Add new unit tests to check the Permissions.Definition package
| Ada | apache-2.0 | stcarrez/ada-security |
f9882b7793e2459ee9a53ca8f07f62eb19bc4c88 | awa/plugins/awa-workspaces/src/awa-workspaces.ads | awa/plugins/awa-workspaces/src/awa-workspaces.ads | -----------------------------------------------------------------------
-- awa-workspaces -- Module workspaces
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... | -----------------------------------------------------------------------
-- awa-workspaces -- Module workspaces
-- Copyright (C) 2011, 2012 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file exc... | Add the Ada beans in the workspace documentation | Add the Ada beans in the workspace documentation
| Ada | apache-2.0 | stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa |
1c583d65cb0a555f08a7e97508e428c44304a854 | src/gen-commands.ads | src/gen-commands.ads | -----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fi... | -----------------------------------------------------------------------
-- gen-commands -- Commands for dynamo
-- Copyright (C) 2011, 2012, 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this fi... | Remove the declaration of Usage procedure | Remove the declaration of Usage procedure
| Ada | apache-2.0 | stcarrez/dynamo,stcarrez/dynamo,stcarrez/dynamo |
db6fcb876c53a3836c759d0c6d0f5dc9d6e7fe6f | src/util-commands.ads | src/util-commands.ads | -----------------------------------------------------------------------
-- util-commands -- Support to make command line tools
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... | -----------------------------------------------------------------------
-- util-commands -- Support to make command line tools
-- Copyright (C) 2017 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use thi... | Change the Argument_List to an interface with a Get_Count and Get_Argument operation | Change the Argument_List to an interface with a Get_Count and Get_Argument operation
| Ada | apache-2.0 | stcarrez/ada-util,stcarrez/ada-util |
322393f29a7d1bae390cef18fbcac3a7a8711d62 | awa/plugins/awa-wikis/regtests/awa-wikis-modules-tests.ads | awa/plugins/awa-wikis/regtests/awa-wikis-modules-tests.ads | -----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... | -----------------------------------------------------------------------
-- awa-wikis-modules-tests -- Unit tests for wikis service
-- Copyright (C) 2015 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use... | Add the Test_Create_Wiki_Content unit test | Add the Test_Create_Wiki_Content unit test
| Ada | apache-2.0 | stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa |
d26f95c8b01338ce7fa7f7e14db72b88fbad2356 | awa/plugins/awa-changelogs/regtests/awa-changelogs-modules-tests.ads | awa/plugins/awa-changelogs/regtests/awa-changelogs-modules-tests.ads | -----------------------------------------------------------------------
-- awa-changelogs-tests -- Tests for changelogs
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... | -----------------------------------------------------------------------
-- awa-changelogs-tests -- Tests for changelogs
-- Copyright (C) 2014 Stephane Carrez
-- Written by Stephane Carrez (Stephane.Carrez@gmail.com)
--
-- Licensed under the Apache License, Version 2.0 (the "License");
-- you may not use this file ... | Fix the unit test to use AWA.Tests.Test for the correct test setup | Fix the unit test to use AWA.Tests.Test for the correct test setup
| Ada | apache-2.0 | stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa,stcarrez/ada-awa |
CommitPackFT is a 2GB filtered version of CommitPack to contain only high-quality commit messages that resemble natural language instructions.
| Data | CommitPack | 4TB of GitHub commits across 350 programming languages |
|---|---|---|
| CommitPackFT | Filtered version of CommitPack for high-quality commit messages that resemble instructions | |
| Model | OctoCoder | StarCoder (16B parameters) instruction tuned on CommitPackFT + OASST |
| OctoGeeX | CodeGeeX2 (6B parameters) instruction tuned on CommitPackFT + OASST | |
| Evaluation | HumanEvalPack | Extension of OpenAI's HumanEval to cover 3 scenarios across 6 languages |
An example looks as follows:
{
'commit': '0c17311f7fd511f5dae8f8e4acc2dce1a2de3cf5',
'old_file': 'main.py',
'new_file': 'main.py',
'old_contents': "import numpy as np\nimport matplotlib.pyplot as plt\n\n# generate sample data\nx_data = np.linspace(-5, 5, 20)\ny_data = np.random.normal(0.0, 1.0, x_data.size)\n\nplt.plot(x_data, y_data, 'o')\nplt.show()\n",
'new_contents': "import math\nimport numpy as np\nimport matplotlib.pyplot as plt\n\n# generate sample data\nx_data = np.linspace(-math.pi, math.pi, 30)\ny_data = np.sin(x_data) + np.random.normal(0.0, 0.1, x_data.size)\n\nplt.plot(x_data, y_data, 'o')\nplt.show()\n\n",
'subject': 'Change to sin() function with noise',
'message': 'Change to sin() function with noise\n',
'lang': 'Python',
'license': 'mit',
'repos': 'MorganR/basic-gaussian-process'
}
The data fields are the same among all splits:
commit: unique commit idold_file: name of the file before the commitnew_file: name of the file after the commitold_contents: contents of the file before the commitnew_contents: contents of the file after the commitsubject: subject of the commit (this is used for all experiments in the paper)message: message of the commit (commonly the same as the subject)lang: programming languagelicense: license of the repository the code stems from, one of ['mit', 'artistic-2.0', 'isc', 'cc0-1.0', 'epl-1.0', 'mpl-2.0', 'unlicense', 'unknown', 'apache-2.0', 'bsd-3-clause', 'agpl-3.0', 'lgpl-2.1', 'bsd-2-clause']repos: name of the the repository the code stems from (if multiple, they are comma separated)| Name | Megabytes | % of total | Samples | % of total |
|---|---|---|---|---|
| total | 1545.02 | 100.0% | 702062 | 100.0% |
| ruby | 195.292 | 12.6401% | 69413 | 9.887% |
| yaml | 190.876 | 12.3543% | 114320 | 16.2835% |
| python | 132.68 | 8.5876% | 56025 | 7.9801% |
| markdown | 131.152 | 8.4887% | 62518 | 8.9049% |
| javascript | 125.008 | 8.091% | 52989 | 7.5476% |
| json | 86.744 | 5.6144% | 39777 | 5.6657% |
| shell | 66.864 | 4.3277% | 31217 | 4.4465% |
| text | 66.664 | 4.3148% | 46588 | 6.6359% |
| php | 60.22 | 3.8977% | 24791 | 3.5312% |
| java | 56.284 | 3.6429% | 20635 | 2.9392% |
| html | 48.42 | 3.1339% | 20214 | 2.8792% |
| c# | 26.84 | 1.7372% | 9346 | 1.3312% |
| xml | 23.676 | 1.5324% | 9337 | 1.3299% |
| html+erb | 23.104 | 1.4954% | 10910 | 1.554% |
| c | 21.08 | 1.3644% | 8506 | 1.2116% |
| ini | 21.04 | 1.3618% | 11360 | 1.6181% |
| coffeescript | 16.96 | 1.0977% | 5513 | 0.7853% |
| swift | 16.272 | 1.0532% | 4849 | 0.6907% |
| restructuredtext | 15.728 | 1.018% | 6560 | 0.9344% |
| typescript | 14.284 | 0.9245% | 5868 | 0.8358% |
| c++ | 14.136 | 0.9149% | 4992 | 0.711% |
| scss | 13.208 | 0.8549% | 6829 | 0.9727% |
| go | 12.132 | 0.7852% | 5004 | 0.7128% |
| scala | 11.184 | 0.7239% | 5040 | 0.7179% |
| haml | 10.74 | 0.6951% | 4415 | 0.6289% |
| css | 9.364 | 0.6061% | 5049 | 0.7192% |
| rust | 7.244 | 0.4689% | 2996 | 0.4267% |
| toml | 5.584 | 0.3614% | 3424 | 0.4877% |
| jsx | 5.5 | 0.356% | 2199 | 0.3132% |
| kotlin | 5.368 | 0.3474% | 2214 | 0.3154% |
| clojure | 5.068 | 0.328% | 2403 | 0.3423% |
| perl | 4.988 | 0.3228% | 2288 | 0.3259% |
| bitbake | 4.464 | 0.2889% | 1308 | 0.1863% |
| groovy | 4.168 | 0.2698% | 1486 | 0.2117% |
| twig | 3.956 | 0.256% | 1610 | 0.2293% |
| nix | 3.84 | 0.2485% | 1593 | 0.2269% |
| sql | 3.74 | 0.2421% | 2069 | 0.2947% |
| less | 3.724 | 0.241% | 1360 | 0.1937% |
| haskell | 3.308 | 0.2141% | 1389 | 0.1978% |
| handlebars | 3.292 | 0.2131% | 1429 | 0.2035% |
| unknown | 3.048 | 0.1973% | 1597 | 0.2275% |
| batchfile | 2.984 | 0.1931% | 1466 | 0.2088% |
| cucumber | 2.588 | 0.1675% | 976 | 0.139% |
| makefile | 2.528 | 0.1636% | 960 | 0.1367% |
| elixir | 2.348 | 0.152% | 1150 | 0.1638% |
| jade | 2.348 | 0.152% | 1119 | 0.1594% |
| cmake | 2.268 | 0.1468% | 981 | 0.1397% |
| powershell | 2.064 | 0.1336% | 991 | 0.1412% |
| slim | 2.056 | 0.1331% | 1052 | 0.1498% |
| emacs-lisp | 1.972 | 0.1276% | 1015 | 0.1446% |
| dart | 1.96 | 0.1269% | 765 | 0.109% |
| viml | 1.956 | 0.1266% | 1063 | 0.1514% |
| asciidoc | 1.864 | 0.1206% | 523 | 0.0745% |
| lua | 1.852 | 0.1199% | 920 | 0.131% |
| llvm | 1.6 | 0.1036% | 780 | 0.1111% |
| smarty | 1.588 | 0.1028% | 737 | 0.105% |
| diff | 1.48 | 0.0958% | 680 | 0.0969% |
| common-lisp | 1.448 | 0.0937% | 778 | 0.1108% |
| saltstack | 1.412 | 0.0914% | 617 | 0.0879% |
| vue | 1.384 | 0.0896% | 587 | 0.0836% |
| sass | 1.364 | 0.0883% | 705 | 0.1004% |
| fish | 1.328 | 0.086% | 813 | 0.1158% |
| erlang | 1.192 | 0.0772% | 480 | 0.0684% |
| freemarker | 1.028 | 0.0665% | 510 | 0.0726% |
| stylus | 0.948 | 0.0614% | 480 | 0.0684% |
| qml | 0.936 | 0.0606% | 368 | 0.0524% |
| hcl | 0.912 | 0.059% | 421 | 0.06% |
| html+django | 0.848 | 0.0549% | 399 | 0.0568% |
| mako | 0.756 | 0.0489% | 170 | 0.0242% |
| ada | 0.728 | 0.0471% | 265 | 0.0377% |
| ocaml | 0.704 | 0.0456% | 333 | 0.0474% |
| f# | 0.656 | 0.0425% | 254 | 0.0362% |
| elm | 0.62 | 0.0401% | 265 | 0.0377% |
| tex | 0.564 | 0.0365% | 307 | 0.0437% |
| rdoc | 0.552 | 0.0357% | 270 | 0.0385% |
| csv | 0.532 | 0.0344% | 375 | 0.0534% |
| protocol-buffer | 0.524 | 0.0339% | 181 | 0.0258% |
| smalltalk | 0.46 | 0.0298% | 284 | 0.0405% |
| arduino | 0.456 | 0.0295% | 225 | 0.032% |
| java-server-pages | 0.452 | 0.0293% | 173 | 0.0246% |
| scheme | 0.42 | 0.0272% | 213 | 0.0303% |
| groff | 0.396 | 0.0256% | 192 | 0.0273% |
| objective-c++ | 0.376 | 0.0243% | 86 | 0.0122% |
| desktop | 0.364 | 0.0236% | 186 | 0.0265% |
| factor | 0.356 | 0.023% | 113 | 0.0161% |
| crystal | 0.348 | 0.0225% | 182 | 0.0259% |
| rhtml | 0.348 | 0.0225% | 135 | 0.0192% |
| haxe | 0.344 | 0.0223% | 174 | 0.0248% |
| glsl | 0.34 | 0.022% | 164 | 0.0234% |
| gas | 0.336 | 0.0217% | 193 | 0.0275% |
| html+php | 0.332 | 0.0215% | 150 | 0.0214% |
| qmake | 0.32 | 0.0207% | 140 | 0.0199% |
| julia | 0.312 | 0.0202% | 180 | 0.0256% |
| cython | 0.308 | 0.0199% | 123 | 0.0175% |
| html+eex | 0.292 | 0.0189% | 135 | 0.0192% |
| tcl | 0.292 | 0.0189% | 103 | 0.0147% |
| org | 0.272 | 0.0176% | 136 | 0.0194% |
| perl6 | 0.268 | 0.0173% | 122 | 0.0174% |
| m4 | 0.264 | 0.0171% | 101 | 0.0144% |
| xslt | 0.256 | 0.0166% | 99 | 0.0141% |
| svg | 0.252 | 0.0163% | 169 | 0.0241% |
| nimrod | 0.236 | 0.0153% | 67 | 0.0095% |
| r | 0.228 | 0.0148% | 121 | 0.0172% |
| robotframework | 0.212 | 0.0137% | 85 | 0.0121% |
| racket | 0.196 | 0.0127% | 117 | 0.0167% |
| textile | 0.184 | 0.0119% | 61 | 0.0087% |
| assembly | 0.172 | 0.0111% | 105 | 0.015% |
| purescript | 0.172 | 0.0111% | 80 | 0.0114% |
| unity3d-asset | 0.156 | 0.0101% | 101 | 0.0144% |
| visual-basic | 0.152 | 0.0098% | 48 | 0.0068% |
| dm | 0.148 | 0.0096% | 16 | 0.0023% |
| pod | 0.148 | 0.0096% | 54 | 0.0077% |
| standard-ml | 0.148 | 0.0096% | 72 | 0.0103% |
| fortran | 0.144 | 0.0093% | 70 | 0.01% |
| gettext-catalog | 0.132 | 0.0085% | 72 | 0.0103% |
| idris | 0.132 | 0.0085% | 38 | 0.0054% |
| livescript | 0.128 | 0.0083% | 63 | 0.009% |
| xtend | 0.128 | 0.0083% | 55 | 0.0078% |
| actionscript | 0.12 | 0.0078% | 49 | 0.007% |
| vala | 0.116 | 0.0075% | 50 | 0.0071% |
| awk | 0.104 | 0.0067% | 52 | 0.0074% |
| ceylon | 0.1 | 0.0065% | 49 | 0.007% |
| jupyter-notebook | 0.1 | 0.0065% | 48 | 0.0068% |
| dockerfile | 0.096 | 0.0062% | 39 | 0.0056% |
| rouge | 0.096 | 0.0062% | 41 | 0.0058% |
| asp | 0.092 | 0.006% | 22 | 0.0031% |
| sqf | 0.092 | 0.006% | 45 | 0.0064% |
| edn | 0.088 | 0.0057% | 48 | 0.0068% |
| liquid | 0.088 | 0.0057% | 30 | 0.0043% |
| xquery | 0.084 | 0.0054% | 39 | 0.0056% |
| linker-script | 0.08 | 0.0052% | 37 | 0.0053% |
| mediawiki | 0.08 | 0.0052% | 33 | 0.0047% |
| parrot-internal-representation | 0.08 | 0.0052% | 23 | 0.0033% |
| solidity | 0.08 | 0.0052% | 37 | 0.0053% |
| json5 | 0.076 | 0.0049% | 33 | 0.0047% |
| systemverilog | 0.076 | 0.0049% | 35 | 0.005% |
| thrift | 0.076 | 0.0049% | 28 | 0.004% |
| groovy-server-pages | 0.072 | 0.0047% | 25 | 0.0036% |
| processing | 0.072 | 0.0047% | 35 | 0.005% |
| cuda | 0.068 | 0.0044% | 25 | 0.0036% |
| graphviz-dot | 0.068 | 0.0044% | 35 | 0.005% |
| inno-setup | 0.064 | 0.0041% | 16 | 0.0023% |
| api-blueprint | 0.06 | 0.0039% | 23 | 0.0033% |
| nsis | 0.06 | 0.0039% | 15 | 0.0021% |
| gentoo-ebuild | 0.056 | 0.0036% | 16 | 0.0023% |
| logtalk | 0.056 | 0.0036% | 21 | 0.003% |
| jasmin | 0.052 | 0.0034% | 9 | 0.0013% |
| literate-coffeescript | 0.052 | 0.0034% | 19 | 0.0027% |
| webidl | 0.052 | 0.0034% | 6 | 0.0009% |
| coldfusion-cfc | 0.048 | 0.0031% | 20 | 0.0028% |
| opencl | 0.048 | 0.0031% | 23 | 0.0033% |
| openscad | 0.048 | 0.0031% | 21 | 0.003% |
| pan | 0.048 | 0.0031% | 23 | 0.0033% |
| pascal | 0.048 | 0.0031% | 25 | 0.0036% |
| pony | 0.048 | 0.0031% | 16 | 0.0023% |
| turtle | 0.048 | 0.0031% | 21 | 0.003% |
| chapel | 0.044 | 0.0028% | 20 | 0.0028% |
| ioke | 0.044 | 0.0028% | 25 | 0.0036% |
| ooc | 0.044 | 0.0028% | 15 | 0.0021% |
| sparql | 0.044 | 0.0028% | 23 | 0.0033% |
| applescript | 0.04 | 0.0026% | 19 | 0.0027% |
| augeas | 0.04 | 0.0026% | 13 | 0.0019% |
| g-code | 0.04 | 0.0026% | 7 | 0.001% |
| mirah | 0.04 | 0.0026% | 16 | 0.0023% |
| capn-proto | 0.036 | 0.0023% | 12 | 0.0017% |
| digital-command-language | 0.036 | 0.0023% | 19 | 0.0027% |
| hy | 0.036 | 0.0023% | 12 | 0.0017% |
| logos | 0.036 | 0.0023% | 19 | 0.0027% |
| modelica | 0.036 | 0.0023% | 15 | 0.0021% |
| vcl | 0.036 | 0.0023% | 18 | 0.0026% |
| antlr | 0.032 | 0.0021% | 15 | 0.0021% |
| gdscript | 0.032 | 0.0021% | 9 | 0.0013% |
| graphql | 0.032 | 0.0021% | 17 | 0.0024% |
| hlsl | 0.032 | 0.0021% | 11 | 0.0016% |
| gnuplot | 0.028 | 0.0018% | 17 | 0.0024% |
| http | 0.028 | 0.0018% | 19 | 0.0027% |
| ninja | 0.028 | 0.0018% | 14 | 0.002% |
| oz | 0.028 | 0.0018% | 8 | 0.0011% |
| raml | 0.028 | 0.0018% | 9 | 0.0013% |
| aspectj | 0.024 | 0.0016% | 8 | 0.0011% |
| autohotkey | 0.024 | 0.0016% | 15 | 0.0021% |
| fancy | 0.024 | 0.0016% | 8 | 0.0011% |
| moonscript | 0.024 | 0.0016% | 10 | 0.0014% |
| piglatin | 0.024 | 0.0016% | 11 | 0.0016% |
| stata | 0.024 | 0.0016% | 10 | 0.0014% |
| urweb | 0.024 | 0.0016% | 6 | 0.0009% |
| xs | 0.024 | 0.0016% | 7 | 0.001% |
| yang | 0.024 | 0.0016% | 6 | 0.0009% |
| agda | 0.02 | 0.0013% | 10 | 0.0014% |
| coldfusion | 0.02 | 0.0013% | 9 | 0.0013% |
| emberscript | 0.02 | 0.0013% | 7 | 0.001% |
| latte | 0.02 | 0.0013% | 7 | 0.001% |
| literate-haskell | 0.02 | 0.0013% | 7 | 0.001% |
| postscript | 0.02 | 0.0013% | 9 | 0.0013% |
| scilab | 0.02 | 0.0013% | 10 | 0.0014% |
| tcsh | 0.02 | 0.0013% | 10 | 0.0014% |
| volt | 0.02 | 0.0013% | 9 | 0.0013% |
| apl | 0.016 | 0.001% | 7 | 0.001% |
| genshi | 0.016 | 0.001% | 3 | 0.0004% |
| jsonld | 0.016 | 0.001% | 6 | 0.0009% |
| krl | 0.016 | 0.001% | 4 | 0.0006% |
| lean | 0.016 | 0.001% | 3 | 0.0004% |
| lfe | 0.016 | 0.001% | 6 | 0.0009% |
| metal | 0.016 | 0.001% | 4 | 0.0006% |
| monkey | 0.016 | 0.001% | 4 | 0.0006% |
| mupad | 0.016 | 0.001% | 4 | 0.0006% |
| nesc | 0.016 | 0.001% | 7 | 0.001% |
| nit | 0.016 | 0.001% | 3 | 0.0004% |
| pike | 0.016 | 0.001% | 6 | 0.0009% |
| purebasic | 0.016 | 0.001% | 5 | 0.0007% |
| renpy | 0.016 | 0.001% | 3 | 0.0004% |
| vhdl | 0.016 | 0.001% | 5 | 0.0007% |
| xproc | 0.016 | 0.001% | 3 | 0.0004% |
| zephir | 0.016 | 0.001% | 4 | 0.0006% |
| apacheconf | 0.012 | 0.0008% | 2 | 0.0003% |
| boo | 0.012 | 0.0008% | 2 | 0.0003% |
| brainfuck | 0.012 | 0.0008% | 2 | 0.0003% |
| bro | 0.012 | 0.0008% | 3 | 0.0004% |
| cartocss | 0.012 | 0.0008% | 3 | 0.0004% |
| creole | 0.012 | 0.0008% | 2 | 0.0003% |
| csound | 0.012 | 0.0008% | 4 | 0.0006% |
| dylan | 0.012 | 0.0008% | 2 | 0.0003% |
| eagle | 0.012 | 0.0008% | 4 | 0.0006% |
| ecl | 0.012 | 0.0008% | 4 | 0.0006% |
| eiffel | 0.012 | 0.0008% | 2 | 0.0003% |
| flux | 0.012 | 0.0008% | 3 | 0.0004% |
| io | 0.012 | 0.0008% | 4 | 0.0006% |
| jsoniq | 0.012 | 0.0008% | 6 | 0.0009% |
| lilypond | 0.012 | 0.0008% | 6 | 0.0009% |
| lsl | 0.012 | 0.0008% | 3 | 0.0004% |
| mask | 0.012 | 0.0008% | 4 | 0.0006% |
| nginx | 0.012 | 0.0008% | 2 | 0.0003% |
| nu | 0.012 | 0.0008% | 2 | 0.0003% |
| pov-ray-sdl | 0.012 | 0.0008% | 5 | 0.0007% |
| ragel-in-ruby-host | 0.012 | 0.0008% | 4 | 0.0006% |
| slash | 0.012 | 0.0008% | 4 | 0.0006% |
| sourcepawn | 0.012 | 0.0008% | 3 | 0.0004% |
| squirrel | 0.012 | 0.0008% | 4 | 0.0006% |
| ston | 0.012 | 0.0008% | 6 | 0.0009% |
| uno | 0.012 | 0.0008% | 2 | 0.0003% |
| wisp | 0.012 | 0.0008% | 3 | 0.0004% |
| xbase | 0.012 | 0.0008% | 3 | 0.0004% |
| yacc | 0.012 | 0.0008% | 3 | 0.0004% |
| zig | 0.012 | 0.0008% | 4 | 0.0006% |
| abap | 0.008 | 0.0005% | 1 | 0.0001% |
| arc | 0.008 | 0.0005% | 2 | 0.0003% |
| ats | 0.008 | 0.0005% | 3 | 0.0004% |
| blitzmax | 0.008 | 0.0005% | 1 | 0.0001% |
| bluespec | 0.008 | 0.0005% | 2 | 0.0003% |
| c2hs-haskell | 0.008 | 0.0005% | 2 | 0.0003% |
| clean | 0.008 | 0.0005% | 1 | 0.0001% |
| dns-zone | 0.008 | 0.0005% | 2 | 0.0003% |
| forth | 0.008 | 0.0005% | 2 | 0.0003% |
| harbour | 0.008 | 0.0005% | 1 | 0.0001% |
| igor-pro | 0.008 | 0.0005% | 1 | 0.0001% |
| inform-7 | 0.008 | 0.0005% | 2 | 0.0003% |
| isabelle | 0.008 | 0.0005% | 2 | 0.0003% |
| jflex | 0.008 | 0.0005% | 1 | 0.0001% |
| literate-agda | 0.008 | 0.0005% | 1 | 0.0001% |
| maple | 0.008 | 0.0005% | 2 | 0.0003% |
| mathematica | 0.008 | 0.0005% | 1 | 0.0001% |
| module-management-system | 0.008 | 0.0005% | 1 | 0.0001% |
| mtml | 0.008 | 0.0005% | 2 | 0.0003% |
| netlinx | 0.008 | 0.0005% | 1 | 0.0001% |
| parrot-assembly | 0.008 | 0.0005% | 2 | 0.0003% |
| pawn | 0.008 | 0.0005% | 3 | 0.0004% |
| propeller-spin | 0.008 | 0.0005% | 1 | 0.0001% |
| pure-data | 0.008 | 0.0005% | 1 | 0.0001% |
| rebol | 0.008 | 0.0005% | 3 | 0.0004% |
| red | 0.008 | 0.0005% | 1 | 0.0001% |
| sage | 0.008 | 0.0005% | 1 | 0.0001% |
| sas | 0.008 | 0.0005% | 1 | 0.0001% |
| scaml | 0.008 | 0.0005% | 1 | 0.0001% |
| smt | 0.008 | 0.0005% | 3 | 0.0004% |
| supercollider | 0.008 | 0.0005% | 2 | 0.0003% |
| unrealscript | 0.008 | 0.0005% | 1 | 0.0001% |
| xpages | 0.008 | 0.0005% | 1 | 0.0001% |
Each sample comes from a code repository with a permissive license. The license is provided by the license field for each sample.
@article{muennighoff2023octopack,
title={OctoPack: Instruction Tuning Code Large Language Models},
author={Niklas Muennighoff and Qian Liu and Armel Zebaze and Qinkai Zheng and Binyuan Hui and Terry Yue Zhuo and Swayam Singh and Xiangru Tang and Leandro von Werra and Shayne Longpre},
journal={arXiv preprint arXiv:2308.07124},
year={2023}
}