question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Generate structured and non contradictory data

See original GitHub issue

What if we implement something like this:

>>> import json
>>> from mimesis.cards import PersonCard
>>> json.dumps(next(p), ident=4)
{
    "first_name": "Julio",
    "last_name": "Santos",
    "email": "juliosantos85@mail.com",
    "age": 33,
    "child_count": 3,
    "gender": "male",
    "work_experience": 11
    ...
}

Or upgrade schema provider to return non contradictory data. What do you think about this?

Issue Analytics

  • State:closed
  • Created 5 years ago
  • Comments:12 (11 by maintainers)

github_iconTop GitHub Comments

4reactions
lk-geimfaricommented, Mar 28, 2018

@duckyou You can do it by yourself too. You’re a member of mimesis-lab

Anyway, i have created repo for you: https://github.com/mimesis-lab/mimesis_schema

2reactions
lk-geimfaricommented, Mar 28, 2018

There is no need to implement it in a core. A user can do it manually:

random_gender = lambda: random.choice(list(Gender)) 
name = _('name', gender=random_gender())
Read more comments on GitHub >

github_iconTop Results From Across the Web

Mining and visualising contradictory data | Journal of Big Data
ConTra provides a platform which allows its users to mine and analyse the contradictions in 'many' or 'single' valued attribute(s) whose data ......
Read more >
Structure Data for Analysis - Tableau Help
Data can be generated, captured, and stored in a dizzying variety of formats, but when it comes to analysis, not all data formats...
Read more >
Finding Contradictions in Text - Stanford NLP Group
Detecting conflicting statements is a foun- dational text understanding task with appli- cations in information analysis. We pro-.
Read more >
Data Preprocessing In Depth
The data sources can be homogeneous or heterogeneous. The data obtained from the sources can be structured, unstructured or semi-structured in ...
Read more >
Contradictory input/output pairs when training neural network?
Depending on the number of instances of the contradictory data the Neural Network will iterate over the values and the eta will change...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found