diff --git "a/README.md" "b/README.md" --- "a/README.md" +++ "b/README.md" @@ -3,1560 +3,246 @@ tags: - sentence-transformers - sentence-similarity - feature-extraction -- dense +- information-retrieval +- code-search +- code-embedding +- dense-retrieval +- modernbert - generated_from_trainer - dataset_size:4073472 - loss:CachedMultipleNegativesRankingLoss base_model: Shuu12121/NightJar -widget: -- source_sentence: Describe implements the metrics.DescribeWithStability interface. - sentences: - - "func (c *availabilityCollector) DescribeWithStability(ch chan<- *metrics.Desc)\ - \ {\n\tch <- unavailableGaugeDesc\n}" - - "func (r *Retriever) Describe(ch chan<- *prometheus.Desc) {\n\tr.versionMetric.Describe(ch)\n\ - \tr.up.Describe(ch)\n\tr.lastUpstreamSuccessTs.Describe(ch)\n\tr.lastUpstreamErrorTs.Describe(ch)\n\ - }" - - "func (c Metrics) Describe(ch chan<- *prometheus.Desc) {\n\tch <- c.TotalPushCount\n\ - \tch <- c.IosSuccess\n\tch <- c.IosError\n\tch <- c.AndroidSuccess\n\tch <- c.AndroidError\n\ - \tch <- c.HuaweiSuccess\n\tch <- c.HuaweiError\n\tch <- c.BusyWorkers\n\tch <-\ - \ c.SuccessTasks\n\tch <- c.FailureTasks\n\tch <- c.SubmittedTasks\n}" - - "func (h UptimeKuma) Describe(yield func(name, params string) bool) {\n\tyield(\"\ - Uptime Kuma\", \"(URL redacted)\")\n}" - - "func (bsc *BaseStableCollector) Describe(ch chan<- *prometheus.Desc) {\n\tfor\ - \ _, d := range bsc.registerable {\n\t\tch <- d.toPrometheusDesc()\n\t}\n}" - - "func (c *SecurityHub) DescribeStandards(input *DescribeStandardsInput) (*DescribeStandardsOutput,\ - \ error) {\n\treq, out := c.DescribeStandardsRequest(input)\n\treturn out, req.Send()\n\ - }" - - "func (c *criMetricsCollector) DescribeWithStability(ch chan<- *metrics.Desc)\ - \ {\n\tfor _, desc := range c.descriptors {\n\t\tch <- desc\n\t}\n}" - - "func (c *minioCollector) Describe(ch chan<- *prometheus.Desc) {\n\tch <- c.desc\n\ - }" - - "func (c *Client) DescribeStandards(ctx context.Context, params *DescribeStandardsInput,\ - \ optFns ...func(*Options)) (*DescribeStandardsOutput, error) {\n\tif params ==\ - \ nil {\n\t\tparams = &DescribeStandardsInput{}\n\t}\n\n\tresult, metadata, err\ - \ := c.invokeOperation(ctx, \"DescribeStandards\", params, optFns, c.addOperationDescribeStandardsMiddlewares)\n\ - \tif err != nil {\n\t\treturn nil, err\n\t}\n\n\tout := result.(*DescribeStandardsOutput)\n\ - \tout.ResultMetadata = metadata\n\treturn out, nil\n}" - - "func (nc *NATSCollector) Describe(ch chan<- *prometheus.Desc) {\n\tnc.Lock()\n\ - \tdefer nc.Unlock()\n\n\t// for each stat in nc.Stats\n\tfor _, k := range nc.Stats\ - \ {\n\t\tswitch m := k.metric.(type) {\n\n\t\t// Describe the stat to the channel\n\ - \t\tcase *prometheus.GaugeVec:\n\t\t\tm.Describe(ch)\n\t\tcase *prometheus.CounterVec:\n\ - \t\t\tm.Describe(ch)\n\t\tdefault:\n\t\t\tTracef(\"Describe: Unknown metric type:\ - \ %v\", k)\n\t\t}\n\t}\n}" - - "func (c *ClusterHealthCollector) Describe(ch chan<- *prometheus.Desc) {\n\tch\ - \ <- c.RbdMirrorUp\n\n\tfor _, metric := range c.descriptorList() {\n\t\tch <-\ - \ metric\n\t}\n}" - - "func (m *configMetrics) Describe(ch chan<- *prometheus.Desc) {\n\tch <- m.cloudProvider.WithLabelValues(\"\ - \", \"\").Desc()\n\tch <- m.featureSet.WithLabelValues(\"\").Desc()\n\tch <- m.proxyEnablement.WithLabelValues(\"\ - \").Desc()\n}" - - "func (o *OSDCollector) Describe(ch chan<- *prometheus.Desc) {\n\tfor _, metric\ - \ := range o.collectorList() {\n\t\tmetric.Describe(ch)\n\t}\n\tch <- o.OSDDownDesc\n\ - \tch <- o.ScrubbingStateDesc\n\tch <- o.PGObjectsRecoveredDesc\n}" - - "func (m *metricMap) Describe(ch chan<- *Desc) {\n\tch <- m.desc\n}" - - "func (bsc *BaseStableCollector) DescribeWithStability(ch chan<- *Desc) {\n\t\ - panic(fmt.Errorf(\"custom collector should over-write DescribeWithStability method\"\ - ))\n}" - - "func (m *MetricVec) Describe(ch chan<- *Desc) {\n\tch <- m.desc\n}" -- source_sentence: "### .instanceof(constructor)\n\nAsserts that the target is an\ - \ instance of `constructor`.\n\n var Tea = function (name) { this.name = name;\ - \ }\n , Chai = new Tea('chai');\n\n expect(Chai).to.be.an.instanceof(Tea);\n\ - \ expect([ 1, 2, 3 ]).to.be.instanceof(Array);\n\n@name instanceof\n@param\ - \ {Constructor} constructor\n@param {String} message _optional_\n@alias instanceOf\n\ - @api public" - sentences: - - "function toBeInstanceOf(actual, expected) {\n\tif (!(actual instanceof expected))\ - \ {\n\t\tthrow new AssertionError({\n\t\t\tmessage: 'Expected value to be instance:',\n\ - \t\t\toperator: 'instanceOf',\n\t\t\tactual,\n\t\t\texpected,\n\t\t\tstackStartFn:\ - \ toBeInstanceOf,\n\t\t})\n\t}\n}" - - "function compatibleConstructor(thrown, errorLike) {\n if (errorLike instanceof\ - \ Error) {\n // If `errorLike` is an instance of any error we compare their\ - \ constructors\n return thrown.constructor === errorLike.constructor || thrown\ - \ instanceof errorLike.constructor;\n } else if (errorLike.prototype instanceof\ - \ Error || errorLike === Error) {\n // If `errorLike` is a constructor that\ - \ inherits from Error, we compare `thrown` to `errorLike` directly\n return\ - \ thrown.constructor === errorLike || thrown instanceof errorLike;\n }\n\n return\ - \ false;\n}" - - "function an (type, msg) {\n if (msg) flag(this, 'message', msg);\n \ - \ type = type.toLowerCase();\n var obj = flag(this, 'object')\n \ - \ , article = ~[ 'a', 'e', 'i', 'o', 'u' ].indexOf(type.charAt(0)) ? 'an\ - \ ' : 'a ';\n\n this.assert(\n type === _.type(obj)\n \ - \ , 'expected #{this} to be ' + article + type\n , 'expected #{this}\ - \ not to be ' + article + type\n );\n }" - - "function isThisConstructorReference(node) {\n\t\t\treturn (\n\t\t\t\tnode.object.type\ - \ === \"MemberExpression\" &&\n\t\t\t\tnode.object.property.name === \"constructor\"\ - \ &&\n\t\t\t\tnode.object.object.type === \"ThisExpression\"\n\t\t\t);\n\t\t}" - - "function an(type, msg) {\n if (msg) flag(this, 'message', msg);\n type = type.toLowerCase();\n\ - \ let obj = flag(this, 'object'),\n article = ~['a', 'e', 'i', 'o', 'u'].indexOf(type.charAt(0))\ - \ ? 'an ' : 'a ';\n\n const detectedType = _.type(obj).toLowerCase();\n\n if\ - \ (functionTypes['function'].includes(type)) {\n this.assert(\n functionTypes[type].includes(detectedType),\n\ - \ 'expected #{this} to be ' + article + type,\n 'expected #{this} not\ - \ to be ' + article + type\n );\n } else {\n this.assert(\n type ===\ - \ detectedType,\n 'expected #{this} to be ' + article + type,\n 'expected\ - \ #{this} not to be ' + article + type\n );\n }\n}" - - "function an(type, msg) {\n if (msg) flag(this, 'message', msg);\n \ - \ var obj = flag(this, 'object')\n , klassStart = type.charAt(0).toUpperCase()\n\ - \ , klass = klassStart + type.slice(1)\n , article = ~[ 'A',\ - \ 'E', 'I', 'O', 'U' ].indexOf(klassStart) ? 'an ' : 'a ';\n\n this.assert(\n\ - \ '[object ' + klass + ']' === toString.call(obj)\n , 'expected\ - \ #{this} to be ' + article + type\n , 'expected #{this} not to be '\ - \ + article + type\n );\n }" - - "function toNotBeInstanceOf(actual, expected) {\n\tif (actual instanceof expected)\ - \ {\n\t\tthrow new AssertionError({\n\t\t\tmessage: 'Expected value to be instance:',\n\ - \t\t\toperator: 'instanceOf',\n\t\t\tactual,\n\t\t\texpected,\n\t\t\tstackStartFn:\ - \ toNotBeInstanceOf,\n\t\t})\n\t}\n}" - - "function toBeInstanceOf(matchersUtil) {\n return {\n compare: function\ - \ (actual, expected) {\n const actualType =\n actual && actual.constructor\n\ - \ ? j$.fnNameFor(actual.constructor)\n : matchersUtil.pp(actual);\n\ - \ const expectedType = expected\n ? j$.fnNameFor(expected)\n\ - \ : matchersUtil.pp(expected);\n let expectedMatcher;\n \ - \ let pass;\n\n try {\n expectedMatcher = new j$.Any(expected);\n\ - \ pass = expectedMatcher.asymmetricMatch(actual);\n } catch\ - \ (error) {\n throw new Error(usageError('Expected value is not a constructor\ - \ function'));\n }\n\n if (pass) {\n return {\n \ - \ pass: true,\n message:\n 'Expected instance\ - \ of ' +\n actualType +\n ' not to be an instance\ - \ of ' +\n expectedType,\n };\n } else {\n\ - \ return {\n pass: false,\n message:\n \ - \ 'Expected instance of ' +\n actualType +\n \ - \ ' to be an instance of ' +\n expectedType,\n \ - \ };\n }\n },\n };\n }" - - "function instanceOf( value, constructor ) {\n\t// TODO: replace with `isCallable`\ - \ check\n\tif ( typeof constructor !== 'function' ) {\n\t\tthrow new TypeError(\ - \ format( 'invalid argument. Second argument must be callable. Value: `%s`.',\ - \ constructor ) );\n\t}\n\treturn ( value instanceof constructor );\n}" - - "function isOfType(T, maybeSomething){\n return maybeSomething && maybeSomething.constructor\ - \ === T;\n}" - - "function _classCallCheck$2(instance, Constructor) {\n if (!(instance instanceof\ - \ Constructor)) {\n throw new TypeError(\"Cannot call a class as a function\"\ - );\n }\n}" - - "function typeAssertions(should, Assertion) {\n /**\n * Assert given object\ - \ is number\n * @name Number\n * @memberOf Assertion\n * @category assertion\ - \ types\n */\n Assertion.add(\"Number\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be a number\" };\n\n this.have.type(\"\ - number\");\n });\n\n /**\n * Assert given object is arguments\n * @name\ - \ arguments\n * @alias Assertion#Arguments\n * @memberOf Assertion\n * @category\ - \ assertion types\n */\n Assertion.add(\"arguments\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be arguments\" };\n\n this.have.class(\"\ - Arguments\");\n });\n\n Assertion.alias(\"arguments\", \"Arguments\");\n\n \ - \ /**\n * Assert given object has some type using `typeof`\n * @name type\n\ - \ * @memberOf Assertion\n * @param {string} type Type name\n * @param {string}\ - \ [description] Optional message\n * @category assertion types\n */\n Assertion.add(\"\ - type\", function(type, description) {\n this.params = { operator: \"to have\ - \ type \" + type, message: description };\n\n should(typeof this.obj).be.exactly(type);\n\ - \ });\n\n /**\n * Assert given object is instance of `constructor`\n * @name\ - \ instanceof\n * @alias Assertion#instanceOf\n * @memberOf Assertion\n *\ - \ @param {Function} constructor Constructor function\n * @param {string} [description]\ - \ Optional message\n * @category assertion types\n */\n Assertion.add(\"\ - instanceof\", function(constructor, description) {\n this.params = {\n \ - \ operator: \"to be an instance of \" + functionName$1(constructor),\n message:\ - \ description\n };\n\n this.assert(Object(this.obj) instanceof constructor);\n\ - \ });\n\n Assertion.alias(\"instanceof\", \"instanceOf\");\n\n /**\n * Assert\ - \ given object is function\n * @name Function\n * @memberOf Assertion\n \ - \ * @category assertion types\n */\n Assertion.add(\"Function\", function()\ - \ {\n this.assertZeroArguments(arguments);\n this.params = { operator: \"\ - to be a function\" };\n\n this.have.type(\"function\");\n });\n\n /**\n \ - \ * Assert given object is object\n * @name Object\n * @memberOf Assertion\n\ - \ * @category assertion types\n */\n Assertion.add(\"Object\", function()\ - \ {\n this.assertZeroArguments(arguments);\n this.params = { operator: \"\ - to be an object\" };\n\n this.is.not.null().and.have.type(\"object\");\n });\n\ - \n /**\n * Assert given object is string\n * @name String\n * @memberOf\ - \ Assertion\n * @category assertion types\n */\n Assertion.add(\"String\"\ - , function() {\n this.assertZeroArguments(arguments);\n this.params = {\ - \ operator: \"to be a string\" };\n\n this.have.type(\"string\");\n });\n\n\ - \ /**\n * Assert given object is array\n * @name Array\n * @memberOf Assertion\n\ - \ * @category assertion types\n */\n Assertion.add(\"Array\", function()\ - \ {\n this.assertZeroArguments(arguments);\n this.params = { operator: \"\ - to be an array\" };\n\n this.have.class(\"Array\");\n });\n\n /**\n * Assert\ - \ given object is boolean\n * @name Boolean\n * @memberOf Assertion\n *\ - \ @category assertion types\n */\n Assertion.add(\"Boolean\", function() {\n\ - \ this.assertZeroArguments(arguments);\n this.params = { operator: \"to\ - \ be a boolean\" };\n\n this.have.type(\"boolean\");\n });\n\n /**\n *\ - \ Assert given object is error\n * @name Error\n * @memberOf Assertion\n \ - \ * @category assertion types\n */\n Assertion.add(\"Error\", function() {\n\ - \ this.assertZeroArguments(arguments);\n this.params = { operator: \"to\ - \ be an error\" };\n\n this.have.instanceOf(Error);\n });\n\n /**\n * Assert\ - \ given object is a date\n * @name Date\n * @memberOf Assertion\n * @category\ - \ assertion types\n */\n Assertion.add(\"Date\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be a date\" };\n\n this.have.instanceOf(Date);\n\ - \ });\n\n /**\n * Assert given object is null\n * @name null\n * @alias\ - \ Assertion#Null\n * @memberOf Assertion\n * @category assertion types\n \ - \ */\n Assertion.add(\"null\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be null\" };\n\n this.assert(this.obj ===\ - \ null);\n });\n\n Assertion.alias(\"null\", \"Null\");\n\n /**\n * Assert\ - \ given object has some internal [[Class]], via Object.prototype.toString call\n\ - \ * @name class\n * @alias Assertion#Class\n * @memberOf Assertion\n *\ - \ @category assertion types\n */\n Assertion.add(\"class\", function(cls) {\n\ - \ this.params = { operator: \"to have [[Class]] \" + cls };\n\n this.assert(Object.prototype.toString.call(this.obj)\ - \ === \"[object \" + cls + \"]\");\n });\n\n Assertion.alias(\"class\", \"Class\"\ - );\n\n /**\n * Assert given object is undefined\n * @name undefined\n *\ - \ @alias Assertion#Undefined\n * @memberOf Assertion\n * @category assertion\ - \ types\n */\n Assertion.add(\"undefined\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be undefined\" };\n\n this.assert(this.obj\ - \ === void 0);\n });\n\n Assertion.alias(\"undefined\", \"Undefined\");\n\n\ - \ /**\n * Assert given object supports es6 iterable protocol (just check\n\ - \ * that object has property Symbol.iterator, which is a function)\n * @name\ - \ iterable\n * @memberOf Assertion\n * @category assertion es6\n */\n Assertion.add(\"\ - iterable\", function() {\n this.assertZeroArguments(arguments);\n this.params\ - \ = { operator: \"to be iterable\" };\n\n should(this.obj)\n .have.property(Symbol.iterator)\n\ - \ .which.is.a.Function();\n });\n\n /**\n * Assert given object supports\ - \ es6 iterator protocol (just check\n * that object has property next, which\ - \ is a function)\n * @name iterator\n * @memberOf Assertion\n * @category\ - \ assertion es6\n */\n Assertion.add(\"iterator\", function() {\n this.assertZeroArguments(arguments);\n\ - \ this.params = { operator: \"to be iterator\" };\n\n should(this.obj)\n\ - \ .have.property(\"next\")\n .which.is.a.Function();\n });\n\n /**\n\ - \ * Assert given object is a generator object\n * @name generator\n * @memberOf\ - \ Assertion\n * @category assertion es6\n */\n Assertion.add(\"generator\"\ - , function() {\n this.assertZeroArguments(arguments);\n this.params = {\ - \ operator: \"to be generator\" };\n\n should(this.obj).be.iterable.and.iterator.and.it.is.equal(this.obj[Symbol.iterator]());\n\ - \ });\n}" - - "function assertInstanceOf (constructor, msg) {\n if (msg) flag(this, 'message',\ - \ msg);\n var name = _.getName(constructor);\n this.assert(\n \ - \ flag(this, 'object') instanceof constructor\n , 'expected\ - \ #{this} to be an instance of ' + name\n , 'expected #{this} to not\ - \ be an instance of ' + name\n );\n }" - - "function _classCallCheck(instance, Constructor) {\n if (!(instance\ - \ instanceof Constructor)) {\n throw new TypeError('Cannot call a\ - \ class as a function');\n }\n }" - - "assert = function(arg) {\n switch (arg.constructor) {\n case\ - \ RegExp : return arg.test(e.message || e.toString())\n case String\ - \ : return arg == (e.message || e.toString())\n case Function : return\ - \ e instanceof arg || e.name == arg.name\n }\n }" - - "function an (type, msg) {\n if (msg) flag(this, 'message', msg);\n type\ - \ = type.toLowerCase();\n var obj = flag(this, 'object')\n , article =\ - \ ~[ 'a', 'e', 'i', 'o', 'u' ].indexOf(type.charAt(0)) ? 'an ' : 'a ';\n\n \ - \ this.assert(\n type === _.type(obj)\n , 'expected #{this} to be\ - \ ' + article + type\n , 'expected #{this} not to be ' + article + type\n\ - \ );\n }" -- source_sentence: 'Returns whether session is following user - - @param {Number} session Session ID - - @param {Number} user User' - sentences: - - "async function userSeen(houseSelector, userSelector) {\n const house = await\ - \ db.House.findOne({\n where: {\n selector: houseSelector,\n },\n \ - \ });\n\n if (house === null) {\n throw new NotFoundError('House not found');\n\ - \ }\n\n const user = await db.User.findOne({\n attributes: ['id', 'firstname',\ - \ 'lastname', 'selector', 'email', 'current_house_id', 'last_house_changed'],\n\ - \ where: {\n selector: userSelector,\n },\n });\n\n if (user ===\ - \ null) {\n throw new NotFoundError('User not found');\n }\n\n let userFinal\ - \ = user;\n\n // user was not in this house before\n if (user.current_house_id\ - \ !== house.id) {\n // we check if the house was empty before\n const usersInThisHouseBeforeTheUserCameBack\ - \ = await db.User.count({\n where: {\n current_house_id: house.id,\n\ - \ },\n });\n userFinal = await user.update({\n current_house_id:\ - \ house.id,\n last_house_changed: new Date(),\n });\n // so we emit\ - \ back at home event\n this.event.emit(EVENTS.TRIGGERS.CHECK, {\n type:\ - \ EVENTS.USER_PRESENCE.BACK_HOME,\n user: userSelector,\n house: houseSelector,\n\ - \ });\n // and we emit websocket event so that the change is sent to UI\n\ - \ this.event.emit(EVENTS.WEBSOCKET.SEND_ALL, {\n type: WEBSOCKET_MESSAGE_TYPES.USER_PRESENCE.BACK_HOME,\n\ - \ payload: userFinal.get({ plain: true }),\n });\n // the house was\ - \ empty before, but no longer empty\n // because the user came back, we start\ - \ related scenes\n if (usersInThisHouseBeforeTheUserCameBack === 0) {\n \ - \ this.event.emit(EVENTS.TRIGGERS.CHECK, {\n type: EVENTS.HOUSE.NO_LONGER_EMPTY,\n\ - \ house: houseSelector,\n });\n }\n } else {\n // otherwise,\ - \ we just emit user seen event\n this.event.emit(EVENTS.USER_PRESENCE.SEEN_AT_HOME,\ - \ userFinal.get({ plain: true }));\n }\n\n return userFinal.get({ plain: true\ - \ });\n}" - - "favouriteOrNot = async (fav_by, user) => {\n let s = await db.query(\n 'SELECT\ - \ COUNT(fav_id) AS fav_count FROM favourites WHERE fav_by=? AND user=?',\n \ - \ [fav_by, user]\n )\n return db.tf(s[0].fav_count)\n}" - - "isVisibleBy(user) {\n if (this.isPublic()) {\n // public boards are visible\ - \ to everyone\n return true;\n } else {\n // otherwise you have to\ - \ be logged-in and active member\n return user && this.isActiveMember(user._id);\n\ - \ }\n }" - - "follow = async options => {\n let defaults = {\n user: null,\n username:\ - \ null,\n firstname: null,\n surname: null,\n update_followers:\ - \ false,\n update_followings: false,\n dispatch: () => null,\n \ - \ done: () => null,\n },\n obj = { ...defaults, ...options },\n {\n \ - \ user,\n username,\n firstname,\n surname,\n dispatch,\n\ - \ update_followers,\n update_followings,\n done,\n } = obj,\n\ - \ {\n data: { mssg, success, ff },\n } = await post('/api/follow',\ - \ { user, username })\n\n if (success) {\n let fwing = {\n follow_id:\ - \ ff.follow_id,\n follow_to: user,\n follow_by: Number(uData('session')),\n\ - \ username,\n firstname,\n surname,\n isFollowing: true,\n\ - \ follow_time: ff.follow_time,\n }\n\n update_followers ? dispatch(followA.Follower(ff))\ - \ : null\n\n update_followings ? dispatch(followA.Following(fwing)) : null\n\ - \n insta_notify({\n to: user,\n type: 'follow',\n })\n\n done()\n\ - \ }\n\n Notify({ value: mssg })\n}" - - "mutualUsers = async (session, user) => {\n let myFollowings = await db.query(\n\ - \ 'SELECT follow_system.follow_id, follow_system.follow_to AS user, follow_system.follow_to_username\ - \ AS username, users.firstname, users.surname FROM follow_system, users WHERE\ - \ follow_system.follow_by=? AND follow_system.follow_to = users.id',\n [session]\n\ - \ ),\n userFollowers = await db.query(\n 'SELECT follow_system.follow_id,\ - \ follow_system.follow_by AS user, follow_system.follow_by_username AS username,\ - \ users.firstname, users.surname FROM follow_system, users WHERE follow_system.follow_to=?\ - \ AND follow_system.follow_by = users.id',\n [user]\n ),\n mutuals\ - \ = intersectionBy(myFollowings, userFollowers, 'user')\n\n return mutuals\n}" - - "handleSignedInUser = function(user) {\n // Show redirection notice.\n document.getElementById('redirecting').classList.remove('hidden');\n\ - \ // Set session cookie\n user.getIdToken().then(function(idToken) {\n //\ - \ Session login endpoint is queried and the session cookie is set.\n // CSRF\ - \ token should be sent along with request.\n const csrfToken = getCookie('csrfToken')\n\ - \ return postIdTokenToSessionLogin('/sessionLogin', idToken, csrfToken)\n \ - \ .then(function() {\n // Redirect to profile on success.\n \ - \ window.location.assign('/profile');\n }, function(error) {\n //\ - \ Refresh page on error.\n // In all cases, client side state should be\ - \ lost due to in-memory\n // persistence.\n window.location.assign('/');\n\ - \ });\n });\n}" - - "canViewHunt (user, hunt) {\n const huntUsers = hunt.users || [];\n const\ - \ userRoles = user.roles || [];\n\n return user.userId === hunt.userId ||\n\ - \ userRoles.includes('arkimeAdmin') ||\n huntUsers.includes(user.userId)\ - \ ||\n this.userHasHuntRole(user, hunt);\n }" - - "didIShare = async (post, session, user) => {\n let s = await db.query(\n \ - \ 'SELECT COUNT(share_id) AS post_share FROM shares WHERE share_by=? AND share_to=?\ - \ AND post_id=?',\n [session, user, post]\n )\n return db.tf(s[0].post_share)\n\ - }" - - "follow(username, cb) {\n return this._request('PUT', `/user/following/${username}`,\ - \ null, cb);\n }" - - "async function followPlayer(bot, username, distance=4) {\n /**\n * Follow\ - \ the given player endlessly. Will not return until the code is manually stopped.\n\ - \ * @param {MinecraftBot} bot, reference to the minecraft bot.\n * @param\ - \ {string} username, the username of the player to follow.\n * @returns {Promise}\ - \ true if the player was found, false otherwise.\n * @example\n * await\ - \ skills.followPlayer(bot, \"player\");\n **/\n let player = bot.players[username].entity\n\ - \ if (!player)\n return false;\n\n const move = new pf.Movements(bot);\n\ - \ bot.pathfinder.setMovements(move);\n bot.pathfinder.setGoal(new pf.goals.GoalFollow(player,\ - \ distance), true);\n log(bot, `You are now actively following player ${username}.`);\n\ - \n while (!bot.interrupt_code) {\n await new Promise(resolve => setTimeout(resolve,\ - \ 500));\n // in cheat mode, if the distance is too far, teleport to the\ - \ player\n if (bot.modes.isOn('cheat') && bot.entity.position.distanceTo(player.position)\ - \ > 100 && player.isOnGround) {\n await goToPlayer(bot, username);\n\ - \ }\n if (bot.modes.isOn('unstuck')) {\n const is_nearby\ - \ = bot.entity.position.distanceTo(player.position) <= distance + 1;\n \ - \ if (is_nearby)\n bot.modes.pause('unstuck');\n \ - \ else\n bot.modes.unpause('unstuck');\n }\n }\n \ - \ return true;\n}" - - "getFollowingUsers = async (req, res) => {\n try {\n const relationships =\ - \ await Relationship.find({\n follower: req.userId,\n })\n .populate(\"\ - following\", \"_id name avatar location\")\n .lean();\n\n const followingUsers\ - \ = relationships\n .map((relationship) => ({\n ...relationship.following,\n\ - \ followingSince: relationship.createdAt,\n }))\n .sort((a, b)\ - \ => b.followingSince - a.followingSince);\n\n res.status(200).json(followingUsers);\n\ - \ } catch (error) {\n res.status(500).json({\n message: \"Some error\ - \ occurred while retrieving the following users\",\n });\n }\n}" - - "isShared (user, hunt) {\n const huntUsers = hunt.users || [];\n return\ - \ this.userHasHuntRole(user, hunt) || huntUsers.includes(user.userId);\n }" - - "isFollowing = async (session, user) => {\n let is = await db.query(\n 'SELECT\ - \ COUNT(follow_id) AS is_following FROM follow_system WHERE follow_by=? AND follow_to=?\ - \ LIMIT 1',\n [session, user]\n )\n return db.tf(is[0].is_following)\n}" - - "followUser = async (req, res) => {\n try {\n const followerId = req.userId;\n\ - \ const followingId = req.params.id;\n\n const relationshipExists = await\ - \ Relationship.exists({\n follower: followerId,\n following: followingId,\n\ - \ });\n\n if (relationshipExists) {\n return res.status(400).json({\n\ - \ message: \"Already following this user\",\n });\n }\n\n await\ - \ Promise.all([\n User.findByIdAndUpdate(\n followingId,\n \ - \ { $addToSet: { followers: followerId } },\n { new: true }\n ),\n\ - \ User.findByIdAndUpdate(\n followerId,\n { $addToSet: { following:\ - \ followingId } },\n { new: true }\n ),\n ]);\n\n await Relationship.create({\ - \ follower: followerId, following: followingId });\n\n res.status(200).json({\n\ - \ message: \"User followed successfully\",\n });\n } catch (error) {\n\ - \ res.status(500).json({\n message: \"Some error occurred while following\ - \ the user\",\n });\n }\n}" - - "Follow = ({\n userDetails,\n followed,\n updateFollowings,\n updateFollowers,\n\ - \ dispatch,\n}) => {\n let { user, username, firstname, surname } = userDetails\n\ - \n let followUser = e => {\n e.preventDefault()\n let obj = {\n user,\n\ - \ username,\n firstname,\n surname,\n dispatch,\n update_followings:\ - \ updateFollowings,\n update_followers: updateFollowers,\n done: ()\ - \ => followed(),\n }\n follow(obj)\n }\n\n return (\n \n\ - \ \n \n )\n}" - - "isPostMine = async (session, post) => {\n let s = await db.query('SELECT user\ - \ FROM posts WHERE post_id=?', [post])\n return s[0].user == session ? true :\ - \ false\n}" -- source_sentence: 'Return original tuple that this changeset may update - - - @return [Hash] - - - @api public' - sentences: - - "def to_n\n %x{\n var result = {};\n\n Opal.hash_each(self,\ - \ false, function(key, value) {\n result[#{Native.try_convert(`key`,\ - \ `key`)}] = #{Native.try_convert(`value`, `value`)};\n return [false,\ - \ false];\n });\n\n return result;\n }\n end" - - "def to_hash\n h = {}\n h['hash'] = @hash if @hash\n \ - \ h['offline'] = @offline if @offline\n h['remote'] = @remote if @remote\n\ - \ h['version'] = @version if @version\n\n h\n end" - - "def hash\n [@offset, @previous_offset, @timestamp_value].hash\n end" - - "def old_attributes\n (audited_changes || {}).each_with_object({}.with_indifferent_access)\ - \ do |(attr, values), attrs|\n attrs[attr] = (action == \"update\") ? values.first\ - \ : values\n end\n end" - - "def to_h\n hash = {:churn => {:changes => @changes}}\n\ - \ hash[:churn][:class_churn] = @class_changes\n hash[:churn][:method_churn]\ - \ = @method_changes\n #detail the most recent changes made this revision\n\ - \ first_revision = @revisions.first\n first_revision_changes\ - \ = @revision_changes[first_revision]\n if first_revision_changes\n \ - \ changes = first_revision_changes\n hash[:churn][:changed_files] =\ - \ changes[:files]\n hash[:churn][:changed_classes] = changes[:classes]\n\ - \ hash[:churn][:changed_methods] = changes[:methods]\n end\n \ - \ # TODO crappy place to do this but save hash to revision file but\n # while\ - \ entirely under metric_fu only choice\n ChurnHistory.store_revision_history(first_revision,\ - \ hash, @churn_options.data_directory)\n hash\n end" - - "def _pcore_init_hash\n hash = super\n unless @kind.nil?\n hash[KEY_KIND]\ - \ = @kind\n hash.delete(KEY_FINAL) if @kind == ATTRIBUTE_KIND_CONSTANT\ - \ # final is implied\n end\n hash[KEY_VALUE] = @value unless @value\ - \ == :undef\n hash\n end" - - "def to_h\n {\n label: @label,\n utime: @utime,\n \ - \ stime: @stime,\n cutime: @cutime,\n cstime: @cstime,\n \ - \ real: @real\n }\n end" - - "def original\n @original ||= relation.one\n end" - - "def original_attributes\n if persistence_state.respond_to?(:original_attributes)\n\ - \ persistence_state.original_attributes.dup.freeze\n else\n \ - \ {}.freeze\n end\n end" - - "def next_hash\n row = @stmt.step\n return nil if @stmt.done?\n\n \ - \ @stmt.columns.zip(row).to_h\n end" - - "def affected\n target = action.to_sym == :destroy ? :from : :to\n \ - \ @affected ||= tracked_changes.inject(HashWithIndifferentAccess.new) do |h,\ - \ (k, v)|\n h[k] = v[target]\n h\n end\n end" - - "def replace(hash)\n hash = cast_collection(hash)\n to_update {\ - \ updater.set(column_name => hash) }\n to_modify { super }\n end" - - "def previous_changes\n @previously_changed ||= ActiveSupport::HashWithIndifferentAccess.new\n\ - \ end" - - "def changes_applied\n @previously_changed = changes\n @attributes_changed_by_setter\ - \ = ActiveSupport::HashWithIndifferentAccess.new\n @attributes_from_database\ - \ = HashWithIndifferentAccess.new(DeepDupper.dup_attributes(@attributes, self.class))\n\ - \ end" - - "def dup\n other = super\n other.instance_variable_set(:@ini, Hash.new {\ - \ |h, k| h[k] = {} })\n @ini.each_pair { |s, h| other[s].merge! h }\n other.taint\ - \ if tainted?\n other\n end" - - "def to_hash\n @mutex.synchronize do\n @regions.dup\n end\n\ - \ end" -- source_sentence: 'Get the discovered events for the application. - - - @return array' - sentences: - - "public function shouldDiscoverEvents(): bool\n {\n return false;\n\ - \ }" - - "public function discoverEvents()\n {\n return collect($this->discoverEventsWithin())\n\ - \ ->reject(function ($directory) {\n \ - \ return ! is_dir($directory);\n })\n ->reduce(function\ - \ ($discovered, $directory) {\n return array_merge_recursive(\n\ - \ $discovered,\n DiscoverEvents::within($directory,\ - \ base_path())\n );\n }, []);\n }" - - "public function getAvailableEvents(): array\n {\n return array_replace($this->getDefaultEvents(),\ - \ $this->events);\n }" - - "public function shouldDiscoverEvents()\n {\n return false;\n }" - - "public function get_events() {\n\t\treturn $this->events;\n\t}" - - "protected function discoverEventsWithin()\n {\n return static::$eventDiscoveryPaths\ - \ ?: [\n $this->app->path('Listeners'),\n ];\n }" - - "public function getEvents()\n {\n return $this->events;\n }" - - "public function events()\n\t{\n\t\treturn array();\n\t}" - - "public function eventScans()\n {\n if ($this->scanEverything) {\n \ - \ return $this->getAllClasses();\n }\n\n return $this->scanEvents;\n\ - \ }" - - "protected function getEvents()\n {\n $events = [];\n\n foreach\ - \ ($this->laravel->getProviders(EventServiceProvider::class) as $provider) {\n\ - \ $providerEvents = array_merge_recursive($provider->shouldDiscoverEvents()\ - \ ? $provider->discoverEvents() : [], $provider->listens());\n\n $events[get_class($provider)]\ - \ = $providerEvents;\n }\n\n return $events;\n }" - - "public function events()\n {\n return [];\n }" - - "public static function getSubscribedEvents()\n {\n return [];\n \ - \ }" - - "public function dispatchedEvents()\n {\n return $this->events;\n \ - \ }" - - "public function getEvents()\n {\n if ($this->app->eventsAreCached())\ - \ {\n $cache = require $this->app->getCachedEventsPath();\n\n \ - \ return $cache[get_class($this)] ?? [];\n } else {\n \ - \ return array_merge_recursive(\n $this->discoveredEvents(),\n\ - \ $this->listens()\n );\n }\n }" - - "protected function discoveredEvents()\n {\n return $this->shouldDiscoverEvents()\n\ - \ ? $this->discoverEvents()\n : [];\n \ - \ }" - - "protected function discoverEventsWithin()\n {\n return [\n \ - \ $this->app->path('Listeners'),\n ];\n }" -pipeline_tag: sentence-similarity +pipeline_tag: feature-extraction library_name: sentence-transformers +license: apache-2.0 +language: +- en metrics: +- ndcg_at_10 - cosine_accuracy@1 -- cosine_accuracy@3 -- cosine_accuracy@5 - cosine_accuracy@10 -- cosine_precision@1 -- cosine_precision@3 -- cosine_precision@5 -- cosine_precision@10 -- cosine_recall@1 -- cosine_recall@3 -- cosine_recall@5 -- cosine_recall@10 - cosine_ndcg@10 - cosine_mrr@10 -- cosine_map@100 model-index: -- name: SentenceTransformer based on Shuu12121/NightJar +- name: NightJar-CodeSearch-Embedding results: - task: type: information-retrieval - name: Information Retrieval - dataset: - name: csn go - type: csn-go - metrics: - - type: cosine_accuracy@1 - value: 0.864 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.953 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.967 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.978 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.864 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.31766666666666665 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.19340000000000004 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.09780000000000001 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.864 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.953 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.967 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.978 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.9270477987286524 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.910073412698413 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.9114074895548732 - name: Cosine Map@100 - - task: - type: information-retrieval - name: Information Retrieval - dataset: - name: csn java - type: csn-java - metrics: - - type: cosine_accuracy@1 - value: 0.722 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.883 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.915 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.935 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.722 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.29433333333333334 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.18300000000000002 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.0935 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.722 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.883 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.915 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.935 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.8389168466191179 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.8069817460317465 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.8084174132950945 - name: Cosine Map@100 - - task: - type: information-retrieval - name: Information Retrieval - dataset: - name: csn javascript - type: csn-javascript - metrics: - - type: cosine_accuracy@1 - value: 0.745 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.834 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.861 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.891 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.745 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.27799999999999997 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.17220000000000002 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.0891 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.745 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.834 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.861 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.891 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.8186746844788252 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.7953996031746033 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.7977142433109996 - name: Cosine Map@100 - - task: - type: information-retrieval - name: Information Retrieval - dataset: - name: csn php - type: csn-php - metrics: - - type: cosine_accuracy@1 - value: 0.753 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.811 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.818 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.819 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.753 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.2703333333333333 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.16360000000000002 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.0819 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.753 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.811 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.818 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.819 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.7920509004673376 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.7827750000000002 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.7842674267204198 - name: Cosine Map@100 - - task: - type: information-retrieval - name: Information Retrieval + name: CodeSearchNet Retrieval dataset: - name: csn python - type: csn-python + name: CodeSearchNet (6-language macro average) + type: code-search-net metrics: - - type: cosine_accuracy@1 - value: 0.857 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.958 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.976 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.983 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.857 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.31933333333333325 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.19520000000000004 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.09830000000000001 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.857 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.958 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.976 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.983 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.9277803886746399 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.9091523809523813 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.9095947769342445 - name: Cosine Map@100 + - type: ndcg_at_10 + value: 0.9026 + name: nDCG@10 (6-language macro average) - task: type: information-retrieval - name: Information Retrieval + name: Code Edit Search Retrieval dataset: - name: csn ruby - type: csn-ruby + name: CodeEditSearchRetrieval (13-language macro average) + type: code-edit-search metrics: - - type: cosine_accuracy@1 - value: 0.824 - name: Cosine Accuracy@1 - - type: cosine_accuracy@3 - value: 0.917 - name: Cosine Accuracy@3 - - type: cosine_accuracy@5 - value: 0.928 - name: Cosine Accuracy@5 - - type: cosine_accuracy@10 - value: 0.944 - name: Cosine Accuracy@10 - - type: cosine_precision@1 - value: 0.824 - name: Cosine Precision@1 - - type: cosine_precision@3 - value: 0.30566666666666664 - name: Cosine Precision@3 - - type: cosine_precision@5 - value: 0.18560000000000001 - name: Cosine Precision@5 - - type: cosine_precision@10 - value: 0.09440000000000003 - name: Cosine Precision@10 - - type: cosine_recall@1 - value: 0.824 - name: Cosine Recall@1 - - type: cosine_recall@3 - value: 0.917 - name: Cosine Recall@3 - - type: cosine_recall@5 - value: 0.928 - name: Cosine Recall@5 - - type: cosine_recall@10 - value: 0.944 - name: Cosine Recall@10 - - type: cosine_ndcg@10 - value: 0.8895847709223653 - name: Cosine Ndcg@10 - - type: cosine_mrr@10 - value: 0.8715686507936511 - name: Cosine Mrr@10 - - type: cosine_map@100 - value: 0.8731517244230045 - name: Cosine Map@100 + - type: ndcg_at_10 + value: 0.7381646153846154 + name: nDCG@10 (13-language macro average) --- -# SentenceTransformer based on Shuu12121/NightJar +# NightJar-CodeSearch-Embedding -This is a [sentence-transformers](https://www.SBERT.net) model finetuned from [Shuu12121/NightJar](https://huggingface.co/Shuu12121/NightJar). It maps sentences & paragraphs to a 768-dimensional dense vector space and can be used for semantic textual similarity, semantic search, paraphrase mining, text classification, clustering, and more. +NightJar-CodeSearch-Embedding is a 768-dimensional dense embedding model for +natural-language-to-code retrieval and code-edit retrieval. It is based on +[Shuu12121/NightJar](https://huggingface.co/Shuu12121/NightJar) and fine-tuned +with hard negatives and large in-batch negatives. -## Model Details +The model embeds a text query and a code document into the same vector space. +Higher cosine similarity indicates a stronger match. It does not require query +or document prefixes. -### Model Description -- **Model Type:** Sentence Transformer -- **Base model:** [Shuu12121/NightJar](https://huggingface.co/Shuu12121/NightJar) -- **Maximum Sequence Length:** 1024 tokens -- **Output Dimensionality:** 768 dimensions -- **Similarity Function:** Cosine Similarity - - - +## Model details -### Model Sources - -- **Documentation:** [Sentence Transformers Documentation](https://sbert.net) -- **Repository:** [Sentence Transformers on GitHub](https://github.com/huggingface/sentence-transformers) -- **Hugging Face:** [Sentence Transformers on Hugging Face](https://huggingface.co/models?library=sentence-transformers) - -### Full Model Architecture - -``` -SentenceTransformer( - (0): Transformer({'max_seq_length': 1024, 'do_lower_case': False, 'architecture': 'ModernBertModel'}) - (1): Pooling({'word_embedding_dimension': 768, 'pooling_mode_cls_token': True, 'pooling_mode_mean_tokens': False, 'pooling_mode_max_tokens': False, 'pooling_mode_mean_sqrt_len_tokens': False, 'pooling_mode_weightedmean_tokens': False, 'pooling_mode_lasttoken': False, 'include_prompt': True}) -) -``` +| Property | Value | +|---|---| +| Architecture | ModernBERT Sentence Transformer | +| Parameters | Same transformer size as `Shuu12121/NightJar` | +| Embedding dimensions | 768 | +| Maximum sequence length | 1,024 tokens | +| Pooling | CLS token | +| Similarity | Cosine similarity | +| Training objective | Cached Multiple Negatives Ranking Loss | +| License | Apache-2.0 | ## Usage -### Direct Usage (Sentence Transformers) +### Sentence Transformers -First install the Sentence Transformers library: - -```bash -pip install -U sentence-transformers -``` - -Then you can load this model and run inference. ```python from sentence_transformers import SentenceTransformer -# Download from the 🤗 Hub -model = SentenceTransformer("sentence_transformers_model_id") -# Run inference -sentences = [ - 'Get the discovered events for the application.\n\n@return array', - 'protected function discoveredEvents()\n {\n return $this->shouldDiscoverEvents()\n ? $this->discoverEvents()\n : [];\n }', - 'public function getEvents()\n {\n if ($this->app->eventsAreCached()) {\n $cache = require $this->app->getCachedEventsPath();\n\n return $cache[get_class($this)] ?? [];\n } else {\n return array_merge_recursive(\n $this->discoveredEvents(),\n $this->listens()\n );\n }\n }', +model = SentenceTransformer("Shuu12121/NightJar-CodeSearch-Embedding") + +query = "parse a JSON string and return an error when it is invalid" +code = [ + "def parse_json(text):\n return json.loads(text)", + "def read_lines(path):\n return Path(path).read_text().splitlines()", ] -embeddings = model.encode(sentences) -print(embeddings.shape) -# [3, 768] -# Get the similarity scores for the embeddings -similarities = model.similarity(embeddings, embeddings) -print(similarities) -# tensor([[1.0000, 0.8835, 0.8555], -# [0.8835, 1.0000, 0.9153], -# [0.8555, 0.9153, 1.0000]]) +query_embedding = model.encode(query, normalize_embeddings=True) +code_embeddings = model.encode(code, normalize_embeddings=True) +scores = code_embeddings @ query_embedding + +for score, snippet in sorted(zip(scores, code), reverse=True): + print(float(score), snippet) ``` - +Loading through `SentenceTransformer` is recommended because the repository's +pooling configuration is part of the model. If the backbone is loaded directly +with Transformers, use the final hidden state of the CLS token and L2-normalize +the resulting vector. - +## Supported programming languages - +`Bash`, `C`, `C++`, `C#`, `Dart`, `Go`, `Java`, `JavaScript`, `Kotlin`, `Lua`, +`PHP`, `Python`, `Ruby`, `Rust`, `Scala`, `Swift`, and `TypeScript`. -## Evaluation +Performance may transfer to related languages, but languages not represented in +training have not been systematically validated. -### Metrics +## Training -#### Information Retrieval +The model was fine-tuned on 4,073,472 examples using knowledge-distilled hard +negative datasets for code search and code-edit retrieval. Each example +contained one positive and up to 15 explicit hard negatives; other positives in +the 1,024-example logical batch also served as in-batch negatives. -* Datasets: `csn-go`, `csn-java`, `csn-javascript`, `csn-php`, `csn-python` and `csn-ruby` -* Evaluated with [InformationRetrievalEvaluator](https://sbert.net/docs/package_reference/sentence_transformer/evaluation.html#sentence_transformers.evaluation.InformationRetrievalEvaluator) +The three training groups were sampled at a `1:8:8` batch ratio: -| Metric | csn-go | csn-java | csn-javascript | csn-php | csn-python | csn-ruby | -|:--------------------|:----------|:-----------|:---------------|:-----------|:-----------|:-----------| -| cosine_accuracy@1 | 0.864 | 0.722 | 0.745 | 0.753 | 0.857 | 0.824 | -| cosine_accuracy@3 | 0.953 | 0.883 | 0.834 | 0.811 | 0.958 | 0.917 | -| cosine_accuracy@5 | 0.967 | 0.915 | 0.861 | 0.818 | 0.976 | 0.928 | -| cosine_accuracy@10 | 0.978 | 0.935 | 0.891 | 0.819 | 0.983 | 0.944 | -| cosine_precision@1 | 0.864 | 0.722 | 0.745 | 0.753 | 0.857 | 0.824 | -| cosine_precision@3 | 0.3177 | 0.2943 | 0.278 | 0.2703 | 0.3193 | 0.3057 | -| cosine_precision@5 | 0.1934 | 0.183 | 0.1722 | 0.1636 | 0.1952 | 0.1856 | -| cosine_precision@10 | 0.0978 | 0.0935 | 0.0891 | 0.0819 | 0.0983 | 0.0944 | -| cosine_recall@1 | 0.864 | 0.722 | 0.745 | 0.753 | 0.857 | 0.824 | -| cosine_recall@3 | 0.953 | 0.883 | 0.834 | 0.811 | 0.958 | 0.917 | -| cosine_recall@5 | 0.967 | 0.915 | 0.861 | 0.818 | 0.976 | 0.928 | -| cosine_recall@10 | 0.978 | 0.935 | 0.891 | 0.819 | 0.983 | 0.944 | -| **cosine_ndcg@10** | **0.927** | **0.8389** | **0.8187** | **0.7921** | **0.9278** | **0.8896** | -| cosine_mrr@10 | 0.9101 | 0.807 | 0.7954 | 0.7828 | 0.9092 | 0.8716 | -| cosine_map@100 | 0.9114 | 0.8084 | 0.7977 | 0.7843 | 0.9096 | 0.8732 | +| Training group | Weight | Purpose | +|---|---:|---| +| Code-edit retrieval | 1 | Natural-language edit request to relevant code | +| Core-language code search | 8 | Natural-language query to code | +| Additional-language code search | 8 | Broader programming-language coverage | - +### Training data and decontamination - +Before training, overlaps were removed between: -## Training Details +- The code-search/code-comment data and the CodeSearchNet test splits +- The commitpackft-derived code-edit data and the CodeEditSearchRetrieval + benchmark evaluation examples -### Training Dataset +Although MTEB names the CodeEditSearchRetrieval evaluation split `train`, those +evaluated examples were not included in this model's fine-tuning data. -#### Unnamed Dataset +### Main hyperparameters -* Size: 4,073,472 training samples -* Columns: anchor, positive, negative_1, negative_2, negative_3, negative_4, negative_5, negative_6, negative_7, negative_8, negative_9, negative_10, negative_11, negative_12, negative_13, negative_14, and negative_15 -* Approximate statistics based on the first 1000 samples: - | | anchor | positive | negative_1 | negative_2 | negative_3 | negative_4 | negative_5 | negative_6 | negative_7 | negative_8 | negative_9 | negative_10 | negative_11 | negative_12 | negative_13 | negative_14 | negative_15 | - |:--------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------|:-------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------| - | type | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | string | - | details | | | | | | | | | | | | | | | | | | -* Samples: - | anchor | positive | negative_1 | negative_2 | negative_3 | negative_4 | negative_5 | negative_6 | negative_7 | negative_8 | negative_9 | negative_10 | negative_11 | negative_12 | negative_13 | negative_14 | negative_15 | - |:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:-----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:--------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------|:------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------| - | Syntax sugar for {@link PubSub} ctor. Creates a new `PubSub` which allows
multiple child subscriptions, based on given topic function.

@remarks
The topic function will be called for each received value and its result is
used to determine which child subscription should receive the value. New
topic (un)subscriptions can be created dynamically via
{@link PubSub.subscribeTopic} and {@link PubSub.unsubscribeTopic} or
{@link PubSub.unsubscribeAll}. Each topic subscription is a {@link Mult},
which itself allows for multiple child subscriptions.

@param fn
| function pubsub(...args: any[]) {
return new PubSub(...(<[any]>args));
}
| createPubSub = (
config?: ChannelPubSubConfig,
): PubSub => {
const target =
config?.eventTarget ?? (new EventTarget() as PubSubEventTarget);

return {
publish>(
routingKey: TKey,
...args: TPubSubPublishArgsByKey[TKey]
) {
const payload = args[1] ?? args[0] ?? null;
const topic = args[1] === undefined ? routingKey : `${routingKey}:${args[0] as number}`;

const event: PubSubEvent = new CustomEvent(topic, {
detail: payload,
});
target.dispatchEvent(event);
},
subscribe>(
...[routingKey, id]: TPubSubPublishArgsByKey[TKey][1] extends undefined
? [TKey]
: [TKey, TPubSubPublishArgsByKey[TKey][0]]
): Repeater<
...
| subscribeOnce(id: K, fn: Fn) {
const sub = this.subscribeTopic(id);
const $this = this;
(async () => {
for await (let x of sub) {
$this.unsubscribeTopic(id, sub);
fn(x);
}
})();
}
| public sub(topic: string, subscriber: BotResponseSubscriber): void {
// This test needs to be kept in sync with `TOPIC_RE`
if (!/^[\dA-Za-z-]+$/.test(topic)) {
throw new Error(`topics must be \\dA-Za-z-, was "${topic}`)
}
this.subs_.set(topic, subscriber)
}
| public subscribe(
subscriber: Input,
args: SnsTopicSubscriberArgs = {},
) {
return SnsTopic._subscribeFunction(
this.constructorName,
this.arn,
subscriber,
args,
{ provider: this.constructorOpts.provider },
);
}
| public static subscribe(
topicArn: Input,
subscriber: Input,
args?: SnsTopicSubscriberArgs,
) {
return output(topicArn).apply((topicArn) =>
this._subscribeFunction(
logicalName(parseTopicArn(topicArn).topicName),
topicArn,
subscriber,
args,
),
);
}
| constructor (components: PubSubComponents, props: PubSubInit) {
super()

const {
multicodecs = [],
globalSignaturePolicy = 'StrictSign',
canRelayMessage = false,
emitSelf = false,
messageProcessingConcurrency = 10,
maxInboundStreams = 1,
maxOutboundStreams = 1
} = props

this.log = components.logger.forComponent('libp2p:pubsub')
this.components = components
this.multicodecs = ensureArray(multicodecs)
this.enabled = props.enabled !== false
this.started = false
this.topics = new Map()
this.subscriptions = new Set()
this.peers = new PeerMap()
this.globalSignaturePolicy = globalSignaturePolicy === 'StrictNoSign' ? 'StrictNoSign' : 'StrictSign'
this.canRelayMessage = canRelayMessage
this.emitSelf = emitSelf
this.topicValidators = new Map()
this.queue = new Queue({ concurrency: messageProcessingConcurrency })
this.maxInboundStreams = maxInboundStreams
this.maxOutboun...
| map(
fn: Fn,
opts?: Partial
): ISubscription {
return this.transform(map(fn), opts \|\| {});
}
| makeSubscribe = (subscribeFn: (args: ExecutionArgs) => any): SubscribeFunction =>
((...polyArgs: PolymorphicSubscribeArguments): PromiseOrValue> =>
subscribeFn(getSubscribeArgs(polyArgs))) as SubscribeFunction
| public subscribeTopic(
topicArn: Input,
args: BucketSubscriberArgs = {},
) {
this.ensureNotSubscribed();
return Bucket._subscribeTopic(
this.constructorName,
this.bucket.bucket,
this.arn,
topicArn,
args,
{ provider: this.constructorOpts.provider },
);
}
| public bind(_topic: sns.ITopic): sns.TopicSubscriptionConfig {
return {
subscriberId: this.url,
endpoint: this.url,
protocol: this.protocol,
rawMessageDelivery: this.props.rawMessageDelivery,
filterPolicy: this.props.filterPolicy,
filterPolicyWithMessageBody: this.props.filterPolicyWithMessageBody,
deadLetterQueue: this.props.deadLetterQueue,
deliveryPolicy: this.props.deliveryPolicy,
};
}
| public addSubscription(topicSubscription: ITopicSubscription): Subscription {
const subscriptionConfig = topicSubscription.bind(this);

const scope = subscriptionConfig.subscriberScope \|\| this;
let id = subscriptionConfig.subscriberId;
if (Token.isUnresolved(subscriptionConfig.subscriberId)) {
id = this.nextTokenId(scope);
}

// We use the subscriber's id as the construct id. There's no meaning
// to subscribing the same subscriber twice on the same topic.
if (scope.node.tryFindChild(id)) {
throw new ValidationError(`A subscription with id "${id}" already exists under the scope ${scope.node.path}`, scope);
}

const subscription = new Subscription(scope, id, {
topic: this,
...subscriptionConfig,
});

// Add dependency for the subscription, for example for SQS subscription
// the queue policy has to deploy before the subscription is created
if (subscriptionConfig.subscriptionDependency) {
subscription.n...
| subscribeTopic(id: K): AsyncIterable {
const sub = new MSub();
let subs = this.topics.get(id);
if (!subs) {
this.topics.set(id, (subs = []));
}
subs.push(sub);
if (!this.isActive) {
this.isActive = true;
this.process();
}
return sub;
}
| static create(
options: Options = {},
publish: (m: M) => T = m => m,
) {
return new Subscription(options, publish);
}
| public bind(_topic: sns.ITopic): sns.TopicSubscriptionConfig {
return {
subscriberId: this.emailAddress,
endpoint: this.emailAddress,
protocol: this.props.json ? sns.SubscriptionProtocol.EMAIL_JSON : sns.SubscriptionProtocol.EMAIL,
filterPolicy: this.props.filterPolicy,
filterPolicyWithMessageBody: this.props.filterPolicyWithMessageBody,
deadLetterQueue: this.props.deadLetterQueue,
};
}
| subscribeTopic(id: string) {
let topic = this.topics[id];
if (!topic) {
this.topics[id] = topic = new Mult(`${this.src.id}-${id}`);
}
return >topic.subscribe();
}
| - | Patch update the navigation property identityProviders in identity | func (m *IdentityProvidersIdentityProviderBaseItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderBaseable, requestConfiguration *IdentityProvidersIdentityProviderBaseItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderBaseable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
"5XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.requestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b2...
| func (m *B2xUserFlowsItemIdentityProvidersRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderCollectionResponseable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
"5XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.requestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateIdentityProviderCollectionResponseFromDiscriminatorValue, errorMapping)
if err != nil {
re...
| func (m *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilder) Get(ctx context.Context, requestConfiguration *B2xUserFlowsItemIdentityProvidersIdentityProviderItemRequestBuilderGetRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderable, error) {
requestInfo, err := m.ToGetRequestInformation(ctx, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
"5XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.requestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.CreateIdentityProviderFromDiscriminatorValue, errorMapping)
if err != nil {
...
| func ExampleTrustedIDProvidersClient_Update() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armdatalakestore.NewClientFactory("", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewTrustedIDProvidersClient().Update(ctx, "contosorg", "contosoadla", "test_trusted_id_provider_name", &armdatalakestore.TrustedIDProvidersClientUpdateOptions{Parameters: &armdatalakestore.UpdateTrustedIDProviderParameters{
Properties: &armdatalakestore.UpdateTrustedIDProviderProperties{
IDProvider: to.Ptr("https://sts.windows.net/ea9ec534-a3e3-4e45-ad36-3afc5bb291c1"),
},
},
})
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP response code is 200 as defined in e...
| func (c *WorkLink) UpdateIdentityProviderConfigurationRequest(input *UpdateIdentityProviderConfigurationInput) (req *request.Request, output *UpdateIdentityProviderConfigurationOutput) {
if c.Client.Config.Logger != nil {
c.Client.Config.Logger.Log("This operation, UpdateIdentityProviderConfiguration, has been deprecated")
}
op := &request.Operation{
Name: opUpdateIdentityProviderConfiguration,
HTTPMethod: "POST",
HTTPPath: "/updateIdentityProviderConfiguration",
}

if input == nil {
input = &UpdateIdentityProviderConfigurationInput{}
}

output = &UpdateIdentityProviderConfigurationOutput{}
req = c.newRequest(op, input, output)
req.Handlers.Unmarshal.Swap(restjson.UnmarshalHandler.Name, protocol.UnmarshalDiscardBodyHandler)
return
}
| func ExampleIdentityProviderClient_CreateOrUpdate() {
cred, err := azidentity.NewDefaultAzureCredential(nil)
if err != nil {
log.Fatalf("failed to obtain a credential: %v", err)
}
ctx := context.Background()
clientFactory, err := armapimanagement.NewClientFactory("", cred, nil)
if err != nil {
log.Fatalf("failed to create client: %v", err)
}
res, err := clientFactory.NewIdentityProviderClient().CreateOrUpdate(ctx, "rg1", "apimService1", armapimanagement.IdentityProviderTypeFacebook, armapimanagement.IdentityProviderCreateContract{
Properties: &armapimanagement.IdentityProviderCreateContractProperties{
ClientID: to.Ptr("facebookid"),
ClientSecret: to.Ptr("facebookapplicationsecret"),
},
}, &armapimanagement.IdentityProviderClientCreateOrUpdateOptions{IfMatch: nil})
if err != nil {
log.Fatalf("failed to finish the request: %v", err)
}
// You could use response here. We use blank identifier for just demo purposes.
_ = res
// If the HTTP r...
| func (c *Client) UpdateIdentityProvider(ctx context.Context, params *UpdateIdentityProviderInput, optFns ...func(*Options)) (*UpdateIdentityProviderOutput, error) {
if params == nil {
params = &UpdateIdentityProviderInput{}
}

result, metadata, err := c.invokeOperation(ctx, "UpdateIdentityProvider", params, optFns, c.addOperationUpdateIdentityProviderMiddlewares)
if err != nil {
return nil, err
}

out := result.(*UpdateIdentityProviderOutput)
out.ResultMetadata = metadata
return out, nil
}
| func (b *ClusterBuilder) IdentityProviders(value *IdentityProviderListBuilder) *ClusterBuilder {
b.identityProviders = value
b.bitmap_ \|= 17179869184
return b
}
| func (m *B2xIdentityUserFlow) SetIdentityProviders(value []IdentityProviderable)() {
err := m.GetBackingStore().Set("identityProviders", value)
if err != nil {
panic(err)
}
}
| func (w *ServerInterfaceWrapper) PatchProvidersProviderID(ctx echo.Context) error {
var err error
// ------------- Path parameter "providerID" -------------
var providerID ProviderID

err = runtime.BindStyledParameterWithOptions("simple", "providerID", ctx.Param("providerID"), &providerID, runtime.BindStyledParameterOptions{ParamLocation: runtime.ParamLocationPath, Explode: false, Required: true})
if err != nil {
return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Invalid format for parameter providerID: %s", err))
}

// Parameter object where we will unmarshal all parameters from the context
var params PatchProvidersProviderIDParams

headers := ctx.Request().Header
// ------------- Optional header parameter "If-Match" -------------
if valueList, found := headers[http.CanonicalHeaderKey("If-Match")]; found {
var IfMatch Ifmatch
n := len(valueList)
if n != 1 {
return echo.NewHTTPError(http.StatusBadRequest, fmt.Sprintf("Expected one value for If-Match, got...
| func (m *B2xUserFlowsB2xIdentityUserFlowItemRequestBuilder) UserFlowIdentityProviders()(*B2xUserFlowsItemUserFlowIdentityProvidersRequestBuilder) {
return NewB2xUserFlowsItemUserFlowIdentityProvidersRequestBuilderInternal(m.pathParameters, m.requestAdapter)
}
| func (m *IdentityContainer) SetIdentityProviders(value []IdentityProviderBaseable)() {
err := m.GetBackingStore().Set("identityProviders", value)
if err != nil {
panic(err)
}
}
| func (m *FederationConfigurationsIdentityProviderBaseItemRequestBuilder) Patch(ctx context.Context, body iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderBaseable, requestConfiguration *FederationConfigurationsIdentityProviderBaseItemRequestBuilderPatchRequestConfiguration)(iadcd81124412c61e647227ecfc4449d8bba17de0380ddda76f641a29edf2b242.IdentityProviderBaseable, error) {
requestInfo, err := m.ToPatchRequestInformation(ctx, body, requestConfiguration);
if err != nil {
return nil, err
}
errorMapping := i2ae4187f7daee263371cb1c977df639813ab50ffa529013b7437480d1ec0158f.ErrorMappings {
"4XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
"5XX": ia572726a95efa92ddd544552cd950653dc691023836923576b2f4bf716cf204a.CreateODataErrorFromDiscriminatorValue,
}
res, err := m.requestAdapter.Send(ctx, requestInfo, iadcd81124412c61e647227ecfc4449d8bba17de0380ddda7...
| func (c *ClusterClient) IdentityProviders() *IdentityProvidersClient {
return NewIdentityProvidersClient(
c.transport,
path.Join(c.path, "identity_providers"),
)
}
| func (c *WorkSpacesWeb) UpdateIdentityProviderRequest(input *UpdateIdentityProviderInput) (req *request.Request, output *UpdateIdentityProviderOutput) {
op := &request.Operation{
Name: opUpdateIdentityProvider,
HTTPMethod: "PATCH",
HTTPPath: "/identityProviders/{identityProviderArn+}",
}

if input == nil {
input = &UpdateIdentityProviderInput{}
}

output = &UpdateIdentityProviderOutput{}
req = c.newRequest(op, input, output)
return
}
| func (m *IdentityContainer) GetIdentityProviders()([]IdentityProviderBaseable) {
val, err := m.GetBackingStore().Get("identityProviders")
if err != nil {
panic(err)
}
if val != nil {
return val.([]IdentityProviderBaseable)
}
return nil
}
| - |


Returns the body of a backup plan based on the target template, including the name, rules, and backup vault of
the plan.



@return Returns the body of a backup plan based on the target template, including the name, rules, and backup
vault of the plan.
| public BackupPlan getBackupPlanDocument() {
return this.backupPlanDocument;
}
| public AwsBackupBackupPlanBackupPlanDetails getBackupPlan() {
return this.backupPlan;
}
| public GetBackupPlanFromTemplateResult withBackupPlanDocument(BackupPlan backupPlanDocument) {
setBackupPlanDocument(backupPlanDocument);
return this;
}
| public String getBackupPlanName() {
return this.backupPlanName;
}
| public final BackupPlan getBackupPlan(BackupPlanName name) {
GetBackupPlanRequest request =
GetBackupPlanRequest.newBuilder().setName(name == null ? null : name.toString()).build();
return getBackupPlan(request);
}
| public String plan() {
return this.plan;
}
| public final BackupPlan getBackupPlan(GetBackupPlanRequest request) {
return getBackupPlanCallable().call(request);
}
| public String planDetails() {
return this.planDetails;
}
| public final BackupPlanBinding getBackupPlanBinding(GetBackupPlanBindingRequest request) {
return getBackupPlanBindingCallable().call(request);
}
| public final BackupPlan getBackupPlan(String name) {
GetBackupPlanRequest request = GetBackupPlanRequest.newBuilder().setName(name).build();
return getBackupPlan(request);
}
| public String getBackupPlanArn() {
return this.backupPlanArn;
}
| public String getBackupPlanId() {
return this.backupPlanId;
}
| public final BackupPlanBinding getBackupPlanBinding(BackupPlanBindingName name) {
GetBackupPlanBindingRequest request =
GetBackupPlanBindingRequest.newBuilder()
.setName(name == null ? null : name.toString())
.build();
return getBackupPlanBinding(request);
}
| public final UnaryCallable getBackupPlanCallable() {
return stub.getBackupPlanCallable();
}
| public Builder clearBackupPlan() {
backupPlan_ = getDefaultInstance().getBackupPlan();
bitField0_ = (bitField0_ & ~0x00000001);
onChanged();
return this;
}
| public final BackupPlanBinding getBackupPlanBinding(String name) {
GetBackupPlanBindingRequest request =
GetBackupPlanBindingRequest.newBuilder().setName(name).build();
return getBackupPlanBinding(request);
}
| -* Loss: [CachedMultipleNegativesRankingLoss](https://sbert.net/docs/package_reference/sentence_transformer/losses.html#cachedmultiplenegativesrankingloss) with these parameters: - ```json - { - "scale": 100.0, - "similarity_fct": "cos_sim", - "mini_batch_size": 64, - "gather_across_devices": false, - "directions": [ - "query_to_doc", - "doc_to_query" - ], - "partition_mode": "joint", - "hardness_mode": null, - "hardness_strength": 0.0 - } - ``` +| Hyperparameter | Value | +|---|---:| +| Epochs | 1 | +| Logical batch size | 1,024 | +| Cached-loss mini-batch size | 64 | +| Learning rate | 6e-5 | +| Warmup ratio | 0.0 | +| Scheduler | Cosine | +| Weight decay | 0.01 | +| MNRL scale | 100.0 | +| Precision | bfloat16 | +| Gradient accumulation | 1 | +| Hard negatives per example | 15 | -### Training Hyperparameters -#### Non-Default Hyperparameters +## Evaluation -- `eval_strategy`: steps -- `per_device_train_batch_size`: 1024 -- `learning_rate`: 6e-05 -- `weight_decay`: 0.01 -- `num_train_epochs`: 1 -- `lr_scheduler_type`: cosine -- `bf16`: True -- `load_best_model_at_end`: True -- `gradient_checkpointing`: True +### MTEB CodeSearchNetRetrieval -#### All Hyperparameters -
Click to expand +The model was evaluated with MTEB 2.5.1 on the `CodeSearchNetRetrieval` test +sets. The benchmark's `main_score` is nDCG@10. The reported average is an +unweighted macro average over all six languages. -- `overwrite_output_dir`: False -- `do_predict`: False -- `eval_strategy`: steps -- `prediction_loss_only`: True -- `per_device_train_batch_size`: 1024 -- `per_device_eval_batch_size`: 8 -- `per_gpu_train_batch_size`: None -- `per_gpu_eval_batch_size`: None -- `gradient_accumulation_steps`: 1 -- `eval_accumulation_steps`: None -- `torch_empty_cache_steps`: None -- `learning_rate`: 6e-05 -- `weight_decay`: 0.01 -- `adam_beta1`: 0.9 -- `adam_beta2`: 0.999 -- `adam_epsilon`: 1e-08 -- `max_grad_norm`: 1.0 -- `num_train_epochs`: 1 -- `max_steps`: -1 -- `lr_scheduler_type`: cosine -- `lr_scheduler_kwargs`: {} -- `warmup_ratio`: 0.0 -- `warmup_steps`: 0 -- `log_level`: passive -- `log_level_replica`: warning -- `log_on_each_node`: True -- `logging_nan_inf_filter`: True -- `save_safetensors`: True -- `save_on_each_node`: False -- `save_only_model`: False -- `restore_callback_states_from_checkpoint`: False -- `no_cuda`: False -- `use_cpu`: False -- `use_mps_device`: False -- `seed`: 42 -- `data_seed`: None -- `jit_mode_eval`: False -- `use_ipex`: False -- `bf16`: True -- `fp16`: False -- `fp16_opt_level`: O1 -- `half_precision_backend`: auto -- `bf16_full_eval`: False -- `fp16_full_eval`: False -- `tf32`: None -- `local_rank`: 0 -- `ddp_backend`: None -- `tpu_num_cores`: None -- `tpu_metrics_debug`: False -- `debug`: [] -- `dataloader_drop_last`: False -- `dataloader_num_workers`: 0 -- `dataloader_prefetch_factor`: None -- `past_index`: -1 -- `disable_tqdm`: False -- `remove_unused_columns`: True -- `label_names`: None -- `load_best_model_at_end`: True -- `ignore_data_skip`: False -- `fsdp`: [] -- `fsdp_min_num_params`: 0 -- `fsdp_config`: {'min_num_params': 0, 'xla': False, 'xla_fsdp_v2': False, 'xla_fsdp_grad_ckpt': False} -- `fsdp_transformer_layer_cls_to_wrap`: None -- `accelerator_config`: {'split_batches': False, 'dispatch_batches': None, 'even_batches': True, 'use_seedable_sampler': True, 'non_blocking': False, 'gradient_accumulation_kwargs': None} -- `parallelism_config`: None -- `deepspeed`: None -- `label_smoothing_factor`: 0.0 -- `optim`: adamw_torch_fused -- `optim_args`: None -- `adafactor`: False -- `group_by_length`: False -- `length_column_name`: length -- `ddp_find_unused_parameters`: None -- `ddp_bucket_cap_mb`: None -- `ddp_broadcast_buffers`: False -- `dataloader_pin_memory`: True -- `dataloader_persistent_workers`: False -- `skip_memory_metrics`: True -- `use_legacy_prediction_loop`: False -- `push_to_hub`: False -- `resume_from_checkpoint`: None -- `hub_model_id`: None -- `hub_strategy`: every_save -- `hub_private_repo`: None -- `hub_always_push`: False -- `hub_revision`: None -- `gradient_checkpointing`: True -- `gradient_checkpointing_kwargs`: None -- `include_inputs_for_metrics`: False -- `include_for_metrics`: [] -- `eval_do_concat_batches`: True -- `fp16_backend`: auto -- `push_to_hub_model_id`: None -- `push_to_hub_organization`: None -- `mp_parameters`: -- `auto_find_batch_size`: False -- `full_determinism`: False -- `torchdynamo`: None -- `ray_scope`: last -- `ddp_timeout`: 1800 -- `torch_compile`: False -- `torch_compile_backend`: None -- `torch_compile_mode`: None -- `include_tokens_per_second`: False -- `include_num_input_tokens_seen`: False -- `neftune_noise_alpha`: None -- `optim_target_modules`: None -- `batch_eval_metrics`: False -- `eval_on_start`: False -- `use_liger_kernel`: False -- `liger_kernel_config`: None -- `eval_use_gather_object`: False -- `average_tokens_across_devices`: False -- `prompts`: None -- `multi_dataset_batch_sampler`: proportional -- `router_mapping`: {} -- `learning_rate_mapping`: {} +| Go | Java | JavaScript | PHP | Python | Ruby | Average | +|---:|---:|---:|---:|---:|---:|---:| +| 0.9656 | 0.9278 | 0.8236 | 0.8915 | 0.9410 | 0.8663 | **0.9026** | -
+### MTEB CodeEditSearchRetrieval -### Training Logs -
Click to expand +Code-edit retrieval was evaluated with MTEB 2.5.1. The task's `main_score` is +nDCG@10. The macro average across the 13 language subsets is **0.7382**. -| Epoch | Step | Training Loss | csn-go_cosine_ndcg@10 | csn-java_cosine_ndcg@10 | csn-javascript_cosine_ndcg@10 | csn-php_cosine_ndcg@10 | csn-python_cosine_ndcg@10 | csn-ruby_cosine_ndcg@10 | -|:------:|:----:|:-------------:|:---------------------:|:-----------------------:|:-----------------------------:|:----------------------:|:-------------------------:|:-----------------------:| -| 0.0025 | 10 | 2.319 | 0.9120 | 0.7866 | 0.7863 | 0.7697 | 0.9022 | 0.8500 | -| 0.0050 | 20 | 2.1091 | 0.9153 | 0.7967 | 0.7948 | 0.7757 | 0.9084 | 0.8589 | -| 0.0075 | 30 | 1.7596 | 0.9179 | 0.8009 | 0.7934 | 0.7769 | 0.9193 | 0.8593 | -| 0.0101 | 40 | 2.1106 | 0.9191 | 0.8076 | 0.7929 | 0.7830 | 0.9177 | 0.8575 | -| 0.0126 | 50 | 1.6572 | 0.9159 | 0.8077 | 0.7966 | 0.7813 | 0.9183 | 0.8553 | -| 0.0151 | 60 | 1.9471 | 0.9199 | 0.8160 | 0.7960 | 0.7851 | 0.9208 | 0.8597 | -| 0.0176 | 70 | 1.5754 | 0.9210 | 0.8119 | 0.7997 | 0.7821 | 0.9179 | 0.8665 | -| 0.0201 | 80 | 1.8123 | 0.9185 | 0.8111 | 0.8007 | 0.7830 | 0.9220 | 0.8643 | -| 0.0226 | 90 | 1.6229 | 0.9183 | 0.8158 | 0.8015 | 0.7863 | 0.9193 | 0.8707 | -| 0.0251 | 100 | 1.5969 | 0.9204 | 0.8170 | 0.8017 | 0.7866 | 0.9228 | 0.8711 | -| 0.0277 | 110 | 1.6652 | 0.9200 | 0.8128 | 0.8046 | 0.7880 | 0.9192 | 0.8724 | -| 0.0302 | 120 | 1.5169 | 0.9193 | 0.8151 | 0.8033 | 0.7866 | 0.9215 | 0.8696 | -| 0.0327 | 130 | 1.7482 | 0.9219 | 0.8161 | 0.8061 | 0.7844 | 0.9203 | 0.8643 | -| 0.0352 | 140 | 1.5064 | 0.9194 | 0.8196 | 0.7981 | 0.7854 | 0.9241 | 0.8660 | -| 0.0377 | 150 | 1.663 | 0.9217 | 0.8133 | 0.8101 | 0.7862 | 0.9239 | 0.8701 | -| 0.0402 | 160 | 1.7467 | 0.9219 | 0.8144 | 0.8009 | 0.7882 | 0.9239 | 0.8675 | -| 0.0427 | 170 | 1.5109 | 0.9215 | 0.8153 | 0.8040 | 0.7875 | 0.9219 | 0.8674 | -| 0.0452 | 180 | 1.7374 | 0.9211 | 0.8198 | 0.7965 | 0.7867 | 0.9235 | 0.8642 | -| 0.0478 | 190 | 1.8026 | 0.9219 | 0.8184 | 0.8059 | 0.7839 | 0.9215 | 0.8694 | -| 0.0503 | 200 | 1.5692 | 0.9228 | 0.8176 | 0.8032 | 0.7863 | 0.9261 | 0.8704 | -| 0.0528 | 210 | 1.4987 | 0.9221 | 0.8223 | 0.8035 | 0.7892 | 0.9266 | 0.8737 | -| 0.0553 | 220 | 1.6288 | 0.9229 | 0.8211 | 0.8010 | 0.7877 | 0.9250 | 0.8733 | -| 0.0578 | 230 | 1.6814 | 0.9224 | 0.8232 | 0.8013 | 0.7886 | 0.9214 | 0.8699 | -| 0.0603 | 240 | 1.5676 | 0.9245 | 0.8174 | 0.7950 | 0.7878 | 0.9261 | 0.8736 | -| 0.0628 | 250 | 1.6167 | 0.9238 | 0.8183 | 0.7915 | 0.7843 | 0.9264 | 0.8721 | -| 0.0654 | 260 | 1.6123 | 0.9217 | 0.8225 | 0.8023 | 0.7846 | 0.9273 | 0.8726 | -| 0.0679 | 270 | 1.6352 | 0.9226 | 0.8242 | 0.8047 | 0.7884 | 0.9247 | 0.8724 | -| 0.0704 | 280 | 1.6449 | 0.9232 | 0.8201 | 0.8081 | 0.7881 | 0.9226 | 0.8747 | -| 0.0729 | 290 | 1.5778 | 0.9254 | 0.8223 | 0.8054 | 0.7869 | 0.9268 | 0.8713 | -| 0.0754 | 300 | 1.6272 | 0.9237 | 0.8196 | 0.8080 | 0.7867 | 0.9272 | 0.8746 | -| 0.0779 | 310 | 1.586 | 0.9216 | 0.8178 | 0.8065 | 0.7869 | 0.9288 | 0.8744 | -| 0.0804 | 320 | 1.6196 | 0.9196 | 0.8242 | 0.8115 | 0.7857 | 0.9276 | 0.8715 | -| 0.0830 | 330 | 1.5982 | 0.9229 | 0.8259 | 0.8095 | 0.7873 | 0.9312 | 0.8723 | -| 0.0855 | 340 | 1.7151 | 0.9232 | 0.8246 | 0.8117 | 0.7874 | 0.9320 | 0.8769 | -| 0.0880 | 350 | 1.6523 | 0.9233 | 0.8245 | 0.8142 | 0.7914 | 0.9278 | 0.8760 | -| 0.0905 | 360 | 1.6705 | 0.9222 | 0.8235 | 0.8102 | 0.7905 | 0.9296 | 0.8759 | -| 0.0930 | 370 | 1.6012 | 0.9217 | 0.8220 | 0.8155 | 0.7861 | 0.9295 | 0.8788 | -| 0.0955 | 380 | 1.5221 | 0.9250 | 0.8198 | 0.8139 | 0.7866 | 0.9285 | 0.8795 | -| 0.0980 | 390 | 1.5434 | 0.9248 | 0.8183 | 0.8109 | 0.7849 | 0.9301 | 0.8750 | -| 0.1006 | 400 | 1.6088 | 0.9239 | 0.8208 | 0.8160 | 0.7846 | 0.9248 | 0.8790 | -| 0.1031 | 410 | 1.6445 | 0.9272 | 0.8221 | 0.8071 | 0.7868 | 0.9294 | 0.8760 | -| 0.1056 | 420 | 1.5879 | 0.9262 | 0.8189 | 0.8121 | 0.7871 | 0.9276 | 0.8778 | -| 0.1081 | 430 | 1.6992 | 0.9242 | 0.8186 | 0.8110 | 0.7858 | 0.9301 | 0.8779 | -| 0.1106 | 440 | 1.4916 | 0.9245 | 0.8231 | 0.8124 | 0.7884 | 0.9274 | 0.8765 | -| 0.1131 | 450 | 1.6932 | 0.9230 | 0.8244 | 0.8103 | 0.7886 | 0.9261 | 0.8752 | -| 0.1156 | 460 | 1.6714 | 0.9226 | 0.8218 | 0.8080 | 0.7865 | 0.9243 | 0.8757 | -| 0.1181 | 470 | 1.546 | 0.9259 | 0.8281 | 0.8135 | 0.7875 | 0.9284 | 0.8750 | -| 0.1207 | 480 | 1.619 | 0.9276 | 0.8301 | 0.8062 | 0.7871 | 0.9321 | 0.8714 | -| 0.1232 | 490 | 1.5233 | 0.9279 | 0.8300 | 0.8155 | 0.7863 | 0.9311 | 0.8753 | -| 0.1257 | 500 | 1.5815 | 0.9258 | 0.8257 | 0.8126 | 0.7877 | 0.9300 | 0.8758 | -| 0.1282 | 510 | 1.5714 | 0.9256 | 0.8213 | 0.8131 | 0.7890 | 0.9281 | 0.8743 | -| 0.1307 | 520 | 1.6636 | 0.9249 | 0.8238 | 0.8131 | 0.7891 | 0.9308 | 0.8766 | -| 0.1332 | 530 | 1.4655 | 0.9269 | 0.8256 | 0.8125 | 0.7891 | 0.9300 | 0.8815 | -| 0.1357 | 540 | 1.4575 | 0.9274 | 0.8250 | 0.8123 | 0.7895 | 0.9300 | 0.8820 | -| 0.1383 | 550 | 1.6281 | 0.9252 | 0.8251 | 0.8171 | 0.7901 | 0.9313 | 0.8815 | -| 0.1408 | 560 | 1.5014 | 0.9257 | 0.8232 | 0.8148 | 0.7902 | 0.9301 | 0.8794 | -| 0.1433 | 570 | 1.6533 | 0.9248 | 0.8229 | 0.8128 | 0.7896 | 0.9281 | 0.8821 | -| 0.1458 | 580 | 1.5059 | 0.9264 | 0.8285 | 0.8061 | 0.7899 | 0.9278 | 0.8796 | -| 0.1483 | 590 | 1.4695 | 0.9238 | 0.8273 | 0.8099 | 0.7881 | 0.9285 | 0.8801 | -| 0.1508 | 600 | 1.618 | 0.9265 | 0.8273 | 0.8134 | 0.7879 | 0.9299 | 0.8786 | -| 0.1533 | 610 | 1.4713 | 0.9255 | 0.8260 | 0.8067 | 0.7883 | 0.9310 | 0.8816 | -| 0.1559 | 620 | 1.578 | 0.9250 | 0.8265 | 0.8132 | 0.7863 | 0.9282 | 0.8829 | -| 0.1584 | 630 | 1.3822 | 0.9284 | 0.8225 | 0.8105 | 0.7896 | 0.9302 | 0.8824 | -| 0.1609 | 640 | 1.5011 | 0.9233 | 0.8242 | 0.8153 | 0.7878 | 0.9275 | 0.8815 | -| 0.1634 | 650 | 1.5734 | 0.9275 | 0.8262 | 0.8142 | 0.7890 | 0.9282 | 0.8778 | -| 0.1659 | 660 | 1.4939 | 0.9271 | 0.8265 | 0.8139 | 0.7889 | 0.9307 | 0.8849 | -| 0.1684 | 670 | 1.3973 | 0.9259 | 0.8290 | 0.8142 | 0.7876 | 0.9293 | 0.8813 | -| 0.1709 | 680 | 1.4558 | 0.9268 | 0.8292 | 0.8092 | 0.7867 | 0.9284 | 0.8824 | -| 0.1735 | 690 | 1.535 | 0.9255 | 0.8289 | 0.8145 | 0.7905 | 0.9296 | 0.8836 | -| 0.1760 | 700 | 1.405 | 0.9264 | 0.8264 | 0.8131 | 0.7884 | 0.9290 | 0.8815 | -| 0.1785 | 710 | 1.4359 | 0.9254 | 0.8315 | 0.8143 | 0.7921 | 0.9277 | 0.8831 | -| 0.1810 | 720 | 1.4704 | 0.9241 | 0.8313 | 0.8162 | 0.7902 | 0.9287 | 0.8822 | -| 0.1835 | 730 | 1.5015 | 0.9237 | 0.8304 | 0.8119 | 0.7889 | 0.9301 | 0.8808 | -| 0.1860 | 740 | 1.4986 | 0.9245 | 0.8304 | 0.8136 | 0.7903 | 0.9306 | 0.8783 | -| 0.1885 | 750 | 1.404 | 0.9260 | 0.8312 | 0.8161 | 0.7890 | 0.9300 | 0.8794 | -| 0.1911 | 760 | 1.4904 | 0.9245 | 0.8297 | 0.8130 | 0.7912 | 0.9319 | 0.8812 | -| 0.1936 | 770 | 1.4447 | 0.9274 | 0.8278 | 0.8161 | 0.7924 | 0.9301 | 0.8825 | -| 0.1961 | 780 | 1.5735 | 0.9253 | 0.8276 | 0.8152 | 0.7912 | 0.9305 | 0.8815 | -| 0.1986 | 790 | 1.3275 | 0.9272 | 0.8301 | 0.8111 | 0.7913 | 0.9249 | 0.8815 | -| 0.2011 | 800 | 1.5868 | 0.9261 | 0.8311 | 0.8183 | 0.7902 | 0.9265 | 0.8829 | -| 0.2036 | 810 | 1.4625 | 0.9244 | 0.8308 | 0.8141 | 0.7902 | 0.9296 | 0.8797 | -| 0.2061 | 820 | 1.6452 | 0.9248 | 0.8286 | 0.8185 | 0.7884 | 0.9274 | 0.8796 | -| 0.2086 | 830 | 1.4715 | 0.9266 | 0.8299 | 0.8149 | 0.7888 | 0.9302 | 0.8791 | -| 0.2112 | 840 | 1.5382 | 0.9246 | 0.8321 | 0.8146 | 0.7910 | 0.9318 | 0.8780 | -| 0.2137 | 850 | 1.41 | 0.9226 | 0.8307 | 0.8171 | 0.7909 | 0.9310 | 0.8801 | -| 0.2162 | 860 | 1.4019 | 0.9227 | 0.8299 | 0.8135 | 0.7896 | 0.9301 | 0.8814 | -| 0.2187 | 870 | 1.5248 | 0.9252 | 0.8348 | 0.8138 | 0.7885 | 0.9308 | 0.8800 | -| 0.2212 | 880 | 1.3977 | 0.9251 | 0.8331 | 0.8147 | 0.7889 | 0.9286 | 0.8814 | -| 0.2237 | 890 | 1.4729 | 0.9246 | 0.8358 | 0.8172 | 0.7899 | 0.9282 | 0.8791 | -| 0.2262 | 900 | 1.4087 | 0.9238 | 0.8319 | 0.8111 | 0.7886 | 0.9306 | 0.8789 | -| 0.2288 | 910 | 1.5246 | 0.9243 | 0.8331 | 0.8141 | 0.7895 | 0.9314 | 0.8798 | -| 0.2313 | 920 | 1.3681 | 0.9241 | 0.8325 | 0.8049 | 0.7917 | 0.9306 | 0.8802 | -| 0.2338 | 930 | 1.3753 | 0.9223 | 0.8356 | 0.8109 | 0.7901 | 0.9309 | 0.8790 | -| 0.2363 | 940 | 1.5807 | 0.9232 | 0.8352 | 0.8095 | 0.7902 | 0.9297 | 0.8804 | -| 0.2388 | 950 | 1.6055 | 0.9254 | 0.8323 | 0.8114 | 0.7916 | 0.9316 | 0.8805 | -| 0.2413 | 960 | 1.4359 | 0.9229 | 0.8335 | 0.8156 | 0.7902 | 0.9330 | 0.8814 | -| 0.2438 | 970 | 1.443 | 0.9245 | 0.8347 | 0.8184 | 0.7902 | 0.9327 | 0.8809 | -| 0.2464 | 980 | 1.5245 | 0.9223 | 0.8313 | 0.8170 | 0.7901 | 0.9308 | 0.8799 | -| 0.2489 | 990 | 1.5089 | 0.9239 | 0.8291 | 0.8167 | 0.7899 | 0.9318 | 0.8807 | -| 0.2514 | 1000 | 1.4874 | 0.9253 | 0.8306 | 0.8148 | 0.7899 | 0.9314 | 0.8831 | -| 0.2539 | 1010 | 1.4732 | 0.9246 | 0.8303 | 0.8197 | 0.7886 | 0.9277 | 0.8840 | -| 0.2564 | 1020 | 1.5349 | 0.9264 | 0.8341 | 0.8164 | 0.7911 | 0.9286 | 0.8787 | -| 0.2589 | 1030 | 1.4292 | 0.9259 | 0.8322 | 0.8170 | 0.7918 | 0.9284 | 0.8805 | -| 0.2614 | 1040 | 1.5749 | 0.9238 | 0.8309 | 0.8162 | 0.7895 | 0.9259 | 0.8830 | -| 0.2640 | 1050 | 1.4268 | 0.9268 | 0.8319 | 0.8148 | 0.7903 | 0.9298 | 0.8824 | -| 0.2665 | 1060 | 1.4788 | 0.9271 | 0.8294 | 0.8175 | 0.7896 | 0.9274 | 0.8792 | -| 0.2690 | 1070 | 1.4054 | 0.9262 | 0.8301 | 0.8160 | 0.7913 | 0.9272 | 0.8781 | -| 0.2715 | 1080 | 1.5211 | 0.9244 | 0.8305 | 0.8177 | 0.7912 | 0.9300 | 0.8807 | -| 0.2740 | 1090 | 1.494 | 0.9232 | 0.8317 | 0.8164 | 0.7894 | 0.9310 | 0.8821 | -| 0.2765 | 1100 | 1.4679 | 0.9252 | 0.8328 | 0.8170 | 0.7881 | 0.9291 | 0.8851 | -| 0.2790 | 1110 | 1.5106 | 0.9290 | 0.8327 | 0.8168 | 0.7895 | 0.9337 | 0.8847 | -| 0.2815 | 1120 | 1.5478 | 0.9277 | 0.8331 | 0.8178 | 0.7888 | 0.9323 | 0.8864 | -| 0.2841 | 1130 | 1.4317 | 0.9282 | 0.8315 | 0.8138 | 0.7903 | 0.9318 | 0.8884 | -| 0.2866 | 1140 | 1.5473 | 0.9280 | 0.8323 | 0.8146 | 0.7872 | 0.9327 | 0.8878 | -| 0.2891 | 1150 | 1.5258 | 0.9272 | 0.8318 | 0.8169 | 0.7895 | 0.9310 | 0.8841 | -| 0.2916 | 1160 | 1.4741 | 0.9275 | 0.8328 | 0.8157 | 0.7891 | 0.9316 | 0.8867 | -| 0.2941 | 1170 | 1.5276 | 0.9285 | 0.8308 | 0.8129 | 0.7911 | 0.9310 | 0.8840 | -| 0.2966 | 1180 | 1.4012 | 0.9257 | 0.8284 | 0.8099 | 0.7891 | 0.9296 | 0.8814 | -| 0.2991 | 1190 | 1.6471 | 0.9267 | 0.8329 | 0.8150 | 0.7902 | 0.9313 | 0.8841 | -| 0.3017 | 1200 | 1.5032 | 0.9239 | 0.8331 | 0.8176 | 0.7904 | 0.9285 | 0.8840 | -| 0.3042 | 1210 | 1.4805 | 0.9270 | 0.8332 | 0.8174 | 0.7886 | 0.9292 | 0.8861 | -| 0.3067 | 1220 | 1.4632 | 0.9259 | 0.8324 | 0.8162 | 0.7901 | 0.9304 | 0.8836 | -| 0.3092 | 1230 | 1.5837 | 0.9264 | 0.8311 | 0.8164 | 0.7898 | 0.9268 | 0.8838 | -| 0.3117 | 1240 | 1.5475 | 0.9281 | 0.8319 | 0.8166 | 0.7915 | 0.9293 | 0.8877 | -| 0.3142 | 1250 | 1.451 | 0.9275 | 0.8338 | 0.8173 | 0.7905 | 0.9279 | 0.8852 | -| 0.3167 | 1260 | 1.5227 | 0.9265 | 0.8323 | 0.8159 | 0.7931 | 0.9285 | 0.8881 | -| 0.3193 | 1270 | 1.5212 | 0.9269 | 0.8322 | 0.8185 | 0.7906 | 0.9279 | 0.8865 | -| 0.3218 | 1280 | 1.4659 | 0.9252 | 0.8316 | 0.8214 | 0.7916 | 0.9289 | 0.8859 | -| 0.3243 | 1290 | 1.3923 | 0.9267 | 0.8321 | 0.8165 | 0.7918 | 0.9295 | 0.8858 | -| 0.3268 | 1300 | 1.5746 | 0.9248 | 0.8305 | 0.8148 | 0.7915 | 0.9271 | 0.8857 | -| 0.3293 | 1310 | 1.4649 | 0.9258 | 0.8305 | 0.8170 | 0.7912 | 0.9306 | 0.8844 | -| 0.3318 | 1320 | 1.5956 | 0.9254 | 0.8364 | 0.8207 | 0.7903 | 0.9264 | 0.8855 | -| 0.3343 | 1330 | 1.3869 | 0.9262 | 0.8354 | 0.8186 | 0.7906 | 0.9281 | 0.8858 | -| 0.3369 | 1340 | 1.5339 | 0.9255 | 0.8356 | 0.8209 | 0.7925 | 0.9287 | 0.8864 | -| 0.3394 | 1350 | 1.3486 | 0.9258 | 0.8332 | 0.8171 | 0.7917 | 0.9278 | 0.8864 | -| 0.3419 | 1360 | 1.4557 | 0.9269 | 0.8333 | 0.8169 | 0.7924 | 0.9288 | 0.8854 | -| 0.3444 | 1370 | 1.4221 | 0.9268 | 0.8321 | 0.8194 | 0.7919 | 0.9271 | 0.8877 | -| 0.3469 | 1380 | 1.5303 | 0.9252 | 0.8323 | 0.8204 | 0.7905 | 0.9308 | 0.8878 | -| 0.3494 | 1390 | 1.4362 | 0.9254 | 0.8333 | 0.8207 | 0.7913 | 0.9304 | 0.8880 | -| 0.3519 | 1400 | 1.6445 | 0.9254 | 0.8327 | 0.8224 | 0.7914 | 0.9301 | 0.8884 | -| 0.3544 | 1410 | 1.397 | 0.9253 | 0.8343 | 0.8248 | 0.7919 | 0.9287 | 0.8888 | -| 0.3570 | 1420 | 1.4348 | 0.9258 | 0.8327 | 0.8199 | 0.7919 | 0.9293 | 0.8886 | -| 0.3595 | 1430 | 1.45 | 0.9261 | 0.8330 | 0.8178 | 0.7907 | 0.9281 | 0.8878 | -| 0.3620 | 1440 | 1.5133 | 0.9268 | 0.8328 | 0.8189 | 0.7900 | 0.9258 | 0.8894 | -| 0.3645 | 1450 | 1.4639 | 0.9252 | 0.8336 | 0.8200 | 0.7886 | 0.9265 | 0.8897 | -| 0.3670 | 1460 | 1.4466 | 0.9260 | 0.8327 | 0.8211 | 0.7895 | 0.9278 | 0.8893 | -| 0.3695 | 1470 | 1.4871 | 0.9260 | 0.8310 | 0.8189 | 0.7921 | 0.9292 | 0.8879 | -| 0.3720 | 1480 | 1.4318 | 0.9260 | 0.8330 | 0.8179 | 0.7927 | 0.9292 | 0.8867 | -| 0.3746 | 1490 | 1.3626 | 0.9250 | 0.8311 | 0.8187 | 0.7918 | 0.9273 | 0.8889 | -| 0.3771 | 1500 | 1.5211 | 0.9273 | 0.8334 | 0.8162 | 0.7928 | 0.9303 | 0.8888 | -| 0.3796 | 1510 | 1.5332 | 0.9267 | 0.8329 | 0.8182 | 0.7940 | 0.9298 | 0.8872 | -| 0.3821 | 1520 | 1.3239 | 0.9269 | 0.8310 | 0.8191 | 0.7933 | 0.9282 | 0.8838 | -| 0.3846 | 1530 | 1.5539 | 0.9279 | 0.8310 | 0.8171 | 0.7937 | 0.9277 | 0.8854 | -| 0.3871 | 1540 | 1.4538 | 0.9266 | 0.8335 | 0.8166 | 0.7934 | 0.9297 | 0.8863 | -| 0.3896 | 1550 | 1.4966 | 0.9278 | 0.8301 | 0.8161 | 0.7921 | 0.9299 | 0.8853 | -| 0.3922 | 1560 | 1.4147 | 0.9285 | 0.8292 | 0.8162 | 0.7936 | 0.9299 | 0.8834 | -| 0.3947 | 1570 | 1.4258 | 0.9266 | 0.8316 | 0.8161 | 0.7937 | 0.9294 | 0.8826 | -| 0.3972 | 1580 | 1.5485 | 0.9281 | 0.8308 | 0.8151 | 0.7928 | 0.9298 | 0.8863 | -| 0.3997 | 1590 | 1.4058 | 0.9273 | 0.8298 | 0.8150 | 0.7929 | 0.9275 | 0.8885 | -| 0.4022 | 1600 | 1.4386 | 0.9276 | 0.8337 | 0.8126 | 0.7897 | 0.9277 | 0.8871 | -| 0.4047 | 1610 | 1.3681 | 0.9275 | 0.8336 | 0.8143 | 0.7910 | 0.9296 | 0.8885 | -| 0.4072 | 1620 | 1.5232 | 0.9258 | 0.8344 | 0.8175 | 0.7928 | 0.9303 | 0.8870 | -| 0.4098 | 1630 | 1.4641 | 0.9251 | 0.8330 | 0.8194 | 0.7915 | 0.9298 | 0.8857 | -| 0.4123 | 1640 | 1.4448 | 0.9267 | 0.8340 | 0.8214 | 0.7915 | 0.9289 | 0.8851 | -| 0.4148 | 1650 | 1.4201 | 0.9265 | 0.8325 | 0.8186 | 0.7937 | 0.9302 | 0.8850 | -| 0.4173 | 1660 | 1.4166 | 0.9260 | 0.8339 | 0.8145 | 0.7943 | 0.9305 | 0.8855 | -| 0.4198 | 1670 | 1.3459 | 0.9254 | 0.8360 | 0.8151 | 0.7914 | 0.9301 | 0.8881 | -| 0.4223 | 1680 | 1.4666 | 0.9262 | 0.8362 | 0.8157 | 0.7917 | 0.9305 | 0.8895 | -| 0.4248 | 1690 | 1.4813 | 0.9252 | 0.8339 | 0.8152 | 0.7925 | 0.9289 | 0.8857 | -| 0.4274 | 1700 | 1.4234 | 0.9252 | 0.8348 | 0.8180 | 0.7929 | 0.9282 | 0.8862 | -| 0.4299 | 1710 | 1.4681 | 0.9250 | 0.8349 | 0.8181 | 0.7927 | 0.9301 | 0.8869 | -| 0.4324 | 1720 | 1.417 | 0.9253 | 0.8343 | 0.8160 | 0.7926 | 0.9313 | 0.8859 | -| 0.4349 | 1730 | 1.4924 | 0.9255 | 0.8337 | 0.8170 | 0.7923 | 0.9312 | 0.8859 | -| 0.4374 | 1740 | 1.5214 | 0.9269 | 0.8352 | 0.8129 | 0.7922 | 0.9329 | 0.8857 | -| 0.4399 | 1750 | 1.5668 | 0.9277 | 0.8347 | 0.8113 | 0.7907 | 0.9325 | 0.8857 | -| 0.4424 | 1760 | 1.4183 | 0.9270 | 0.8353 | 0.8148 | 0.7901 | 0.9296 | 0.8863 | -| 0.4449 | 1770 | 1.4224 | 0.9264 | 0.8336 | 0.8129 | 0.7898 | 0.9300 | 0.8873 | -| 0.4475 | 1780 | 1.484 | 0.9267 | 0.8345 | 0.8125 | 0.7904 | 0.9304 | 0.8856 | -| 0.4500 | 1790 | 1.4005 | 0.9264 | 0.8347 | 0.8154 | 0.7893 | 0.9270 | 0.8888 | -| 0.4525 | 1800 | 1.4807 | 0.9260 | 0.8373 | 0.8163 | 0.7895 | 0.9257 | 0.8874 | -| 0.4550 | 1810 | 1.4686 | 0.9269 | 0.8347 | 0.8135 | 0.7886 | 0.9274 | 0.8855 | -| 0.4575 | 1820 | 1.3694 | 0.9270 | 0.8341 | 0.8095 | 0.7888 | 0.9283 | 0.8856 | -| 0.4600 | 1830 | 1.5206 | 0.9274 | 0.8367 | 0.8130 | 0.7890 | 0.9292 | 0.8876 | -| 0.4625 | 1840 | 1.3963 | 0.9271 | 0.8386 | 0.8153 | 0.7904 | 0.9296 | 0.8881 | -| 0.4651 | 1850 | 1.3782 | 0.9273 | 0.8369 | 0.8158 | 0.7889 | 0.9299 | 0.8889 | -| 0.4676 | 1860 | 1.4374 | 0.9267 | 0.8369 | 0.8158 | 0.7899 | 0.9288 | 0.8874 | -| 0.4701 | 1870 | 1.4446 | 0.9273 | 0.8373 | 0.8171 | 0.7899 | 0.9271 | 0.8895 | -| 0.4726 | 1880 | 1.3792 | 0.9264 | 0.8367 | 0.8176 | 0.7901 | 0.9292 | 0.8892 | -| 0.4751 | 1890 | 1.2882 | 0.9258 | 0.8367 | 0.8182 | 0.7897 | 0.9301 | 0.8872 | -| 0.4776 | 1900 | 1.4803 | 0.9255 | 0.8366 | 0.8186 | 0.7893 | 0.9300 | 0.8866 | -| 0.4801 | 1910 | 1.4698 | 0.9262 | 0.8373 | 0.8181 | 0.7899 | 0.9304 | 0.8871 | -| 0.4827 | 1920 | 1.4436 | 0.9256 | 0.8393 | 0.8194 | 0.7898 | 0.9288 | 0.8868 | -| 0.4852 | 1930 | 1.4506 | 0.9244 | 0.8385 | 0.8171 | 0.7905 | 0.9274 | 0.8871 | -| 0.4877 | 1940 | 1.4532 | 0.9255 | 0.8387 | 0.8177 | 0.7903 | 0.9292 | 0.8894 | -| 0.4902 | 1950 | 1.3882 | 0.9249 | 0.8380 | 0.8210 | 0.7907 | 0.9284 | 0.8900 | -| 0.4927 | 1960 | 1.4586 | 0.9254 | 0.8380 | 0.8205 | 0.7908 | 0.9298 | 0.8893 | -| 0.4952 | 1970 | 1.5126 | 0.9272 | 0.8387 | 0.8186 | 0.7914 | 0.9310 | 0.8869 | -| 0.4977 | 1980 | 1.4536 | 0.9269 | 0.8381 | 0.8202 | 0.7911 | 0.9292 | 0.8857 | -| 0.5003 | 1990 | 1.3555 | 0.9264 | 0.8390 | 0.8198 | 0.7916 | 0.9302 | 0.8877 | -| 0.5028 | 2000 | 1.3829 | 0.9253 | 0.8382 | 0.8197 | 0.7917 | 0.9282 | 0.8874 | -| 0.5053 | 2010 | 1.3161 | 0.9253 | 0.8396 | 0.8191 | 0.7917 | 0.9273 | 0.8880 | -| 0.5078 | 2020 | 1.4585 | 0.9252 | 0.8404 | 0.8190 | 0.7904 | 0.9286 | 0.8894 | -| 0.5103 | 2030 | 1.4494 | 0.9249 | 0.8413 | 0.8186 | 0.7926 | 0.9306 | 0.8882 | -| 0.5128 | 2040 | 1.3977 | 0.9257 | 0.8403 | 0.8176 | 0.7937 | 0.9313 | 0.8882 | -| 0.5153 | 2050 | 1.4057 | 0.9256 | 0.8383 | 0.8185 | 0.7928 | 0.9319 | 0.8886 | -| 0.5178 | 2060 | 1.3849 | 0.9259 | 0.8396 | 0.8208 | 0.7931 | 0.9309 | 0.8869 | -| 0.5204 | 2070 | 1.3934 | 0.9252 | 0.8396 | 0.8207 | 0.7935 | 0.9297 | 0.8876 | -| 0.5229 | 2080 | 1.3491 | 0.9253 | 0.8391 | 0.8204 | 0.7934 | 0.9281 | 0.8877 | -| 0.5254 | 2090 | 1.3748 | 0.9257 | 0.8401 | 0.8202 | 0.7933 | 0.9281 | 0.8874 | -| 0.5279 | 2100 | 1.3807 | 0.9257 | 0.8399 | 0.8197 | 0.7927 | 0.9284 | 0.8875 | -| 0.5304 | 2110 | 1.3603 | 0.9249 | 0.8412 | 0.8190 | 0.7913 | 0.9273 | 0.8865 | -| 0.5329 | 2120 | 1.4064 | 0.9253 | 0.8412 | 0.8200 | 0.7922 | 0.9280 | 0.8870 | -| 0.5354 | 2130 | 1.415 | 0.9247 | 0.8395 | 0.8187 | 0.7922 | 0.9283 | 0.8865 | -| 0.5380 | 2140 | 1.4264 | 0.9248 | 0.8397 | 0.8186 | 0.7930 | 0.9282 | 0.8875 | -| 0.5405 | 2150 | 1.4085 | 0.9249 | 0.8393 | 0.8195 | 0.7933 | 0.9287 | 0.8866 | -| 0.5430 | 2160 | 1.3009 | 0.9258 | 0.8399 | 0.8196 | 0.7926 | 0.9298 | 0.8881 | -| 0.5455 | 2170 | 1.412 | 0.9262 | 0.8402 | 0.8207 | 0.7921 | 0.9287 | 0.8883 | -| 0.5480 | 2180 | 1.4079 | 0.9258 | 0.8390 | 0.8197 | 0.7925 | 0.9283 | 0.8873 | -| 0.5505 | 2190 | 1.3832 | 0.9260 | 0.8376 | 0.8185 | 0.7931 | 0.9291 | 0.8888 | -| 0.5530 | 2200 | 1.4864 | 0.9261 | 0.8388 | 0.8191 | 0.7932 | 0.9293 | 0.8898 | -| 0.5556 | 2210 | 1.333 | 0.9265 | 0.8394 | 0.8192 | 0.7928 | 0.9291 | 0.8895 | -| 0.5581 | 2220 | 1.4319 | 0.9269 | 0.8386 | 0.8200 | 0.7926 | 0.9292 | 0.8908 | -| 0.5606 | 2230 | 1.2894 | 0.9258 | 0.8382 | 0.8205 | 0.7926 | 0.9279 | 0.8901 | -| 0.5631 | 2240 | 1.4217 | 0.9268 | 0.8377 | 0.8206 | 0.7928 | 0.9285 | 0.8895 | -| 0.5656 | 2250 | 1.3684 | 0.9268 | 0.8378 | 0.8202 | 0.7921 | 0.9279 | 0.8910 | -| 0.5681 | 2260 | 1.3913 | 0.9258 | 0.8372 | 0.8207 | 0.7923 | 0.9280 | 0.8905 | -| 0.5706 | 2270 | 1.4304 | 0.9262 | 0.8368 | 0.8206 | 0.7917 | 0.9277 | 0.8906 | -| 0.5732 | 2280 | 1.3238 | 0.9264 | 0.8379 | 0.8202 | 0.7921 | 0.9279 | 0.8895 | -| 0.5757 | 2290 | 1.3894 | 0.9269 | 0.8388 | 0.8206 | 0.7917 | 0.9277 | 0.8894 | -| 0.5782 | 2300 | 1.4251 | 0.9276 | 0.8368 | 0.8209 | 0.7924 | 0.9278 | 0.8904 | -| 0.5807 | 2310 | 1.4804 | 0.9271 | 0.8356 | 0.8233 | 0.7925 | 0.9294 | 0.8895 | -| 0.5832 | 2320 | 1.3666 | 0.9275 | 0.8361 | 0.8230 | 0.7921 | 0.9286 | 0.8900 | -| 0.5857 | 2330 | 1.3844 | 0.9276 | 0.8350 | 0.8227 | 0.7922 | 0.9289 | 0.8899 | -| 0.5882 | 2340 | 1.4463 | 0.9272 | 0.8351 | 0.8235 | 0.7919 | 0.9284 | 0.8907 | -| 0.5907 | 2350 | 1.3848 | 0.9265 | 0.8355 | 0.8214 | 0.7916 | 0.9284 | 0.8898 | -| 0.5933 | 2360 | 1.3609 | 0.9257 | 0.8359 | 0.8206 | 0.7920 | 0.9281 | 0.8885 | -| 0.5958 | 2370 | 1.3521 | 0.9259 | 0.8357 | 0.8210 | 0.7935 | 0.9287 | 0.8891 | -| 0.5983 | 2380 | 1.3638 | 0.9259 | 0.8353 | 0.8215 | 0.7935 | 0.9295 | 0.8893 | -| 0.6008 | 2390 | 1.3845 | 0.9255 | 0.8367 | 0.8210 | 0.7937 | 0.9291 | 0.8894 | -| 0.6033 | 2400 | 1.3655 | 0.9261 | 0.8370 | 0.8211 | 0.7932 | 0.9289 | 0.8896 | -| 0.6058 | 2410 | 1.3522 | 0.9257 | 0.8363 | 0.8207 | 0.7929 | 0.9287 | 0.8913 | -| 0.6083 | 2420 | 1.3165 | 0.9265 | 0.8374 | 0.8216 | 0.7931 | 0.9279 | 0.8904 | -| 0.6109 | 2430 | 1.3454 | 0.9269 | 0.8371 | 0.8210 | 0.7930 | 0.9278 | 0.8890 | -| 0.6134 | 2440 | 1.3787 | 0.9264 | 0.8373 | 0.8206 | 0.7928 | 0.9280 | 0.8891 | -| 0.6159 | 2450 | 1.3675 | 0.9264 | 0.8365 | 0.8212 | 0.7926 | 0.9283 | 0.8891 | -| 0.6184 | 2460 | 1.3386 | 0.9268 | 0.8371 | 0.8221 | 0.7932 | 0.9290 | 0.8890 | -| 0.6209 | 2470 | 1.3163 | 0.9266 | 0.8367 | 0.8220 | 0.7935 | 0.9288 | 0.8898 | -| 0.6234 | 2480 | 1.4149 | 0.9266 | 0.8361 | 0.8221 | 0.7935 | 0.9292 | 0.8894 | -| 0.6259 | 2490 | 1.3738 | 0.9266 | 0.8361 | 0.8217 | 0.7932 | 0.9300 | 0.8896 | -| 0.6285 | 2500 | 1.4486 | 0.9267 | 0.8364 | 0.8213 | 0.7928 | 0.9299 | 0.8900 | -| 0.6310 | 2510 | 1.4306 | 0.9264 | 0.8375 | 0.8217 | 0.7926 | 0.9297 | 0.8900 | -| 0.6335 | 2520 | 1.2553 | 0.9263 | 0.8372 | 0.8217 | 0.7933 | 0.9290 | 0.8902 | -| 0.6360 | 2530 | 1.3572 | 0.9267 | 0.8374 | 0.8205 | 0.7933 | 0.9284 | 0.8901 | -| 0.6385 | 2540 | 1.3137 | 0.9270 | 0.8366 | 0.8221 | 0.7927 | 0.9284 | 0.8907 | -| 0.6410 | 2550 | 1.3875 | 0.9273 | 0.8379 | 0.8218 | 0.7931 | 0.9278 | 0.8900 | -| 0.6435 | 2560 | 1.374 | 0.9272 | 0.8371 | 0.8220 | 0.7929 | 0.9280 | 0.8894 | -| 0.6461 | 2570 | 1.3825 | 0.9268 | 0.8381 | 0.8222 | 0.7929 | 0.9277 | 0.8905 | -| 0.6486 | 2580 | 1.3881 | 0.9260 | 0.8380 | 0.8213 | 0.7928 | 0.9281 | 0.8905 | -| 0.6511 | 2590 | 1.4444 | 0.9267 | 0.8374 | 0.8210 | 0.7924 | 0.9274 | 0.8908 | -| 0.6536 | 2600 | 1.3391 | 0.9270 | 0.8372 | 0.8202 | 0.7928 | 0.9278 | 0.8912 | -| 0.6561 | 2610 | 1.3104 | 0.9259 | 0.8376 | 0.8203 | 0.7933 | 0.9277 | 0.8904 | -| 0.6586 | 2620 | 1.2648 | 0.9261 | 0.8375 | 0.8205 | 0.7932 | 0.9276 | 0.8901 | -| 0.6611 | 2630 | 1.3389 | 0.9264 | 0.8373 | 0.8200 | 0.7932 | 0.9280 | 0.8898 | -| 0.6637 | 2640 | 1.3783 | 0.9261 | 0.8368 | 0.8208 | 0.7929 | 0.9284 | 0.8901 | -| 0.6662 | 2650 | 1.2714 | 0.9261 | 0.8368 | 0.8203 | 0.7934 | 0.9288 | 0.8897 | -| 0.6687 | 2660 | 1.3391 | 0.9261 | 0.8370 | 0.8206 | 0.7930 | 0.9287 | 0.8900 | -| 0.6712 | 2670 | 1.3631 | 0.9261 | 0.8370 | 0.8203 | 0.7932 | 0.9290 | 0.8899 | -| 0.6737 | 2680 | 1.3663 | 0.9257 | 0.8374 | 0.8201 | 0.7934 | 0.9280 | 0.8895 | -| 0.6762 | 2690 | 1.3574 | 0.9253 | 0.8370 | 0.8204 | 0.7933 | 0.9284 | 0.8891 | -| 0.6787 | 2700 | 1.3513 | 0.9257 | 0.8374 | 0.8199 | 0.7935 | 0.9279 | 0.8892 | -| 0.6812 | 2710 | 1.3367 | 0.9263 | 0.8374 | 0.8206 | 0.7933 | 0.9280 | 0.8894 | -| 0.6838 | 2720 | 1.3199 | 0.9260 | 0.8379 | 0.8202 | 0.7933 | 0.9280 | 0.8896 | -| 0.6863 | 2730 | 1.4181 | 0.9261 | 0.8383 | 0.8201 | 0.7932 | 0.9276 | 0.8891 | -| 0.6888 | 2740 | 1.3997 | 0.9260 | 0.8382 | 0.8200 | 0.7932 | 0.9276 | 0.8891 | -| 0.6913 | 2750 | 1.3355 | 0.9258 | 0.8386 | 0.8197 | 0.7927 | 0.9279 | 0.8897 | -| 0.6938 | 2760 | 1.381 | 0.9256 | 0.8384 | 0.8208 | 0.7928 | 0.9280 | 0.8894 | -| 0.6963 | 2770 | 1.4091 | 0.9255 | 0.8380 | 0.8206 | 0.7923 | 0.9278 | 0.8898 | -| 0.6988 | 2780 | 1.303 | 0.9260 | 0.8390 | 0.8197 | 0.7925 | 0.9276 | 0.8902 | -| 0.7014 | 2790 | 1.3413 | 0.9260 | 0.8383 | 0.8188 | 0.7931 | 0.9279 | 0.8903 | -| 0.7039 | 2800 | 1.4019 | 0.9257 | 0.8388 | 0.8190 | 0.7927 | 0.9284 | 0.8903 | -| 0.7064 | 2810 | 1.381 | 0.9260 | 0.8390 | 0.8195 | 0.7925 | 0.9280 | 0.8900 | -| 0.7089 | 2820 | 1.3398 | 0.9259 | 0.8379 | 0.8194 | 0.7928 | 0.9279 | 0.8900 | -| 0.7114 | 2830 | 1.3677 | 0.9266 | 0.8381 | 0.8186 | 0.7926 | 0.9272 | 0.8899 | -| 0.7139 | 2840 | 1.3296 | 0.9262 | 0.8391 | 0.8189 | 0.7925 | 0.9281 | 0.8902 | -| 0.7164 | 2850 | 1.3908 | 0.9262 | 0.8385 | 0.8183 | 0.7925 | 0.9272 | 0.8903 | -| 0.7190 | 2860 | 1.326 | 0.9262 | 0.8378 | 0.8183 | 0.7926 | 0.9279 | 0.8906 | -| 0.7215 | 2870 | 1.3 | 0.9266 | 0.8380 | 0.8181 | 0.7929 | 0.9287 | 0.8899 | -| 0.7240 | 2880 | 1.2816 | 0.9267 | 0.8380 | 0.8180 | 0.7929 | 0.9285 | 0.8904 | -| 0.7265 | 2890 | 1.4054 | 0.9267 | 0.8388 | 0.8175 | 0.7926 | 0.9283 | 0.8899 | -| 0.7290 | 2900 | 1.3262 | 0.9268 | 0.8383 | 0.8187 | 0.7927 | 0.9282 | 0.8896 | -| 0.7315 | 2910 | 1.3506 | 0.9263 | 0.8386 | 0.8179 | 0.7924 | 0.9287 | 0.8903 | -| 0.7340 | 2920 | 1.343 | 0.9263 | 0.8385 | 0.8190 | 0.7924 | 0.9273 | 0.8899 | -| 0.7366 | 2930 | 1.3416 | 0.9263 | 0.8383 | 0.8190 | 0.7924 | 0.9276 | 0.8896 | -| 0.7391 | 2940 | 1.34 | 0.9262 | 0.8392 | 0.8198 | 0.7924 | 0.9273 | 0.8902 | -| 0.7416 | 2950 | 1.2338 | 0.9266 | 0.8386 | 0.8201 | 0.7924 | 0.9279 | 0.8903 | -| 0.7441 | 2960 | 1.3332 | 0.9263 | 0.8391 | 0.8202 | 0.7921 | 0.9278 | 0.8897 | -| 0.7466 | 2970 | 1.4082 | 0.9263 | 0.8389 | 0.8207 | 0.7927 | 0.9276 | 0.8904 | -| 0.7491 | 2980 | 1.2461 | 0.9263 | 0.8391 | 0.8200 | 0.7922 | 0.9274 | 0.8906 | -| 0.7516 | 2990 | 1.4107 | 0.9267 | 0.8389 | 0.8196 | 0.7924 | 0.9277 | 0.8901 | -| 0.7541 | 3000 | 1.2913 | 0.9267 | 0.8391 | 0.8198 | 0.7924 | 0.9279 | 0.8904 | -| 0.7567 | 3010 | 1.3746 | 0.9267 | 0.8392 | 0.8196 | 0.7924 | 0.9275 | 0.8908 | -| 0.7592 | 3020 | 1.3352 | 0.9267 | 0.8391 | 0.8195 | 0.7921 | 0.9280 | 0.8910 | -| 0.7617 | 3030 | 1.3382 | 0.9259 | 0.8393 | 0.8196 | 0.7918 | 0.9275 | 0.8907 | -| 0.7642 | 3040 | 1.3278 | 0.9267 | 0.8389 | 0.8192 | 0.7919 | 0.9277 | 0.8904 | -| 0.7667 | 3050 | 1.3813 | 0.9267 | 0.8393 | 0.8192 | 0.7917 | 0.9275 | 0.8897 | -| 0.7692 | 3060 | 1.3125 | 0.9267 | 0.8390 | 0.8197 | 0.7918 | 0.9275 | 0.8891 | -| 0.7717 | 3070 | 1.4147 | 0.9263 | 0.8392 | 0.8193 | 0.7918 | 0.9278 | 0.8894 | -| 0.7743 | 3080 | 1.3102 | 0.9263 | 0.8392 | 0.8194 | 0.7918 | 0.9277 | 0.8897 | -| 0.7768 | 3090 | 1.3892 | 0.9263 | 0.8392 | 0.8191 | 0.7924 | 0.9278 | 0.8896 | -| 0.7793 | 3100 | 1.3878 | 0.9267 | 0.8390 | 0.8195 | 0.7924 | 0.9277 | 0.8905 | -| 0.7818 | 3110 | 1.2654 | 0.9263 | 0.8392 | 0.8185 | 0.7923 | 0.9278 | 0.8910 | -| 0.7843 | 3120 | 1.369 | 0.9263 | 0.8389 | 0.8186 | 0.7921 | 0.9280 | 0.8906 | -| 0.7868 | 3130 | 1.4363 | 0.9267 | 0.8394 | 0.8192 | 0.7921 | 0.9280 | 0.8906 | -| 0.7893 | 3140 | 1.3704 | 0.9267 | 0.8393 | 0.8189 | 0.7917 | 0.9280 | 0.8904 | -| 0.7919 | 3150 | 1.2522 | 0.9263 | 0.8389 | 0.8188 | 0.7924 | 0.9278 | 0.8905 | -| 0.7944 | 3160 | 1.3982 | 0.9263 | 0.8391 | 0.8187 | 0.7924 | 0.9273 | 0.8898 | -| 0.7969 | 3170 | 1.3688 | 0.9263 | 0.8393 | 0.8191 | 0.7923 | 0.9279 | 0.8902 | -| 0.7994 | 3180 | 1.3194 | 0.9264 | 0.8390 | 0.8186 | 0.7920 | 0.9279 | 0.8900 | -| 0.8019 | 3190 | 1.3701 | 0.9264 | 0.8390 | 0.8188 | 0.7924 | 0.9280 | 0.8900 | -| 0.8044 | 3200 | 1.3137 | 0.9263 | 0.8391 | 0.8187 | 0.7924 | 0.9280 | 0.8897 | -| 0.8069 | 3210 | 1.3641 | 0.9267 | 0.8397 | 0.8188 | 0.7923 | 0.9279 | 0.8896 | -| 0.8095 | 3220 | 1.3539 | 0.9267 | 0.8394 | 0.8187 | 0.7923 | 0.9278 | 0.8901 | -| 0.8120 | 3230 | 1.4347 | 0.9267 | 0.8394 | 0.8185 | 0.7923 | 0.9283 | 0.8898 | -| 0.8145 | 3240 | 1.3153 | 0.9268 | 0.8396 | 0.8186 | 0.7926 | 0.9280 | 0.8896 | -| 0.8170 | 3250 | 1.3673 | 0.9267 | 0.8394 | 0.8187 | 0.7924 | 0.9279 | 0.8903 | -| 0.8195 | 3260 | 1.3081 | 0.9267 | 0.8394 | 0.8184 | 0.7924 | 0.9279 | 0.8894 | -| 0.8220 | 3270 | 1.3946 | 0.9267 | 0.8390 | 0.8191 | 0.7920 | 0.9278 | 0.8895 | -| 0.8245 | 3280 | 1.3674 | 0.9267 | 0.8396 | 0.8191 | 0.7926 | 0.9279 | 0.8899 | -| 0.8270 | 3290 | 1.3684 | 0.9266 | 0.8388 | 0.8191 | 0.7923 | 0.9283 | 0.8902 | -| 0.8296 | 3300 | 1.3679 | 0.9264 | 0.8393 | 0.8192 | 0.7923 | 0.9278 | 0.8893 | -| 0.8321 | 3310 | 1.3613 | 0.9267 | 0.8396 | 0.8193 | 0.7920 | 0.9283 | 0.8896 | -| 0.8346 | 3320 | 1.4019 | 0.9267 | 0.8399 | 0.8192 | 0.7917 | 0.9278 | 0.8898 | -| 0.8371 | 3330 | 1.3584 | 0.9267 | 0.8396 | 0.8191 | 0.7921 | 0.9281 | 0.8899 | -| 0.8396 | 3340 | 1.3638 | 0.9264 | 0.8388 | 0.8188 | 0.7923 | 0.9279 | 0.8897 | -| 0.8421 | 3350 | 1.3765 | 0.9267 | 0.8391 | 0.8191 | 0.7920 | 0.9281 | 0.8895 | -| 0.8446 | 3360 | 1.3878 | 0.9267 | 0.8395 | 0.8191 | 0.7917 | 0.9278 | 0.8899 | -| 0.8472 | 3370 | 1.296 | 0.9263 | 0.8395 | 0.8188 | 0.7917 | 0.9283 | 0.8905 | -| 0.8497 | 3380 | 1.3127 | 0.9264 | 0.8398 | 0.8193 | 0.7923 | 0.9275 | 0.8894 | -| 0.8522 | 3390 | 1.3123 | 0.9267 | 0.8391 | 0.8188 | 0.7917 | 0.9278 | 0.8898 | -| 0.8547 | 3400 | 1.354 | 0.9267 | 0.8398 | 0.8194 | 0.7920 | 0.9279 | 0.8899 | -| 0.8572 | 3410 | 1.3259 | 0.9267 | 0.8395 | 0.8191 | 0.7920 | 0.9280 | 0.8901 | -| 0.8597 | 3420 | 1.3198 | 0.9267 | 0.8392 | 0.8192 | 0.7923 | 0.9276 | 0.8896 | -| 0.8622 | 3430 | 1.3669 | 0.9264 | 0.8397 | 0.8187 | 0.7923 | 0.9279 | 0.8895 | -| 0.8648 | 3440 | 1.3718 | 0.9267 | 0.8394 | 0.8186 | 0.7925 | 0.9278 | 0.8905 | -| 0.8673 | 3450 | 1.2801 | 0.9267 | 0.8396 | 0.8192 | 0.7920 | 0.9275 | 0.8894 | -| 0.8698 | 3460 | 1.3068 | 0.9267 | 0.8391 | 0.8192 | 0.7921 | 0.9277 | 0.8895 | -| 0.8723 | 3470 | 1.3856 | 0.9264 | 0.8399 | 0.8192 | 0.7917 | 0.9284 | 0.8905 | -| 0.8748 | 3480 | 1.3369 | 0.9271 | 0.8398 | 0.8184 | 0.7923 | 0.9278 | 0.8896 | -| 0.8773 | 3490 | 1.2942 | 0.9267 | 0.8394 | 0.8191 | 0.7921 | 0.9279 | 0.8896 | -| 0.8798 | 3500 | 1.3089 | 0.9264 | 0.8395 | 0.8195 | 0.7923 | 0.9281 | 0.8898 | -| 0.8824 | 3510 | 1.4131 | 0.9267 | 0.8390 | 0.8192 | 0.7921 | 0.9275 | 0.8899 | -| 0.8849 | 3520 | 1.3121 | 0.9267 | 0.8388 | 0.8191 | 0.7926 | 0.9275 | 0.8900 | -| 0.8874 | 3530 | 1.2441 | 0.9264 | 0.8394 | 0.8191 | 0.7923 | 0.9279 | 0.8907 | -| 0.8899 | 3540 | 1.3376 | 0.9267 | 0.8393 | 0.8187 | 0.7920 | 0.9273 | 0.8896 | -| 0.8924 | 3550 | 1.3767 | 0.9267 | 0.8391 | 0.8192 | 0.7923 | 0.9279 | 0.8899 | -| 0.8949 | 3560 | 1.2869 | 0.9267 | 0.8394 | 0.8197 | 0.7923 | 0.9273 | 0.8898 | -| 0.8974 | 3570 | 1.3479 | 0.9267 | 0.8391 | 0.8195 | 0.7923 | 0.9274 | 0.8900 | -| 0.8999 | 3580 | 1.3332 | 0.9267 | 0.8396 | 0.8191 | 0.7921 | 0.9275 | 0.8898 | -| 0.9025 | 3590 | 1.3976 | 0.9263 | 0.8394 | 0.8192 | 0.7921 | 0.9278 | 0.8896 | -| 0.9050 | 3600 | 1.3727 | 0.9263 | 0.8393 | 0.8187 | 0.7923 | 0.9284 | 0.8904 | -| 0.9075 | 3610 | 1.3818 | 0.9264 | 0.8391 | 0.8188 | 0.7920 | 0.9283 | 0.8896 | -| 0.9100 | 3620 | 1.3401 | 0.9264 | 0.8394 | 0.8191 | 0.7921 | 0.9275 | 0.8896 | -| 0.9125 | 3630 | 1.3881 | 0.9267 | 0.8399 | 0.8190 | 0.7921 | 0.9277 | 0.8907 | -| 0.9150 | 3640 | 1.3351 | 0.9267 | 0.8390 | 0.8195 | 0.7917 | 0.9276 | 0.8896 | -| 0.9175 | 3650 | 1.445 | 0.9264 | 0.8394 | 0.8193 | 0.7923 | 0.9279 | 0.8899 | -| 0.9201 | 3660 | 1.3547 | 0.9267 | 0.8397 | 0.8192 | 0.7920 | 0.9278 | 0.8898 | -| 0.9226 | 3670 | 1.3955 | 0.9263 | 0.8391 | 0.8192 | 0.7917 | 0.9274 | 0.8900 | -| 0.9251 | 3680 | 1.3412 | 0.9263 | 0.8398 | 0.8196 | 0.7924 | 0.9274 | 0.8897 | -| 0.9276 | 3690 | 1.3764 | 0.9267 | 0.8394 | 0.8186 | 0.7923 | 0.9274 | 0.8899 | -| 0.9301 | 3700 | 1.3426 | 0.9267 | 0.8396 | 0.8190 | 0.7917 | 0.9279 | 0.8899 | -| 0.9326 | 3710 | 1.5188 | 0.9267 | 0.8399 | 0.8196 | 0.7923 | 0.9282 | 0.8899 | -| 0.9351 | 3720 | 1.4482 | 0.9267 | 0.8393 | 0.8192 | 0.7923 | 0.9274 | 0.8898 | -| 0.9377 | 3730 | 1.3178 | 0.9267 | 0.8394 | 0.8191 | 0.7921 | 0.9278 | 0.8899 | -| 0.9402 | 3740 | 1.3917 | 0.9267 | 0.8387 | 0.8188 | 0.7921 | 0.9279 | 0.8896 | -| 0.9427 | 3750 | 1.3566 | 0.9264 | 0.8392 | 0.8191 | 0.7926 | 0.9276 | 0.8897 | -| 0.9452 | 3760 | 1.3887 | 0.9267 | 0.8395 | 0.8188 | 0.7921 | 0.9275 | 0.8897 | -| 0.9477 | 3770 | 1.3116 | 0.9267 | 0.8395 | 0.8190 | 0.7923 | 0.9279 | 0.8896 | -| 0.9502 | 3780 | 1.3748 | 0.9267 | 0.8388 | 0.8192 | 0.7917 | 0.9279 | 0.8896 | -| 0.9527 | 3790 | 1.3945 | 0.9271 | 0.8391 | 0.8192 | 0.7921 | 0.9279 | 0.8897 | -| 0.9553 | 3800 | 1.4213 | 0.9267 | 0.8387 | 0.8184 | 0.7921 | 0.9281 | 0.8895 | -| 0.9578 | 3810 | 1.3054 | 0.9267 | 0.8396 | 0.8193 | 0.7921 | 0.9278 | 0.8895 | -| 0.9603 | 3820 | 1.3045 | 0.9267 | 0.8389 | 0.8188 | 0.7921 | 0.9279 | 0.8902 | -| 0.9628 | 3830 | 1.3676 | 0.9264 | 0.8393 | 0.8196 | 0.7921 | 0.9273 | 0.8894 | -| 0.9653 | 3840 | 1.4546 | 0.9267 | 0.8395 | 0.8192 | 0.7921 | 0.9281 | 0.8899 | -| 0.9678 | 3850 | 1.3316 | 0.9267 | 0.8392 | 0.8192 | 0.7917 | 0.9279 | 0.8899 | -| 0.9703 | 3860 | 1.3969 | 0.9266 | 0.8390 | 0.8193 | 0.7923 | 0.9280 | 0.8899 | -| 0.9729 | 3870 | 1.3196 | 0.9267 | 0.8394 | 0.8195 | 0.7921 | 0.9278 | 0.8899 | -| 0.9754 | 3880 | 1.3602 | 0.9267 | 0.8397 | 0.8192 | 0.7921 | 0.9278 | 0.8898 | -| 0.9779 | 3890 | 1.3836 | 0.9267 | 0.8398 | 0.8189 | 0.7923 | 0.9274 | 0.8899 | -| 0.9804 | 3900 | 1.3987 | 0.9270 | 0.8394 | 0.8191 | 0.7923 | 0.9278 | 0.8897 | -| 0.9829 | 3910 | 1.3014 | 0.9270 | 0.8393 | 0.8191 | 0.7921 | 0.9275 | 0.8899 | -| 0.9854 | 3920 | 1.4029 | 0.9267 | 0.8393 | 0.8192 | 0.7921 | 0.9275 | 0.8897 | -| 0.9879 | 3930 | 1.309 | 0.9267 | 0.8396 | 0.8192 | 0.7921 | 0.9276 | 0.8892 | -| 0.9904 | 3940 | 1.3227 | 0.9263 | 0.8396 | 0.8194 | 0.7921 | 0.9277 | 0.8899 | -| 0.9930 | 3950 | 1.378 | 0.9267 | 0.8389 | 0.8192 | 0.7923 | 0.9277 | 0.8896 | -| 0.9955 | 3960 | 1.3501 | 0.9270 | 0.8389 | 0.8187 | 0.7921 | 0.9278 | 0.8896 | -| 0.9980 | 3970 | 1.2031 | 0.9270 | 0.8389 | 0.8187 | 0.7921 | 0.9278 | 0.8896 | +| Language | nDCG@10 | Language | nDCG@10 | +|---|---:|---|---:| +| Python | 0.7711 | JavaScript | 0.7386 | +| TypeScript | 0.7759 | Go | 0.7716 | +| Ruby | 0.7723 | Java | 0.7365 | +| PHP | 0.7162 | C | 0.6687 | +| C++ | 0.7105 | Rust | 0.6900 | +| Swift | 0.7470 | Scala | 0.7859 | +| Shell | 0.7119 | **Macro average** | **0.7382** | -
+`CodeEditSearchRetrieval` does not provide a standard test split in MTEB, so its +official `train` split is used for evaluation. The evaluated examples were +removed from the fine-tuning data and were not used to train this model. The +score therefore measures in-domain retrieval on held-out benchmark examples; +it is not training-set performance or a strictly zero-shot result. -### Framework Versions -- Python: 3.10.12 -- Sentence Transformers: 5.3.0 -- Transformers: 4.56.2 -- PyTorch: 2.8.0+cu128 -- Accelerate: 1.12.0 -- Datasets: 3.6.0 -- Tokenizers: 0.22.1 +### In-training validation -## Citation +The following results use cosine retrieval on 1,000 validation examples per +CodeSearchNet language. Each query has one relevant document, so Accuracy@k and +Recall@k are equivalent in this setup. The macro average is an unweighted mean +over the six evaluated languages. -### BibTeX +| Language | Accuracy@1 | Accuracy@10 | nDCG@10 | MRR@10 | +|---|---:|---:|---:|---:| +| Go | 0.864 | 0.978 | 0.9270 | 0.9101 | +| Java | 0.722 | 0.935 | 0.8389 | 0.8070 | +| JavaScript | 0.745 | 0.891 | 0.8187 | 0.7954 | +| PHP | 0.753 | 0.819 | 0.7921 | 0.7828 | +| Python | 0.857 | 0.983 | 0.9278 | 0.9092 | +| Ruby | 0.824 | 0.944 | 0.8896 | 0.8716 | +| **Macro average** | **0.7942** | **0.9250** | **0.8657** | **0.8460** | -#### Sentence Transformers -```bibtex -@inproceedings{reimers-2019-sentence-bert, - title = "Sentence-BERT: Sentence Embeddings using Siamese BERT-Networks", - author = "Reimers, Nils and Gurevych, Iryna", - booktitle = "Proceedings of the 2019 Conference on Empirical Methods in Natural Language Processing", - month = "11", - year = "2019", - publisher = "Association for Computational Linguistics", - url = "https://arxiv.org/abs/1908.10084", -} -``` +These numbers come from an in-training validation setup and should not be +treated as directly comparable to results produced with a different corpus, +candidate pool, preprocessing pipeline, or benchmark implementation. -#### CachedMultipleNegativesRankingLoss -```bibtex -@misc{gao2021scaling, - title={Scaling Deep Contrastive Learning Batch Size under Memory Limited Setup}, - author={Luyu Gao and Yunyi Zhang and Jiawei Han and Jamie Callan}, - year={2021}, - eprint={2101.06983}, - archivePrefix={arXiv}, - primaryClass={cs.LG} -} -``` +## License - +The author's code-search training dataset was constructed from repositories licensed under MIT, Apache-2.0, BSD-2-Clause, BSD-3-Clause, Unlicense, CC0-1.0, and ISC. - - \ No newline at end of file +* Evaluation above covers six CodeSearchNet languages, not every training language. +* Inputs longer than 1,024 tokens are truncated. +* The training data may contain public-code biases, duplicated patterns, or insecure implementations inherited from its sources.