Huge News!Announcing our $40M Series B led by Abstract Ventures.Learn More
Socket
Sign inDemoInstall
Socket

autoevals

Package Overview
Dependencies
Maintainers
1
Versions
110
Alerts
File Explorer

Advanced tools

Socket logo

Install Socket

Detect and block malicious and high-risk dependencies

Install

autoevals - npm Package Compare versions

Comparing version 0.0.26 to 0.0.27

jsdist/string.test.d.ts

2

jsdist/bundle.js

@@ -469,3 +469,3 @@ var __defProp = Object.defineProperty;

if (expected === void 0) {
throw new Error("NumericDifference requires an expected value");
throw new Error("NumericDiff requires an expected value");
}

@@ -472,0 +472,0 @@ const score = output === 0 && expected === 0 ? 1 : 1 - Math.abs(expected - output) / (Math.abs(expected) + Math.abs(output));

@@ -469,3 +469,3 @@ var __defProp = Object.defineProperty;

if (expected === void 0) {
throw new Error("NumericDifference requires an expected value");
throw new Error("NumericDiff requires an expected value");
}

@@ -472,0 +472,0 @@ const score = output === 0 && expected === 0 ? 1 : 1 - Math.abs(expected - output) / (Math.abs(expected) + Math.abs(output));

@@ -10,3 +10,3 @@ "use strict";

if (expected === undefined) {
throw new Error("NumericDifference requires an expected value");
throw new Error("NumericDiff requires an expected value");
}

@@ -13,0 +13,0 @@ const score = output === 0 && expected === 0

{
"name": "autoevals",
"version": "0.0.26",
"version": "0.0.27",
"description": "Universal library for evaluating AI models",

@@ -5,0 +5,0 @@ "main": "jsdist/bundle.js",

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

Sorry, the diff of this file is not supported yet

SocketSocket SOC 2 Logo

Product

  • Package Alerts
  • Integrations
  • Docs
  • Pricing
  • FAQ
  • Roadmap
  • Changelog

Packages

npm

Stay in touch

Get open source security insights delivered straight into your inbox.


  • Terms
  • Privacy
  • Security

Made with ⚡️ by Socket Inc