@kevinrabun/judges 3.31.0 → 3.33.0

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.
Files changed (170) hide show
  1. package/CHANGELOG.md +26 -0
  2. package/README.md +51 -33
  3. package/dist/api.d.ts +1 -1
  4. package/dist/api.d.ts.map +1 -1
  5. package/dist/api.js +1 -1
  6. package/dist/api.js.map +1 -1
  7. package/dist/cli.d.ts +1 -0
  8. package/dist/cli.d.ts.map +1 -1
  9. package/dist/cli.js +79 -6
  10. package/dist/cli.js.map +1 -1
  11. package/dist/commands/snapshot.d.ts +5 -0
  12. package/dist/commands/snapshot.d.ts.map +1 -1
  13. package/dist/commands/snapshot.js +121 -0
  14. package/dist/commands/snapshot.js.map +1 -1
  15. package/dist/evaluators/index.d.ts.map +1 -1
  16. package/dist/evaluators/index.js +26 -3
  17. package/dist/evaluators/index.js.map +1 -1
  18. package/dist/evaluators/over-engineering.d.ts +3 -0
  19. package/dist/evaluators/over-engineering.d.ts.map +1 -0
  20. package/dist/evaluators/over-engineering.js +161 -0
  21. package/dist/evaluators/over-engineering.js.map +1 -0
  22. package/dist/formatters/pdf.d.ts +13 -0
  23. package/dist/formatters/pdf.d.ts.map +1 -0
  24. package/dist/formatters/pdf.js +138 -0
  25. package/dist/formatters/pdf.js.map +1 -0
  26. package/dist/judges/accessibility.d.ts.map +1 -1
  27. package/dist/judges/accessibility.js +2 -0
  28. package/dist/judges/accessibility.js.map +1 -1
  29. package/dist/judges/agent-instructions.d.ts.map +1 -1
  30. package/dist/judges/agent-instructions.js +2 -0
  31. package/dist/judges/agent-instructions.js.map +1 -1
  32. package/dist/judges/ai-code-safety.d.ts.map +1 -1
  33. package/dist/judges/ai-code-safety.js +2 -0
  34. package/dist/judges/ai-code-safety.js.map +1 -1
  35. package/dist/judges/api-contract.d.ts.map +1 -1
  36. package/dist/judges/api-contract.js +3 -1
  37. package/dist/judges/api-contract.js.map +1 -1
  38. package/dist/judges/api-design.d.ts.map +1 -1
  39. package/dist/judges/api-design.js +2 -0
  40. package/dist/judges/api-design.js.map +1 -1
  41. package/dist/judges/authentication.d.ts.map +1 -1
  42. package/dist/judges/authentication.js +2 -0
  43. package/dist/judges/authentication.js.map +1 -1
  44. package/dist/judges/backwards-compatibility.d.ts.map +1 -1
  45. package/dist/judges/backwards-compatibility.js +2 -0
  46. package/dist/judges/backwards-compatibility.js.map +1 -1
  47. package/dist/judges/caching.d.ts.map +1 -1
  48. package/dist/judges/caching.js +2 -0
  49. package/dist/judges/caching.js.map +1 -1
  50. package/dist/judges/ci-cd.d.ts.map +1 -1
  51. package/dist/judges/ci-cd.js +2 -0
  52. package/dist/judges/ci-cd.js.map +1 -1
  53. package/dist/judges/cloud-readiness.d.ts.map +1 -1
  54. package/dist/judges/cloud-readiness.js +2 -0
  55. package/dist/judges/cloud-readiness.js.map +1 -1
  56. package/dist/judges/code-structure.d.ts.map +1 -1
  57. package/dist/judges/code-structure.js +2 -0
  58. package/dist/judges/code-structure.js.map +1 -1
  59. package/dist/judges/compliance.d.ts.map +1 -1
  60. package/dist/judges/compliance.js +2 -0
  61. package/dist/judges/compliance.js.map +1 -1
  62. package/dist/judges/concurrency.d.ts.map +1 -1
  63. package/dist/judges/concurrency.js +2 -0
  64. package/dist/judges/concurrency.js.map +1 -1
  65. package/dist/judges/configuration-management.d.ts.map +1 -1
  66. package/dist/judges/configuration-management.js +2 -0
  67. package/dist/judges/configuration-management.js.map +1 -1
  68. package/dist/judges/cost-effectiveness.d.ts.map +1 -1
  69. package/dist/judges/cost-effectiveness.js +2 -0
  70. package/dist/judges/cost-effectiveness.js.map +1 -1
  71. package/dist/judges/cybersecurity.d.ts.map +1 -1
  72. package/dist/judges/cybersecurity.js +2 -0
  73. package/dist/judges/cybersecurity.js.map +1 -1
  74. package/dist/judges/data-security.d.ts.map +1 -1
  75. package/dist/judges/data-security.js +2 -0
  76. package/dist/judges/data-security.js.map +1 -1
  77. package/dist/judges/data-sovereignty.d.ts.map +1 -1
  78. package/dist/judges/data-sovereignty.js +3 -1
  79. package/dist/judges/data-sovereignty.js.map +1 -1
  80. package/dist/judges/database.d.ts.map +1 -1
  81. package/dist/judges/database.js +2 -0
  82. package/dist/judges/database.js.map +1 -1
  83. package/dist/judges/dependency-health.d.ts.map +1 -1
  84. package/dist/judges/dependency-health.js +2 -0
  85. package/dist/judges/dependency-health.js.map +1 -1
  86. package/dist/judges/documentation.d.ts.map +1 -1
  87. package/dist/judges/documentation.js +2 -0
  88. package/dist/judges/documentation.js.map +1 -1
  89. package/dist/judges/error-handling.d.ts.map +1 -1
  90. package/dist/judges/error-handling.js +2 -0
  91. package/dist/judges/error-handling.js.map +1 -1
  92. package/dist/judges/ethics-bias.d.ts.map +1 -1
  93. package/dist/judges/ethics-bias.js +2 -0
  94. package/dist/judges/ethics-bias.js.map +1 -1
  95. package/dist/judges/false-positive-review.d.ts.map +1 -1
  96. package/dist/judges/false-positive-review.js +2 -0
  97. package/dist/judges/false-positive-review.js.map +1 -1
  98. package/dist/judges/framework-safety.d.ts.map +1 -1
  99. package/dist/judges/framework-safety.js +2 -0
  100. package/dist/judges/framework-safety.js.map +1 -1
  101. package/dist/judges/hallucination-detection.d.ts.map +1 -1
  102. package/dist/judges/hallucination-detection.js +2 -0
  103. package/dist/judges/hallucination-detection.js.map +1 -1
  104. package/dist/judges/iac-security.d.ts.map +1 -1
  105. package/dist/judges/iac-security.js +2 -0
  106. package/dist/judges/iac-security.js.map +1 -1
  107. package/dist/judges/index.d.ts.map +1 -1
  108. package/dist/judges/index.js +4 -0
  109. package/dist/judges/index.js.map +1 -1
  110. package/dist/judges/intent-alignment.d.ts.map +1 -1
  111. package/dist/judges/intent-alignment.js +2 -0
  112. package/dist/judges/intent-alignment.js.map +1 -1
  113. package/dist/judges/internationalization.d.ts.map +1 -1
  114. package/dist/judges/internationalization.js +2 -0
  115. package/dist/judges/internationalization.js.map +1 -1
  116. package/dist/judges/logging-privacy.d.ts.map +1 -1
  117. package/dist/judges/logging-privacy.js +2 -0
  118. package/dist/judges/logging-privacy.js.map +1 -1
  119. package/dist/judges/maintainability.d.ts.map +1 -1
  120. package/dist/judges/maintainability.js +2 -0
  121. package/dist/judges/maintainability.js.map +1 -1
  122. package/dist/judges/model-fingerprint.d.ts.map +1 -1
  123. package/dist/judges/model-fingerprint.js +3 -1
  124. package/dist/judges/model-fingerprint.js.map +1 -1
  125. package/dist/judges/multi-turn-coherence.d.ts.map +1 -1
  126. package/dist/judges/multi-turn-coherence.js +3 -1
  127. package/dist/judges/multi-turn-coherence.js.map +1 -1
  128. package/dist/judges/observability.d.ts.map +1 -1
  129. package/dist/judges/observability.js +2 -0
  130. package/dist/judges/observability.js.map +1 -1
  131. package/dist/judges/over-engineering.d.ts +3 -0
  132. package/dist/judges/over-engineering.d.ts.map +1 -0
  133. package/dist/judges/over-engineering.js +47 -0
  134. package/dist/judges/over-engineering.js.map +1 -0
  135. package/dist/judges/performance.d.ts.map +1 -1
  136. package/dist/judges/performance.js +2 -0
  137. package/dist/judges/performance.js.map +1 -1
  138. package/dist/judges/portability.d.ts.map +1 -1
  139. package/dist/judges/portability.js +2 -0
  140. package/dist/judges/portability.js.map +1 -1
  141. package/dist/judges/rate-limiting.d.ts.map +1 -1
  142. package/dist/judges/rate-limiting.js +2 -0
  143. package/dist/judges/rate-limiting.js.map +1 -1
  144. package/dist/judges/reliability.d.ts.map +1 -1
  145. package/dist/judges/reliability.js +2 -0
  146. package/dist/judges/reliability.js.map +1 -1
  147. package/dist/judges/scalability.d.ts.map +1 -1
  148. package/dist/judges/scalability.js +2 -0
  149. package/dist/judges/scalability.js.map +1 -1
  150. package/dist/judges/security.d.ts.map +1 -1
  151. package/dist/judges/security.js +2 -0
  152. package/dist/judges/security.js.map +1 -1
  153. package/dist/judges/software-practices.d.ts.map +1 -1
  154. package/dist/judges/software-practices.js +2 -0
  155. package/dist/judges/software-practices.js.map +1 -1
  156. package/dist/judges/testing.d.ts.map +1 -1
  157. package/dist/judges/testing.js +2 -0
  158. package/dist/judges/testing.js.map +1 -1
  159. package/dist/judges/ux.d.ts.map +1 -1
  160. package/dist/judges/ux.js +2 -0
  161. package/dist/judges/ux.js.map +1 -1
  162. package/dist/scoring.d.ts +5 -0
  163. package/dist/scoring.d.ts.map +1 -1
  164. package/dist/scoring.js +76 -0
  165. package/dist/scoring.js.map +1 -1
  166. package/dist/tools/prompts.js +1 -1
  167. package/dist/types.d.ts +20 -0
  168. package/dist/types.d.ts.map +1 -1
  169. package/package.json +3 -2
  170. package/server.json +3 -3
@@ -4,6 +4,8 @@ export const complianceJudge = {
4
4
  domain: "Regulatory & License Compliance",
5
5
  description: "Evaluates code for OSS license compatibility, audit logging, SOC 2 controls, export controls, data residency, retention policies, and regulatory readiness.",
6
6
  rulePrefix: "COMP",
7
+ tableDescription: "GDPR/CCPA, PII protection, consent, data retention, audit trails",
8
+ promptDescription: "Deep regulatory compliance review",
7
9
  systemPrompt: `You are Judge Compliance — a regulatory compliance engineer and legal-tech specialist with expertise in OSS licensing, SOC 2, FedRAMP, PCI-DSS, and international data regulations.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"compliance.js","sourceRoot":"","sources":["../../src/judges/compliance.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,iCAAiC;IACzC,WAAW,EACT,6JAA6J;IAC/J,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;6HA4B6G;CAC5H,CAAC"}
1
+ {"version":3,"file":"compliance.js","sourceRoot":"","sources":["../../src/judges/compliance.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,EAAE,EAAE,YAAY;IAChB,IAAI,EAAE,kBAAkB;IACxB,MAAM,EAAE,iCAAiC;IACzC,WAAW,EACT,6JAA6J;IAC/J,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,kEAAkE;IACpF,iBAAiB,EAAE,mCAAmC;IACtD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;6HA4B6G;CAC5H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"concurrency.d.ts","sourceRoot":"","sources":["../../src/judges/concurrency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,eAmC9B,CAAC"}
1
+ {"version":3,"file":"concurrency.d.ts","sourceRoot":"","sources":["../../src/judges/concurrency.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,eAqC9B,CAAC"}
@@ -4,6 +4,8 @@ export const concurrencyJudge = {
4
4
  domain: "Concurrency & Thread Safety",
5
5
  description: "Evaluates code for race conditions, deadlocks, atomic operations, lock contention, shared mutable state, and async error propagation.",
6
6
  rulePrefix: "CONC",
7
+ tableDescription: "Race conditions, unbounded parallelism, missing await",
8
+ promptDescription: "Deep concurrency & async safety review",
7
9
  systemPrompt: `You are Judge Concurrency — a concurrency and distributed systems expert with deep experience in multi-threaded programming, lock-free algorithms, async runtimes, and correctness verification.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"concurrency.js","sourceRoot":"","sources":["../../src/judges/concurrency.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,mBAAmB;IACzB,MAAM,EAAE,6BAA6B;IACrC,WAAW,EACT,uIAAuI;IACzI,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;+HA2B+G;CAC9H,CAAC"}
1
+ {"version":3,"file":"concurrency.js","sourceRoot":"","sources":["../../src/judges/concurrency.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,mBAAmB;IACzB,MAAM,EAAE,6BAA6B;IACrC,WAAW,EACT,uIAAuI;IACzI,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,uDAAuD;IACzE,iBAAiB,EAAE,wCAAwC;IAC3D,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;+HA2B+G;CAC9H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-management.d.ts","sourceRoot":"","sources":["../../src/judges/configuration-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,4BAA4B,EAAE,eAiC1C,CAAC"}
1
+ {"version":3,"file":"configuration-management.d.ts","sourceRoot":"","sources":["../../src/judges/configuration-management.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,4BAA4B,EAAE,eAmC1C,CAAC"}
@@ -4,6 +4,8 @@ export const configurationManagementJudge = {
4
4
  domain: "Configuration & Secrets Management",
5
5
  description: "Evaluates code for proper externalization of configuration, secrets management, environment-based config switching, and feature flag implementation.",
6
6
  rulePrefix: "CFG",
7
+ tableDescription: "Hardcoded secrets, missing env vars, config validation",
8
+ promptDescription: "Deep configuration & secrets review",
7
9
  systemPrompt: `You are Judge Configuration Management — an infrastructure and platform engineer specializing in configuration management, secrets rotation, and environment parity. You have seen countless production incidents caused by hardcoded values, leaked secrets, and configuration drift.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"configuration-management.js","sourceRoot":"","sources":["../../src/judges/configuration-management.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,4BAA4B,GAAoB;IAC3D,EAAE,EAAE,0BAA0B;IAC9B,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;yIAyByH;CACxI,CAAC"}
1
+ {"version":3,"file":"configuration-management.js","sourceRoot":"","sources":["../../src/judges/configuration-management.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,4BAA4B,GAAoB;IAC3D,EAAE,EAAE,0BAA0B;IAC9B,IAAI,EAAE,gCAAgC;IACtC,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,KAAK;IACjB,gBAAgB,EAAE,wDAAwD;IAC1E,iBAAiB,EAAE,qCAAqC;IACxD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;yIAyByH;CACxI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cost-effectiveness.d.ts","sourceRoot":"","sources":["../../src/judges/cost-effectiveness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,sBAAsB,EAAE,eAoCpC,CAAC"}
1
+ {"version":3,"file":"cost-effectiveness.d.ts","sourceRoot":"","sources":["../../src/judges/cost-effectiveness.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,sBAAsB,EAAE,eAsCpC,CAAC"}
@@ -4,6 +4,8 @@ export const costEffectivenessJudge = {
4
4
  domain: "Cost Optimization & Resource Efficiency",
5
5
  description: "Evaluates code for unnecessary resource consumption, inefficient algorithms, wasteful cloud resource usage, and opportunities for cost optimization.",
6
6
  rulePrefix: "COST",
7
+ tableDescription: "Algorithm efficiency, N+1 queries, memory waste, caching strategy",
8
+ promptDescription: "Deep cost optimization review",
7
9
  systemPrompt: `You are Judge Cost Effectiveness — a cloud economics and performance engineering expert who has optimized millions of dollars in cloud spend across Fortune 500 companies.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"cost-effectiveness.js","sourceRoot":"","sources":["../../src/judges/cost-effectiveness.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,sBAAsB,GAAoB;IACrD,EAAE,EAAE,oBAAoB;IACxB,IAAI,EAAE,0BAA0B;IAChC,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;kIA4BkH;CACjI,CAAC"}
1
+ {"version":3,"file":"cost-effectiveness.js","sourceRoot":"","sources":["../../src/judges/cost-effectiveness.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,sBAAsB,GAAoB;IACrD,EAAE,EAAE,oBAAoB;IACxB,IAAI,EAAE,0BAA0B;IAChC,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,mEAAmE;IACrF,iBAAiB,EAAE,+BAA+B;IAClD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;kIA4BkH;CACjI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"cybersecurity.d.ts","sourceRoot":"","sources":["../../src/judges/cybersecurity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAgChC,CAAC"}
1
+ {"version":3,"file":"cybersecurity.d.ts","sourceRoot":"","sources":["../../src/judges/cybersecurity.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAkChC,CAAC"}
@@ -4,6 +4,8 @@ export const cybersecurityJudge = {
4
4
  domain: "Cybersecurity & Threat Defense",
5
5
  description: "Evaluates code for vulnerability to attacks (injection, XSS, CSRF, SSRF), authentication/authorization flaws, dependency vulnerabilities, and adherence to OWASP Top 10.",
6
6
  rulePrefix: "CYBER",
7
+ tableDescription: "Injection attacks, XSS, CSRF, auth flaws, OWASP Top 10",
8
+ promptDescription: "Deep cybersecurity review",
7
9
  systemPrompt: `You are Judge Cybersecurity — a principal application security engineer and ethical hacker with expertise in offensive security, vulnerability assessment, and secure coding.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"cybersecurity.js","sourceRoot":"","sources":["../../src/judges/cybersecurity.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,gCAAgC;IACxC,WAAW,EACT,0KAA0K;IAC5K,UAAU,EAAE,OAAO;IACnB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;0HAwB0G;CACzH,CAAC"}
1
+ {"version":3,"file":"cybersecurity.js","sourceRoot":"","sources":["../../src/judges/cybersecurity.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,gCAAgC;IACxC,WAAW,EACT,0KAA0K;IAC5K,UAAU,EAAE,OAAO;IACnB,gBAAgB,EAAE,wDAAwD;IAC1E,iBAAiB,EAAE,2BAA2B;IAC9C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;0HAwB0G;CACzH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-security.d.ts","sourceRoot":"","sources":["../../src/judges/data-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,iBAAiB,EAAE,eA8B/B,CAAC"}
1
+ {"version":3,"file":"data-security.d.ts","sourceRoot":"","sources":["../../src/judges/data-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,iBAAiB,EAAE,eAgC/B,CAAC"}
@@ -4,6 +4,8 @@ export const dataSecurityJudge = {
4
4
  domain: "Data Security & Privacy",
5
5
  description: "Evaluates code for data protection, encryption practices, PII handling, data-at-rest/in-transit security, access controls, and compliance with data privacy regulations (GDPR, CCPA, HIPAA).",
6
6
  rulePrefix: "DATA",
7
+ tableDescription: "Encryption, PII handling, secrets management, access controls",
8
+ promptDescription: "Deep data security review",
7
9
  systemPrompt: `You are Judge Data Security — a senior data protection architect with 20+ years of experience in data security, privacy engineering, and regulatory compliance.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"data-security.js","sourceRoot":"","sources":["../../src/judges/data-security.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAoB;IAChD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,yBAAyB;IACjC,WAAW,EACT,8LAA8L;IAChM,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;sHAsBsG;CACrH,CAAC"}
1
+ {"version":3,"file":"data-security.js","sourceRoot":"","sources":["../../src/judges/data-security.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,iBAAiB,GAAoB;IAChD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,yBAAyB;IACjC,WAAW,EACT,8LAA8L;IAChM,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,+DAA+D;IACjF,iBAAiB,EAAE,2BAA2B;IAC9C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;sHAsBsG;CACrH,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"data-sovereignty.d.ts","sourceRoot":"","sources":["../../src/judges/data-sovereignty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAsDlC,CAAC"}
1
+ {"version":3,"file":"data-sovereignty.d.ts","sourceRoot":"","sources":["../../src/judges/data-sovereignty.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAyDlC,CAAC"}
@@ -1,9 +1,11 @@
1
1
  export const dataSovereigntyJudge = {
2
2
  id: "data-sovereignty",
3
- name: "Judge Sovereignty",
3
+ name: "Judge Data Sovereignty",
4
4
  domain: "Data, Technological & Operational Sovereignty",
5
5
  description: "Evaluates code for data residency enforcement, cross-border transfer controls, jurisdiction-aware data handling, vendor independence (technological sovereignty), and operational self-governance (audit trails, resilience, data portability).",
6
6
  rulePrefix: "SOV",
7
+ tableDescription: "Data residency, cross-border transfers, vendor key management, AI model portability, identity federation, circuit breakers, audit trails, data export",
8
+ promptDescription: "Deep data, technological & operational sovereignty review",
7
9
  systemPrompt: `You are Judge Sovereignty — a specialist in data residency, cross-border data transfer controls, jurisdictional compliance, cloud architecture governance, technological independence, and operational self-governance.
8
10
 
9
11
  You evaluate code across THREE sovereignty pillars:
@@ -1 +1 @@
1
- {"version":3,"file":"data-sovereignty.js","sourceRoot":"","sources":["../../src/judges/data-sovereignty.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,mBAAmB;IACzB,MAAM,EAAE,+CAA+C;IACvD,WAAW,EACT,iPAAiP;IACnP,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFA8CoE;CACnF,CAAC"}
1
+ {"version":3,"file":"data-sovereignty.js","sourceRoot":"","sources":["../../src/judges/data-sovereignty.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,+CAA+C;IACvD,WAAW,EACT,iPAAiP;IACnP,UAAU,EAAE,KAAK;IACjB,gBAAgB,EACd,uJAAuJ;IACzJ,iBAAiB,EAAE,2DAA2D;IAC9E,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;oFA8CoE;CACnF,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/judges/database.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,eAqC3B,CAAC"}
1
+ {"version":3,"file":"database.d.ts","sourceRoot":"","sources":["../../src/judges/database.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,aAAa,EAAE,eAuC3B,CAAC"}
@@ -4,6 +4,8 @@ export const databaseJudge = {
4
4
  domain: "Database Design & Query Efficiency",
5
5
  description: "Evaluates code for query efficiency, connection management, migration practices, schema design, and database access patterns that affect performance and reliability.",
6
6
  rulePrefix: "DB",
7
+ tableDescription: "SQL injection, N+1 queries, connection pooling, transactions",
8
+ promptDescription: "Deep database design & query review",
7
9
  systemPrompt: `You are Judge Database — a database architect and DBA with deep expertise in SQL, NoSQL, ORMs, query optimization, and data modeling. You have diagnosed thousands of database-related production incidents.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"database.js","sourceRoot":"","sources":["../../src/judges/database.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EACT,uKAAuK;IACzK,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iIA6BiH;CAChI,CAAC"}
1
+ {"version":3,"file":"database.js","sourceRoot":"","sources":["../../src/judges/database.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,aAAa,GAAoB;IAC5C,EAAE,EAAE,UAAU;IACd,IAAI,EAAE,gBAAgB;IACtB,MAAM,EAAE,oCAAoC;IAC5C,WAAW,EACT,uKAAuK;IACzK,UAAU,EAAE,IAAI;IAChB,gBAAgB,EAAE,8DAA8D;IAChF,iBAAiB,EAAE,qCAAqC;IACxD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;iIA6BiH;CAChI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"dependency-health.d.ts","sourceRoot":"","sources":["../../src/judges/dependency-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,eAmCnC,CAAC"}
1
+ {"version":3,"file":"dependency-health.d.ts","sourceRoot":"","sources":["../../src/judges/dependency-health.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,eAqCnC,CAAC"}
@@ -4,6 +4,8 @@ export const dependencyHealthJudge = {
4
4
  domain: "Supply Chain & Dependencies",
5
5
  description: "Evaluates code for abandoned packages, license risks, transitive vulnerability depth, dependency count bloat, lockfile hygiene, and update freshness.",
6
6
  rulePrefix: "DEPS",
7
+ tableDescription: "Version pinning, deprecated packages, supply chain",
8
+ promptDescription: "Deep dependency health review",
7
9
  systemPrompt: `You are Judge Dependency Health — a software supply chain security expert with deep expertise in dependency management, vulnerability tracking, and open-source ecosystem risk assessment.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"dependency-health.js","sourceRoot":"","sources":["../../src/judges/dependency-health.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IACpD,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,yBAAyB;IAC/B,MAAM,EAAE,6BAA6B;IACrC,WAAW,EACT,uJAAuJ;IACzJ,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;gIA2BgH;CAC/H,CAAC"}
1
+ {"version":3,"file":"dependency-health.js","sourceRoot":"","sources":["../../src/judges/dependency-health.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IACpD,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,yBAAyB;IAC/B,MAAM,EAAE,6BAA6B;IACrC,WAAW,EACT,uJAAuJ;IACzJ,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,oDAAoD;IACtE,iBAAiB,EAAE,+BAA+B;IAClD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;gIA2BgH;CAC/H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"documentation.d.ts","sourceRoot":"","sources":["../../src/judges/documentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAmChC,CAAC"}
1
+ {"version":3,"file":"documentation.d.ts","sourceRoot":"","sources":["../../src/judges/documentation.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAqChC,CAAC"}
@@ -4,6 +4,8 @@ export const documentationJudge = {
4
4
  domain: "Documentation & Developer Experience",
5
5
  description: "Evaluates code for README quality, inline documentation coverage, API reference completeness, example code, changelog, and onboarding developer experience.",
6
6
  rulePrefix: "DOC",
7
+ tableDescription: "JSDoc/docstrings, magic numbers, TODOs, code comments",
8
+ promptDescription: "Deep documentation quality review",
7
9
  systemPrompt: `You are Judge Documentation — a developer experience (DX) architect and technical writing expert who has built documentation systems for major open-source projects and developer platforms.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"documentation.js","sourceRoot":"","sources":["../../src/judges/documentation.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,sCAAsC;IAC9C,WAAW,EACT,6JAA6J;IAC/J,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;iIA2BiH;CAChI,CAAC"}
1
+ {"version":3,"file":"documentation.js","sourceRoot":"","sources":["../../src/judges/documentation.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,eAAe;IACnB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,sCAAsC;IAC9C,WAAW,EACT,6JAA6J;IAC/J,UAAU,EAAE,KAAK;IACjB,gBAAgB,EAAE,uDAAuD;IACzE,iBAAiB,EAAE,mCAAmC;IACtD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;iIA2BiH;CAChI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"error-handling.d.ts","sourceRoot":"","sources":["../../src/judges/error-handling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAiChC,CAAC"}
1
+ {"version":3,"file":"error-handling.d.ts","sourceRoot":"","sources":["../../src/judges/error-handling.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAmChC,CAAC"}
@@ -4,6 +4,8 @@ export const errorHandlingJudge = {
4
4
  domain: "Error Handling & Fault Tolerance",
5
5
  description: "Evaluates code for consistent error handling, meaningful error messages, graceful degradation, and proper use of error boundaries and recovery strategies.",
6
6
  rulePrefix: "ERR",
7
+ tableDescription: "Empty catch blocks, missing error handlers, swallowed errors",
8
+ promptDescription: "Deep error handling review",
7
9
  systemPrompt: `You are Judge Error Handling — a senior SRE and backend architect who has spent years debugging production incidents caused by poor error handling, swallowed exceptions, and misleading error messages.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"error-handling.js","sourceRoot":"","sources":["../../src/judges/error-handling.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,kCAAkC;IAC1C,WAAW,EACT,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;kIAyBkH;CACjI,CAAC"}
1
+ {"version":3,"file":"error-handling.js","sourceRoot":"","sources":["../../src/judges/error-handling.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,kBAAkB,GAAoB;IACjD,EAAE,EAAE,gBAAgB;IACpB,IAAI,EAAE,sBAAsB;IAC5B,MAAM,EAAE,kCAAkC;IAC1C,WAAW,EACT,4JAA4J;IAC9J,UAAU,EAAE,KAAK;IACjB,gBAAgB,EAAE,8DAA8D;IAChF,iBAAiB,EAAE,4BAA4B;IAC/C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;kIAyBkH;CACjI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"ethics-bias.d.ts","sourceRoot":"","sources":["../../src/judges/ethics-bias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,eAAe,EAAE,eAmC7B,CAAC"}
1
+ {"version":3,"file":"ethics-bias.d.ts","sourceRoot":"","sources":["../../src/judges/ethics-bias.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,eAAe,EAAE,eAqC7B,CAAC"}
@@ -4,6 +4,8 @@ export const ethicsBiasJudge = {
4
4
  domain: "AI/ML Fairness & Ethics",
5
5
  description: "Evaluates code for model bias indicators, fairness metrics, explainability, data representativeness, consent handling, and human-in-the-loop safeguards.",
6
6
  rulePrefix: "ETHICS",
7
+ tableDescription: "Demographic logic, dark patterns, inclusive language",
8
+ promptDescription: "Deep ethics & bias review",
7
9
  systemPrompt: `You are Judge Ethics & Bias — an AI ethics researcher and responsible AI practitioner with expertise in fairness, accountability, transparency (FAT), and AI governance frameworks (EU AI Act, NIST AI RMF).
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"ethics-bias.js","sourceRoot":"","sources":["../../src/judges/ethics-bias.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,yBAAyB;IACjC,WAAW,EACT,0JAA0J;IAC5J,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;2HA2B2G;CAC1H,CAAC"}
1
+ {"version":3,"file":"ethics-bias.js","sourceRoot":"","sources":["../../src/judges/ethics-bias.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,eAAe,GAAoB;IAC9C,EAAE,EAAE,aAAa;IACjB,IAAI,EAAE,qBAAqB;IAC3B,MAAM,EAAE,yBAAyB;IACjC,WAAW,EACT,0JAA0J;IAC5J,UAAU,EAAE,QAAQ;IACpB,gBAAgB,EAAE,sDAAsD;IACxE,iBAAiB,EAAE,2BAA2B;IAC9C,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;2HA2B2G;CAC1H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"false-positive-review.d.ts","sourceRoot":"","sources":["../../src/judges/false-positive-review.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,eAqEtC,CAAC"}
1
+ {"version":3,"file":"false-positive-review.d.ts","sourceRoot":"","sources":["../../src/judges/false-positive-review.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,wBAAwB,EAAE,eAwEtC,CAAC"}
@@ -4,6 +4,8 @@ export const falsePositiveReviewJudge = {
4
4
  domain: "False Positive Detection & Finding Accuracy",
5
5
  description: "Meta-judge that reviews pattern-based findings from all other judges to identify and dismiss false positives. Provides expert criteria for recognizing common static analysis FP patterns including string literal context, comment/docstring matches, test scaffolding, IaC template gating, and identifier-keyword collisions.",
6
6
  rulePrefix: "FPR",
7
+ tableDescription: "Meta-judge reviewing pattern-based findings for false positives: string literal context, comment/docstring matches, test scaffolding, IaC template gating",
8
+ promptDescription: "Meta-judge review of pattern-based findings for false positive detection and accuracy",
7
9
  systemPrompt: `You are Judge False-Positive Review — a senior static analysis tuning engineer who specializes in identifying and removing false positives from automated code review findings.
8
10
 
9
11
  YOUR ROLE:
@@ -1 +1 @@
1
- {"version":3,"file":"false-positive-review.js","sourceRoot":"","sources":["../../src/judges/false-positive-review.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAoB;IACvD,EAAE,EAAE,uBAAuB;IAC3B,IAAI,EAAE,6BAA6B;IACnC,MAAM,EAAE,6CAA6C;IACrD,WAAW,EACT,kUAAkU;IACpU,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA6DwH;CACvI,CAAC"}
1
+ {"version":3,"file":"false-positive-review.js","sourceRoot":"","sources":["../../src/judges/false-positive-review.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,wBAAwB,GAAoB;IACvD,EAAE,EAAE,uBAAuB;IAC3B,IAAI,EAAE,6BAA6B;IACnC,MAAM,EAAE,6CAA6C;IACrD,WAAW,EACT,kUAAkU;IACpU,UAAU,EAAE,KAAK;IACjB,gBAAgB,EACd,2JAA2J;IAC7J,iBAAiB,EAAE,uFAAuF;IAC1G,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;wIA6DwH;CACvI,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"framework-safety.d.ts","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eA8BlC,CAAC"}
1
+ {"version":3,"file":"framework-safety.d.ts","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAkClC,CAAC"}
@@ -4,6 +4,8 @@ export const frameworkSafetyJudge = {
4
4
  domain: "Framework-Specific Security & Best Practices",
5
5
  description: "Detects misuse patterns unique to popular frameworks: React hook violations, Express middleware ordering, Next.js SSR data leaks, Angular DomSanitizer bypass, Vue v-html XSS, and framework-specific performance pitfalls.",
6
6
  rulePrefix: "FW",
7
+ tableDescription: "React hooks ordering, Express middleware chains, Next.js SSR/SSG pitfalls, Angular/Vue lifecycle patterns, framework-specific anti-patterns",
8
+ promptDescription: "Deep review of framework-specific safety: React hooks, Express middleware, Next.js SSR/SSG, Angular/Vue patterns",
7
9
  systemPrompt: `You are Judge Framework Safety — a senior full-stack engineer deeply versed in React, Express, Next.js, Angular, Vue, Koa, and Fastify internals.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"framework-safety.js","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,8CAA8C;IACtD,WAAW,EACT,6NAA6N;IAC/N,UAAU,EAAE,IAAI;IAChB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;iJAsBiI;CAChJ,CAAC"}
1
+ {"version":3,"file":"framework-safety.js","sourceRoot":"","sources":["../../src/judges/framework-safety.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,8CAA8C;IACtD,WAAW,EACT,6NAA6N;IAC/N,UAAU,EAAE,IAAI;IAChB,gBAAgB,EACd,6IAA6I;IAC/I,iBAAiB,EACf,kHAAkH;IACpH,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;iJAsBiI;CAChJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"hallucination-detection.d.ts","sourceRoot":"","sources":["../../src/judges/hallucination-detection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,2BAA2B,EAAE,eA6BzC,CAAC"}
1
+ {"version":3,"file":"hallucination-detection.d.ts","sourceRoot":"","sources":["../../src/judges/hallucination-detection.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,2BAA2B,EAAE,eA+BzC,CAAC"}
@@ -4,6 +4,8 @@ export const hallucinationDetectionJudge = {
4
4
  domain: "AI-Hallucinated API & Import Validation",
5
5
  description: "Detects APIs, imports, methods, and patterns that are commonly hallucinated by AI code generators — non-existent standard library functions, fabricated package names, phantom methods, and incorrect API signatures that look plausible but don't exist.",
6
6
  rulePrefix: "HALLU",
7
+ tableDescription: "Detects hallucinated APIs, fabricated imports, and non-existent modules from AI code generators",
8
+ promptDescription: "Deep review of AI-hallucinated APIs, fabricated imports, non-existent modules",
7
9
  systemPrompt: `You are Judge Hallucination Detection — a specialist in identifying APIs, imports, and code patterns that large language models frequently fabricate.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"hallucination-detection.js","sourceRoot":"","sources":["../../src/judges/hallucination-detection.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,2BAA2B,GAAoB;IAC1D,EAAE,EAAE,yBAAyB;IAC7B,IAAI,EAAE,+BAA+B;IACrC,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,2PAA2P;IAC7P,UAAU,EAAE,OAAO;IACnB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;iCAqBiB;CAChC,CAAC"}
1
+ {"version":3,"file":"hallucination-detection.js","sourceRoot":"","sources":["../../src/judges/hallucination-detection.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,2BAA2B,GAAoB;IAC1D,EAAE,EAAE,yBAAyB;IAC7B,IAAI,EAAE,+BAA+B;IACrC,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,2PAA2P;IAC7P,UAAU,EAAE,OAAO;IACnB,gBAAgB,EAAE,iGAAiG;IACnH,iBAAiB,EAAE,+EAA+E;IAClG,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;iCAqBiB;CAChC,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"iac-security.d.ts","sourceRoot":"","sources":["../../src/judges/iac-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,eAkC9B,CAAC"}
1
+ {"version":3,"file":"iac-security.d.ts","sourceRoot":"","sources":["../../src/judges/iac-security.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,gBAAgB,EAAE,eAqC9B,CAAC"}
@@ -4,6 +4,8 @@ export const iacSecurityJudge = {
4
4
  domain: "Infrastructure as Code",
5
5
  description: "Evaluates Terraform, Bicep, and ARM templates for security misconfigurations, hardcoded secrets, missing encryption, overly permissive network/IAM rules, and IaC best-practice violations.",
6
6
  rulePrefix: "IAC",
7
+ tableDescription: "Terraform, Bicep, ARM template misconfigurations, hardcoded secrets, missing encryption, overly permissive network/IAM rules",
8
+ promptDescription: "Deep review of infrastructure-as-code security: Terraform, Bicep, ARM template misconfigurations",
7
9
  systemPrompt: `You are Judge IaC Security — a cloud infrastructure security specialist with deep expertise in Terraform (HCL), Azure Bicep, and ARM templates. You hold certifications across Azure, AWS, and GCP with specialization in infrastructure-as-code security and compliance.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"iac-security.js","sourceRoot":"","sources":["../../src/judges/iac-security.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,oBAAoB;IAC1B,MAAM,EAAE,wBAAwB;IAChC,WAAW,EACT,6LAA6L;IAC/L,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;kJA0BkI;CACjJ,CAAC"}
1
+ {"version":3,"file":"iac-security.js","sourceRoot":"","sources":["../../src/judges/iac-security.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,gBAAgB,GAAoB;IAC/C,EAAE,EAAE,cAAc;IAClB,IAAI,EAAE,oBAAoB;IAC1B,MAAM,EAAE,wBAAwB;IAChC,WAAW,EACT,6LAA6L;IAC/L,UAAU,EAAE,KAAK;IACjB,gBAAgB,EACd,8HAA8H;IAChI,iBAAiB,EAAE,kGAAkG;IACrH,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;kJA0BkI;CACjJ,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/judges/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAuInD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,EA4CnC,CAAC;AAEF;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAEhE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,KAAK,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAOD"}
1
+ {"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/judges/index.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AA0InD;;;;;;GAMG;AACH,eAAO,MAAM,MAAM,EAAE,eAAe,EA6CnC,CAAC;AAEF;;GAEG;AACH,wBAAgB,QAAQ,CAAC,EAAE,EAAE,MAAM,GAAG,eAAe,GAAG,SAAS,CAEhE;AAED;;GAEG;AACH,wBAAgB,iBAAiB,IAAI,KAAK,CAAC;IACzC,EAAE,EAAE,MAAM,CAAC;IACX,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,EAAE,MAAM,CAAC;IACf,WAAW,EAAE,MAAM,CAAC;CACrB,CAAC,CAOD"}
@@ -41,6 +41,7 @@ import { intentAlignmentJudge } from "./intent-alignment.js";
41
41
  import { apiContractJudge } from "./api-contract.js";
42
42
  import { multiTurnCoherenceJudge } from "./multi-turn-coherence.js";
43
43
  import { modelFingerprintJudge } from "./model-fingerprint.js";
44
+ import { overEngineeringJudge } from "./over-engineering.js";
44
45
  // ─── Analyzer Imports ────────────────────────────────────────────────────────
45
46
  import { analyzeDataSecurity } from "../evaluators/data-security.js";
46
47
  import { analyzeCybersecurity } from "../evaluators/cybersecurity.js";
@@ -84,6 +85,7 @@ import { analyzeIntentAlignment } from "../evaluators/intent-alignment.js";
84
85
  import { analyzeApiContract } from "../evaluators/api-contract.js";
85
86
  import { analyzeMultiTurnCoherence } from "../evaluators/multi-turn-coherence.js";
86
87
  import { analyzeModelFingerprint } from "../evaluators/model-fingerprint.js";
88
+ import { analyzeOverEngineering } from "../evaluators/over-engineering.js";
87
89
  // ─── Wire each judge to its analyzer ─────────────────────────────────────────
88
90
  dataSecurityJudge.analyze = analyzeDataSecurity;
89
91
  cybersecurityJudge.analyze = analyzeCybersecurity;
@@ -127,6 +129,7 @@ intentAlignmentJudge.analyze = analyzeIntentAlignment;
127
129
  apiContractJudge.analyze = analyzeApiContract;
128
130
  multiTurnCoherenceJudge.analyze = analyzeMultiTurnCoherence;
129
131
  modelFingerprintJudge.analyze = analyzeModelFingerprint;
132
+ overEngineeringJudge.analyze = analyzeOverEngineering;
130
133
  /**
131
134
  * The panel of judges that comprise the Judges Panel.
132
135
  *
@@ -177,6 +180,7 @@ export const JUDGES = [
177
180
  apiContractJudge,
178
181
  multiTurnCoherenceJudge,
179
182
  modelFingerprintJudge,
183
+ overEngineeringJudge,
180
184
  falsePositiveReviewJudge,
181
185
  ];
182
186
  /**
@@ -1 +1 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../src/judges/index.ts"],"names":[],"mappings":"AAEA,OAAO,EAAE,iBAAiB,EAAE,MAAM,oBAAoB,CAAC;AACvD,OAAO,EAAE,kBAAkB,EAAE,MAAM,oBAAoB,CAA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wBAAwB;CACzB,CAAC;AAEF;;GAEG;AACH,MAAM,UAAU,QAAQ,CAAC,EAAU;IACjC,OAAO,MAAM,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE,CAAC,CAAC,CAAC,EAAE,KAAK,EAAE,CAAC,CAAC;AACzC,CAAC;AAED;;GAEG;AACH,MAAM,UAAU,iBAAiB;IAM/B,OAAO,MAAM,CAAC,GAAG,CAAC,CAAC,EAAE,EAAE,EAAE,IAAI,EAAE,MAAM,EAAE,WAAW,EAAE,EAAE,EAAE,CAAC,CAAC;QACxD,EAAE;QACF,IAAI;QACJ,MAAM;QACN,WAAW;KACZ,CAAC,CAAC,CAAC;AACN,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"intent-alignment.d.ts","sourceRoot":"","sources":["../../src/judges/intent-alignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eA2BlC,CAAC"}
1
+ {"version":3,"file":"intent-alignment.d.ts","sourceRoot":"","sources":["../../src/judges/intent-alignment.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eA8BlC,CAAC"}
@@ -4,6 +4,8 @@ export const intentAlignmentJudge = {
4
4
  domain: "Code–Comment Alignment & Stub Detection",
5
5
  description: "Detects mismatches between stated intent (comments, docstrings, function names) and actual implementation — stubs, TODO-only bodies, misleading names, and empty implementations that AI code generators commonly produce.",
6
6
  rulePrefix: "INTENT",
7
+ tableDescription: "Detects mismatches between stated intent and implementation, placeholder stubs, TODO-only functions",
8
+ promptDescription: "Deep review of code–comment alignment, stub detection, placeholder functions",
7
9
  systemPrompt: `You are Judge Intent Alignment — your role is to verify that code does what its documentation, names, and comments claim.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"intent-alignment.js","sourceRoot":"","sources":["../../src/judges/intent-alignment.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,4NAA4N;IAC9N,UAAU,EAAE,QAAQ;IACpB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;+CAmB+B;CAC9C,CAAC"}
1
+ {"version":3,"file":"intent-alignment.js","sourceRoot":"","sources":["../../src/judges/intent-alignment.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,kBAAkB;IACtB,IAAI,EAAE,wBAAwB;IAC9B,MAAM,EAAE,yCAAyC;IACjD,WAAW,EACT,4NAA4N;IAC9N,UAAU,EAAE,QAAQ;IACpB,gBAAgB,EACd,qGAAqG;IACvG,iBAAiB,EAAE,8EAA8E;IACjG,YAAY,EAAE;;;;;;;;;;;;;;;;;;;+CAmB+B;CAC9C,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"internationalization.d.ts","sourceRoot":"","sources":["../../src/judges/internationalization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,yBAAyB,EAAE,eAsCvC,CAAC"}
1
+ {"version":3,"file":"internationalization.d.ts","sourceRoot":"","sources":["../../src/judges/internationalization.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,yBAAyB,EAAE,eAwCvC,CAAC"}
@@ -4,6 +4,8 @@ export const internationalizationJudge = {
4
4
  domain: "i18n & Localization",
5
5
  description: "Evaluates code for hardcoded strings, date/number formatting, RTL support, locale-aware sorting, Unicode handling, and translation-ready patterns.",
6
6
  rulePrefix: "I18N",
7
+ tableDescription: "Hardcoded strings, locale handling, currency formatting",
8
+ promptDescription: "Deep i18n review",
7
9
  systemPrompt: `You are Judge Internationalization — a globalization engineer with expertise in Unicode, CLDR, ICU message formatting, and building applications that serve users in 100+ languages and regions.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"internationalization.js","sourceRoot":"","sources":["../../src/judges/internationalization.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAoB;IACxD,EAAE,EAAE,sBAAsB;IAC1B,IAAI,EAAE,4BAA4B;IAClC,MAAM,EAAE,qBAAqB;IAC7B,WAAW,EACT,oJAAoJ;IACtJ,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8IA8B8H;CAC7I,CAAC"}
1
+ {"version":3,"file":"internationalization.js","sourceRoot":"","sources":["../../src/judges/internationalization.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,yBAAyB,GAAoB;IACxD,EAAE,EAAE,sBAAsB;IAC1B,IAAI,EAAE,4BAA4B;IAClC,MAAM,EAAE,qBAAqB;IAC7B,WAAW,EACT,oJAAoJ;IACtJ,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,yDAAyD;IAC3E,iBAAiB,EAAE,kBAAkB;IACrC,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;8IA8B8H;CAC7I,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"logging-privacy.d.ts","sourceRoot":"","sources":["../../src/judges/logging-privacy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,eAiCjC,CAAC"}
1
+ {"version":3,"file":"logging-privacy.d.ts","sourceRoot":"","sources":["../../src/judges/logging-privacy.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,mBAAmB,EAAE,eAmCjC,CAAC"}
@@ -4,6 +4,8 @@ export const loggingPrivacyJudge = {
4
4
  domain: "Logging Privacy & Data Redaction",
5
5
  description: "Evaluates code for PII in log output, sensitive data redaction, appropriate log levels, and compliance with data protection requirements in logging.",
6
6
  rulePrefix: "LOGPRIV",
7
+ tableDescription: "PII in logs, token logging, structured logging, redaction",
8
+ promptDescription: "Deep logging privacy review",
7
9
  systemPrompt: `You are Judge Logging Privacy — a data protection officer and security engineer who has investigated data breaches caused by sensitive information appearing in logs, metrics, and traces.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"logging-privacy.js","sourceRoot":"","sources":["../../src/judges/logging-privacy.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAoB;IAClD,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,kCAAkC;IAC1C,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,SAAS;IACrB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;+HAyB+G;CAC9H,CAAC"}
1
+ {"version":3,"file":"logging-privacy.js","sourceRoot":"","sources":["../../src/judges/logging-privacy.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,mBAAmB,GAAoB;IAClD,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,kCAAkC;IAC1C,WAAW,EACT,sJAAsJ;IACxJ,UAAU,EAAE,SAAS;IACrB,gBAAgB,EAAE,2DAA2D;IAC7E,iBAAiB,EAAE,6BAA6B;IAChD,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;+HAyB+G;CAC9H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"maintainability.d.ts","sourceRoot":"","sources":["../../src/judges/maintainability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAiClC,CAAC"}
1
+ {"version":3,"file":"maintainability.d.ts","sourceRoot":"","sources":["../../src/judges/maintainability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,oBAAoB,EAAE,eAmClC,CAAC"}
@@ -4,6 +4,8 @@ export const maintainabilityJudge = {
4
4
  domain: "Code Maintainability & Technical Debt",
5
5
  description: "Evaluates code for readability, modularity, complexity, naming conventions, and technical debt indicators that affect long-term maintenance costs.",
6
6
  rulePrefix: "MAINT",
7
+ tableDescription: "Any types, magic numbers, deep nesting, dead code, file length",
8
+ promptDescription: "Deep maintainability & tech debt review",
7
9
  systemPrompt: `You are Judge Maintainability — a principal engineer with 20+ years of experience maintaining large-scale production codebases, specializing in reducing technical debt and improving code health metrics.
8
10
 
9
11
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"maintainability.js","sourceRoot":"","sources":["../../src/judges/maintainability.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,uCAAuC;IAC/C,WAAW,EACT,oJAAoJ;IACtJ,UAAU,EAAE,OAAO;IACnB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;gIAyBgH;CAC/H,CAAC"}
1
+ {"version":3,"file":"maintainability.js","sourceRoot":"","sources":["../../src/judges/maintainability.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,oBAAoB,GAAoB;IACnD,EAAE,EAAE,iBAAiB;IACrB,IAAI,EAAE,uBAAuB;IAC7B,MAAM,EAAE,uCAAuC;IAC/C,WAAW,EACT,oJAAoJ;IACtJ,UAAU,EAAE,OAAO;IACnB,gBAAgB,EAAE,gEAAgE;IAClF,iBAAiB,EAAE,yCAAyC;IAC5D,YAAY,EAAE;;;;;;;;;;;;;;;;;;;;;;;;;gIAyBgH;CAC/H,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"model-fingerprint.d.ts","sourceRoot":"","sources":["../../src/judges/model-fingerprint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,eA6BnC,CAAC"}
1
+ {"version":3,"file":"model-fingerprint.d.ts","sourceRoot":"","sources":["../../src/judges/model-fingerprint.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,qBAAqB,EAAE,eA+BnC,CAAC"}
@@ -1,11 +1,13 @@
1
1
  export const modelFingerprintJudge = {
2
2
  id: "model-fingerprint",
3
- name: "Model Fingerprint Detection",
3
+ name: "Judge Model Fingerprint Detection",
4
4
  domain: "AI Code Provenance & Model Attribution",
5
5
  description: "Detects stylistic fingerprints characteristic of specific AI code generators " +
6
6
  "(ChatGPT/GPT-4, Claude, Copilot, Gemini) to flag code that may carry " +
7
7
  "model-specific biases, hallucinations, or blind spots.",
8
8
  rulePrefix: "MFPR",
9
+ tableDescription: "Detects stylistic fingerprints characteristic of specific AI code generators",
10
+ promptDescription: "Deep review of AI code provenance and model attribution fingerprints",
9
11
  systemPrompt: `You are Judge Model Fingerprint Detection — an expert in identifying stylistic signatures of AI-generated code.
10
12
 
11
13
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"model-fingerprint.js","sourceRoot":"","sources":["../../src/judges/model-fingerprint.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IACpD,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,6BAA6B;IACnC,MAAM,EAAE,wCAAwC;IAChD,WAAW,EACT,+EAA+E;QAC/E,uEAAuE;QACvE,wDAAwD;IAC1D,UAAU,EAAE,MAAM;IAClB,YAAY,EAAE;;;;;;;;;;;;;;;;;;;2DAmB2C;CAC1D,CAAC"}
1
+ {"version":3,"file":"model-fingerprint.js","sourceRoot":"","sources":["../../src/judges/model-fingerprint.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,qBAAqB,GAAoB;IACpD,EAAE,EAAE,mBAAmB;IACvB,IAAI,EAAE,mCAAmC;IACzC,MAAM,EAAE,wCAAwC;IAChD,WAAW,EACT,+EAA+E;QAC/E,uEAAuE;QACvE,wDAAwD;IAC1D,UAAU,EAAE,MAAM;IAClB,gBAAgB,EAAE,8EAA8E;IAChG,iBAAiB,EAAE,sEAAsE;IACzF,YAAY,EAAE;;;;;;;;;;;;;;;;;;;2DAmB2C;CAC1D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"multi-turn-coherence.d.ts","sourceRoot":"","sources":["../../src/judges/multi-turn-coherence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,uBAAuB,EAAE,eA0BrC,CAAC"}
1
+ {"version":3,"file":"multi-turn-coherence.d.ts","sourceRoot":"","sources":["../../src/judges/multi-turn-coherence.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,uBAAuB,EAAE,eA4BrC,CAAC"}
@@ -1,10 +1,12 @@
1
1
  export const multiTurnCoherenceJudge = {
2
2
  id: "multi-turn-coherence",
3
- name: "Multi-Turn Coherence",
3
+ name: "Judge Multi-Turn Coherence",
4
4
  description: "Detects self-contradicting patterns: duplicate function definitions, contradictory " +
5
5
  "boolean assignments, dead code after returns, conflicting configs, and TODO density.",
6
6
  domain: "Code Coherence & Consistency",
7
7
  rulePrefix: "COH",
8
+ tableDescription: "Self-contradicting patterns, duplicate definitions, dead code, inconsistent naming",
9
+ promptDescription: "Deep review of code coherence: self-contradictions, duplicate definitions, dead code",
8
10
  systemPrompt: `You are Judge Multi-Turn Coherence — an expert in detecting self-contradicting and incoherent code patterns.
9
11
 
10
12
  YOUR EVALUATION CRITERIA:
@@ -1 +1 @@
1
- {"version":3,"file":"multi-turn-coherence.js","sourceRoot":"","sources":["../../src/judges/multi-turn-coherence.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAoB;IACtD,EAAE,EAAE,sBAAsB;IAC1B,IAAI,EAAE,sBAAsB;IAC5B,WAAW,EACT,qFAAqF;QACrF,sFAAsF;IACxF,MAAM,EAAE,8BAA8B;IACtC,UAAU,EAAE,KAAK;IACjB,YAAY,EAAE;;;;;;;;;;;;;;;;;+DAiB+C;CAC9D,CAAC"}
1
+ {"version":3,"file":"multi-turn-coherence.js","sourceRoot":"","sources":["../../src/judges/multi-turn-coherence.ts"],"names":[],"mappings":"AAEA,MAAM,CAAC,MAAM,uBAAuB,GAAoB;IACtD,EAAE,EAAE,sBAAsB;IAC1B,IAAI,EAAE,4BAA4B;IAClC,WAAW,EACT,qFAAqF;QACrF,sFAAsF;IACxF,MAAM,EAAE,8BAA8B;IACtC,UAAU,EAAE,KAAK;IACjB,gBAAgB,EAAE,oFAAoF;IACtG,iBAAiB,EAAE,sFAAsF;IACzG,YAAY,EAAE;;;;;;;;;;;;;;;;;+DAiB+C;CAC9D,CAAC"}
@@ -1 +1 @@
1
- {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../src/judges/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAiChC,CAAC"}
1
+ {"version":3,"file":"observability.d.ts","sourceRoot":"","sources":["../../src/judges/observability.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,eAAe,EAAE,MAAM,aAAa,CAAC;AAEnD,eAAO,MAAM,kBAAkB,EAAE,eAmChC,CAAC"}
@@ -4,6 +4,8 @@ export const observabilityJudge = {
4
4
  domain: "Monitoring & Diagnostics",
5
5
  description: "Evaluates code for structured logging, distributed tracing (OpenTelemetry), metrics exposition, alerting hooks, correlation IDs, and dashboarding readiness.",
6
6
  rulePrefix: "OBS",
7
+ tableDescription: "Structured logging, health checks, metrics, tracing",
8
+ promptDescription: "Deep observability & monitoring review",
7
9
  systemPrompt: `You are Judge Observability — a monitoring and observability architect with deep expertise in the three pillars (logs, metrics, traces), OpenTelemetry, Prometheus, Grafana, and production incident response.
8
10
 
9
11
  YOUR EVALUATION CRITERIA: