Repository navigation
Conversation
Refs #381 Co-Authored-By: Claude Haiku 5.5 <noreply@anthropic.com>
jt55401
left a comment
There was a problem hiding this comment.
Hourly maintainer review: 786856c
Disposition: changes requested for daylight control and source citation. No merge.
species/rattus-rattus/behavior.json:transitions puts feeding before daylight rest at equal priority and provides no daylight exit from feeding/wander/drink. After idle dwell, sun +40°, hunger 0.9, fruit nearby, no threat/touch/offer gives idle → forage_fruit; an already hungry feeding animal stays active through dawn. Add a higher-priority daylight shelter guard from ordinary active states, preserving intentional threat handling, and test actual dawn/entry outcomes. tools/tests/test_rattus_rattus_behavior.py:test_local_program_keeps_nocturnal_rest_and_declared_escape_gaits checks action/parameter literals and misses this failure. All four feeding tags are otherwise reachable. The program has no month predicates. Climb gait selection is legal, but the public contract does not establish that generic fruit/seed targets are elevated; keep that execution limitation explicit.
Correct species.json:sources[id=prendergast-2017-eastern-africa].attribution: the linked work is PLOS ONE 12(8):e0182565, DOI 10.1371/journal.pone.0182565, not PNAS 114(30):8030–8035. Its Results, black-rat identifications support Songo Mnara/Zanzibar/Pemba introduction, with the date/reservoir caveat correctly retained; the article itself grants CC BY. Regenerate attribution. Wikipedia's verified Mating and reproduction paragraph supports year-round breeding, so replace the unsupported-calendar note with that locator. Its same paragraph already states the one-year wild lifespan; explain any retained NC dependency rather than claiming no usable permissive account exists.
Live GBIF 2439270, active iNaturalist 44575 and Wikidata Q106133 agree. ADW Lifespan/Longevity says about one year in the wild and separately labels the typical-wild value; the four-year captive maximum is excluded. ADW text NC-SA policy/author attribution verified. Wikipedia Description supports the mass/length intervals and 0.34 m total-length calculation; mass is a rounded midpoint, not a measured mean. The partial IN native/TZ introduced range is disclosed.
TZ place 7144, country TZ, Mammalia baseline and filters checked. GBIF 1,478 total/1,438 month-bearing reproduces all twelve values exactly; the six-observation NC iNaturalist series remains unusable/excluded. Existing species/regions preserved. Public checks pass at this head: focused 0 errors/2 warnings, 33/33 provenance, self-check, all-species/all-locale validation, pytest 349 passed/8 skipped, attribution freshness. Current-head validate is green. Viewed idle, walk, trot, rest: connected limbs/tail, no blocking clipping; default mesh lacks eyes and Climb has no built-in pose. No private import/live-scene acceptance was tested.
Closes #381
Record and evidence
Adds the black rat (Rattus rattus) with a species-local climbing behavior, TZ activity, and attribution. GBIF 2439270 and iNaturalist 44575 resolve at species rank. The ADW species account says the rat tends to live about one year in the wild and separately labels one year as typical wild; its four-year captive value is excluded. Wikipedia repeats the wild value and cites that account. ADW text carries CC BY-NC-SA 3.0, retained as a flagged last resort with author attribution. The Wikipedia CC BY-SA account supplies the body size, color, tree use and food descriptions.
The Prendergast et al. 2017 study is CC BY 4.0 and confirms black rat remains at Songo Mnara, Zanzibar and Pemba in Tanzania. It supports the introduced range status independently of modern occurrence counts. Its dating caveat is recorded in the source note. No restricted source table was copied.
Activity and behavior
The TZ curve uses 1,478 GBIF observations, tier A and usable. The iNaturalist query has only six observations and is unusable, so it does not contribute to the curve. Observation frequency is a seasonal activity proxy.
fsm-black-rat-v1executes climb-gait fruit and seed feeding; walk-gait invertebrate and carrion feeding; trot flight; drinking; and daytime shelter rest. The record's food shares, ranges and behavior thresholds that lack published quantities are marked as judgement. All four modeled food categories have reachable actions. Climb is legal under the public validator and requires no preview pose.Gates and preview
Tested commit:
786856c.MissingShoulderHeightis an omitted optional value.NonCommercialLicenseis the ADW typical-wild lifespan source above.git diff -- speciesempty.Checklist