対応あり評価比較
同じサンプルで2つのシステムを比較し、再現可能なbootstrap区間を算出。
Study guide & lesson outline
LEARNING CONTRACTUnderstand → implement → investigate
Goal: explain the mechanism in this lesson, reproduce one example and test a failure case. Reading alone does not mark mastery.
- Understand: state assumptions, shapes/units and a counterexample.
- Implement: reproduce a numerical example and inspect boundaries.
- Investigate: compare one alternative under a matched budget.
01設定
02入力を追加
設定して例を読み込むか、データを貼り付けてください。
03結果を確認
設定して例を読み込むか、データを貼り付けてください。
表示を省略する場合がありますが、JSONレポートは全計算結果を含みます。
結果の読み方
CSVはid,a,b。IDは重複不可、スコアは有限数値で、各行は同じ評価例です。差分を固定シードで2,000回再標本化し、平均B−Aの95%パーセンタイル区間を表示します。行の独立性を仮定するため、ユーザー単位などの集団には別手法が必要です。有意性保証や検出力分析ではありません。最大5,000組。
手法の参考資料
Assumptions, implementation & acceptance
Resample paired independent seed/run means, not correlated rows from one run. Percentile bootstrap is not a causal claim or a p-value; a degenerate fixture can produce a zero-width interval.
Reviewed counting units, statistical assumptions and numerical examples. Provider accounting and actual GPU allocation still require external measurement.
Before running: predict a boundary case
Resample paired independent seed/run means, not correlated rows from one run. Percentile bootstrap is not a causal claim or a p-value; a degenerate fixture can produce a zero-width interval.
Hint: isolate the assumption
Keep the baseline input fixed, change one parameter or boundary, and compare both the numerical result and the claimed units. A passing example verifies this fixture only.
Minimal executable example
Save the example and linked modules in one folder. Use Node.js 22 or newer, then run node eval-compare.mjs. npm install gpt-tokenizer@4.1.0
import {encode as rawEncode} from 'gpt-tokenizer/encoding/cl100k_base';
import {promptDiff,inspectDataset,chunkDocument,compareScores,estimateVRAM,samplingLab,speculativeLab} from './research-core.mjs';
const encode=s=>rawEncode(s,{disallowedSpecial:new Set()});
const result=compareScores('id,a,b\nx,1,2\ny,4,5\nz,0,1','higher',42);
console.log(result.delta,result.ci); // 1 [1,1]; degenerate fixture, not evidence of zero uncertainty in generalTest and transfer
Resample paired independent seed/run means, not correlated rows from one run. Percentile bootstrap is not a causal claim or a p-value; a degenerate fixture can produce a zero-width interval.
Record input, code version, expected result and observed result in the notebook below. Then construct a counterexample that violates the assumption above and explain why the original conclusion no longer follows.
Download complete kit (.tar.gz) · Complete reference kit and regression checksPredict, test and keep evidence
Before revealing an answer, predict one result. After the exercise, record the discrepancy and a transfer test. Saved locally across language editions.
Open notebook / export / clear →The mathematical review scope is recorded per lesson. It does not establish empirical paper reproduction; report suspected errors in your notes. Review scope