SAMAR

Provenance

Reproducibility in SAMAR

Last updated 23 November 2026

Every SAMAR report ends with a reproducibility record. With it, anyone can check that a result came from a given file, and repeat the analysis to get the same numbers.

01What the record holds

  • The SAMAR release that made the report.
  • R and its packages: the R version, and every R package that computed a result, named with its version in References. The versions are fixed for each release.
  • When the report was made.
  • Each dataset: its rows and columns, and the SHA-256 fingerprint of the file as you uploaded it.
  • The settings: each analysis's settings, the random seed where one is used, and any figure settings you changed (theme, colours, a legend's size, titles). Every setting is also in the Settings sheet of the Excel results in the report zip.
  • How to repeat it: the same file, the same settings and the same release give the same numbers.

02A real record

SAMAR reproducibility record

SAMAR release: s21-da38cb1
R: R version 4.5.3 (2026-03-11)
R packages: 7, each named with its version in References; the versions are fixed for this SAMAR release.
Report made: 24 November 2026, 15:23 UTC
Data: wheat_nitrogen_rcbd.csv: 30 rows x 5 columns; SHA-256 of wheat_nitrogen_rcbd.csv as uploaded: bdca9a4dbbe09c102d99c01262743dd53fe3b28f08203aafb2c46b1c53477417
Settings: 1-Factor ANOVA (RBD): mv vars = GrainYield_tha, GrainsPerSpike, TGW_g; design = RBD; transformation = none; mean separation = LSD; p adjustment = none; ms method = LSD; ancova = FALSE; ms only sig = FALSE; alpha = 0.05; ms alpha = 0.05; treatment = Treatment; response = GrainYield_tha, GrainsPerSpike, TGW_g; block = Replication; ind var = TGW_g; ms var = TGW_g
Figure settings changed: 1-Factor ANOVA (RBD): theme = classic; title = Grain yield by nitrogen rate; x-axis title = Nitrogen rate (kg N/ha); y-axis title = Grain yield (t/ha)
Random seed: none set by the analyses in this report.
All settings: every setting of every analysis is also in the Settings sheet of SAMAR_results.xlsx (in the report zip).
To repeat: the same SAMAR release, the same file (its SHA-256 must match) and the same settings give the same numbers.
SAMAR's own methods: methods SAMAR computes itself, without an outside R package, are cited by their original papers in References.

From a SAMAR report on the sample wheat trial (6 nitrogen rates in 5 blocks; the data is on the SAMAR home page). The same record is the last section of the Word and web reports and a plain-text file in the report zip.

03Check that a file is the same

The fingerprint is the file's SHA-256: the same file always gives the same fingerprint, and changing a single value changes it. It proves which file was analysed without SAMAR keeping the file: your data is never stored (see the privacy policy).

  • On Windows: certutil -hashfile yourfile.csv SHA256
  • On Mac or Linux: shasum -a 256 yourfile.csv

Compare the result with the fingerprint in the record.

04Repeat a result

  1. Open SAMAR and upload the same file (its fingerprint must match).
  2. Choose the same analysis and the settings listed in the Settings sheet.
  3. Run it. With the same release, the numbers are the same.

The release is named in the record. If your record names an earlier release and a number differs, write to support@lavaka.net with the record.

05Methods and references

Each analysis in a report names its method and cites the method's original paper, under the analysis that used it. Every R package that computed a result is cited with its version. Methods SAMAR computes itself, without an outside R package, are cited by their original papers too.

06How SAMAR is tested

  • Results are checked against published worked examples.
  • Every new version is tested before release; nothing goes online until it passes.
  • The same data with the same settings always gives the same answer.
  • When data has a problem, SAMAR explains it in plain words instead of failing.

07Cite SAMAR

Guruprasad A (2026). SAMAR: Statistical Analysis Machine for Agricultural Research. Lavaka. https://samar.lavaka.net

Name the release from your report's record too.