XML Stats are near!

Post here if you don't find any other place for your post. But please, stay on-topic: algorithms, programming or something related to this web site and its services.

Moderator: Board moderators

Post Reply
fpnc
System administrator
Posts: 201
Joined: Sun Oct 07, 2001 2:00 am
Location: Valladolid, Spain

XML Stats are near!

Post by fpnc »

Dear all!

I'm glad to announce that XML stats are really near. Look at this example: you get a list of solved problems (each with your position in that problem's ranklist), and list of tried problems (with # of submissions), with some other information. Note that this is an example and it is not exactly the real updated information. I'll explain that hosts later (just tech stuff).

I'd like to see all of your wishes for useful stats in this thread. Please, tell me what do you think, and give me suggestions for this example.

Code: Select all

<UserStatus host="0" id="2591">
  <LastUpdated>17/02/2003 23:37:54</LastUpdated> 
  <TotalSent>71</TotalSent> 
  <LastSent>05/11/2002 16:23:39</LastSent> 
  <SentLast48h>0</SentLast48h> 
  <SentLastWeek>0</SentLastWeek> 
  <SentLastMonth>0</SentLastMonth> 
  <SentByStatus>
    <Sent status="AC">23</Sent> 
    <Sent status="CE">11</Sent> 
    <Sent status="PE">3</Sent> 
    <Sent status="TL">1</Sent> 
    <Sent status="WA">28</Sent> 
    <Sent status="WS">5</Sent> 
  </SentByStatus>
  <Accepted>
    <Problem host="0" contest="0" id="100">2637</Problem> 
    <Problem host="0" contest="0" id="101">583</Problem> 
    <Problem host="0" contest="0" id="102">495</Problem> 
    <Problem host="0" contest="0" id="105">417</Problem> 
    <Problem host="0" contest="0" id="113">895</Problem> 
    <Problem host="0" contest="0" id="127">315</Problem> 
    <Problem host="0" contest="0" id="154">14</Problem> 
    <Problem host="0" contest="0" id="155">723</Problem> 
    <Problem host="0" contest="0" id="201">423</Problem> 
    <Problem host="0" contest="0" id="227">97</Problem> 
    <Problem host="0" contest="0" id="272">1988</Problem> 
    <Problem host="0" contest="0" id="275">273</Problem> 
    <Problem host="0" contest="0" id="300">299</Problem> 
    <Problem host="0" contest="0" id="312">162</Problem> 
    <Problem host="0" contest="0" id="333">344</Problem> 
    <Problem host="0" contest="0" id="337">285</Problem> 
    <Problem host="0" contest="0" id="400">604</Problem> 
    <Problem host="0" contest="0" id="401">263</Problem> 
    <Problem host="0" contest="0" id="445">878</Problem> 
    <Problem host="0" contest="0" id="448">345</Problem> 
    <Problem host="0" contest="0" id="452">21</Problem> 
    <Problem host="0" contest="0" id="499">872</Problem> 
    <Problem host="0" contest="0" id="541">1528</Problem> 
    <Problem host="0" contest="0" id="706">670</Problem> 
  </Accepted>
  <NotAccepted> 
    <Problem host="0" contest="0" id="118">1</Problem> 
    <Problem host="0" contest="0" id="708">3</Problem> 
  </NotAccepted> 
</UserStatus>
Best regards,

Fernando N
..
A great helper
Posts: 454
Joined: Thu Oct 18, 2001 2:00 am
Location: Hong Kong

Post by .. »

Great~~ :D
Can we also sort the solved problem by "volume" or "position in ranking"?
My signature:
  • Please make discussion about the algorithm BRFORE posting source code.
    We can learn much more in discussion than reading source code.
  • I HATE testing account.
  • Don't send me source code for debug.
Anadan
New poster
Posts: 1
Joined: Tue Jun 11, 2002 7:42 pm
Location: Novosibirsk, Russia
Contact:

Post by Anadan »

Hi.
It would be nice if you add the sum of positions in problem's ranklist for
all solved problems.
Moreover, I suggest to sort authors in ranklist by number of solved
problems, second, by this sum of places and only then by submissions.
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey »

TO fpnc: That looks great! I especially like the <Not Accepted> part, because that information can be used to compile a list of work still to be done. I guess the numbers are error codes (1=WA, 3=TL, or something like that).

It also would be nice if the information on http://acm.uva.es/cgi-bin/OnlineJudge?ProblemsList could be presented in this fashion (not instead of, but in addition to).

As an extra request: Some more detail about the solved problems (run time and solve date), like on the problemstat page would be handy, although it would add an extra level to the XML:

Code: Select all

    <Problem host="0" contest="0" id="100">
         <Place>2637</Place>
         <Runtime>0:00.456</Runtime>
         <SolveDate>17/02/2003 23:37:54</SolveDate>
    </Problem> 
 
I'm looking forward to it!
fpnc
System administrator
Posts: 201
Joined: Sun Oct 07, 2001 2:00 am
Location: Valladolid, Spain

Post by fpnc »

little joey wrote:...I guess the numbers are error codes (1=WA, 3=TL, or something like that)....
Really it is the number of times you've sent it. Although this was a preliminar sample and it can be better as your example:
little joey wrote:

Code: Select all

    <Problem host="0" contest="0" id="100">
         <Place>2637</Place>
         <Runtime>0:00.456</Runtime>
         <SolveDate>17/02/2003 23:37:54</SolveDate>
    </Problem> 
 
Any more information for that extra level? Any other extra levels?
Best regards,

Fernando N
little joey
Guru
Posts: 1080
Joined: Thu Dec 19, 2002 7:37 pm

Post by little joey »

Hmm.
Some general information about the problems, in addition to the overview on ProblemsList, like, per problem:
- problem title;
- total no. of solvers;
- total no. of submissions;
- avg. runtime;
- multi input (yes/no);
- special judge (yes/no);
- fix (yes/no);

You could have two XML-files then, one with general information on the problems (in addition to ProblemsList):

Code: Select all

<ProblemList>
  <LastUpdated>17/02/2003 23:37:54</LastUpdated>
  ....
  <SolvedProblems>
    <Problem Id="100">
      <Title>3n+1</Title>
      <Solvers>5001</Solvers>
      <Submissions>23456</Submissions>
      ....
    </Problem>
  </SolvedProblems>
  <UnsolvedProblems>
    <Problem Id="10402">
        ....
    </Problem>
  </UnsolvedProblems>
</ProblemList>
And one per user, along the lines of your proposal with my additions, called UserStatus. Offcourse those two files can be merged into one.

I Guess this covers about all the information one could wish. I don't know if all this information can be accessed easily though...

-little joey
Caesum
Experienced poster
Posts: 225
Joined: Fri May 03, 2002 12:14 am
Location: UK
Contact:

Post by Caesum »

this was 9 months ago, any progress or update on the position ?
playerX
Learning poster
Posts: 63
Joined: Fri Apr 25, 2003 11:57 pm
Location: Coimbra, Portugal

Post by playerX »

I'm just posting to ask the same as Caesum (as his post was ignored)...
be cool...
felix_halim
New poster
Posts: 2
Joined: Sat Sep 21, 2002 12:00 pm
Location: Indonesia
Contact:

When is it implemented?

Post by felix_halim »

This XML feature would be awesome.
But why it took a long time to be implemented?
I really looking forward for this feature...
Last edited by felix_halim on Sun Jul 31, 2005 9:30 am, edited 1 time in total.
Felix Halim
technobug
Learning poster
Posts: 88
Joined: Sat Nov 15, 2003 6:41 pm
Location: Brasilien
Contact:

Post by technobug »

hmmm... and what would we do with xml stats?
i would rather get a better looking and functional overview of the problemset and other pages than pure xml stats.

appart from that, if someone had the time, one could code some xslt in order to show the stats in a nice way... but would it take another 9 months? my baby is already born... should i start my plans for the second one? :) just joking

dont take it hard... everyone knows this is just a way of doing something nice for the contest community, so its based on spare time.... and i believe we dont have a lot of such heh?

guilherme
playerX
Learning poster
Posts: 63
Joined: Fri Apr 25, 2003 11:57 pm
Location: Coimbra, Portugal

Post by playerX »

xml bring portability to the stats, then those sites which use scripts to get stats from the current uva, can use the xml to do it, lowering the judge's load a lot.
when this is done, I guess I'll code an open source script to access the xml, as an hobby of course.
be cool...
technobug
Learning poster
Posts: 88
Joined: Sat Nov 15, 2003 6:41 pm
Location: Brasilien
Contact:

Post by technobug »

its easier to write an xslt template...... :)
playerX
Learning poster
Posts: 63
Joined: Fri Apr 25, 2003 11:57 pm
Location: Coimbra, Portugal

Post by playerX »

well, probably yes.. .but with a script you can manipulate the info the way you want it, do statistics comparsion, ranklists based on instituitions, etc...
be cool...
Grow
New poster
Posts: 4
Joined: Fri Mar 22, 2002 2:00 am
Location: Poland

Post by Grow »

maybe before xml stats will be available, just one extra info about user on ?AuthorInfo page should be added : rank -> it's very annoying to find specific user in the ranklist ...
Post Reply

Return to “Other words”