Skip to content

Releases: dasmig/trait-generator

v2.1.2

Choose a tag to compare

@dasmig dasmig released this 18 Oct 14:27

Vendors dasmig-core 1.2.0 (shared dasmig::sex and country helpers). Generated output is unchanged.

v2.1.1

Choose a tag to compare

@dasmig dasmig released this 17 Oct 01:30
c127440

Syncs dasmig-core 1.1.1. Output unchanged.

v2.1.0

Choose a tag to compare

@dasmig dasmig released this 16 Oct 22:24
8d5ec94

What's Changed

  • docs: put the MIT notice in every header by @dasmig in #2
  • bench: add benchmarks (make bench) and a CI report job by @dasmig in #3
  • feat: batch generation (2.1.0) by @dasmig in #4

Full Changelog: v2.0.0...v2.1.0

v2.0.0

Choose a tag to compare

@dasmig dasmig released this 14 Oct 22:58

Makes a request the only way to call a getter.

Breaking

  • get_personality(const trait_request&) and get_personality(request, seed); trait_request{} asks for 3 traits.
  • The no-argument and seed-only overloads and instance seed()/unseed() are removed; pass a seed per call.

See the documentation for the request type and examples.

v1.0.0

Choose a tag to compare

@dasmig dasmig released this 12 Oct 18:23

First release. Personality traits from a weighted catalogue with conflicts, synergies and Big Five axes, built on dasmig-core 1.0.0.

Added

  • dasmig::trtg (dasmig/traitgen.hpp): get_personality(), get_personality(seed) and get_personality(trait_request, seed), with trait_request{count, include, exclude}.
  • personality: traits (key, label, group, tags) and the resolved Big Five vector; has(), value(axis), tags(), to_json(), signature().
  • A curated catalogue of 52 traits in four TSV tables (traits, axes, loadings, relations), described in Data and Method.
  • Extending data: layers on any of the four tables, applied all or nothing; unresolved() lists names that point at nothing.
  • DASMIG_TRAIT_EMBED compiles the catalogue in (no files needed, e.g. WebAssembly).
  • A seed gives the same personality on every compiler, standard library and CPU (GCC, Clang, MSVC, Emscripten; x86-64 and ARM64), checked by known-answer tests.