addrbookFor publishers
← The evidence ledger

Evidence row 2201658

Observed , by sync.x402_bazaar/1.

Kind
listing
About
source_record x402_bazaar:https://linear-algebra.x402tookit.com/least-squares
Recorded
Previous row
None: the first of its kind about this subject
Body SHA-256
f5511991d7932eab31175956ef3254d32a4531765e8f1d6243bf067f803e7254
Leaf
0xc1b8c19ad1fb1b69580dcd4854b6632b71c9149be019eb97625ae46409dea6c2

What was observed

{
  "endpoints": [
    [
      "x402",
      "https://linear-algebra.x402tookit.com/least-squares"
    ]
  ],
  "name": "Linear Algebra",
  "owner_address": "0xb531320805c5bed1d46aeadcf4f008fdf172dbda",
  "raw": {
    "accepts": [
      {
        "amount": "20000",
        "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "maxTimeoutSeconds": 300,
        "network": "eip155:8453",
        "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
        "scheme": "exact"
      },
      {
        "amount": "20000",
        "asset": "EPjFWdd5AufqSSqeM2qN1xzybapC8G4wEGGkZwyTDt1v",
        "extra": {
          "feePayer": "D6ZhtNQ5nT9ZnTHUbqXZsTx5MH2rPFiBBggX4hY1WePM",
          "transactionVersions": [
            0
          ]
        },
        "maxTimeoutSeconds": 300,
        "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
        "payTo": "DUPiupXtuox38dcGoXUKer5mAydCzmaHjrbQ66qeEm8s",
        "scheme": "exact"
      },
      {
        "amount": "20000",
        "asset": "0x3c499c542cEF5E3811e1192ce70d8cC03d5c3359",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "maxTimeoutSeconds": 300,
        "network": "eip155:137",
        "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
        "scheme": "exact"
      },
      {
        "amount": "20000",
        "asset": "0xaf88d065e77c8cC2239327C5EDb3A432268e5831",
        "extra": {
          "name": "USD Coin",
          "version": "2"
        },
        "maxTimeoutSeconds": 300,
        "network": "eip155:42161",
        "payTo": "0xb531320805C5BED1D46AEaDcF4F008FDF172DBDa",
        "scheme": "exact"
      }
    ],
    "description": "Least-squares line or polynomial fit (degree 1 to 6, up to 100 points) with coefficients, R-squared and residuals.",
    "extensions": {
      "bazaar": {
        "info": {
          "input": {
            "method": "GET",
            "queryParams": {
              "degree": 1,
              "x": "[1,2,3,4]",
              "y": "[6,5,7,10]"
            },
            "type": "http"
          },
          "output": {
            "example": {
              "asOf": "2026-10-12T00:51:55.720Z",
              "coefficientOrder": "ascending powers: c0 + c1*x + c2*x^2 + ...",
              "coefficients": [
                3.5,
                1.4
              ],
              "conditioning": {
                "centre": 2.5,
                "halfRange": 1.5,
                "note": "the fit is solved in t = (x - centre)/halfRange for accuracy and converted back"
              },
              "degraded": false,
              "degree": 1,
              "disclaimer": "Screening signal computed from the named public source. Not financial, legal or investment advice; provided as is. Verify at the source before acting.",
              "fitted": [
                4.9,
                6.3
              ],
              "intercept": 3.5,
              "notChecked": [
                "whether a polynomial is the right model (high degree on few points overfits)",
                "outliers, heteroscedasticity and the statistical significance of the coefficients",
                "…1 more"
              ],
              "points": 4,
              "rSquared": 0.7,
              "reasons": [
                "Householder QR on the (centred and scaled) Vandermonde matrix: minimises the sum of squared vertical residuals.",
                "R-squared is 1 minus residual sum of squares over total sum of squares; it is null when all y are equal.",
                "…1 more"
              ],
              "residualStandardError": 1.44913767462,
              "residuals": [
                1.1,
                -1.3
              ],
              "rmse": 1.0246950766,
              "slope": 1.4,
              "source": "computed locally",
              "sumSquaredResiduals": 4.2,
              "summary": "Degree 1 least-squares fit of 4 points, R-squared 0.7.",
              "verdict": "FIT_COMPUTED"
            },
            "type": "json"
          }
        },
        "schema": {
          "$schema": "https://json-schema.org/draft/2020-12/schema",
          "properties": {
            "input": {
              "additionalProperties": false,
              "properties": {
                "method": {
                  "enum": [
                    "GET"
                  ],
                  "type": "string"
                },
                "queryParams": {
                  "properties": {
                    "at": {
                      "description": "Optional x at which to evaluate the fitted curve",
                      "type": "number"
                    },
                    "degree": {
                      "description": "Polynomial degree 1 to 6 (default 1 = straight line); needs at least degree+1 points",
                      "type": "integer"
                    },
                    "x": {
                      "description": "x values, JSON like [1,2,3,4] or 1,2,3,4 (up to 100)",
                      "type": "string"
                    },
                    "y": {
                      "description": "y values, same count as x",
                      "type": "string"
                    }
                  },
                  "required": [
                    "x",
                    "y"
                  ],
                  "type": "object"
                },
                "type": {
                  "const": "http",
                  "type": "string"
                }
              },
              "required": [
                "type",
                "method"
              ],
              "type": "object"
            },
            "output": {
              "properties": {
                "example": {
                  "properties": {
                    "asOf": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "coefficientOrder": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "coefficients": {
                      "items": {
                        "type": "number"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "conditioning": {
                      "properties": {
                        "centre": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "halfRange": {
                          "type": [
                            "null",
                            "number"
                          ]
                        },
                        "note": {
                          "type": [
                            "null",
                            "string"
                          ]
                        }
                      },
                      "type": [
                        "null",
                        "object"
                      ]
                    },
                    "degraded": {
                      "type": [
                        "boolean",
                        "null"
                      ]
                    },
                    "degree": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "disclaimer": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "fitted": {
                      "items": {
                        "type": "number"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "intercept": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "notChecked": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "points": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "rSquared": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "reasons": {
                      "items": {
                        "type": "string"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "residualStandardError": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "residuals": {
                      "items": {
                        "type": "number"
                      },
                      "type": [
                        "array",
                        "null"
                      ]
                    },
                    "rmse": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "slope": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "source": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "sumSquaredResiduals": {
                      "type": [
                        "null",
                        "number"
                      ]
                    },
                    "summary": {
                      "type": [
                        "null",
                        "string"
                      ]
                    },
                    "verdict": {
                      "type": [
                        "null",
                        "string"
                      ]
                    }
                  },
                  "type": "object"
                },
                "type": {
                  "type": "string"
                }
              },
              "required": [
                "type"
              ],
              "type": "object"
            }
          },
          "required": [
            "input"
          ],
          "type": "object"
        }
      }
    },
    "lastUpdated": "2026-11-01T23:34:04.516Z",
    "quality": {
      "l30DaysTotalCalls": 2,
      "l30DaysUniquePayers": 2,
      "lastCalledAt": "2026-11-01T23:34:04.356Z"
    },
    "resource": "https://linear-algebra.x402tookit.com/least-squares",
    "serviceName": "Linear Algebra",
    "tags": [
      "least-squares",
      "regression",
      "polynomial-fit",
      "curve-fit"
    ],
    "type": "http",
    "x402Version": 2
  },
  "source": "x402_bazaar",
  "summary": "Least-squares line or polynomial fit (degree 1 to 6, up to 100 points) with coefficients, R-squared and residuals."
}

What the leaf hashes

{"body":"f5511991d7932eab31175956ef3254d32a4531765e8f1d6243bf067f803e7254","id":2201658,"kind":"listing","method":"sync.x402_bazaar/1","observed_us":1793646807766212,"prev":null,"subject":"x402_bazaar:https://linear-algebra.x402tookit.com/least-squares","subject_kind":"source_record"}

Proof

Fold these into the leaf in order, hashing each sorted pair with keccak256, to reach the root of (444186 rows).

  1. 0xc1b8eac11d73b6d4a5359900f703ebc380399e685dcbd7dd64c7aabac89c77f6
  2. 0xbf691e371987d8b428dd387a2531e0b7c2a1685a05acaf0859de36d5c1bd01a9
  3. 0xc44443d5bdf05b8ca260bbf08ca8aa83b06913af01ae631f844d074840ebce7f
  4. 0x539189134d64ead0dc360dd49c5d663d8d47ef52794cbb0a0882a0240ea3289e
  5. 0xd854d1b35e5cdfa5be532bb089a7a6e73cf1da974d03c5aa138c551ba8c95f9c
  6. 0xb0b689127bc250d870eaeef1c1726e82a6c4a0920af705032f5aeb4c610ecd5c
  7. 0x3f49b61fe6dbd59e95da80cb156de3c1ea2e32d9398d4ffc4caa5e5012657969
  8. 0x5feeb7926e78c30e1052a29d9ab3d94a0618870585f76bf894c6754cdd98b218
  9. 0x65f751e221bad3017df4dd563fd4f0d86fbf789ece83c2936653ba1060246cc1
  10. 0xb8eb6724b5a05c77ea41cfee061ddb3ed5c0f062ea3da21975032d7e7aa47688
  11. 0x8551dbb665117270fe6d547f823354cb1f33f877d36defe3b31cc7b120e917ce
  12. 0x7ad018da9217f00e9553ad7f613d19ec65a84c3a339588527c8b35c90d6567b4
  13. 0xd7f4adbe11763ae678ef4c51fd1fa9ddf52bf60add48464d376475766e9accfe
  14. 0x0b45a0435ea40bcbc48c2b318e8c62aa48a7e6b10e52b4548ada394225a7bd9f
  15. 0xcbfaf790331071a9b3499a4db6f9d951fe5d04baefda2c66846b52b023ab8ae5
  16. 0x37d31d28d0bd3743650d57e9fbf999efa4592cac831267f83aa125335b35a16b
  17. 0xdb8bd933619a267f9790faac9839143d202be46af284371cc369cdf683f897ba
  18. 0x98cbbf2c68ab4c0b4db782aeb88bea1f30b02178cf8b5d3d24a931d19492ea6d
  19. 0x252cce55f1a3d5391c16f82d7f62494429a5f69b03486d4cfcfb7b2c96d6c884
Day root
0x78fecaabbe319e56f5c4b80fc02e2052e198ad24781da8832a475ff65f2002d1
Chained
0xdc35957db5d1371ca382b9152878ffece28ec7c5cb4f98fd71ddb367f8b999b2
Published
On Arc Testnet, block 70432815: 0x56b814612eb2e3e544153df3e91e1f7199106d1e430c7d8c6b653feeb9ebe9af

How to check it · This row as JSON