Validation
We compared SRL Engine's calculations with established R packages on the same data. This page reports measured results only; every value that does not match is listed with its cause.
“Within tolerance” means that the difference between the two values does not exceed the tolerance written on that row. The tolerance is the precision at which SRL Engine reports the value (e.g. half of the last digit for a value reported to four decimals); it was not widened after measuring. On variance rows, if SRL Engine reports 0 while R gives a positive value, the row counts as “Differs” however small the difference: a study with zero variance cannot enter the pool.
- Measured version
- SRL Engine 1d63901c (2026-11-09): Meta-analysis (Continuous, Binary, Correlation, Proportion)SRL Engine 654e1ccd (2026-11-07): BibliometricsSRL Engine 0115f826 (2026-11-05): Inter-coder agreement
- R and packages
- Meta-analysis (Continuous, Binary, Correlation, Proportion): R 4.5.3 · metafor 4.8.0, clubSandwich 0.6.1, meta 8.2.1, esc 0.5.1, robumeta 2.1Bibliometrics: R 4.5.3 · bibliometrix 5.1.1, igraph 2.2.0, Matrix 1.7.4, jsonlite 2.0.0, text2vec 0.6.6, stringi 1.8.7, digest 0.6.37Inter-coder agreement: R 4.5.3 · irr 0.85, psych 2.6.9, jsonlite 2.0.0, epiR 3.0.0, irrCAC 1.4
- Measured at
- Meta-analysis (Continuous, Binary, Correlation, Proportion): 2026-11-09 15:06Bibliometrics: 2026-11-07 12:11Inter-coder agreement: 2026-11-06 22:44
Summary
Error: a calculation, reading, setting or labelling problem in SRL Engine that needs fixing. Rounding: loss of precision from rounding an intermediate value too early. Definition difference: the two tools compute the measure with different definitions or settings. Deliberate rule: SRL Engine handles the case with its own rule (e.g. it does not compute with too little data); the rule is described in the topic note.
“Within tolerance” counts numerical agreement only; rows where neither side produces a value are in the “Both undefined” column. On some rows the R side is not a package function but a rule, formula or count written in R (e.g. the Cochrane 2024 HKSJ rule, three-level I², the number of records); the row's R call shows this.
Values are shown as each comparison script writes them; meta-analysis and inter-coder agreement rows use a decimal point.
Why not every row matches
Why rows fall outside the tolerance, module by module. Each cause links to its explanation below.
Meta-analysis (Continuous, Binary, Correlation, Proportion)
Within tolerance: 2802 / 2886 · Differs: 84
Error: 0 · Definition difference: 84
None of these rows is an error in SRL Engine; each one is a definition difference or a deliberate rule.
Causes
- CHE + RVE: the last digits of the REML estimate · 57 rows · Definition difference
- ω² convergence of rma.mv · 11 rows · Definition difference
- τ² at the REML boundary: exact zero vs numerical zero · 8 rows · Definition difference
- Variance of g: Borenstein vs the metafor default · 6 rows · Definition difference
- Default convergence threshold of meta::metagen · 1 row · Definition difference
- Within-group Var(d): metafor's two definitions · 1 row · Definition difference
Bibliometrics
Within tolerance: 57 / 82 · Differs: 25
Error: 0 · Definition difference: 24 · Deliberate rule: 1
None of these rows is an error in SRL Engine; each one is a definition difference or a deliberate rule.
Causes
- Identity of the cited work · 5 rows · Definition difference
- Keyword harmonisation · 3 rows · Definition difference
- Merging journal names · 2 rows · Definition difference
- Merging author names · 2 rows · Definition difference
- Documents without authors · 2 rows · Definition difference
- Bradford zone boundaries · 2 rows · Definition difference
- Louvain clustering: weighted vs unweighted · 2 rows · Definition difference
- Resolving the country from an address · 2 rows · Definition difference
- Duplicate removal · 1 row · Definition difference
- Lotka R² · 1 row · Definition difference
- Historiograph: matching citations within the corpus · 1 row · Definition difference
- NMF: the SVD behind the initialisation · 1 row · Definition difference
- Cited references in old Scopus BibTeX files are not read · 1 row · Deliberate rule
Inter-coder agreement
Within tolerance: 97 / 110 · Differs: 11
Error: 0 · Definition difference: 8 · Deliberate rule: 3
None of these rows is an error in SRL Engine; each one is a definition difference or a deliberate rule.
Both undefined: 2. On these rows neither side produces a value; they count neither as “Within tolerance” nor as “Differs”.
Causes
- PABAK: categories used vs defined scale · 4 rows · Definition difference
- Weighted kappa: full scale vs observed categories · 2 rows · Definition difference
- Minimum number of records · 2 rows · Deliberate rule
- Clipping the ICC to [−1, 1] · 1 row · Definition difference
- PABAK: epiR with three or more categories · 1 row · Definition difference
- PABAK on free text · 1 row · Deliberate rule
Definition differences and deliberate rules
On these rows the two tools compute the measure with different definitions or settings, or SRL Engine handles the case with its own rule. For most definition differences, the table also contains a comparison made with the same definition.
Meta-analysis (Continuous, Binary, Correlation, Proportion) · 84 rows
- CHE + RVE: the last digits of the REML estimateDefinition difference
Seen in two models of the CHE + RVE comparison for the new measures: the raw mean difference of dat.curtis1998 (MD; on the gram scale, with a ratio of about 5×10⁷ between the largest and smallest sampling variance) and the logit proportion of dat.obrien2003 (ρ = 0.8). In these models the REML surface is very flat in the τ² and ω² directions, and SRL Engine and metafor::rma.mv in R stop at τ² and ω² values that differ in the sixth decimal. A row is assigned to this topic only when two conditions are measured: SRL Engine's τ², ω² point is equivalent to or better than R's in REML likelihood (a −2·logL difference of at most 1e-09; for MD at ρ = 0.8 R cannot bring τ² down to the zero boundary and SRL Engine's likelihood is higher), and given R's τ² and ω², SRL Engine's pooled effect, SE, CI, prediction interval, subgroup and meta-regression values are within tolerance of R. The difference comes from the last digits of the variance components, not from the CR2 / Satterthwaite computation.
57 rows - ω² convergence of rma.mvDefinition difference
On the binary CHE rows (dat.dong2013) the REML surface is very flat in the within-study variance (ω²) direction. The optimiser of metafor::rma.mv in R (nlminb) then stops before ω² converges to its last digits; the estimate moves with the threshold setting. With τ² held at R's own estimate and only ω² re-estimated, R's REML likelihood rises and ω² is within tolerance of SRL Engine. Given R's τ² and ω², SRL Engine's p and prediction interval are also within tolerance: the difference comes from the last digits of R's ω² estimate, not from the CR2 / Satterthwaite computation.
11 rows - τ² at the REML boundary: exact zero vs numerical zeroDefinition difference
In the cross-sectional subgroup of dat.molloy2014 (5 studies) there is no between-study variance. SRL Engine returns the REML estimate at the boundary as exactly 0; metafor stops at about 1e-14 instead of bringing it down to 0. Because the Cochrane 2024 rule applies HKSJ only when τ² > 0, R builds the HKSJ confidence interval in this subgroup and SRL Engine the Wald confidence interval. The pooled effect and SE match; SRL Engine's confidence interval is within tolerance of R's Wald confidence interval for the same subgroup. The difference comes from how the two tools represent zero variance numerically, not from the calculation.
8 rows - Variance of g: Borenstein vs the metafor defaultDefinition difference
For independent groups SRL Engine uses Var(g) = J²·Var(d) (Borenstein et al., 2009); metafor's default variance (vtype = "LS") has no J² factor. This is why the pooled effect, confidence interval, τ² and Q differ in the chain that starts from SRL Engine's own effect computation. With the same effects and variances, pooling matches; the chain built with the same variance definition (vtype = "LS2") is also within tolerance.
6 rows - Default convergence threshold of meta::metagenDefinition difference
On the R side, metagen at its default threshold (1e-5) stops the subgroup τ² early. Because τ² is small on the RD scale, this shows in Q_between: 2.177192. The same call with a strict threshold (1e-12) gives 2.177367, which equals the rma row and is within tolerance of SRL Engine's 2.1774.
1 row - Within-group Var(d): metafor's two definitionsDefinition difference
For the within-group design SRL Engine uses metafor's SMCRP definition: Var(d) = 2(1 − r)/n + d²(1 + r²)/(4n). metafor's SMCR definition writes the d² term as d²/(2n); the two definitions differ only in this term, by d²(1 − r²)/(4n). The largest difference on dat.lehmann2018 is 0.0035. All rows built with SMCRP are within tolerance.
1 row
Bibliometrics · 25 rows
- Identity of the cited workDefinition difference
SRL Engine identifies a cited work by an author + year + source key and merges spelling variants; bibliometrix uses the abbreviated reference line as is. Given the same work identities, the co-citation and coupling networks are identical.
5 rows - Keyword harmonisationDefinition difference
SRL Engine merges singular/plural and spelling variants and removes generic terms; bibliometrix counts each term as written. With the same harmonisation, the number of terms and the keyword network (nodes, edges, weights, density) agree.
3 rows - Merging journal namesDefinition difference
SRL Engine merges journals by ISSN, or otherwise ignoring case and punctuation; bibliometrix counts the name as written. With the same journal names, the number of sources and the source h-index agree.
2 rows - Merging author namesDefinition difference
SRL Engine ignores accents and punctuation in author names (LARIVIÈRE V and LARIVIÉRE V are one author); bibliometrix counts the spellings separately, drops an accented initial and also counts the 'NA NA' it writes for documents without authors. This is why the number of authors and documents per author differ. With the same author identities the results agree.
2 rows - Documents without authorsDefinition difference
bibliometrix assigns a single author named 'NA NA' to documents without authors and counts it; SRL Engine neither counts a document without authors as single-authored nor includes it in the denominator of authors per document.
2 rows - Bradford zone boundariesDefinition difference
bibliometrix adds the source that crosses a zone threshold to that zone; SRL Engine closes the zone before it exceeds its share. A few sources at the boundary move to the neighbouring zone.
2 rows - Louvain clustering: weighted vs unweightedDefinition difference
bibliometrix runs Louvain unweighted when plotting the network; SRL Engine runs it weighted by co-occurrence counts. When SRL Engine's clusters are passed to igraph, the modularity agrees.
2 rows - Resolving the country from an addressDefinition difference
The two tools resolve some addresses to different countries: bibliometrix counts Taiwan as CHINA and Czechoslovakia as SLOVAKIA, and misses the spellings 'Russian Federation', 'UK' and 'Brasil'. Given the same country assignment the network is identical.
2 rows - Duplicate removalDefinition difference
With default settings, bibliometrix removes Scopus BibTeX records that share a title; some of them are different documents. In SRL Engine records are transferred from Reference Management to Bibliometrics; no record is dropped on this path, and duplicate detection is a separate step in Reference Management.
1 row - Lotka R²Definition difference
bibliometrix reports the R² of the log-log regression; SRL Engine computes R² on the raw counts against the theoretical distribution and tests the fit separately with a Kolmogorov–Smirnov test. The two R² values measure different things.
1 row - Historiograph: matching citations within the corpusDefinition difference
SRL Engine matches citations within the corpus by DOI, title and work identity; the work-identity stage does not link when the reference line's DOI, volume or first page contradicts the document's. bibliometrix matches a citation exactly against the document's label: it skips reference lines that do not match the label exactly, and it loses citations to documents without a DOI because the trailing space of their label is trimmed. Given the same links the network is identical.
1 row - NMF: the SVD behind the initialisationDefinition difference
scikit-learn's NNDSVD initialisation approximates the SVD with the randomized algorithm; an initialisation built from the exact SVD differs. From the same initialisation, the same solver written in R gives the same solution.
1 row - Cited references in old Scopus BibTeX files are not readDeliberate rule
Today Scopus includes cited references (“Included references”) only in CSV and plain-text exports, not in BibTeX or RIS. SRL Engine therefore reads Scopus references from CSV; when Scopus is selected, the import dialog recommends CSV with the “Include references” box ticked. The BibTeX reader takes cited references only from WoS's cited-references field. bibliometrix's sample scopus.bib, however, was exported from Scopus's old interface in 2016 and carries a references field for most documents; bibliometrix reads this field, SRL Engine does not. The citation-based networks were therefore tested with the WoS BibTeX sample (savedrecs.bib).
Source: Elsevier: What fields are used when exporting documents from Scopus?
1 row
Inter-coder agreement · 11 rows
- PABAK: categories used vs defined scaleDefinition difference
SRL Engine takes PABAK's k from the number of categories the two coders used; an option nobody chose does not change PABAK. Given every category of the scale, irrCAC::bp.coeff.raw sets the expected agreement to 1/q and the results differ. With the categories used, irrCAC is within tolerance of SRL Engine.
4 rows - Weighted kappa: full scale vs observed categoriesDefinition difference
irr::kappa2 builds the weights from observed categories only; SRL Engine uses the whole defined scale. When a category in the middle of the scale is never used, the results differ. Given the full scale, psych::cohen.kappa is within tolerance of SRL Engine.
2 rows - Minimum number of recordsDeliberate rule
SRL Engine does not compute kappa or ICC with too few comparable records and states the reason (the limits are given in the row notes); irr sets no lower bound.
2 rows - Clipping the ICC to [−1, 1]Definition difference
The sample ICC(A,1) estimate can fall below −1; SRL Engine clips the result to [−1, 1], irr does not. The difference appears only in such extreme negative cases.
1 row - PABAK: epiR with three or more categoriesDefinition difference
epiR::epi.kappa computes PABAK as 2·p_o − 1 regardless of the number of categories. SRL Engine uses that formula with two categories and the Brennan and Prediger (1981) coefficient, (k·p_o − 1)/(k − 1), with three or more. It is within tolerance of epiR with two categories and of irrCAC with k categories.
1 row - PABAK on free textDeliberate rule
A free-text item has no fixed category list; k grows with the number of distinct spellings that disagree. So SRL Engine reports PABAK on a text item only with two categories; with three or more it reports percent agreement and kappa. In that case the product returns the PABAK field empty, without a reason. irrCAC computes it over every spelling used.
1 row
Not covered by this comparison
The following were not tested in this comparison; the page makes no claim about them.
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Binary: testing with RR and RD as reported in papers. The RR, RD and confidence intervals tested were produced in R from the dat.bcg 2×2 tables; no published data set with these values was found in R packages.
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Binary: leave-one-out, Egger, trim-and-fill, subgroups and meta-regression with tables that have zero cells; the rows for these analyses contain no table with zero cells.
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Continuous: a directly entered g; testing with t and F as reported in papers (the t and F tested were derived in R from published M/SD/n).
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Continuous, within-group MC and ROMC: CHE + RVE (CHE + RVE was tested for MD and ln ROM with dat.curtis1998; the engine does not depend on the measure).
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Correlation: testing with t, F and p as reported in papers (the t, F and p tested were derived in R from published r and N); CHE + RVE with raw r (CHE + RVE was tested with Fisher z on robumeta::oswald2013; the engine does not depend on the measure).
- Meta-analysis (Continuous, Binary, Correlation, Proportion): Proportion: GLMM is not in the product and was not compared.
- Bibliometrics: Estimating LDA's topic-word matrix (given that matrix, the document-topic distribution and perplexity were tested); the clusters Louvain finds (only modularity was tested); comparing the NMF solver with an R package (the solver was rewritten in R); document, journal and author level co-citation, author and journal level coupling, the institution network and the direct citation network; Scopus CSV references and references filled from Crossref.
Accuracy of AI data extraction
In the Correlation and Proportion modules, AI extracts data rows from the article PDF. On a sealed test set of open-access (CC BY) articles in each module we measured how many required rows were found (recall), whether the values of the rows found were correct (value accuracy) and whether any value absent from the text was written (fabrication); the criterion is recall ≥ 85%, value accuracy ≥ 90%, fabrication 0. The measurement covers only PDF data extraction in these two modules; screening and the other modules are outside it.
In production every tier runs the Claude model. The GPT model is a fallback used only when Claude cannot respond.
Gold standard: two independent labellings and reconciliation. Measured: 2026-11-12 – 2026-11-13.
Correlation
20 articles, 81 required rows · Ultra subset: 5 articles, 29 rows · Prompt version: kor_2026_11_v13
In this table, rows in 2 articles whose values were correct but whose variable name was mixed with the table title were counted as found (name-key reconciliation). Without this correction, claude-sonnet-5-5 recall is 84%.
Proportion
20 articles, 121 required rows · Ultra subset: 5 articles, 34 rows · Prompt version: oran_2026_11_t6
Each model was run once; run-to-run variation was not measured. The Ultra subset is small: a single row moves a percentage by about 3 points.
Meta-analysis (Continuous, Binary, Correlation, Proportion)
Effect sizes, classical random effects (REML, DL, PM; Wald and HKSJ), leave-one-out, Egger, trim-and-fill, subgroups, meta-regression, CHE + RVE and within-cluster aggregation in the Continuous (SMD; from M/SD/n, t, F or a direct d; independent groups and within-group design; raw mean difference MD and ratio of means ln ROM, within-group MC and ROMC), Binary (OR, RR, RD; from a 2×2 table or a reported value with its confidence interval; including tables with zero cells), Correlation (Fisher z and raw r; a direct r or a conversion from t, F, p and d) and Proportion (logit, Freeman-Tukey and raw proportion; including studies where the event count equals the sample size) modules. The back-transformation of correlation, proportion and ln ROM results to the display scale (r, proportion, ratio of means) was also compared separately. SRL Engine's production calculation functions were called directly; the row labelled within-group and the rows of the new measures were also computed with the project flow's call. “Chain” rows start from SRL Engine's own effect and variance computation; on the other rows both sides use the same input.
Compared with: R 4.5.3 · metafor 4.8.0, clubSandwich 0.6.1, meta 8.2.1, esc 0.5.1, robumeta 2.1
Measured code: SRL Engine 1d63901c (2026-11-09) · measured at 2026-11-09 15:06
Data: metafor::dat.normand1999, metafor::dat.bcg, metafor::dat.hackshaw1998, metafor::dat.nielweise2007, metafor::dat.bangertdrowns2004, metafor::dat.assink2016, clubSandwich::SATcoaching, metafor::dat.raudenbush1985, metafor::dat.lehmann2018, metafor::dat.dong2013, metafor::dat.curtis1998, metafor::dat.molloy2014, metafor::dat.mcdaniel1994, metafor::dat.pritz1997, metafor::dat.debruin2009, robumeta::oswald2013, metafor::dat.obrien2003
2886 measures · 2802 within tolerance · 84 differ
Bibliometrics
bibliometrix's sample Scopus and Web of Science BibTeX files were loaded into SRL Engine along the user's path (import into Reference Management, then transfer to Bibliometrics). Basic indicators, keyword, citation and country networks, the historiograph, thematic evolution and topic modelling were compared with bibliometrix and other R packages; measures with a definition difference were also compared with the same input. On some topic modelling rows the R side is SRL Engine's algorithm written in R; these rows do not count as independent checks. Because document identities are generated at random on every import, topic modelling and coupling network values vary between imports; the measurement was repeated with five identity seeds and no row's result changed.
Compared with: R 4.5.3 · bibliometrix 5.1.1, igraph 2.2.0, Matrix 1.7.4, jsonlite 2.0.0, text2vec 0.6.6, stringi 1.8.7, digest 0.6.37
Measured code: SRL Engine 654e1ccd (2026-11-07) · measured at 2026-11-07 12:11
Data: scopus.bib (414 records) · source https://www.bibliometrix.org/datasets/scopus.bib · SHA256 93b58d5d66e292c573fe313665dda3cd1cd18ca9fc45f017e8d26e9e82940525
Data: savedrecs.bib (291 records) · source https://www.bibliometrix.org/datasets/savedrecs.bib · SHA256 2babb83506d97064762a3f6d72370369f6030e0176d5cf1b6efcde433be5888e
82 measures · 57 within tolerance · 25 differ
Inter-coder agreement
Cohen's kappa, quadratically weighted kappa, ICC(A,1), percent agreement and PABAK; the measurement path of independent coding for screening and for quality and extraction items was called with the real functions. Weighted kappa was also compared with psych::cohen.kappa on the full scale. The bootstrap confidence interval of Cohen's kappa was recomputed in R with the resamples SRL Engine recorded.
Compared with: R 4.5.3 · irr 0.85, psych 2.6.9, jsonlite 2.0.0, epiR 3.0.0, irrCAC 1.4
Measured code: SRL Engine 0115f826 (2026-11-05) · measured at 2026-11-06 22:44
Data: irr::diagnoses, irr::vision, irr::anxiety, irr::video, epiR::epi.kappa and hand-built edge cases
22 measures for functions the product does not call were left out of the summary: Weighted kappa (linear) (6), Fleiss' kappa (4), Quadratically weighted bootstrap CI (12). Their results are in kiyas.json.
110 measures · 97 within tolerance · 2 both undefined · 11 differ
Reproduce it yourself
You can reproduce the R side on your own computer. The Python scripts that run the comparison are also among the files: they show which SRL Engine function is called with which input and how each row is compared. The scripts that compute the SRL Engine side import its closed-source calculation code, so they do not run outside our repository; SRL Engine's values are published in each module's results file.
Meta-analysis (Continuous, Binary, Correlation, Proportion)
- Install the packages (in R):
install.packages(c("metafor", "clubSandwich", "meta", "esc")) - Download the files into one folder:
- Run this command in that folder:
Rscript r_referans.RThe command overwrites the r_referans.csv you downloaded; to compare with the published values, copy it first. - The command writes r_referans.csv; SRL Engine's values are in sonuc_meta.json.
mc_grup_ici.R tests the within-group variance formula with a Monte Carlo simulation. It needs only base R and writes its result to sonuc/mc_grup_ici_sonuc.csv:
Rscript mc_grup_ici.RDownload mc_grup_ici.RBibliometrics
- Install the packages (in R):
install.packages(c("bibliometrix", "igraph", "jsonlite", "Matrix", "text2vec", "stringi", "digest")) - Download the files into one folder:bibliometrix_hesapla.R (45 KB)calistir.sh (3 KB)karsilastir.py (142 KB)karsilastirma.json (134 KB)srl_hesapla.py (39 KB)sonuc/srl_sonuc.json (4156 KB)tohumlar/karsilastirma_1.json (134 KB)tohumlar/karsilastirma_2.json (134 KB)tohumlar/karsilastirma_3.json (134 KB)tohumlar/karsilastirma_4.json (134 KB)
- Run this command in that folder:
mkdir -p veri sonuc && curl -L -o veri/scopus.bib https://www.bibliometrix.org/datasets/scopus.bib && curl -L -o veri/savedrecs.bib https://www.bibliometrix.org/datasets/savedrecs.bib && curl -L -o sonuc/srl_sonuc.json http://127.0.0.1:62040/dogrulama/biblio/sonuc/srl_sonuc.json && Rscript bibliometrix_hesapla.RThis command is for bash (macOS and Linux terminal; Git Bash on Windows). - The command writes sonuc/bibliometrix_sonuc.json; SRL Engine's values are in karsilastirma.json.
Inter-coder agreement
- Install the packages (in R):
install.packages(c("irr", "psych", "jsonlite", "epiR", "irrCAC")) - Download the files into one folder:bootstrap_siralari.py (7 KB)calistir.py (2 KB)irr_referans.R (20 KB)kiyas.json (271 KB)kiyasla.py (19 KB)olcum.py (17 KB)referans_irr.json (39 KB)vakalar.json (24 KB)siralar/ciftler_boot_yol_tarama.csv (1 KB)siralar/n20_b1000.csv.gz (15 KB)siralar/n21_b1000.csv.gz (16 KB)siralar/n30_b1000.csv.gz (25 KB)siralar/n7477_b300.csv.gz (4577 KB)siralar/ozet.json (1 KB)siralar/tur_kappalari.csv.gz (106 KB)
- Run this command in that folder:
Rscript irr_referans.RThe command overwrites the referans_irr.json you downloaded; to compare with the published values, copy it first. - The command writes referans_irr.json; SRL Engine's values are in kiyas.json.
The data on this page is built by birlestir.py: it brings the three modules' results files into one format and assigns a reason class to every row outside the tolerance. Some of its inputs (the translation table, the git history) are not published, so it does not run outside our repository.
Download birlestir.py