lc0_dart 0.1.2 copy "lc0_dart: ^0.1.2" to clipboard
lc0_dart: ^0.1.2 copied to clipboard

LC0 (Leela Chess Zero) classical CNN inference in pure Dart with a PUCT / virtual-loss MCTS and a UCI shell. Loads a .pb.gz LC0 network (LINEAR16 / FLOAT16 / BFLOAT16), folds BatchNorm at load time, r [...]

120/ 160
pub points
134
downloads

We analyzed this package 11 hours ago, and awarded it 120 pub points (of a possible 160):

Failed report section
Follow Dart file conventions
20 / 30trigger folding of the section

Failed check 0/10 points: Provide a valid pubspec.yaml

The package description is too long.

Search engines display only the first part of the description. Try to keep the value of the description field in your package's pubspec.yaml file between 60 and 180 characters.

Homepage URL doesn't exist.

At the time of the analysis https://github.com/KellyKinyama/lc0-dart was unreachable. Make sure that the website is reachable via HEAD requests.

Repository URL doesn't exist.

At the time of the analysis https://github.com/KellyKinyama/lc0-dart was unreachable. Make sure that the website is reachable via HEAD requests.

Issue tracker URL doesn't exist.

At the time of the analysis https://github.com/KellyKinyama/lc0-dart/issues was unreachable. Make sure that the website is reachable via HEAD requests.

Passed check 5/5 points: Provide a valid README.md

Passed check 5/5 points: Provide a valid CHANGELOG.md

Passed check 10/10 points: Use an OSI-approved license

Detected license: MIT.

Failed report section
Provide documentation
10 / 20trigger folding of the section

Passed check 10/10 points: 20% or more of the public API has dartdoc comments

48 out of 163 API elements (29.4 %) have documentation comments.

Some symbols that are missing documentation: lc0_dart.Conv2d, lc0_dart.Conv2d.Conv2d.new, lc0_dart.Conv2d.call, lc0_dart.Conv2d.inChannels, lc0_dart.Conv2d.kernelH.

Failed check 0/10 points: Package has an example

No example found.

See package layout guidelines on how to add an example.

Passed report section
Platform support
20 / 20trigger folding of the section

Passed check 20/20 points: Supports 5 of 6 possible platforms (iOS, Android, Web, Windows, macOS, Linux)

  • ✓ Android

  • ✓ iOS

  • ✓ Windows

  • ✓ Linux

  • ✓ macOS

These platforms are not supported:

Package does not support platform `Web`.

Because:

  • package:lc0_dart/lc0_dart.dart that imports:
  • package:lc0_dart/src/mcts.dart that imports:
  • package:lc0_dart/src/engine.dart that imports:
  • package:dartchess/dartchess.dart that declares support for platforms: Android, iOS, Windows, Linux, macOS.
Partially passed report section
Pass static analysis
40 / 50trigger folding of the section

Partially passed check 40/50 points: code has no errors, warnings, lints, or formatting issues

INFO: Angle brackets will be interpreted as HTML.

bin/lc0.dart:6:30

  ╷
6 │ ///   dart run bin/lc0.dart '<FEN string>'   # any position
  │                              ^^^^^^^^^^^^
  ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/lc0.dart

INFO: Angle brackets will be interpreted as HTML.

bin/lc0_uci.dart:28:20

   ╷
28 │ ///   position fen <fen> [moves ...], go [any args ignored], stop,
   │                    ^^^^^
   ╵

To reproduce make sure you are using the lints_core and run dart analyze bin/lc0_uci.dart

Failed report section
Support up-to-date dependencies
30 / 40trigger folding of the section

Failed check 0/10 points: All of the package dependencies are supported in the latest version

Package Constraint Compatible Latest Notes
dart_pytorch ^0.1.2 0.1.2 0.1.2
dartchess ^0.11.0 0.11.1 0.13.1
Transitive dependencies
Package Constraint Compatible Latest Notes
archive - 4.3.0 4.3.0
collection - 1.19.1 1.19.1
fast_immutable_collections - 11.2.0 11.2.0
ffi - 2.2.0 2.2.0
image - 4.10.0 4.10.0
meta - 1.19.0 1.19.0
path - 1.9.1 1.9.1
posix - 6.5.2 6.5.2

To reproduce run dart pub outdated --no-dev-dependencies --up-to-date --no-dependency-overrides.

The constraint `^0.11.0` on dartchess does not support the stable version `0.12.0`.

Try running dart pub upgrade --major-versions dartchess to update the constraint.

Passed check 10/10 points: Package supports latest stable Dart and Flutter SDKs

Passed check 20/20 points: Compatible with dependency constraint lower bounds

pub downgrade does not expose any static analysis error.

Analyzed with Pana 0.23.19, Dart 3.13.1.

Check the analysis log for details.

Weekly downloads

Display as:
By versions:
1
likes
120
points
134
downloads

Documentation

API reference

Publisher

unverified uploader

Weekly Downloads

LC0 (Leela Chess Zero) classical CNN inference in pure Dart with a PUCT / virtual-loss MCTS and a UCI shell. Loads a .pb.gz LC0 network (LINEAR16 / FLOAT16 / BFLOAT16), folds BatchNorm at load time, runs an SE-aware residual tower on CPU or CUDA, and emits WDL + policy logits or a full search result.

Repository (GitHub)
View/report issues

Topics

#chess #leela-chess-zero #mcts #uci #inference

License

MIT (license)

Dependencies

dart_pytorch, dartchess

More

Packages that depend on lc0_dart