mirror of
https://github.com/inaturalist/iNaturalistReactNative.git
synced 2026-04-18 13:58:44 -04:00
* (lint) MOB-1063 enforce trailing commas * autofix trailing commas * manually fix newly introduced maxlen violations * add trailing comma convention to i18n build
20 lines
485 B
JavaScript
20 lines
485 B
JavaScript
import { define } from "factoria";
|
|
|
|
export default define( "ModelPrediction", faker => ( {
|
|
name: faker.person.fullName( ),
|
|
rank_level: faker.helpers.arrayElement( [
|
|
100,
|
|
70,
|
|
60,
|
|
50,
|
|
40,
|
|
30,
|
|
20,
|
|
10,
|
|
] ),
|
|
combined_score: faker.number.float( { min: 80, max: 100 } ),
|
|
vision_score: faker.number.float( { min: 80, max: 100 } ),
|
|
taxon_id: faker.number.int( ),
|
|
ancestor_ids: faker.helpers.arrayElements( [1, 2, 3, 4, 5, 6, 7, 8, 9, 10] ),
|
|
} ) );
|