Wickra.Verify
0.1.2
dotnet add package Wickra.Verify --version 0.1.2
NuGet\Install-Package Wickra.Verify -Version 0.1.2
<PackageReference Include="Wickra.Verify" Version="0.1.2" />
<PackageVersion Include="Wickra.Verify" Version="0.1.2" />
<PackageReference Include="Wickra.Verify" />
paket add Wickra.Verify --version 0.1.2
#r "nuget: Wickra.Verify, 0.1.2"
#:package Wickra.Verify@0.1.2
#addin nuget:?package=Wickra.Verify&version=0.1.2
#tool nuget:?package=Wickra.Verify&version=0.1.2
Wickra Verify — C#
Recompute a claimed backtest report with the deterministic Wickra engine and
confirm or refute it, from .NET over the Wickra C ABI (P/Invoke). A doctored
claimed_report cannot pass, because verification recomputes rather than
trusting the supplied numbers.
Install
dotnet add package Wickra.Verify
The correct native library ships in the NuGet package under
runtimes/<rid>/native/ and is resolved automatically for your platform.
Usage
Everything goes through a Verifier driven by JSON commands — the same command
protocol every Wickra binding shares.
using System.Text.Json;
using Wickra.Verify;
using var verifier = new Verifier();
var claim = new
{
strategy = strategySpec, // a wickra-backtest StrategySpec
dataset_ref = new { kind = "inline", data = candles },
claimed_report = report, // the report being checked (untrusted)
};
string json = JsonSerializer.Serialize(new { cmd = "verify", claim });
string verdict = verifier.Command(json); // the full Verdict as JSON
Commands
cmd |
Payload | Response |
|---|---|---|
verify |
{claim, data?} |
the full Verdict |
explain |
{verdict} |
{ok:true,text:...} |
canonicalize |
{value} |
{ok:true,canonical:...} |
version |
— | {version:...,engine_version:...} |
For files-kind claims, supply the candle data under a top-level data key;
inline claims carry their data already.
Domain errors (a bad claim, an unknown command) come back in-band as
{ok:false,error:...}; only null/UTF-8/panic conditions throw
InvalidOperationException.
License
MIT OR Apache-2.0.
| Product | Versions Compatible and additional computed target framework versions. |
|---|---|
| .NET | net8.0 is compatible. net8.0-android was computed. net8.0-browser was computed. net8.0-ios was computed. net8.0-maccatalyst was computed. net8.0-macos was computed. net8.0-tvos was computed. net8.0-windows was computed. net9.0 was computed. net9.0-android was computed. net9.0-browser was computed. net9.0-ios was computed. net9.0-maccatalyst was computed. net9.0-macos was computed. net9.0-tvos was computed. net9.0-windows was computed. net10.0 was computed. net10.0-android was computed. net10.0-browser was computed. net10.0-ios was computed. net10.0-maccatalyst was computed. net10.0-macos was computed. net10.0-tvos was computed. net10.0-windows was computed. |
-
net8.0
- No dependencies.
NuGet packages
This package is not used by any NuGet packages.
GitHub repositories
This package is not used by any popular GitHub repositories.