Index: exampleparties/anac2019/agentgg/pom.xml
===================================================================
--- exampleparties/anac2019/agentgg/pom.xml	(revision 18)
+++ exampleparties/anac2019/agentgg/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties.anac2019</groupId>
 	<artifactId>agentgg</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/AgentGG.java
===================================================================
--- exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/AgentGG.java	(revision 18)
+++ exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/AgentGG.java	(revision 19)
@@ -39,5 +39,6 @@
  * Xu and Peihao Ren of University of Southampton. This party requires a partial
  * ordering as input (notice that most profiles are also partial ordering
- * anyway).
+ * anyway). Much javadoc has been added after reverse engineering, to enable the
+ * translation.
  */
 public class AgentGG extends DefaultParty {
@@ -47,6 +48,6 @@
 	private double offerLowerRatio = 1.0;
 	private double offerHigherRatio = 1.1;
-	private double MAX_IMPORTANCE;
-	private double MIN_IMPORTANCE;
+	protected double MAX_IMPORTANCE;
+	protected double MIN_IMPORTANCE;
 	private double MEDIAN_IMPORTANCE;
 	private Bid MAX_IMPORTANCE_BID;
@@ -319,4 +320,8 @@
 					this.reservationImportanceRatio + 0.2);
 		}
+		// #1799 HACK not in original code : somethmes above computation goes
+		// wildly off bounds.
+		if (this.offerLowerRatio > 1)
+			this.offerLowerRatio = 0.9999;
 		this.offerHigherRatio = this.offerLowerRatio + 0.1;
 	}
@@ -412,6 +417,6 @@
 	 * the threshold range, and return the bid with the highest opponent import.
 	 *
-	 * @param lowerRatio Generate a lower limit for the random bid
-	 * @param upperRatio Generate random bid upper limit
+	 * @param lowerRatio Generate a lower limit for the random bid in [0,1]
+	 * @param upperRatio Generate random bid upper limit can be >1
 	 * @return Bid
 	 * @throws IOException
Index: exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/ImpMap.java
===================================================================
--- exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/ImpMap.java	(revision 18)
+++ exampleparties/anac2019/agentgg/src/main/java/geniusweb/exampleparties/agentgg/ImpMap.java	(revision 19)
@@ -115,5 +115,6 @@
 	/**
 	 * @param bid the bid to get the importance (utility?) of.
-	 * @return the importance value of bid. CHECK is this inside [0,1]?
+	 * @return the importance value of bid. Note, this this returns possibly
+	 *         large (>1) values, as the importance is not normalized.
 	 */
 	public double getImportance(Bid bid) {
Index: exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java
===================================================================
--- exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java	(revision 18)
+++ exampleparties/anac2019/agentgg/src/test/java/geniusweb/exampleparties/agentgg/AgentGGTest.java	(revision 19)
@@ -89,4 +89,13 @@
 
 	@Test
+	public void testMinMaxRealistic() {
+		assertTrue(party.MIN_IMPORTANCE >= 0);
+		assertTrue(party.MIN_IMPORTANCE < 1);
+		assertTrue(party.MAX_IMPORTANCE >= 0);
+		assertTrue(party.MAX_IMPORTANCE < 1);
+		assertTrue(party.MIN_IMPORTANCE <= party.MAX_IMPORTANCE);
+	}
+
+	@Test
 	public void getDescriptionTest() {
 		assertNotNull(party.getDescription());
Index: exampleparties/anac2019/winkyagent/pom.xml
===================================================================
--- exampleparties/anac2019/winkyagent/pom.xml	(revision 18)
+++ exampleparties/anac2019/winkyagent/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties.anac2019</groupId>
 	<artifactId>winkyagent</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/boulware/pom.xml
===================================================================
--- exampleparties/boulware/pom.xml	(revision 18)
+++ exampleparties/boulware/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>boulware</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/comparebids/pom.xml
===================================================================
--- exampleparties/comparebids/pom.xml	(revision 18)
+++ exampleparties/comparebids/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>comparebids</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/conceder/pom.xml
===================================================================
--- exampleparties/conceder/pom.xml	(revision 18)
+++ exampleparties/conceder/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>conceder</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/hardliner/pom.xml
===================================================================
--- exampleparties/hardliner/pom.xml	(revision 18)
+++ exampleparties/hardliner/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>hardliner</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/humangui/pom.xml
===================================================================
--- exampleparties/humangui/pom.xml	(revision 18)
+++ exampleparties/humangui/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>humangui</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/linear/pom.xml
===================================================================
--- exampleparties/linear/pom.xml	(revision 18)
+++ exampleparties/linear/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>linear</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/randomparty/pom.xml
===================================================================
--- exampleparties/randomparty/pom.xml	(revision 18)
+++ exampleparties/randomparty/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>randomparty</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/randompartypy/pom.xml
===================================================================
--- exampleparties/randompartypy/pom.xml	(revision 18)
+++ exampleparties/randompartypy/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>randompyparty</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/simpleshaop/pom.xml
===================================================================
--- exampleparties/simpleshaop/pom.xml	(revision 18)
+++ exampleparties/simpleshaop/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>simpleshaop</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.6</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
Index: exampleparties/timedependentparty/pom.xml
===================================================================
--- exampleparties/timedependentparty/pom.xml	(revision 18)
+++ exampleparties/timedependentparty/pom.xml	(revision 19)
@@ -6,5 +6,5 @@
 	<groupId>geniusweb.exampleparties</groupId>
 	<artifactId>timedependentparty</artifactId>
-	<version>1.4.1</version> <!-- must equal ${geniusweb.version} -->
+	<version>1.4.2</version> <!-- must equal ${geniusweb.version} -->
 	<packaging>jar</packaging>
 
@@ -17,5 +17,5 @@
 		<passwd>${env.ARTIFACTORY_PASS}</passwd>
 		<jackson-2-version>2.9.10</jackson-2-version>
-		<geniusweb.version>1.4.1</geniusweb.version>
+		<geniusweb.version>1.4.2</geniusweb.version>
 	</properties>
 
