Skip to content

Commit 18080d8

Browse files
authored
Fix #426 (#429)
1 parent d1a773b commit 18080d8

File tree

2 files changed

+5
-6
lines changed

2 files changed

+5
-6
lines changed

src/oss-reproducible/README.md

Lines changed: 3 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -1,14 +1,14 @@
11
# OSS Reproducible
22

3-
The purpose of *oss-reproducible* is to analyze open source packages for `semantic reproducibility`. We start with
3+
The purpose of *oss-reproducible* is to analyze open source packages for `semantic equivalency`. We start with
44
an existing package (for example, the NPM "left-pad" package, version 1.3.0), and we try to answer the
55
question, **How accurately does the source code represent the published package?**
66

77
## Why Reproducibility?
88
Reproducible builds allow confidence that packages are derived from the source code that produced them.
99

1010
## Semantic Reproducibility
11-
A project build is `semantically reproducible` if its build results can be either recreated exactly (a bit for bit [reproducible build](https://en.wikipedia.org/wiki/Reproducible_builds)), or if the differences between the release package and a rebuilt package are not expected to produce functional differences in normal cases.
11+
A project build is `semantically equivalent` if its build results can be either recreated exactly (a bit for bit [reproducible build](https://en.wikipedia.org/wiki/Reproducible_builds)), or if the differences between the release package and a rebuilt package are not expected to produce functional differences in normal cases.
1212

1313
For example, the rebuilt package might have different date/time stamps, or one might include files like .gitignore that are not in the other and would not change the execution of a program under normal circumstances.
1414

@@ -35,7 +35,7 @@ and the associated source code from OSS-Find-Source.
3535

3636
## Ignoring Files
3737

38-
Certain files are uninteresting from a `semantic reproducibility` perspective and are excluded from analyses.
38+
Certain files are uninteresting from a `semantic equivalency` perspective and are excluded from analyses.
3939
These files are defined in Strategies/PackageIgnoreList.txt.
4040

4141
## Contributing to OSS Reproducible

src/oss-reproducible/ReproducibleTool.cs

Lines changed: 2 additions & 3 deletions
Original file line numberDiff line numberDiff line change
@@ -34,8 +34,7 @@ public static IEnumerable<Example> Examples
3434
get
3535
{
3636
return new List<Example>() {
37-
new Example("Estimate semantic reproducibility of the given package",
38-
new Options { Targets = new List<string>() {"[options]", "package-url..." } })
37+
new Example("Estimate semantic equivalency of the given package and source code", new Options { Targets = new List<string>() {"[options]", "package-url..." } })
3938
};
4039
}
4140
}
@@ -105,7 +104,7 @@ public KeyValuePair<double, string> GetReproducibilityScore(ReproducibleToolResu
105104
{
106105
if (fullResult.Results == null)
107106
{
108-
return KeyValuePair.Create(0.0, "No semantic reproducibility results were created.");
107+
return KeyValuePair.Create(0.0, "No semantic equivalency results were created.");
109108
}
110109

111110
KeyValuePair<double, string> bestScore = KeyValuePair.Create(0.0, "No strategies were able to successfully derive the package from the source code.");

0 commit comments

Comments
 (0)