Description
Look up token literally, returning its base and recognized true, or zero with recognized false.
Homeopathic labels use source-dependent stage, scale, and preparation notation. Recognizing a token or mapping its index records a formal convention; it does not verify how a product was made or what it contains.
Look up token literally, returning its base and recognized true, or zero with recognized false.
When to use this tool
Use Public Potency Logbase Token when you need to parse or compare an explicitly supplied notation convention.
How to use the tool and how it works
- Enter token, sourceTokens, suppliedBases, sourceNamespace. Keep parallel arrays aligned. Use the units and conventions below.
- Run the tool. Correct any format, range, or cross-field input error before interpreting the output.
- Read recognized, logBase, source. Inspect recognized before interpreting the associated values.
Require unique aligned sourceTokens and suppliedBases above one, plus nonempty sourceNamespace. Look up token literally, returning its base and recognized true, or zero with recognized false.1
Homeopathic notation does not establish treatment efficacy.2
| Input field | Meaning and units | Accepted input |
|---|---|---|
| token | Text in the explicitly supported lexical grammar. | Required. Text; maximum UTF-16 length 8192. |
| sourceTokens | Source Tokens | Required. Array of text; maximum UTF-16 length 8192; maximum items 256. |
| suppliedBases | Supplied Bases | Required. Array of finite number; maximum items 256. |
| sourceNamespace | Source Namespace | Required. Text; maximum UTF-16 length 8192. |
| Output field | Interpretation | Returned shape |
|---|---|---|
| recognized | Whether the token matches the supplied vocabulary or supported mapping. | Required. Boolean. |
| logBase | Mapped supplied base, or zero placeholder when recognized is false. | Required. Finite number. |
| source | Caller-supplied source label; not independently verified. | Required. Text; maximum UTF-16 length 8192. |
{
"input": {
"token": "A",
"sourceTokens": [
"A",
"B"
],
"suppliedBases": [
10,
100
],
"sourceNamespace": "verified-source"
},
"output": {
"recognized": true,
"logBase": 10,
"source": "verified-source"
}
} Limitations and assumptions
- The zero base is a placeholder; token meanings are supplied source conventions, not automatically recognized potency systems or evidence of efficacy.
- Inputs must satisfy both the field types and the cross-field conditions above. Invalid input causes an error; a successful false flag or documented placeholder is a different result.
- Numeric calculations use binary floating point unless exact decimal-integer arithmetic is explicitly stated. No hidden measurement tolerance or decimal rounding is added; nonfinite or out-of-contract results are rejected. Numeric signed-zero results are exported as zero.
Alternative or Complementary methods
Retain the original source and distinguish label interpretation from chemical analysis and evidence of treatment effects.
References
-
Calculation and input contract: homeopathy/public-potency-logbase-token — tool.io
-
Homeopathy: What You Need To Know — National Center for Complementary and Integrative Health
Similar or alternative tools
- Homeopathy Historical Potency Notation Source
Parse a positive integer stage without leading zeros followed by uppercase C or X.
- Dilution Label Serial Step Count
Parse their digit-only prefixes as nonnegative safe integers, accepting leading zeros, and return lastStep-firstStep.