coding-agent-benchmarks 0.4.0 → 0.5.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/README.md +9 -3
- package/dist/evaluator.d.ts +1 -0
- package/dist/evaluator.d.ts.map +1 -1
- package/dist/evaluator.js +1 -1
- package/dist/evaluator.js.map +1 -1
- package/dist/index.d.ts +2 -0
- package/dist/index.d.ts.map +1 -1
- package/dist/index.js +4 -1
- package/dist/index.js.map +1 -1
- package/dist/longest-common-subsequence.d.ts +45 -0
- package/dist/longest-common-subsequence.d.ts.map +1 -0
- package/dist/longest-common-subsequence.js +162 -0
- package/dist/longest-common-subsequence.js.map +1 -0
- package/dist/longestCommonSubsequence.d.ts +39 -0
- package/dist/longestCommonSubsequence.d.ts.map +1 -0
- package/dist/longestCommonSubsequence.js +166 -0
- package/dist/longestCommonSubsequence.js.map +1 -0
- package/dist/runner.js +18 -7
- package/dist/runner.js.map +1 -1
- package/dist/types.d.ts +5 -1
- package/dist/types.d.ts.map +1 -1
- package/dist/user-registration/example.d.ts +2 -0
- package/dist/user-registration/example.d.ts.map +1 -0
- package/dist/user-registration/example.js +41 -0
- package/dist/user-registration/example.js.map +1 -0
- package/dist/user-registration/index.d.ts +9 -0
- package/dist/user-registration/index.d.ts.map +1 -0
- package/dist/user-registration/index.js +22 -0
- package/dist/user-registration/index.js.map +1 -0
- package/dist/user-registration/services/email-service.d.ts +13 -0
- package/dist/user-registration/services/email-service.d.ts.map +1 -0
- package/dist/user-registration/services/email-service.js +34 -0
- package/dist/user-registration/services/email-service.js.map +1 -0
- package/dist/user-registration/services/password-service.d.ts +5 -0
- package/dist/user-registration/services/password-service.d.ts.map +1 -0
- package/dist/user-registration/services/password-service.js +23 -0
- package/dist/user-registration/services/password-service.js.map +1 -0
- package/dist/user-registration/services/registration-service.d.ts +19 -0
- package/dist/user-registration/services/registration-service.d.ts.map +1 -0
- package/dist/user-registration/services/registration-service.js +60 -0
- package/dist/user-registration/services/registration-service.js.map +1 -0
- package/dist/user-registration/services/user-repository.d.ts +12 -0
- package/dist/user-registration/services/user-repository.d.ts.map +1 -0
- package/dist/user-registration/services/user-repository.js +24 -0
- package/dist/user-registration/services/user-repository.js.map +1 -0
- package/dist/user-registration/types.d.ts +26 -0
- package/dist/user-registration/types.d.ts.map +1 -0
- package/dist/user-registration/types.js +18 -0
- package/dist/user-registration/types.js.map +1 -0
- package/dist/user-registration/validators/email-validator.d.ts +3 -0
- package/dist/user-registration/validators/email-validator.d.ts.map +1 -0
- package/dist/user-registration/validators/email-validator.js +22 -0
- package/dist/user-registration/validators/email-validator.js.map +1 -0
- package/dist/user-registration/validators/password-validator.d.ts +3 -0
- package/dist/user-registration/validators/password-validator.d.ts.map +1 -0
- package/dist/user-registration/validators/password-validator.js +36 -0
- package/dist/user-registration/validators/password-validator.js.map +1 -0
- package/dist/user-registration/validators/required-fields-validator.d.ts +3 -0
- package/dist/user-registration/validators/required-fields-validator.d.ts.map +1 -0
- package/dist/user-registration/validators/required-fields-validator.js +17 -0
- package/dist/user-registration/validators/required-fields-validator.js.map +1 -0
- package/dist/utils/dataFetcher.d.ts +21 -0
- package/dist/utils/dataFetcher.d.ts.map +1 -0
- package/dist/utils/dataFetcher.js +71 -0
- package/dist/utils/dataFetcher.js.map +1 -0
- package/dist/utils/imageProcessor.d.ts +16 -0
- package/dist/utils/imageProcessor.d.ts.map +1 -0
- package/dist/utils/imageProcessor.js +121 -0
- package/dist/utils/imageProcessor.js.map +1 -0
- package/dist/utils/lcs.d.ts +37 -0
- package/dist/utils/lcs.d.ts.map +1 -0
- package/dist/utils/lcs.js +139 -0
- package/dist/utils/lcs.js.map +1 -0
- package/dist/utils/notifications.d.ts +2 -0
- package/dist/utils/notifications.d.ts.map +1 -0
- package/dist/utils/notifications.js +8 -0
- package/dist/utils/notifications.js.map +1 -0
- package/dist/utils/timeUtils.d.ts +16 -1
- package/dist/utils/timeUtils.d.ts.map +1 -1
- package/dist/utils/timeUtils.js +54 -17
- package/dist/utils/timeUtils.js.map +1 -1
- package/dist/utils/updateChecker.d.ts +9 -0
- package/dist/utils/updateChecker.d.ts.map +1 -0
- package/dist/utils/updateChecker.js +100 -0
- package/dist/utils/updateChecker.js.map +1 -0
- package/dist/utils/updateNotifier.d.ts +3 -0
- package/dist/utils/updateNotifier.d.ts.map +1 -0
- package/dist/utils/updateNotifier.js +39 -0
- package/dist/utils/updateNotifier.js.map +1 -0
- package/dist/utils/userReport.d.ts +10 -0
- package/dist/utils/userReport.d.ts.map +1 -0
- package/dist/utils/userReport.js +19 -0
- package/dist/utils/userReport.js.map +1 -0
- package/package.json +2 -1
|
@@ -0,0 +1,100 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
|
|
3
|
+
if (k2 === undefined) k2 = k;
|
|
4
|
+
var desc = Object.getOwnPropertyDescriptor(m, k);
|
|
5
|
+
if (!desc || ("get" in desc ? !m.__esModule : desc.writable || desc.configurable)) {
|
|
6
|
+
desc = { enumerable: true, get: function() { return m[k]; } };
|
|
7
|
+
}
|
|
8
|
+
Object.defineProperty(o, k2, desc);
|
|
9
|
+
}) : (function(o, m, k, k2) {
|
|
10
|
+
if (k2 === undefined) k2 = k;
|
|
11
|
+
o[k2] = m[k];
|
|
12
|
+
}));
|
|
13
|
+
var __setModuleDefault = (this && this.__setModuleDefault) || (Object.create ? (function(o, v) {
|
|
14
|
+
Object.defineProperty(o, "default", { enumerable: true, value: v });
|
|
15
|
+
}) : function(o, v) {
|
|
16
|
+
o["default"] = v;
|
|
17
|
+
});
|
|
18
|
+
var __importStar = (this && this.__importStar) || (function () {
|
|
19
|
+
var ownKeys = function(o) {
|
|
20
|
+
ownKeys = Object.getOwnPropertyNames || function (o) {
|
|
21
|
+
var ar = [];
|
|
22
|
+
for (var k in o) if (Object.prototype.hasOwnProperty.call(o, k)) ar[ar.length] = k;
|
|
23
|
+
return ar;
|
|
24
|
+
};
|
|
25
|
+
return ownKeys(o);
|
|
26
|
+
};
|
|
27
|
+
return function (mod) {
|
|
28
|
+
if (mod && mod.__esModule) return mod;
|
|
29
|
+
var result = {};
|
|
30
|
+
if (mod != null) for (var k = ownKeys(mod), i = 0; i < k.length; i++) if (k[i] !== "default") __createBinding(result, mod, k[i]);
|
|
31
|
+
__setModuleDefault(result, mod);
|
|
32
|
+
return result;
|
|
33
|
+
};
|
|
34
|
+
})();
|
|
35
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
36
|
+
exports.checkForUpdate = exports.isNewerVersion = exports.getCurrentVersion = void 0;
|
|
37
|
+
const https = __importStar(require("https"));
|
|
38
|
+
const fs = __importStar(require("fs"));
|
|
39
|
+
const path = __importStar(require("path"));
|
|
40
|
+
const getCurrentVersion = () => {
|
|
41
|
+
const packageJson = JSON.parse(fs.readFileSync(path.resolve(__dirname, "../../package.json"), "utf-8"));
|
|
42
|
+
return packageJson.version;
|
|
43
|
+
};
|
|
44
|
+
exports.getCurrentVersion = getCurrentVersion;
|
|
45
|
+
const isNewerVersion = (latest, current) => {
|
|
46
|
+
const latestParts = latest.split(".").map(Number);
|
|
47
|
+
const currentParts = current.split(".").map(Number);
|
|
48
|
+
for (let i = 0; i < 3; i++) {
|
|
49
|
+
const l = latestParts[i] || 0;
|
|
50
|
+
const c = currentParts[i] || 0;
|
|
51
|
+
if (l > c)
|
|
52
|
+
return true;
|
|
53
|
+
if (l < c)
|
|
54
|
+
return false;
|
|
55
|
+
}
|
|
56
|
+
return false;
|
|
57
|
+
};
|
|
58
|
+
exports.isNewerVersion = isNewerVersion;
|
|
59
|
+
const checkForUpdate = () => {
|
|
60
|
+
return new Promise((resolve) => {
|
|
61
|
+
try {
|
|
62
|
+
const current = (0, exports.getCurrentVersion)();
|
|
63
|
+
const req = https.get("https://registry.npmjs.org/coding-agent-benchmarks/latest", (res) => {
|
|
64
|
+
let data = "";
|
|
65
|
+
res.on("data", (chunk) => {
|
|
66
|
+
data += chunk.toString();
|
|
67
|
+
});
|
|
68
|
+
res.on("end", () => {
|
|
69
|
+
try {
|
|
70
|
+
const parsed = JSON.parse(data);
|
|
71
|
+
const latest = parsed.version;
|
|
72
|
+
resolve({
|
|
73
|
+
current,
|
|
74
|
+
latest,
|
|
75
|
+
updateAvailable: (0, exports.isNewerVersion)(latest, current),
|
|
76
|
+
});
|
|
77
|
+
}
|
|
78
|
+
catch {
|
|
79
|
+
resolve(null);
|
|
80
|
+
}
|
|
81
|
+
});
|
|
82
|
+
res.on("error", () => {
|
|
83
|
+
resolve(null);
|
|
84
|
+
});
|
|
85
|
+
});
|
|
86
|
+
req.on("error", () => {
|
|
87
|
+
resolve(null);
|
|
88
|
+
});
|
|
89
|
+
req.setTimeout(3000, () => {
|
|
90
|
+
req.destroy();
|
|
91
|
+
resolve(null);
|
|
92
|
+
});
|
|
93
|
+
}
|
|
94
|
+
catch {
|
|
95
|
+
resolve(null);
|
|
96
|
+
}
|
|
97
|
+
});
|
|
98
|
+
};
|
|
99
|
+
exports.checkForUpdate = checkForUpdate;
|
|
100
|
+
//# sourceMappingURL=updateChecker.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateChecker.js","sourceRoot":"","sources":["../../src/utils/updateChecker.ts"],"names":[],"mappings":";;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;AAAA,6CAA+B;AAC/B,uCAAyB;AACzB,2CAA6B;AAQtB,MAAM,iBAAiB,GAAG,GAAW,EAAE;IAC5C,MAAM,WAAW,GAAG,IAAI,CAAC,KAAK,CAC5B,EAAE,CAAC,YAAY,CAAC,IAAI,CAAC,OAAO,CAAC,SAAS,EAAE,oBAAoB,CAAC,EAAE,OAAO,CAAC,CACxE,CAAC;IACF,OAAO,WAAW,CAAC,OAAiB,CAAC;AACvC,CAAC,CAAC;AALW,QAAA,iBAAiB,qBAK5B;AAEK,MAAM,cAAc,GAAG,CAAC,MAAc,EAAE,OAAe,EAAW,EAAE;IACzE,MAAM,WAA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AC;4BACN,OAAO;4BACP,MAAM;4BACN,eAAe,EAAE,IAAA,sBAAc,EAAC,MAAM,EAAE,OAAO,CAAC;yBACjD,CAAC,CAAC;oBACL,CAAC;oBAAC,MAAM,CAAC;wBACP,OAAO,CAAC,IAAI,CAAC,CAAC;oBAChB,CAAC;gBACH,CAAC,CAAC,CAAC;gBAEH,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;oBACnB,OAAO,CAAC,IAAI,CAAC,CAAC;gBAChB,CAAC,CAAC,CAAC;YACL,CAAC,CACF,CAAC;YAEF,GAAG,CAAC,EAAE,CAAC,OAAO,EAAE,GAAG,EAAE;gBACnB,OAAO,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;YAEH,GAAG,CAAC,UAAU,CAAC,IAAI,EAAE,GAAG,EAAE;gBACxB,GAAG,CAAC,OAAO,EAAE,CAAC;gBACd,OAAO,CAAC,IAAI,CAAC,CAAC;YAChB,CAAC,CAAC,CAAC;QACL,CAAC;QAAC,MAAM,CAAC;YACP,OAAO,CAAC,IAAI,CAAC,CAAC;QAChB,CAAC;IACH,CAAC,CAAC,CAAC;AACL,CAAC,CAAC;AA9CW,QAAA,cAAc,kBA8CzB"}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateNotifier.d.ts","sourceRoot":"","sources":["../../src/utils/updateNotifier.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,UAAU,EAAE,MAAM,iBAAiB,CAAC;AAU7C,eAAO,MAAM,YAAY,GAAI,MAAM,UAAU,KAAG,IA4B/C,CAAC"}
|
|
@@ -0,0 +1,39 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
var __importDefault = (this && this.__importDefault) || function (mod) {
|
|
3
|
+
return (mod && mod.__esModule) ? mod : { "default": mod };
|
|
4
|
+
};
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.notifyUpdate = void 0;
|
|
7
|
+
const chalk_1 = __importDefault(require("chalk"));
|
|
8
|
+
const BOX_WIDTH = 49;
|
|
9
|
+
const pad = (text, width) => {
|
|
10
|
+
const visibleLength = text.replace(/\x1b\[[0-9;]*m/g, "").length;
|
|
11
|
+
const padding = Math.max(0, width - visibleLength);
|
|
12
|
+
return text + " ".repeat(padding);
|
|
13
|
+
};
|
|
14
|
+
const notifyUpdate = (info) => {
|
|
15
|
+
if (!info.updateAvailable) {
|
|
16
|
+
return;
|
|
17
|
+
}
|
|
18
|
+
const innerWidth = BOX_WIDTH - 2;
|
|
19
|
+
const contentWidth = innerWidth - 6; // 3 spaces padding on each side
|
|
20
|
+
const versionLine = `Update available: ${chalk_1.default.red(info.current)} → ${chalk_1.default.green(info.latest)}`;
|
|
21
|
+
const installLine = `Run ${chalk_1.default.cyan("npm i -g coding-agent-benchmarks")}`;
|
|
22
|
+
const top = chalk_1.default.yellow(`╭${"─".repeat(innerWidth)}╮`);
|
|
23
|
+
const bottom = chalk_1.default.yellow(`╰${"─".repeat(innerWidth)}╯`);
|
|
24
|
+
const emptyLine = chalk_1.default.yellow("│") + " ".repeat(innerWidth) + chalk_1.default.yellow("│");
|
|
25
|
+
const versionRow = chalk_1.default.yellow("│") + " " + pad(versionLine, contentWidth) + " " + chalk_1.default.yellow("│");
|
|
26
|
+
const installRow = chalk_1.default.yellow("│") + " " + pad(installLine, contentWidth) + " " + chalk_1.default.yellow("│");
|
|
27
|
+
const box = [
|
|
28
|
+
"",
|
|
29
|
+
top,
|
|
30
|
+
emptyLine,
|
|
31
|
+
versionRow,
|
|
32
|
+
installRow,
|
|
33
|
+
emptyLine,
|
|
34
|
+
bottom,
|
|
35
|
+
].join("\n");
|
|
36
|
+
process.stderr.write(box + "\n");
|
|
37
|
+
};
|
|
38
|
+
exports.notifyUpdate = notifyUpdate;
|
|
39
|
+
//# sourceMappingURL=updateNotifier.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"updateNotifier.js","sourceRoot":"","sources":["../../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G,CAAC,CAAC;IACjF,MAAM,UAAU,GAAG,eAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAC1G,MAAM,UAAU,GAAG,eAAK,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,KAAK,GAAG,GAAG,CAAC,WAAW,EAAE,YAAY,CAAC,GAAG,KAAK,GAAG,eAAK,CAAC,MAAM,CAAC,GAAG,CAAC,CAAC;IAE1G,MAAM,GAAG,GAAG;QACV,EAAE;QACF,GAAG;QACH,SAAS;QACT,UAAU;QACV,UAAU;QACV,SAAS;QACT,MAAM;KACP,CAAC,IAAI,CAAC,IAAI,CAAC,CAAC;IAEb,OAAO,CAAC,MAAM,CAAC,KAAK,CAAC,GAAG,GAAG,IAAI,CAAC,CAAC;AACnC,CAAC,CAAC;AA5BW,QAAA,YAAY,gBA4BvB"}
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* User report printing utilities
|
|
3
|
+
*/
|
|
4
|
+
export interface UserWithStatus {
|
|
5
|
+
name: string;
|
|
6
|
+
email: string;
|
|
7
|
+
accountStatus: string;
|
|
8
|
+
}
|
|
9
|
+
export declare const printUserReport: (users: readonly UserWithStatus[]) => void;
|
|
10
|
+
//# sourceMappingURL=userReport.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userReport.d.ts","sourceRoot":"","sources":["../../src/utils/userReport.ts"],"names":[],"mappings":"AAAA;;GAEG;AAEH,MAAM,WAAW,cAAc;IAC7B,IAAI,EAAE,MAAM,CAAC;IACb,KAAK,EAAE,MAAM,CAAC;IACd,aAAa,EAAE,MAAM,CAAC;CACvB;AAED,eAAO,MAAM,eAAe,GAAI,OAAO,SAAS,cAAc,EAAE,KAAG,IAYlE,CAAC"}
|
|
@@ -0,0 +1,19 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
/**
|
|
3
|
+
* User report printing utilities
|
|
4
|
+
*/
|
|
5
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
6
|
+
exports.printUserReport = void 0;
|
|
7
|
+
const printUserReport = (users) => {
|
|
8
|
+
console.log('\n=== User Report ===\n');
|
|
9
|
+
users.forEach((user, index) => {
|
|
10
|
+
console.log(`User #${index + 1}:`);
|
|
11
|
+
console.log(` Name: ${user.name}`);
|
|
12
|
+
console.log(` Email: ${user.email}`);
|
|
13
|
+
console.log(` Account Status: ${user.accountStatus}`);
|
|
14
|
+
console.log('');
|
|
15
|
+
});
|
|
16
|
+
console.log(`Total Users: ${users.length}\n`);
|
|
17
|
+
};
|
|
18
|
+
exports.printUserReport = printUserReport;
|
|
19
|
+
//# sourceMappingURL=userReport.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"userReport.js","sourceRoot":"","sources":["../../src/utils/userReport.ts"],"names":[],"mappings":";AAAA;;GAEG;;;AAQI,MAAM,eAAe,GAAG,CAAC,KAAgC,EAAQ,EAAE;IACxE,OAAO,CAAC,GAAG,CAAC,yBAAyB,CAAC,CAAC;IAEvC,KAAK,CAAC,OAAO,CAAC,CAAC,IAAI,EAAE,KAAK,EAAE,EAAE;QAC5B,OAAO,CAAC,GAAG,CAAC,SAAS,KAAK,GAAG,CAAC,GAAG,CAAC,CAAC;QACnC,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,CAAC,IAAI,EAAE,CAAC,CAAC;QAC9C,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,CAAC,KAAK,EAAE,CAAC,CAAC;QAC/C,OAAO,CAAC,GAAG,CAAC,qBAAqB,IAAI,CAAC,aAAa,EAAE,CAAC,CAAC;QACvD,OAAO,CAAC,GAAG,CAAC,EAAE,CAAC,CAAC;IAClB,CAAC,CAAC,CAAC;IAEH,OAAO,CAAC,GAAG,CAAC,gBAAgB,KAAK,CAAC,MAAM,IAAI,CAAC,CAAC;AAChD,CAAC,CAAC;AAZW,QAAA,eAAe,mBAY1B"}
|
package/package.json
CHANGED
|
@@ -1,6 +1,6 @@
|
|
|
1
1
|
{
|
|
2
2
|
"name": "coding-agent-benchmarks",
|
|
3
|
-
"version": "0.
|
|
3
|
+
"version": "0.5.1",
|
|
4
4
|
"description": "Testing coding agents (GitHub Copilot CLI, Claude Code, etc.) with your repo's context to evaluate their code generation quality.",
|
|
5
5
|
"main": "dist/index.js",
|
|
6
6
|
"types": "dist/index.d.ts",
|
|
@@ -41,6 +41,7 @@
|
|
|
41
41
|
],
|
|
42
42
|
"author": "chiItepin",
|
|
43
43
|
"license": "MIT",
|
|
44
|
+
"homepage": "https://chiItepin.github.io/coding-agent-benchmarks",
|
|
44
45
|
"repository": {
|
|
45
46
|
"type": "git",
|
|
46
47
|
"url": "https://github.com/chiItepin/coding-agent-benchmarks.git"
|