Skip to content

species: Black rat (Rattus rattus) - #1305

Open
jt55401 wants to merge 3 commits into
mainfrom
wave-20261101c-381-rattus-rattus
Open

jt55401 wants to merge 3 commits into
mainfrom
wave-20261101c-381-rattus-rattus

Conversation

@jt55401

@jt55401 jt55401 commented Nov 1, 2026

Copy link
Copy Markdown
Collaborator

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-v1 executes 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.

  • Focused validation: 0 errors, 2 warnings, provenance 33/33. MissingShoulderHeight is an omitted optional value. NonCommercialLicense is the ADW typical-wild lifespan source above.
  • Repository self-check, all-species and all-locale validation pass. Pytest: 349 passed, 8 skipped. Repository attribution regeneration after commit left git diff -- species empty.
  • The coordinator inspected idle, walk, trot and rest in local Chromium, including a camera orbit. The look block was unchanged by the behavior and source continuation. Climb has no preview pose in this public kit.

Checklist

  • Claimed issue and checked identifiers, main, sources and licences
  • Checked TZ range independently of occurrence data
  • Reviewed activity query, counts, licence filters and usable flag
  • Checked executed behavior actions and day/night exits
  • Regenerated attribution and ran repository gates on the submitted commit
  • Inspected every declared preview pose
  • One species in the PR; no private paths or source text in the diff

@jt55401 jt55401 mentioned this pull request Nov 1, 2026
8 tasks

@jt55401 jt55401 left a comment

Copy link
Copy Markdown
Collaborator Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

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.

This branch has not been deployed

No deployments
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

species: Black Rat (Rattus rattus)

1 participant