1. Test Modules
  2. Serialization
    1. Raw Json
  3. Results

Subreport: Logs for com.simiacryptus.ref.lang.ReferenceCountingBase

Test Modules

Using Seed 701108780008744960

Serialization

This apply will demonstrate the key's JSON serialization, and verify deserialization integrity.

Raw Json

SerializationTest.java:99 executed in 0.00 seconds (0.000 gc):

    final JsonObject json = layer.getJson().getAsJsonObject();
    @Nonnull final Layer echo = Layer.fromJson(json);
    if (layer == echo) {
      echo.freeRef();
      throw new AssertionError("Serialization did not copy");
    }
    if (!layer.equals(echo)) {
      echo.freeRef();
      throw new AssertionError("Serialization not equal");
    }
    echo.freeRef();
    return json;

Returns

    {
      "class": "com.simiacryptus.mindseye.layers.LoggingWrapperLayer",
      "id": "df48372f-ba1d-42ba-b5a5-5cfb0dc9d15a",
      "isFrozen": false,
      "name": "LoggingWrapperLayer",
      "inner": {
        "class": "com.simiacryptus.mindseye.layers.java.LinearActivationLayer",
        "id": "2388dd28-55c2-4981-89cb-f32867c7cd33",
        "isFrozen": false,
        "name": "\u003d\u003e x + 0.0e+00!",
        "weights": [
          1.0,
          0.0
        ]
      }
    }

Wrote Model to LoggingWrapperLayer_jsonTest.json; 423 characters

LayerTests.java:425 executed in 0.00 seconds (0.000 gc):

    throwException(exceptions.addRef());

Results

classresult
com.simiacryptus.mindseye.test.unit.SerializationTestOK
  {
    "result": "OK",
    "performance": {
      "execution_time": "0.451",
      "gc_time": "0.221"
    },
    "created_on": 1586737149013,
    "file_name": "jsonTest",
    "report": {
      "simpleName": "Basic",
      "canonicalName": "com.simiacryptus.mindseye.layers.java.LoggingWrapperLayerTest.Basic",
      "link": "https://github.com/SimiaCryptus/mindseye-java/tree/93db34cedee48c0202777a2b25deddf1dfaf5731/src/test/java/com/simiacryptus/mindseye/layers/java/LoggingWrapperLayerTest.java",
      "javaDoc": ""
    },
    "archive": "s3://code.simiacrypt.us/tests/com/simiacryptus/mindseye/layers/LoggingWrapperLayer/Basic/jsonTest/202004131908",
    "id": "259a1cbb-f6f6-4a08-b43e-1ce00a314cff",
    "report_type": "Components",
    "display_name": "JSON Serialization",
    "target": {
      "simpleName": "LoggingWrapperLayer",
      "canonicalName": "com.simiacryptus.mindseye.layers.LoggingWrapperLayer",
      "link": "https://github.com/SimiaCryptus/mindseye-core/tree/a09d39d97a7eff18f17aef61a4891b6f93a18cbe/src/main/java/com/simiacryptus/mindseye/layers/LoggingWrapperLayer.java",
      "javaDoc": ""
    }
  }