Skip to content

Conversation

Amustache
Copy link
Owner

No description provided.

Amustache and others added 10 commits February 10, 2024 17:01
* So far so good
* set list set list set list set list
* wip
* Refactoring going strong
* it goes it goes it goes
* Add test suit
* Working base query
* Prep for next session
* Working WikiPage generation
* Add langlinks to WikiPage
* General structure for fetchers
* Flawlessly wasting time doing banger logs
* Disabling verbose test
* Clean
* Add wiki_quote method
* Add description in fetcher for base infos + docstring
* Add tests for WikiPage
* Fix error in WikiQuery
* Pre-commit + Add backlinks
* Multiple fetchers
* Fix bugs
* Add fetcher for pageviews
* Fix fetch_revisions (datetime was wrong)
* Page assessments can be None
* Tests for WikiPage
* Tests added for export
* Remove get_from_wikipedia
* Exporting
* Testing export
* Update dashboard
* Generator for fetchers
* Feedback is working
* Add cache + loading bar
* New version, working UI
* Working loading data and individual pages
* Fix error processing
* Change button size
* Fix Dashboard
* Error handling in Dashboard
* Buttons
* Add num errors and matches
* Moar nums
* Remove empty
* More infos for result
* Remove not found pages from pool of individual pages
* Tentative score
* Eh, scores
* Score generation in pages and query
* Show score
* Slight tweak on score
target_langs: str | Iterable[str] = None # Languages to seek for
last_updated: datetime.datetime = datetime.datetime.now() # When was the query made
target_duration: int = DEFAULT_DURATION # Number of days for contributions
granularity: str = "daily" # Granularity for contributions
Copy link
Owner Author

Choose a reason for hiding this comment

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

# At least one revision
min_score = 1
# https://en.wikipedia.org/wiki/Special:MostRevisions
max_score = 50_000
Copy link
Owner Author

Choose a reason for hiding this comment

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

Should be 50'000 divided by max days - here, 50'000 since when?

# return NotImplementedError
min_score = 1
max_score = 100
score = 50
Copy link
Owner Author

Choose a reason for hiding this comment

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

TODO

# return NotImplementedError
min_score = 1
max_score = 100
score = 50
Copy link
Owner Author

Choose a reason for hiding this comment

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

TODO

min_score = 1
# https://en.wikipedia.org/wiki/Wikipedia:Popular_pages#Top-100_list
max_score = 100
score = 50
Copy link
Owner Author

Choose a reason for hiding this comment

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

TODO

min_score = 1
#
max_score = 100
score = 50
Copy link
Owner Author

Choose a reason for hiding this comment

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

TODO

Copy link
Owner Author

Choose a reason for hiding this comment

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

How to do that btw?

+ _score_recent_revisions(wikipage.revisions)
+ _score_backlinks(wikipage.backlinks)
+ _score_pageviews(wikipage.pageviews)
) / 6
Copy link
Owner Author

Choose a reason for hiding this comment

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

Pas ouf

+ _score_recent_revisions(wikipage.revisions)
+ _score_pageassessments(wikipage.pageassessments)
+ _score_fres(wikipage.readability["fres"])
) / 5
Copy link
Owner Author

Choose a reason for hiding this comment

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

Pas ouf

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.

1 participant